From nobody Thu Oct 27 16:45:34 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mys4G4bJWz4gTlX; Thu, 27 Oct 2022 16:45:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mys4G45Xlz3rnK; Thu, 27 Oct 2022 16:45:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666889134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SFH5vi/WfsR+A1DXDMiGAvEecTCspyDCzfntugn/o/c=; b=VEOGDE52EyIiN0GUE8KsWfBC7rphgvfWD28/oaGORAclf9r/HKSReH/IbMj9IXwM9LjYaR K2AMZQbHpub8Ly3fbtJIVfv33VheNstiL59aApbVXx+SVDNeEe96P1073H69cxiJssSo7/ y+WFMwauPXs1n2Y4kdWMte34h1r0zVnrbhQ8r2nOjU8cH2u1Ko2xzDzZzq6xvy+9Igetyl 46S/fRl5Oq4TIYHznkwcf70S2wMpMUUfFb7v8j60veVfMRxUTTRlPAf2empv5XmU1XV8NK 1DUwyagctAaXFeFt2myqJoSyE73CgV6OncD3hxd9JUZzLyZOqPvwjmlD5vUQvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mys4G2lWMz14R2; Thu, 27 Oct 2022 16:45:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29RGjYw5019952; Thu, 27 Oct 2022 16:45:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29RGjY3l019951; Thu, 27 Oct 2022 16:45:34 GMT (envelope-from git) Date: Thu, 27 Oct 2022 16:45:34 GMT Message-Id: <202210271645.29RGjY3l019951@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ryan Steinmetz Subject: git: fd68fdb7e340 - main - net/freeradius3: Update to 3.2.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd68fdb7e340c9bcb2c71961875c3029888e80b1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666889134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SFH5vi/WfsR+A1DXDMiGAvEecTCspyDCzfntugn/o/c=; b=bBLax+aDIoGeqNW/7m4+a9Fid5z9iiln88lt3/JNBR3KZXjN1SRbSDwwe8+K/5xZOmXS1P UIu60tTACTEPnMdoheBhrDd7N3KJueKAlt5vqsJeFHiVtdK8y0jXidJly3vbHNpwSKX7av +RP+pi4aPK4C+OjX1gPtXCrMLhrmuS5P/jH0208Lh6kkrJ93F1OHa728arXqIZbyTdo6RO pMewCyCD+oxqyv5FJiymF3e1QZht1X9wiH3hk/QUCe1g+VO/mAKdRIYVpidJdyEQ4/ugio avdOGNPRBOETIgeVK+IWLPcf7yIkSQgJ+/i42+rrgIdWsnQg7O1OVafYlgbyYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666889134; a=rsa-sha256; cv=none; b=b75lMyXyG/r9eU6RAM0sdE97w+x9KQVpBN8SAQ/xxRYdTBGbed700/sN2cAQh94Lf3Bmrv rBUQlxSzRUFE1G03RVtD+9INTmTcIuLb0SQwHgDWOTigvrzIv4d2newK+tHGoeEL+8+ULG 1kBoCx2JNT53dCqWahhAlmPMEiOleAva0ivsy+oTTPuplNokTSaQUD0jZ3eV3FpwVpw3ZZ pGHKPa5eYUYl54PsWgZbJzjz/ZwCoBi6n4hch831HQk1tHnbkduVoiplgdGFZF0CP3ZpNh KDKbf4AmlaxuvmRgVKTCKHPQybo9oTxCkKoq6lPYwAf2mOI+cWCKUlk1DtX1TQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zi: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd68fdb7e340c9bcb2c71961875c3029888e80b1 commit fd68fdb7e340c9bcb2c71961875c3029888e80b1 Author: Ryan Steinmetz AuthorDate: 2022-10-27 16:44:49 +0000 Commit: Ryan Steinmetz CommitDate: 2022-10-27 16:44:49 +0000 net/freeradius3: Update to 3.2.1 PR: 267061 Submitted by: Marek Zarychta --- net/freeradius3/Makefile | 20 +++++++++++-- net/freeradius3/distinfo | 6 ++-- net/freeradius3/files/patch-install-sh | 11 -------- net/freeradius3/pkg-plist | 51 +++++++++++++++++++--------------- 4 files changed, 50 insertions(+), 38 deletions(-) diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile index ada17c5ba3cd..1ea59d825cc5 100644 --- a/net/freeradius3/Makefile +++ b/net/freeradius3/Makefile @@ -1,5 +1,7 @@ +# Created by: Ryan Steinmetz + PORTNAME= freeradius -DISTVERSION= 3.0.25 +DISTVERSION= 3.2.1 CATEGORIES= net MASTER_SITES= https://github.com/FreeRADIUS/freeradius-server/releases/download/release_${DISTVERSION:S/./_/g}/ \ https://freeradius.org/ftp/pub/radius/%SUBDIR%/ \ @@ -15,6 +17,10 @@ WWW= https://www.freeradius.org/ LICENSE= GPLv2 +BROKEN_SSL= libressl libressl-devel +BROKEN_SSL_REASON_libressl= LibreSSL is no longer supported +BROKEN_SSL_REASON_libressl-devel= ${BROKEN_SSL_REASON_libressl} + LIB_DEPENDS= libgdbm.so:databases/gdbm \ libtalloc.so:devel/talloc @@ -52,7 +58,7 @@ OPTIONS_SUB= yes OPTIONS_DEFINE= USER LDAP MYSQL PGSQL UNIXODBC FIREBIRD REDIS \ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \ FREETDS IDN DOCS SQLITE3 PYTHON RUBY UNBOUND PCRE \ - WINBIND EXAMPLES + WINBIND EXAMPLES JSON OPTIONS_DEFAULT=USER PERL HEIMDAL UDPFROMTO OPTIONS_SINGLE= KRB OPTIONS_SINGLE_KRB= NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT @@ -85,6 +91,7 @@ DEVELOPER_DESC= Enable developer options EDIR_DESC= Enable eDirectory support (implies LDAP) REST_DESC= Enable RESTful API support WINBIND_DESC= Enable native winbind support in rlm_mschap +JSON_DESC= With JSON support EDIR_CONFIGURE_WITH= edir EDIR_IMPLIES= LDAP @@ -147,6 +154,10 @@ UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC WINBIND_USES= samba:build,lib WINBIND_CONFIGURE_ON= --with-winbind-include-dir=${LOCALBASE}/include/samba4 \ --with-winbind-lib-dir=${LOCALBASE}/lib/samba4 +JSON_CONFIGURE_WITH= rlm_json +JSON_CONFIGURE_ON= --with-jsonc-lib-dir=${LOCALBASE}/lib \ + --with-jsonc-include-dir=${LOCALBASE}/include +JSON_LIB_DEPENDS= libjson-c.so:devel/json-c .include @@ -198,6 +209,11 @@ EXPM= yes EXPM= yes .endif +# json module is still experimental +.if ${PORT_OPTIONS:MJSON} && empty(PORT_OPTIONS:MEXPERIMENTAL) +EXPM= yes +.endif + .if ${PORT_OPTIONS:MEXPERIMENTAL} || defined(EXPM) CONFIGURE_ARGS+=--with-experimental-modules PLIST_SUB+= EXPM="" diff --git a/net/freeradius3/distinfo b/net/freeradius3/distinfo index 1cf1ba661fa3..cb1f17ef334c 100644 --- a/net/freeradius3/distinfo +++ b/net/freeradius3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1633704252 -SHA256 (freeradius-server-3.0.25.tar.bz2) = fc158cdab4a705b179b1a91cd72473006ef4dfb570b0d097db6c9c34049a4509 -SIZE (freeradius-server-3.0.25.tar.bz2) = 3402380 +TIMESTAMP = 1665076845 +SHA256 (freeradius-server-3.2.1.tar.bz2) = 32cd4eae3c24af2893aa5feff643bc9ac0755341b2b7e8dd622c6e9a23e9f256 +SIZE (freeradius-server-3.2.1.tar.bz2) = 3399164 diff --git a/net/freeradius3/files/patch-install-sh b/net/freeradius3/files/patch-install-sh deleted file mode 100644 index e0742d564d16..000000000000 --- a/net/freeradius3/files/patch-install-sh +++ /dev/null @@ -1,11 +0,0 @@ ---- ./install-sh.orig 2014-05-13 12:44:10.000000000 -0400 -+++ ./install-sh 2014-05-13 12:44:43.000000000 -0400 -@@ -120,7 +120,7 @@ - instcmd=: - chmodcmd="" - else -- instcmd=mkdir -+ instcmd="mkdir -p" - fi - else - diff --git a/net/freeradius3/pkg-plist b/net/freeradius3/pkg-plist index 130e9fe685a5..ca24e1c120bf 100644 --- a/net/freeradius3/pkg-plist +++ b/net/freeradius3/pkg-plist @@ -1,5 +1,5 @@ -@unexec different=0 ; for i in `find %D/%%EXAMPLESDIR%%/raddb/certs/ -type f -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/certs/::g'`; do if ! cmp -hsz %D/%%EXAMPLESDIR%%/raddb/certs/${i} %D/etc/raddb/certs/${i}; then different=1; break; fi; done; if [ ${different} -eq 0 ] && diff -rq --exclude=certs %D/%%EXAMPLESDIR%%/raddb %D/etc/raddb >/dev/null 2>&1; then rm -rf %D/etc/raddb; fi -@unexec if [ -d %D/etc/raddb ]; then echo "You should remove %D/etc/raddb if you don't need it any more."; fi +@preunexec different=0 ; for i in `find %D/%%EXAMPLESDIR%%/raddb/certs/ -type f -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/certs/::g'`; do if ! cmp -hsz %D/%%EXAMPLESDIR%%/raddb/certs/${i} %D/etc/raddb/certs/${i}; then different=1; break; fi; done; if [ ${different} -eq 0 ] && diff -rq --exclude=certs %D/%%EXAMPLESDIR%%/raddb %D/etc/raddb >/dev/null 2>&1; then rm -rf %D/etc/raddb; fi +@preunexec if [ -d %D/etc/raddb ]; then echo "You should remove %D/etc/raddb if you don't need it any more."; fi bin/dhcpclient bin/map_unit bin/rad_counter @@ -122,9 +122,6 @@ include/freeradius/vqp.h %%LIBDIR%%/rlm_counter.a %%LIBDIR%%/rlm_counter.la %%LIBDIR%%/rlm_counter.so -%%LIBDIR%%/rlm_cram.a -%%LIBDIR%%/rlm_cram.la -%%LIBDIR%%/rlm_cram.so %%LIBDIR%%/rlm_date.a %%LIBDIR%%/rlm_date.la %%LIBDIR%%/rlm_date.so @@ -206,9 +203,6 @@ include/freeradius/vqp.h %%LIBDIR%%/rlm_mschap.a %%LIBDIR%%/rlm_mschap.la %%LIBDIR%%/rlm_mschap.so -%%LIBDIR%%/rlm_otp.a -%%LIBDIR%%/rlm_otp.la -%%LIBDIR%%/rlm_otp.so %%LIBDIR%%/rlm_pam.a %%LIBDIR%%/rlm_pam.la %%LIBDIR%%/rlm_pam.so @@ -245,6 +239,9 @@ include/freeradius/vqp.h %%LIBDIR%%/rlm_sometimes.a %%LIBDIR%%/rlm_sometimes.la %%LIBDIR%%/rlm_sometimes.so +%%EXPM%%%%JSON%%%%LIBDIR%%/rlm_json.a +%%EXPM%%%%JSON%%%%LIBDIR%%/rlm_json.la +%%EXPM%%%%JSON%%%%LIBDIR%%/rlm_json.so %%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_redis.a %%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_redis.la %%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_redis.so @@ -287,9 +284,6 @@ include/freeradius/vqp.h %%LIBDIR%%/rlm_sqlcounter.a %%LIBDIR%%/rlm_sqlcounter.la %%LIBDIR%%/rlm_sqlcounter.so -%%EXPM%%%%LIBDIR%%/rlm_sqlhpwippool.a -%%EXPM%%%%LIBDIR%%/rlm_sqlhpwippool.la -%%EXPM%%%%LIBDIR%%/rlm_sqlhpwippool.so %%LIBDIR%%/rlm_sqlippool.a %%LIBDIR%%/rlm_sqlippool.la %%LIBDIR%%/rlm_sqlippool.so @@ -381,6 +375,7 @@ sbin/radmin %%PORTDOCS%%%%DOCSDIR%%/deployment/performance-testing %%PORTDOCS%%%%DOCSDIR%%/deployment/supervise-radiusd.rst %%PORTDOCS%%%%DOCSDIR%%/deployment/tuning_guide +%%PORTDOCS%%%%DOCSDIR%%/developer/autotools.md %%PORTDOCS%%%%DOCSDIR%%/developer/coding-methods.rst %%PORTDOCS%%%%DOCSDIR%%/developer/contributing.rst %%PORTDOCS%%%%DOCSDIR%%/developer/module_interface.rst @@ -627,7 +622,7 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/mods-available/always %%EXAMPLESDIR%%/raddb/mods-available/attr_filter %%EXAMPLESDIR%%/raddb/mods-available/cache -%%EXAMPLESDIR%%/raddb/mods-available/cache_eap +%%EXAMPLESDIR%%/raddb/mods-available/cache_auth %%EXAMPLESDIR%%/raddb/mods-available/chap %%EXAMPLESDIR%%/raddb/mods-available/couchbase %%EXAMPLESDIR%%/raddb/mods-available/counter @@ -650,8 +645,10 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/mods-available/idn %%EXAMPLESDIR%%/raddb/mods-available/inner-eap %%EXAMPLESDIR%%/raddb/mods-available/ippool +%%EXAMPLESDIR%%/raddb/mods-available/json %%EXAMPLESDIR%%/raddb/mods-available/krb5 %%EXAMPLESDIR%%/raddb/mods-available/ldap +%%EXAMPLESDIR%%/raddb/mods-available/ldap_google %%EXAMPLESDIR%%/raddb/mods-available/linelog %%EXAMPLESDIR%%/raddb/mods-available/logintime %%EXAMPLESDIR%%/raddb/mods-available/mac2ip @@ -660,7 +657,6 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/mods-available/moonshot-targeted-ids %%EXAMPLESDIR%%/raddb/mods-available/ntlm_auth %%EXAMPLESDIR%%/raddb/mods-available/opendirectory -%%EXAMPLESDIR%%/raddb/mods-available/otp %%EXAMPLESDIR%%/raddb/mods-available/pam %%EXAMPLESDIR%%/raddb/mods-available/pap %%EXAMPLESDIR%%/raddb/mods-available/passwd @@ -702,6 +698,7 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/mods-config/preprocess/huntgroups %%PYTHON%%%%EXAMPLESDIR%%/raddb/mods-config/python3/example.py %%PYTHON%%%%EXAMPLESDIR%%/raddb/mods-config/python3/radiusd.py +%%EXAMPLESDIR%%/raddb/mods-config/realm/freeradius-naptr-to-home-server.sh %%EXAMPLESDIR%%/raddb/mods-config/sql/counter/mysql/dailycounter.conf %%EXAMPLESDIR%%/raddb/mods-config/sql/counter/mysql/expire_on_login.conf %%EXAMPLESDIR%%/raddb/mods-config/sql/counter/mysql/monthlycounter.conf @@ -787,8 +784,9 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/queries.conf %%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/schema.sql %%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/setup.sql -%%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/process-radacct-refresh.sh %%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/process-radacct-schema.sql +%%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/process-radacct-close-after-reload.pl +%%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/process-radacct-new-data-usage-period.sh %%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/queries.conf %%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/schema.sql %%EXAMPLESDIR%%/raddb/mods-config/sql/moonshot-targeted-ids/mysql/queries.conf @@ -800,7 +798,6 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/mods-config/unbound/default.conf %%EXAMPLESDIR%%/raddb/mods-enabled/always %%EXAMPLESDIR%%/raddb/mods-enabled/attr_filter -%%EXAMPLESDIR%%/raddb/mods-enabled/cache_eap %%EXAMPLESDIR%%/raddb/mods-enabled/chap %%EXAMPLESDIR%%/raddb/mods-enabled/date %%EXAMPLESDIR%%/raddb/mods-enabled/detail @@ -847,6 +844,7 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/sites-available/README %%EXAMPLESDIR%%/raddb/sites-available/abfab-tls %%EXAMPLESDIR%%/raddb/sites-available/abfab-tr-idp +%%EXAMPLESDIR%%/raddb/sites-available/aws-nlb %%EXAMPLESDIR%%/raddb/sites-available/buffered-sql %%EXAMPLESDIR%%/raddb/sites-available/challenge %%EXAMPLESDIR%%/raddb/sites-available/channel_bindings @@ -861,6 +859,7 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/sites-available/dhcp.relay %%EXAMPLESDIR%%/raddb/sites-available/dynamic-clients %%EXAMPLESDIR%%/raddb/sites-available/example +%%EXAMPLESDIR%%/raddb/sites-available/google-ldap-auth %%EXAMPLESDIR%%/raddb/sites-available/inner-tunnel %%EXAMPLESDIR%%/raddb/sites-available/originate-coa %%EXAMPLESDIR%%/raddb/sites-available/proxy-inner-tunnel @@ -870,6 +869,7 @@ sbin/radmin %%EXAMPLESDIR%%/raddb/sites-available/status %%EXAMPLESDIR%%/raddb/sites-available/totp %%EXAMPLESDIR%%/raddb/sites-available/tls +%%EXAMPLESDIR%%/raddb/sites-available/tls-cache %%EXAMPLESDIR%%/raddb/sites-available/virtual.example.com %%EXAMPLESDIR%%/raddb/sites-available/vmps %%EXAMPLESDIR%%/raddb/sites-enabled/default @@ -894,6 +894,7 @@ sbin/radmin %%DATADIR%%/dictionary.acme %%DATADIR%%/dictionary.actelis %%DATADIR%%/dictionary.adtran +%%DATADIR%%/dictionary.adva %%DATADIR%%/dictionary.aerohive %%DATADIR%%/dictionary.airespace %%DATADIR%%/dictionary.alcatel @@ -933,6 +934,7 @@ sbin/radmin %%DATADIR%%/dictionary.centec %%DATADIR%%/dictionary.checkpoint %%DATADIR%%/dictionary.chillispot +%%DATADIR%%/dictionary.ciena %%DATADIR%%/dictionary.cisco %%DATADIR%%/dictionary.cisco.asa %%DATADIR%%/dictionary.cisco.bbsm @@ -946,6 +948,7 @@ sbin/radmin %%DATADIR%%/dictionary.compat %%DATADIR%%/dictionary.compatible %%DATADIR%%/dictionary.cosine +%%DATADIR%%/dictionary.covaro %%DATADIR%%/dictionary.dante %%DATADIR%%/dictionary.dellemc %%DATADIR%%/dictionary.dhcp @@ -968,6 +971,7 @@ sbin/radmin %%DATADIR%%/dictionary.foundry %%DATADIR%%/dictionary.freedhcp %%DATADIR%%/dictionary.freeradius +%%DATADIR%%/dictionary.freeradius.evs5 %%DATADIR%%/dictionary.freeradius.internal %%DATADIR%%/dictionary.freeswitch %%DATADIR%%/dictionary.gandalf @@ -995,6 +999,7 @@ sbin/radmin %%DATADIR%%/dictionary.lucent %%DATADIR%%/dictionary.manzara %%DATADIR%%/dictionary.meinberg +%%DATADIR%%/dictionary.mellanox %%DATADIR%%/dictionary.meraki %%DATADIR%%/dictionary.merit %%DATADIR%%/dictionary.meru @@ -1007,9 +1012,11 @@ sbin/radmin %%DATADIR%%/dictionary.motorola.wimax %%DATADIR%%/dictionary.navini %%DATADIR%%/dictionary.net +%%DATADIR%%/dictionary.netelastic %%DATADIR%%/dictionary.netscreen %%DATADIR%%/dictionary.networkphysics %%DATADIR%%/dictionary.nexans +%%DATADIR%%/dictionary.nile %%DATADIR%%/dictionary.nokia %%DATADIR%%/dictionary.nokia.conflict %%DATADIR%%/dictionary.nomadix @@ -1116,10 +1123,10 @@ sbin/radmin %%DATADIR%%/dictionary.zeus %%DATADIR%%/dictionary.zte %%DATADIR%%/dictionary.zyxel -@exec if ! [ -d %D/etc/raddb -o -L %D/etc/raddb ]; then cp -RP %D/%%EXAMPLESDIR%%/raddb %D/etc/raddb; echo '===> Bootstrapping default certificates, please wait...'; %D/etc/raddb/certs/bootstrap >/dev/null 2>&1; fi -@exec chmod -R g-w,o-rwx %D/etc/raddb -@exec if [ ! -d /var/log/radacct ]; then mkdir -p /var/log/radacct; chmod -R go= /var/log/radacct; fi -@exec for i in /var/log/radius.log /var/log/radutmp /var/log/radwtmp; do if [ ! -f ${i} ]; then touch ${i}; chmod go= ${i}; fi; done -@exec mkdir -p /var/run/radiusd -@unexec rmdir "/var/log/radacct" >/dev/null 2>&1 || : -@unexec rmdir "/var/run/radiusd" >/dev/null 2>&1 || : +@dir /var/log/radacct +@dir /var/run/radiusd +@postexec if ! [ -d %D/etc/raddb -o -L %D/etc/raddb ]; then cp -RP %D/%%EXAMPLESDIR%%/raddb %D/etc/raddb; echo '===> Bootstrapping default certificates, please wait...'; %D/etc/raddb/certs/bootstrap >/dev/null 2>&1; fi +@postexec chmod -R g-w,o-rwx %D/etc/raddb +@postexec if [ ! -d /var/log/radacct ]; then mkdir -p /var/log/radacct; chmod -R go= /var/log/radacct; fi +@postexec for i in /var/log/radius.log /var/log/radutmp /var/log/radwtmp; do if [ ! -f ${i} ]; then touch ${i}; chmod go= ${i}; fi; done +@postexec mkdir -p /var/run/radiusd