Bug 108196 - [maintainer update] Various fixes to net/freeradius including easier 'out of the box' configuration
Summary: [maintainer update] Various fixes to net/freeradius including easier 'out of ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 00:20 UTC by David Wood
Modified: 2007-01-23 12:40 UTC (History)
0 users

See Also:


Attachments
file.diff (3.49 KB, patch)
2007-01-22 00:20 UTC, David Wood
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Wood 2007-01-22 00:20:15 UTC
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:
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2007-01-23 07:00:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-01-23 12:35:58 UTC
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"
Comment 3 Sergey Matveychuk freebsd_committer freebsd_triage 2007-01-23 12:38:22 UTC
State Changed
From-To: open->closed

Committed with a modification. Thanks!  Please note: you should not use 
%D with @dirrmtry.