diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/freeradius | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/freeradius')
-rw-r--r-- | community/freeradius/PKGBUILD | 51 | ||||
-rw-r--r-- | community/freeradius/freeradius.install | 17 | ||||
-rw-r--r-- | community/freeradius/freeradius.service | 15 | ||||
-rw-r--r-- | community/freeradius/freeradius.tmpfiles | 1 | ||||
-rw-r--r-- | community/freeradius/krb5-build-fix.patch | 21 |
5 files changed, 0 insertions, 105 deletions
diff --git a/community/freeradius/PKGBUILD b/community/freeradius/PKGBUILD deleted file mode 100644 index 6ecba36c1..000000000 --- a/community/freeradius/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# $Id: PKGBUILD 91902 2013-05-29 10:03:34Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Jason R Begley (jayray@digitalgoat.com> - -pkgname=freeradius -pkgver=2.2.0 -pkgrel=8 -pkgdesc="The premier open source RADIUS server" -arch=('i686' 'x86_64') -url="http://www.freeradius.org/" -license=('GPL') -depends=('krb5' 'pth' 'net-snmp' 'postgresql-libs' 'libmariadbclient') -makedepends=('libpcap' 'unixodbc' 'python2') -optdepends=('libpcap' 'unixodbc' 'python2') -options=('!libtool' '!makeflags') -install=$pkgname.install -source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig} - freeradius.tmpfiles - freeradius.service - krb5-build-fix.patch) -md5sums=('0fb333fe6a64eb2b1dd6ef67f7bca119' - 'SKIP' - 'f959e89812bedfc9f8308076f78cd74e' - 'e3f18e3a25df3b692e59f60605354708' - 'c6a61de7576933f59154a53bfc12a2d2') - -build() { - cd $srcdir/freeradius-server-$pkgver - export CFLAGS="$CFLAGS -fno-strict-aliasing" - sed -i 's/ -DKRB5_DEPRECATED//' src/modules/rlm_krb5/Makefile.in - patch -p1 <$srcdir/krb5-build-fix.patch - ./configure --with-system-libtool --with-system-libltdl \ - --prefix=/usr --enable-heimdal-krb5 \ - --localstatedir=/var \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --libdir=/usr/lib/freeradius \ - --with-udpfromto - make -} - -package() { - cd $srcdir/freeradius-server-$pkgver - make install R=$pkgdir - chmod o+r $pkgdir/etc/raddb/* - mv $pkgdir/etc/raddb $pkgdir/etc/raddb.default - rm -rf $pkgdir/var/run - - install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service - install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf -} diff --git a/community/freeradius/freeradius.install b/community/freeradius/freeradius.install deleted file mode 100644 index cb7590e77..000000000 --- a/community/freeradius/freeradius.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - groupadd -r radiusd - useradd -r -m -d /var/lib/radiusd -g radiusd -s /bin/false radiusd - - touch var/log/radius/radius.log - chown -R radiusd:radiusd var/log/radius/radius.log - - [ -d etc/raddb ] || cp -a etc/raddb.default etc/raddb - - true -} - -post_remove() { - userdel radiusd - groupdel radiusd - true -} diff --git a/community/freeradius/freeradius.service b/community/freeradius/freeradius.service deleted file mode 100644 index 220d352af..000000000 --- a/community/freeradius/freeradius.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=FreeRADIUS high performance RADIUS server. -After=syslog.target network.target - -[Service] -Type=forking -PIDFile=/run/radiusd/radiusd.pid -ExecStartPre=-/bin/chown -R radiusd.radiusd /run/radiusd -ExecStartPre=/usr/bin/radiusd -C -ExecStart=/usr/bin/radiusd -d /etc/raddb -ExecReload=/usr/bin/radiusd -C -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target diff --git a/community/freeradius/freeradius.tmpfiles b/community/freeradius/freeradius.tmpfiles deleted file mode 100644 index e4e056a36..000000000 --- a/community/freeradius/freeradius.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /run/radiusd 0755 radiusd radiusd - diff --git a/community/freeradius/krb5-build-fix.patch b/community/freeradius/krb5-build-fix.patch deleted file mode 100644 index 11dae7090..000000000 --- a/community/freeradius/krb5-build-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -wbBur freeradius-server-2.1.10/src/modules/rlm_krb5/rlm_krb5.c freeradius-server-2.1.10.my/src/modules/rlm_krb5/rlm_krb5.c ---- freeradius-server-2.1.10/src/modules/rlm_krb5/rlm_krb5.c 2010-09-28 11:03:56.000000000 +0000 -+++ freeradius-server-2.1.10.my/src/modules/rlm_krb5/rlm_krb5.c 2011-04-29 09:26:10.000000000 +0000 -@@ -375,7 +375,7 @@ - * Heimdal krb5 verification - */ - radlog(L_AUTH, "rlm_krb5: Parsed name is: %s@%s\n", -- *userP->name.name_string.val, -+ "-" /* *userP->name.name_string.val*/, - userP->realm); - - krb5_cc_default(context, &id); -@@ -390,7 +390,7 @@ - - radlog(L_AUTH, "rlm_krb5: failed verify_user: %s (%s@%s )", - error_message(ret), -- *userP->name.name_string.val, -+ "-" /* *userP->name.name_string.val */, - userP->realm); - - return RLM_MODULE_REJECT; |