pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net remove net/freeradius2; broken & subsumed by net/f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16624acb4b9e
branches:  trunk
changeset: 444795:16624acb4b9e
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 13 09:08:06 2021 +0000

description:
remove net/freeradius2; broken & subsumed by net/freeradius

diffstat:

 net/Makefile                                        |    3 +-
 net/freeradius2/DESCR                               |   23 -
 net/freeradius2/MESSAGE                             |   17 -
 net/freeradius2/MESSAGE.pam                         |   21 -
 net/freeradius2/Makefile                            |  160 -----
 net/freeradius2/PLIST                               |  628 --------------------
 net/freeradius2/distinfo                            |   16 -
 net/freeradius2/files/radiusd.sh                    |   36 -
 net/freeradius2/options.mk                          |  147 ----
 net/freeradius2/patches/patch-aa                    |   16 -
 net/freeradius2/patches/patch-ab                    |    9 -
 net/freeradius2/patches/patch-ac                    |   14 -
 net/freeradius2/patches/patch-ae                    |   23 -
 net/freeradius2/patches/patch-ai                    |   48 -
 net/freeradius2/patches/patch-aj                    |   12 -
 net/freeradius2/patches/patch-ak                    |   13 -
 net/freeradius2/patches/patch-al                    |   65 --
 net/freeradius2/patches/patch-configure.in          |   12 -
 net/freeradius2/patches/patch-man_man5_dictionary.5 |   12 -
 19 files changed, 1 insertions(+), 1274 deletions(-)

diffs (truncated from 1361 to 300 lines):

diff -r 5802b0d8e388 -r 16624acb4b9e net/Makefile
--- a/net/Makefile      Wed Jan 13 09:06:15 2021 +0000
+++ b/net/Makefile      Wed Jan 13 09:08:06 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1371 2021/01/09 21:33:56 pin Exp $
+# $NetBSD: Makefile,v 1.1372 2021/01/13 09:08:06 nia Exp $
 #
 
 COMMENT=       Networking tools
@@ -166,7 +166,6 @@
 SUBDIR+=       freeradius-sqlite3
 SUBDIR+=       freeradius-unixodbc
 SUBDIR+=       freeradius-yubikey
-SUBDIR+=       freeradius2
 SUBDIR+=       freerdp
 SUBDIR+=       freerdp2
 SUBDIR+=       frr
