cache-init, cache-update, find-updated and portindex are a set of perl
scripts built around the common core of the FreeBSD::Portindex
modules. Their use is to generate and maintain the ports INDEX or
INDEX-5 files speedily and efficiently. Ultimately they work in a very
similar way to the standard make index command, except that the
FreeBSD::Portindex tools keep a cache of the make describe output from
each port, and can update that cached data incrementally as the ports
tree itself is updated.
===> The following configuration options are available for p5-FreeBSD-Portindex-3.6:
GRAPHVIZ=off: Add GraphViz run-time dependency
===> Use 'make config' to modify these settings
ports-mgmt/p5-FreeBSD-Portindex: deprecate and mark for removal before 2023Q2
This is something I wrote years ago, but haven't been actively
maintaining for some time. Recent changes to move the WWW setting
from pkg_descr to port Makefiles will certainly have broken
functionality, if it wasn't broken before. Also, it is dependent on
the deprecated db5 port through databases/p5-BerkeleyDB.
Since no one has complained, I guess no one is actually using this
software, so remove it from ports. If anyone wants to take this over,
contact me privately and I can pass the git repo to you.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
ports-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alex Stangl <alex@stangl.us>
* Anders F Bjorklund <afb@users.sourceforge.net>
* Benjamin Lutz
* Brendan Molloy <brendan+freebsd@bbqsrc.net>
* Conrad J. Sabatier <conrads@cox.net>
* Edwin Groothuis (edwin@mavetju.org)
* Emanuel Haupt <ehaupt@FreeBSD.org>
* Gabriel Linder <linder.gabriel@gmail.com>
(Only the first 15 lines of the commit message are shown above )
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw)
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
Update to version 3.5
- Fix a warning that appeared with perl-5.20
- Fix a crash bug due to the final step of the change from
$OPTIONSFILE to $OPTIONS_FILE: now the backward compatibility
setting of $OPTIONSFILE has gone, and it is left undefined, we
should not use it. Reported by itetcu@ and Naram Qashat
- Use @sample
- Manager cache directory owner/group/permissions from plist instaead of
scripts, unbreak build from plain user
- Simplify installation
- Use canonical statement order
- Fix option description
PR: 200520
Submitted by: amdmi3
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
Update to 3.3
- BSD2CLAUSE license
- OPTIONS helpers
- remove code from pkg-install.in that was duplicating functionality
already performed from pkg-plist.
This version drops support for the old-style OPTIONS variable, and
looks for both OPTIONSFILE and OPTIONS_FILE if OPTIONS_DEFINE is not
empty.
Mark all my architecture independent ports using shell/perl/PHP as
NO_ARCH=yes
While here, fix a few other niggles:
net/phpldapadmin -- remove indefinite article from COMMENT
www/p5-RT* -- fix comments referencing the different versions of RT
x11-fonts/gentium-{basic,plus} -- mention ${STAGEDIR} explicitly in the
install targets; rework the handling of ${FONTPATH}
Convert all my perl-using ports to USES+=perl5
While here:
- add USES+=shebangfix to ports-mgmt/p5-FreeBSD-Portindex
- set $PERL in CONFIGURE_ENV to achieve equivalent to shebangfix
for www/rt40
- upgrade to 0.17 and fix pkg-plist for www/p5-RT-Authen-ExternalAuth
- trim Makefile header for www/p5-RTx-Calendar
Update to 3.2
- Add support for parsing the output of 'svn update' as one
of the input formats for cache-update.
- Drop support for parsing cvsup output or the cvsup checkouts
file, as the ports no longer uses cvsup.
- Accordingly remove the PropagationDelay configuration item,
that only applied to cvsup-mirroring.
- Cope with systems where realpath($PORTSDIR) != $PORTSDIR
Thanks to Doug Barton for bug reports and testing.
Feature safe: yes
Update to 3.0
- Trim Makefile headers
- Changes:
This is a routine bugfix release without major code modifications.
However a change to the cached data will require cache-init to be run
to update the cache contents.
- Fix detection of ports that use options with OPTIONSng.
Problem reported by Ion-Mihai Tetcu <itetcu@FreeBSD.org>
- Employ 'use parent' pragma for defining inheritance
Feature safe: yes
- Update to version 2.9
Changes:
http://www.infracaninophile.co.uk/portindex/
Adjust Endemic and Ubiquitous Makefile settings to account for
OPTIONSng
- Switch to OPTIONSng
Approved by: shaun (mentor)
- Release 2.8
- Radical changes to the cache: now stores a record for every
file that could affect the generated INDEX, which ports
those files belong to and the timestamp of the file.
- Default update mechanism is now to compare timestamps with
what is in the cache. Doesn't need to parse the output of
any update mechanism (although you can still do that.)
- Added new make-readmes command to create a tree of README.html
files.
More details: http://www.infracaninophile.co.uk/portindex/index.xhtml
Approved by: shaun (mentor)
Update to version 2.6. This adds GraphViz compatible output to
portdepends, plus some routine bug fixing.
- Accessor methods for array valued items now mostly return
arrays rather than array references. This makes quite a
lot of code a lot clearer.
- Add GraphViz output mode to portdepends(1). Pretty
pictures of port dependency trees.
- Remove TODO file as (a) most of the items were done and (b)
most recent changes weren't listed in there.
- Minor docco tweak to portindex reflecting currently
supported FreeBSD major versions.
- Bump VERSION to 2.6 and CACHE_VERSION to 2.5
PR: ports/161396
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
New release: version 2.4
- Fix bug where LIB_DEPENDS data was missing from some of the
RUN_DEPENDS column in the generated INDEX (reported by dougb)
- Add an option to portdepends to shorten the output. Only
traverse each dependency sub-tree one time. For complex ports
this results in a substantial decrease in output -- the long
form can produce literally millions of lines.
- Add LICENSE
- Pet portlint
This release modifies the on-disk binary format of the cache.
You will need to rerun cache-init after upgrading.
PR: ports/160252
Submitted by: maintainer
- Update to 2.1
- This is a routine bug fix release.
- New features: can now process the output from portsnap as part of
maintaining a local INDEX file. See
http://www.infracaninophile.co.uk/portindex/index.xhtml for more
information.
PR: ports/122546
Submitted by: maintainer
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr
- Update to 2.0
* Now tracks changes to OPTIONS settings, and the effect those
have on port dependencies.
* Cleanup of warning and error messages -- new 'Warnings'
configuration variable to turn them on/off
* New 'Strict' configuration option -- at the moment this just
enforces a check that all ports are referenced from the
category Makefile in the directory above. May be extended to
other items later.
* New 'CrunchWhitespace' configuration option -- emulate the way
that 'make index' collapses multiple whitespace into single in
(Only the first 15 lines of the commit message are shown above )
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)