read any file on web server.
- Minor port changes
PR: ports/77364
Submitted by: Vivek Khera <vivek@khera.org> (maintainer)
Security: CVE number CAN-2005-0202
- Update $PKGREQ to depend explicitly on Python >= 2.1.3, and not just >= 2.1
- Document required value of $MAIL_GID for Exim4.
- Substantial rewrite of $PKGINSTALL:
- Simplified layout.
- More extensive error checking.
- More expressive and user-friendly output.
- Substantial rewrite of $PKGDEINSTALL:
- Simplified layout.
- More expressive and user-friendly output.
- Delete %%MAILMANDIR%%/data/last_mailman_version in DEINSTALL, and restore
it in POST-DEINSTALL if the entire Mailman installation has not been
removed. This file is required by Mailman's update script (run as part
of the installation procedure) to update active mailing lists.
- Delete the errorlog if it is the only existing logfile. This will
finally allow the mailman port/package to be completely and cleanly
deinstalled when there are no active lists or updated configuration.
- Bump $PORTREVISION, with apologies to those tracking the port.
It should now finally be possible to update a Mailman installation with
active mailing lists simply by deinstalling the port/package, and
reinstalling a later version (or by using portupgrade(1)). There are still
no guarantees, though, and a backup is thorouhly recommended.
- Refrain from invoking ${PERL}
- Call Mailman's distributed check_perms script post-installation to fix file
permissions instead of doing so manually. This is more modular and will
greatly ease maintenance of the port. It implies a level of trust in
check_perms... but then, installing and running any 3rd party software
implies a level of trust.
- Add a $PKGDEINSTALL script to allow the port to clean up after itself
- Automatically create Mailman user's crontab(5) entry upon port/package
installation, and remove it upon deinstallation.
- Intended $PKGINSTALL according to personal taste. Converted tabs to
spaces.
- Remove some extraneous comments from the port's Makefile. (Oops)
- Further streamline @exec's in $PLIST.
- Bump PORTREVISION
- The reworking of this port is an ongoing process - Mailman users, please
bear with me!
- Move creation of user/group from $FILESDIR/config.sh to $PKGINSTALL to
ensure they are created if installed from package.
- Switch to using uid/gid which are not yet registered in section 15.15 of
Porter's Handbook.
- Add @exec statements to $PLIST to ensure all necessary directories are
created with the correct modes if installed from package.
- Bump PORTREVISION.
- More to follow...
Partially stolen from: net/cvsup-mirror (PKGINSTALL)
PR: 34654 (uid/gid change)
Submitted by: Sean Chittenden <sean@chittenden.org> (uid/gid change)