diff -r 5802b0d8e388 -r 16624acb4b9e net/freeradius2/DESCR
--- a/net/freeradius2/DESCR     Wed Jan 13 09:06:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-  All code in this server was written from scratch.
-
-  The server is mostly compatible with livingston radiusd-2.01
-  (no menus or s/key support though) but with more feautures, such as:
-
-    o Can limit max. number of simultaneous logins on a per-user basis!
-    o Multiple DEFAULT entries, that can optionally fall-through.
-    o In fact, every entry can fall-through
-    o Deny/permit access based on huntgroup users dials into
-    o Set certain parameters (such as static IP address) based on huntgroup
-    o Extra "hints" file that can select SLIP/PPP/rlogin based on
-      username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc).
-    o Can execute an external program when user has authenticated (for example
-      to run a sendmail queue).
-    o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files
-    o Can act as a proxy server, relaying requests to a remote server
-    o Supports Vendor-Specific attributes
-    o No good documentation at all, just like the original radiusd 1.16!
-
-  Then of course for general RADIUS questions, especially if you are using
-  Livingston  / Lucent RABU equipment, there is the portmaster-radius mailing
-  list. Send mail to portmaster-radius-request%livingston.com@localhost to find
-  out how to subscribe.
diff -r 5802b0d8e388 -r 16624acb4b9e net/freeradius2/MESSAGE
--- a/net/freeradius2/MESSAGE   Wed Jan 13 09:06:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2008/05/15 19:43:47 adrianp Exp $
-
-Note to users who have been running radiusd as root before:
-
-As radiusd now runs unprivileged by default (as ${RADIUS_USER}:${RADIUS_GROUP}),
-you'll have to adapt some permissions:
-
-  ${CHOWN} -R ${RADIUS_USER}:${RADIUS_GROUP} ${VARBASE}/run/radiusd
-  ${CHOWN} -R ${RADIUS_USER}:${RADIUS_GROUP} ${PKG_SYSCONFDIR}
-  ${FIND} ${PKG_SYSCONFDIR} -type d | ${XARGS} ${CHMOD} 0750
-  ${FIND} ${PKG_SYSCONFDIR} -type f | ${XARGS} ${CHMOD} 0640
-
-In addition to this the base logging directory has now been moved from
-${VARBASE}/log to ${VARBASE}/log/radiusd.
-
-===========================================================================
diff -r 5802b0d8e388 -r 16624acb4b9e net/freeradius2/MESSAGE.pam
--- a/net/freeradius2/MESSAGE.pam       Wed Jan 13 09:06:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE.pam,v 1.1.1.1 2008/05/15 19:43:47 adrianp Exp $
-
-Certain PAM modules require that radiusd run as root in order to
-perform privileged operations.  However, other PAM modules (e.g. pam-dbm),
-will work with with radiusd running as non-root if the non-root user is
-given the permissions necessary.
-
-If you will be using a PAM module that requires radiusd to run as root
-you can set the following in /etc/mk.conf:
-
-       RADIUS_USER=root
-       RADIUS_GROUP=wheel
-
-And then re-install freeradius.  Alternatively, you can just change the
-following settings in your ${PKG_SYSCONFDIR}/radiusd.conf
-
-       user = root
-       group = wheel
-
-===========================================================================
diff -r 5802b0d8e388 -r 16624acb4b9e net/freeradius2/Makefile
--- a/net/freeradius2/Makefile  Wed Jan 13 09:06:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-# $NetBSD: Makefile,v 1.58 2020/08/31 18:10:33 wiz Exp $
-
-DISTNAME=      freeradius-server-2.2.10
-PKGNAME=       ${DISTNAME:S/-server//}
-PKGREVISION=   4
-CATEGORIES=    net
-MASTER_SITES=  ftp://ftp.freeradius.org/pub/freeradius/
-EXTRACT_SUFX=  .tar.bz2
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://freeradius.org/
-COMMENT=       Free RADIUS server implementation
-LICENSE=       gnu-gpl-v2
-
-BROKEN=                "Fails to build with OpenSSL 1.1"
-
-CONFLICTS+=            radiusd-cistron-[0-9]*
-CONFLICTS+=            freeradius<2.0
-USE_TOOLS+=            gmake perl:run
-USE_LANGUAGES+=                c c++
-USE_LIBTOOL=           yes
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+=           VARBASE
-FILES_SUBST+=          RADIUS_USER=${RADIUS_USER}
-FILES_SUBST+=          RADIUS_GROUP=${RADIUS_GROUP}
-MESSAGE_SRC+=          ${PKGDIR}/MESSAGE
-MESSAGE_SUBST+=                CHOWN=${CHOWN:Q} CHMOD=${CHMOD:Q} VARBASE=${VARBASE}
-MESSAGE_SUBST+=                RADIUS_USER=${RADIUS_USER} XARGS=${XARGS:Q}
-MESSAGE_SUBST+=                RADIUS_GROUP=${RADIUS_GROUP} FIND=${FIND:Q}
-
-PKG_SYSCONFSUBDIR=     raddb
-RCD_SCRIPTS=           radiusd
-RADIUS_USER?=          radius
-RADIUS_GROUP?=         radius
-PKG_GROUPS=            ${RADIUS_USER}
-PKG_USERS=             ${RADIUS_USER}:${RADIUS_GROUP}
-PKG_GROUPS_VARS+=      RADIUS_GROUP
-PKG_USERS_VARS=                RADIUS_USER
-OWN_DIRS_PERMS+=       ${VARBASE}/run/radiusd \
-                       ${RADIUS_USER} ${RADIUS_GROUP} 0750
-OWN_DIRS_PERMS+=       ${VARBASE}/log/radiusd \
-                       ${RADIUS_USER} ${RADIUS_GROUP} 0750
-OWN_DIRS_PERMS+=       ${VARBASE}/log/radiusd/radacct \
-                       ${RADIUS_USER} ${RADIUS_GROUP} 0750
-
-EGDIR=                 ${PREFIX}/share/examples/freeradius
-
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
-CONFIGURE_ARGS+=       --quiet
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
-CONFIGURE_ARGS+=       --with-logdir=${VARBASE}/log/radiusd
-CONFIGURE_ARGS+=       --with-system-libltdl
-CONFIGURE_ARGS+=       --with-system-libtool
-CONFIGURE_ARGS+=       --without-rlm_python
-CONFIGURE_ARGS+=       --without-rlm_smb
-CONFIGURE_ARGS+=       --without-rlm_sql_oracle
-CONFIGURE_ARGS+=       --without-rlm_sql_unixodbc
-MAKE_ENV+=             R=${DESTDIR}
-
-REPLACE_PERL=          src/modules/rlm_counter/rad_counter
-REPLACE_PERL+=         scripts/radsqlrelay
-
-SUBST_CLASSES+=                make
-SUBST_STAGE.make=      pre-configure
-SUBST_FILES.make=      src/modules/rlm_sql/drivers/rlm_sql_postgresql/Makefile.in
-SUBST_SED.make+=       -e "s|RLM_SQL_LIBS      =|RLM_SQL_LIBS  = \
-                       -L${PREFIX}/lib|g"
-SUBST_MESSAGE.make=    Fixing Makefiles.
-
-SUBST_CLASSES+=                config
-SUBST_STAGE.config=    pre-configure
-SUBST_FILES.config=    raddb/radiusd.conf.in
-SUBST_SED.config=      -e "s|@@RADIUS_USER@@|${RADIUS_USER}|g"
-SUBST_SED.config+=     -e "s|@@RADIUS_GROUP@@|${RADIUS_GROUP}|g"
-SUBST_MESSAGE.config=  Fixing configuration files.
-
-.include "options.mk"
-
-EGFILES=       acct_users attrs attrs.access_reject attrs.accounting_response \
-               attrs.pre-proxy certs/README certs/Makefile certs/bootstrap \
-               certs/ca.cnf certs/client.cnf certs/server.cnf \
-               certs/xpextensions clients.conf dictionary eap.conf experimental.conf \
-               hints huntgroups ldap.attrmap modules/acct_unique modules/always \
-               modules/attr_filter modules/attr_rewrite modules/chap modules/checkval \
-               modules/counter modules/detail modules/detail.example.com \
-               modules/detail.log modules/digest modules/echo modules/etc_group \
-               modules/exec modules/expiration modules/expr modules/files \
-               modules/inner-eap modules/ippool modules/krb5 modules/ldap \
-               modules/linelog modules/logintime modules/mac2ip modules/mac2vlan \
-               modules/mschap modules/otp modules/pam modules/pap modules/passwd \
-               modules/perl modules/policy modules/preprocess modules/radutmp \
-               modules/realm modules/smbpasswd modules/smsotp modules/sql_log \
-               modules/sqlcounter_expire_on_login modules/sradutmp modules/unix \
-               modules/wimax policy.conf policy.txt preproxy_users proxy.conf \
-               radiusd.conf sites-available/README sites-available/buffered-sql \
-               sites-available/control-socket \
-               sites-available/copy-acct-to-home-server \
-               sites-available/decoupled-accounting sites-available/default \
-               sites-available/dhcp sites-available/dynamic-clients \
-               sites-available/example sites-available/inner-tunnel \
-               sites-available/originate-coa sites-available/proxy-inner-tunnel \
-               sites-available/robust-proxy-accounting sites-available/status \
-               sites-available/virtual.example.com sites-available/vmps sql.conf \
-               sql/mssql/dialup.conf sql/mssql/schema.sql sql/mysql/admin.sql \
-               sql/mysql/counter.conf sql/mysql/dialup.conf sql/mysql/ippool.conf \
-               sql/mysql/ippool.sql sql/mysql/nas.sql sql/mysql/schema.sql \
-               sql/mysql/wimax.conf sql/mysql/wimax.sql sql/oracle/dialup.conf \
-               sql/oracle/ippool.conf sql/oracle/ippool.sql sql/oracle/msqlippool.txt \
-               sql/oracle/nas.sql sql/oracle/schema.sql sql/postgresql/admin.sql \
-               sql/postgresql/cisco_h323_db_schema.sql sql/postgresql/counter.conf \
-               sql/postgresql/dialup.conf sql/postgresql/ippool.conf \
-               sql/postgresql/ippool.sql sql/postgresql/nas.sql \
-               sql/postgresql/schema.sql \
-               sql/postgresql/update_radacct_group_trigger.sql \
-               sql/postgresql/voip-postpaid.conf sqlippool.conf templates.conf users
-EGDIRS=                certs modules sql sql/mssql sql/mysql sql/oracle \
-               sql/postgresql sites-available sites-enabled
-
-.for f in ${EGFILES}
-CONF_FILES_PERMS+=     ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
-                       ${RADIUS_USER} ${RADIUS_GROUP} 0640
-.endfor
-
-.for d in ${EGDIRS}
-INSTALLATION_DIRS+=    ${EGDIR}/${d}
-OWN_DIRS_PERMS+=       ${PKG_SYSCONFDIR}/${d} ${RADIUS_USER} \
-                       ${RADIUS_GROUP} 750
-.endfor
-
-.include "../../mk/pthread.buildlink3.mk"
-
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
-CONFIGURE_ARGS+=       --without-threads
-.endif
-
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
-.include "../../devel/pthread-sem/buildlink3.mk"
-SUBST_SED.make+=       -e 's|@ldap_ldflags@|@ldap_ldflags@ \
-                       ${PTHREAD_LDFLAGS:M*:Q} ${PTHREAD_LIBS:M*:Q} -lsemaphore|g'
-.endif
-
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
-SUBST_SED.make+=       -e 's|@ldap_ldflags@|@ldap_ldflags@ \
-                       ${PTHREAD_LDFLAGS:M*:Q} ${PTHREAD_LIBS:M*:Q}|g'
-.endif
-
-post-install:
-.for f in ${EGFILES}
-       ${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${DESTDIR}${EGDIR}/${f}
-.endfor
-       ${INSTALL_DATA} ${WRKSRC}/src/modules/rlm_perl/example.pl ${DESTDIR}${EGDIR}
-
-.include "../../devel/libexecinfo/buildlink3.mk"
-.include "../../devel/libltdl/buildlink3.mk"
-.include "../../net/libpcap/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 5802b0d8e388 -r 16624acb4b9e net/freeradius2/PLIST
--- a/net/freeradius2/PLIST     Wed Jan 13 09:06:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,628 +0,0 @@
-@comment $NetBSD: PLIST,v 1.19 2019/07/06 18:40:01 adam Exp $
-bin/rad_counter
-bin/radclient
-bin/radconf2xml
-bin/radcrypt
-bin/radeapclient
-bin/radlast
-bin/radsniff
-bin/radsqlrelay
-bin/radtest
-bin/radwho
-bin/radzap
-${PLIST.dbm}bin/rlm_dbm_cat
-${PLIST.dbm}bin/rlm_dbm_parser
-bin/rlm_ippool_tool
-bin/smbencrypt
-include/freeradius/autoconf.h
-include/freeradius/base64.h
-include/freeradius/conf.h
-include/freeradius/conffile.h
-include/freeradius/detail.h
-include/freeradius/dhcp.h
-include/freeradius/event.h
-include/freeradius/hash.h
-include/freeradius/heap.h
-include/freeradius/ident.h
-include/freeradius/libradius.h
-include/freeradius/md4.h
-include/freeradius/md5.h
-include/freeradius/missing.h
-include/freeradius/modcall.h
-include/freeradius/modules.h
-include/freeradius/packet.h
-include/freeradius/rad_assert.h
-include/freeradius/radius.h
-include/freeradius/radiusd.h
-include/freeradius/radpaths.h
-include/freeradius/radutmp.h
-include/freeradius/realms.h
-include/freeradius/sha1.h
-include/freeradius/stats.h
-include/freeradius/sysutmp.h



Home | Main Index | Thread Index | Old Index