On make install or pkg_add, copy <config_file>.sample to <config_file> if <config_file> doesn't exist. On deinstall, remove <config_file> if <config_file>.sample and <config_file> are identical. These changes make configuring FreeRADIUS 'out of the box' much more straightforward as you have a default configuration in place ready to customise. Hand crafted configuration files are left alone. [1] Add US mirror to MASTER_SITES. Fix CFLAGS so that the problem with AC_LIBLTDL_INSTALLABLE mentioned in ports/104949 goes away. Tidy CONFIGURE_ARGS so that it matches the order of configure --help Remove EXAMPLESDIR references from the post-install target of Makefile and pkg-plist. This folder isn't used; the change gets rid of an error message when deinstalling the package. Pet portlint(1) somewhat (it doesn't like the python kludge in the Makefile, but I can't see a way around that). [1] Requested by Alan DeKok of the FreeRADIUS Project. See http://lists.freeradius.org/pipermail/freeradius-users/2007-January/059487.html Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->sem Take it.
sem 2007-01-23 12:35:53 UTC FreeBSD ports repository Modified files: net/freeradius Makefile pkg-plist Log: - Create default config files from *.sample and remove them if they did not changed. (Requested by Alan DeKok of the FreeRADIUS Project.) - Add US mirror to MASTER_SITES. - Fix CFLAGS. - Tidy CONFIGURE_ARGS. - Remove EXAMPLESDIR references. It's using nowhere. - Pet portlint(1). PR: ports/108196 Submitted by: David Wood (maintainer) Revision Changes Path 1.54 +17 -9 ports/net/freeradius/Makefile 1.27 +4 -2 ports/net/freeradius/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with a modification. Thanks! Please note: you should not use %D with @dirrmtry.