Commit Graph

33 Commits

Author SHA1 Message Date
Baptiste Daroussin 701cc6b7ea tindex: add new compression format for INDEX
Add zstd (faster to decompress) and xz (smaller) compression for INDEX

Results are the following:
39552 INDEX-14
2366  INDEX-14.bz2
1625  INDEX-14.xz
1672  INDEX-14.zst
2021-11-22 09:16:17 +01:00
Rene Ladan 620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Mathieu Arnold c618b15017 tindex: Amend last commit a bit.
When you run `git log foo` foo can be, from git-log(1),
`[<revision range>] [[--] <path>...]`, so, may things.

- A "revision range" described by gitrevision(7) (don't got there unless
  you have a few hours, or already lost your sanity), which can be :
  * a commit hash,
  * a tag
  * a branch,
  * a ref name
  * a "describe output"
  * and many other ways to describe revisions
  * a range made by any of the above
- An existing path.

When it can't find any of those, git figures out that you meant
something else and made a typo, and exits.

If you really meant a path, you have to run `git log -- foo`. Then git
knows that you meant a path and only a path, it will then assume that
you knew what you meant, and will go look in the history.
2021-04-08 17:46:53 +02:00
Rene Ladan ce196940be tindex: fix when INDEX fails and ports are deleted since the last success.
`git log' cannot get the log of a non-existent file, which the script uses
to obtain the last person who touched a port, so check if the file exists
before getting its log. This is similar to the Subversion case, which only
inspected changed files. The Git version still also checks added ports.

While here, call git in blame() using the predefined global variable.

Reported by:	antoine
2021-04-08 17:25:06 +02:00
Rene Ladan 88a97c4742 Tools/scripts/tindex: update for git
Reviewed by:	uqs
Differential Revision:	https://reviews.freebsd.org/D29451
2021-04-06 11:01:21 +02:00
Antoine Brodin d60fdf6e09 Update tindex for FreeBSD 14 2021-01-22 09:48:06 +00:00
Antoine Brodin a93919ef03 tindex: reduce diff with what is used on portsindexbuild
Use git to update src.13
2021-01-18 10:24:13 +00:00
Baptiste Daroussin 70aef9747e Update supported version of FreeBSD 2019-09-13 12:47:03 +00:00
Rene Ladan 4d57cc4370 Set maintainer of these scripts to portmgr as the previous maintainers retired. 2017-02-12 20:43:04 +00:00
Antoine Brodin 47c247f2d7 MFportsindexbuild:
- build INDEX-12
- remove no longer used scp/ssh
2016-07-17 12:26:00 +00:00
Antoine Brodin b7f3384cc4 MFportsindexbuild: build INDEX-9 with fmake 2016-05-01 08:04:32 +00:00
Erwin Lansing 53695d99c4 Drop building 8.x
Sponsored by:	DK Hostmaster A/S
2015-08-01 09:58:21 +00:00
Erwin Lansing 5c1760757a This one goes to 11. 2013-10-13 11:16:48 +00:00
Erwin Lansing 15492abcf3 Remove support for FreeBSD 7.x 2013-03-07 14:19:12 +00:00
Erwin Lansing fd888aae84 Silence svn update commands.
Feature safe:	yes
2012-10-21 11:46:00 +00:00
Beat Gaetzi e9ba4e7a77 - Sync with the versions currently running on pointyhat
- Use Subversion instead of CVS

Approved by:	erwin (maintainer)
Feature safe:	yes
2012-10-20 10:36:27 +00:00
Erwin Lansing 2b35911821 Add support from FreeBSD 10.x 2011-09-27 06:29:35 +00:00
Erwin Lansing 34b70fee7a Drop support for FreeBSD 6.x. 2010-12-14 14:16:37 +00:00
Erwin Lansing ba594074e3 Add support for INDEX-9 2009-08-23 10:47:02 +00:00
Erwin Lansing 3accf1e172 Explicitly override LOCALBASE to make sure we don't get
confused by locally installed ports that might influence
PKGNAME or other variables.

Suggested by:	pav
2009-07-14 07:58:50 +00:00
Erwin Lansing 3f3cfcfe52 Use zfs snapshots that are periodically updated on pointyhat for the
normal builds instead of a local cvs update.  This speeds up the
script several times and easies I/O on pointyhat.
2009-05-28 15:54:38 +00:00
Erwin Lansing 9f53e58103 Reduce per branch code duplication
Submitted by:	pgollucci
2008-12-27 21:24:30 +00:00
Erwin Lansing cdb5013c48 Remove support for FreeBSD 5.x 2008-06-01 09:26:12 +00:00
Erwin Lansing 0a56075360 - Add support for FreeBSD 8.0
- Be more robust about param.h and allow space as well as tab as seperator
  while determining OSVERION
2007-10-25 21:51:07 +00:00
Erwin Lansing afade85a8a ARCH may be set in the environment for cross building, so only
set it conditionally.

Submitted by:	kris
2007-06-12 15:14:29 +00:00
Erwin Lansing 87b364f5fd Set default architecture to i386. 2007-06-11 21:18:46 +00:00
Erwin Lansing f3f3875210 Drop the build on RELENG_4 2007-01-30 14:49:21 +00:00
Erwin Lansing bdbae3ea52 eik@ has been inactive for quite some time and as I am running
these scripts on the cluster, transfer maintainership of these
to myself.
2006-11-23 12:16:59 +00:00
Erwin Lansing 7fbbcb4402 MFP4:
Actually use ${SCP_DEST_TMP} to fix the case where
        SCP_DEST_TMP != /tmp/
2006-06-22 18:52:57 +00:00
Erwin Lansing c090c55e39 MFP4:
When copying INDEX to the server, copy it first to a staging area and
first then to the real location. The copying can take long enough for
users to get a truncated file when downloading during the upload.
2006-06-19 15:44:16 +00:00
Kris Kennaway b3f6037efa Support 7.x INDEX builds
Add a few more local configuration variables
Minor cleanups
2006-01-22 20:45:11 +00:00
Kris Kennaway 310ce3b0a4 Remove some hardcoded values to hopefully stop random users from shooting
their feet off in public.

Suggested by:	adamw
2005-09-08 17:57:37 +00:00
Kris Kennaway 738cf264d0 This is the script I use to build indexes for all supported ports branches,
which are copied to www.freebsd.org for use by 'make fetchindex', as well
as the source of build failure reports on ports@FreeBSD.org when it is
broken.
2005-01-24 07:18:33 +00:00