pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/freeradius2 * EGDIR is required to be installed, n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70458413d97d
branches:  trunk
changeset: 601910:70458413d97d
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Apr 03 01:38:18 2012 +0000

description:
* EGDIR is required to be installed, not PKG_SYSCONFDIR.
* no need to take care PKGSYSCONFDIR manulally, or it may result in broken
  behavior if PKG_SYSCONFBASE != ${PREFIX}/etc.

ride on last bump.

diffstat:

 net/freeradius2/Makefile |   4 ++--
 net/freeradius2/PLIST    |  11 +----------
 2 files changed, 3 insertions(+), 12 deletions(-)

diffs (40 lines):

diff -r 902c2470217b -r 70458413d97d net/freeradius2/Makefile
--- a/net/freeradius2/Makefile  Tue Apr 03 01:22:02 2012 +0000
+++ b/net/freeradius2/Makefile  Tue Apr 03 01:38:18 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/04/03 01:22:02 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2012/04/03 01:38:18 obache Exp $
 
 DISTNAME=      freeradius-server-${RADVER}
 PKGNAME=       ${DISTNAME:S/-server//}
@@ -128,7 +128,7 @@
 .endfor
 
 .for d in ${EGDIRS}
-INSTALLATION_DIRS+=    ${PKG_SYSCONFDIR}/${d}
+INSTALLATION_DIRS+=    ${EGDIR}/${d}
 .endfor
 
 OWN_DIRS_PERMS+=       ${PKG_SYSCONFDIR}/certs ${RADIUS_USER} \
diff -r 902c2470217b -r 70458413d97d net/freeradius2/PLIST
--- a/net/freeradius2/PLIST     Tue Apr 03 01:22:02 2012 +0000
+++ b/net/freeradius2/PLIST     Tue Apr 03 01:38:18 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2012/03/21 16:48:17 brook Exp $
+@comment $NetBSD: PLIST,v 1.14 2012/04/03 01:38:18 obache Exp $
 bin/radclient
 bin/radconf2xml
 bin/radcrypt
@@ -578,12 +578,3 @@
 share/freeradius/dictionary.xedia
 share/freeradius/dictionary.xylan
 share/freeradius/dictionary.zyxel
-@unexec ${RMDIR} %D/etc/raddb/sql/postgresql 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/sql/oracle 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/sql/mysql 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/sql/mssql 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/sql 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/sites-available 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/certs/demoCA 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/certs 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb 2>/dev/null || ${TRUE}



Home | Main Index | Thread Index | Old Index