Date: Tuesday, December 30, 2014 @ 19:19:36 Author: spupykin Revision: 124976
archrelease: copy trunk to community-i686, community-x86_64 Added: freeradius/repos/community-i686/PKGBUILD (from rev 124975, freeradius/trunk/PKGBUILD) freeradius/repos/community-i686/freeradius.install (from rev 124975, freeradius/trunk/freeradius.install) freeradius/repos/community-i686/freeradius.service (from rev 124975, freeradius/trunk/freeradius.service) freeradius/repos/community-i686/freeradius.tmpfiles (from rev 124975, freeradius/trunk/freeradius.tmpfiles) freeradius/repos/community-x86_64/PKGBUILD (from rev 124975, freeradius/trunk/PKGBUILD) freeradius/repos/community-x86_64/freeradius.install (from rev 124975, freeradius/trunk/freeradius.install) freeradius/repos/community-x86_64/freeradius.service (from rev 124975, freeradius/trunk/freeradius.service) freeradius/repos/community-x86_64/freeradius.tmpfiles (from rev 124975, freeradius/trunk/freeradius.tmpfiles) Deleted: freeradius/repos/community-i686/PKGBUILD freeradius/repos/community-i686/freeradius.install freeradius/repos/community-i686/freeradius.service freeradius/repos/community-i686/freeradius.tmpfiles freeradius/repos/community-x86_64/PKGBUILD freeradius/repos/community-x86_64/freeradius.install freeradius/repos/community-x86_64/freeradius.service freeradius/repos/community-x86_64/freeradius.tmpfiles --------------------------------------+ /PKGBUILD | 110 +++++++++++++++++++++++++++++++++ /freeradius.install | 42 ++++++++++++ /freeradius.service | 30 +++++++++ /freeradius.tmpfiles | 2 community-i686/PKGBUILD | 56 ---------------- community-i686/freeradius.install | 21 ------ community-i686/freeradius.service | 15 ---- community-i686/freeradius.tmpfiles | 1 community-x86_64/PKGBUILD | 56 ---------------- community-x86_64/freeradius.install | 21 ------ community-x86_64/freeradius.service | 15 ---- community-x86_64/freeradius.tmpfiles | 1 12 files changed, 184 insertions(+), 186 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2014-12-30 18:19:16 UTC (rev 124975) +++ community-i686/PKGBUILD 2014-12-30 18:19:36 UTC (rev 124976) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Jason R Begley (jay...@digitalgoat.com> -# Contributor: Daniel Micay <danielmi...@gmail.com> - -pkgname=freeradius -pkgver=3.0.4 -pkgrel=2 -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' 'talloc' 'libpcap') -makedepends=('unixodbc' 'python2' 'curl') -optdepends=('unixodbc: for ODBC' - 'python2: for Python' - 'curl: for REST') -options=('!makeflags') -install=$pkgname.install -source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig} - freeradius.tmpfiles - freeradius.service - "https://github.com/FreeRADIUS/freeradius-server/commit/6d296f2c4f3c58742543cc0508642c6d06747aea.patch") -md5sums=('5457f10d006767e77541b87049f0a7d2' - 'SKIP' - 'f959e89812bedfc9f8308076f78cd74e' - 'e3f18e3a25df3b692e59f60605354708' - 'a51da2299e4bb1979ad6fc54683f173e') - -prepare() { - cd $srcdir/freeradius-server-$pkgver - patch -p1 <$srcdir/6d296f2c4f3c58742543cc0508642c6d06747aea.patch -} - -build() { - cd $srcdir/freeradius-server-$pkgver - ./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 -} Copied: freeradius/repos/community-i686/PKGBUILD (from rev 124975, freeradius/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Jason R Begley (jay...@digitalgoat.com> +# Contributor: Daniel Micay <danielmi...@gmail.com> + +pkgname=freeradius +pkgver=3.0.6 +pkgrel=1 +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' 'talloc' 'libpcap') +makedepends=('unixodbc' 'python2' 'curl') +optdepends=('unixodbc: for ODBC' + 'python2: for Python' + 'curl: for REST') +options=('!makeflags') +install=$pkgname.install +source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2" + freeradius.tmpfiles + freeradius.service + "https://github.com/FreeRADIUS/freeradius-server/commit/6d296f2c4f3c58742543cc0508642c6d06747aea.patch") +md5sums=('579d553049c53b4d4e9af88745ed367a' + 'f959e89812bedfc9f8308076f78cd74e' + 'e3f18e3a25df3b692e59f60605354708' + 'a51da2299e4bb1979ad6fc54683f173e') + +prepare() { + cd $srcdir/freeradius-server-$pkgver +# patch -p1 <$srcdir/6d296f2c4f3c58742543cc0508642c6d06747aea.patch +} + +build() { + cd $srcdir/freeradius-server-$pkgver + ./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 +} Deleted: community-i686/freeradius.install =================================================================== --- community-i686/freeradius.install 2014-12-30 18:19:16 UTC (rev 124975) +++ community-i686/freeradius.install 2014-12-30 18:19:36 UTC (rev 124976) @@ -1,21 +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 - chown -R radiusd:radiusd etc/raddb - } - - systemd-tmpfiles --create freeradius.conf -} - -post_remove() { - userdel radiusd - grep "^radiusd:" etc/group >/dev/null && groupdel radiusd - systemd-tmpfiles --create freeradius.conf - echo "-- You may want to remove /var/lib/radiusd and /etc/raddb" -} Copied: freeradius/repos/community-i686/freeradius.install (from rev 124975, freeradius/trunk/freeradius.install) =================================================================== --- community-i686/freeradius.install (rev 0) +++ community-i686/freeradius.install 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1,21 @@ +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 + chown -R radiusd:radiusd etc/raddb + } + + systemd-tmpfiles --create freeradius.conf +} + +post_remove() { + userdel radiusd + grep "^radiusd:" etc/group >/dev/null && groupdel radiusd + systemd-tmpfiles --create freeradius.conf + echo "-- You may want to remove /var/lib/radiusd and /etc/raddb" +} Deleted: community-i686/freeradius.service =================================================================== --- community-i686/freeradius.service 2014-12-30 18:19:16 UTC (rev 124975) +++ community-i686/freeradius.service 2014-12-30 18:19:36 UTC (rev 124976) @@ -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 Copied: freeradius/repos/community-i686/freeradius.service (from rev 124975, freeradius/trunk/freeradius.service) =================================================================== --- community-i686/freeradius.service (rev 0) +++ community-i686/freeradius.service 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1,15 @@ +[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 Deleted: community-i686/freeradius.tmpfiles =================================================================== --- community-i686/freeradius.tmpfiles 2014-12-30 18:19:16 UTC (rev 124975) +++ community-i686/freeradius.tmpfiles 2014-12-30 18:19:36 UTC (rev 124976) @@ -1 +0,0 @@ -d /run/radiusd 0755 radiusd radiusd - Copied: freeradius/repos/community-i686/freeradius.tmpfiles (from rev 124975, freeradius/trunk/freeradius.tmpfiles) =================================================================== --- community-i686/freeradius.tmpfiles (rev 0) +++ community-i686/freeradius.tmpfiles 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1 @@ +d /run/radiusd 0755 radiusd radiusd - Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2014-12-30 18:19:16 UTC (rev 124975) +++ community-x86_64/PKGBUILD 2014-12-30 18:19:36 UTC (rev 124976) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Jason R Begley (jay...@digitalgoat.com> -# Contributor: Daniel Micay <danielmi...@gmail.com> - -pkgname=freeradius -pkgver=3.0.4 -pkgrel=2 -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' 'talloc' 'libpcap') -makedepends=('unixodbc' 'python2' 'curl') -optdepends=('unixodbc: for ODBC' - 'python2: for Python' - 'curl: for REST') -options=('!makeflags') -install=$pkgname.install -source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig} - freeradius.tmpfiles - freeradius.service - "https://github.com/FreeRADIUS/freeradius-server/commit/6d296f2c4f3c58742543cc0508642c6d06747aea.patch") -md5sums=('5457f10d006767e77541b87049f0a7d2' - 'SKIP' - 'f959e89812bedfc9f8308076f78cd74e' - 'e3f18e3a25df3b692e59f60605354708' - 'a51da2299e4bb1979ad6fc54683f173e') - -prepare() { - cd $srcdir/freeradius-server-$pkgver - patch -p1 <$srcdir/6d296f2c4f3c58742543cc0508642c6d06747aea.patch -} - -build() { - cd $srcdir/freeradius-server-$pkgver - ./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 -} Copied: freeradius/repos/community-x86_64/PKGBUILD (from rev 124975, freeradius/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Jason R Begley (jay...@digitalgoat.com> +# Contributor: Daniel Micay <danielmi...@gmail.com> + +pkgname=freeradius +pkgver=3.0.6 +pkgrel=1 +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' 'talloc' 'libpcap') +makedepends=('unixodbc' 'python2' 'curl') +optdepends=('unixodbc: for ODBC' + 'python2: for Python' + 'curl: for REST') +options=('!makeflags') +install=$pkgname.install +source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2" + freeradius.tmpfiles + freeradius.service + "https://github.com/FreeRADIUS/freeradius-server/commit/6d296f2c4f3c58742543cc0508642c6d06747aea.patch") +md5sums=('579d553049c53b4d4e9af88745ed367a' + 'f959e89812bedfc9f8308076f78cd74e' + 'e3f18e3a25df3b692e59f60605354708' + 'a51da2299e4bb1979ad6fc54683f173e') + +prepare() { + cd $srcdir/freeradius-server-$pkgver +# patch -p1 <$srcdir/6d296f2c4f3c58742543cc0508642c6d06747aea.patch +} + +build() { + cd $srcdir/freeradius-server-$pkgver + ./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 +} Deleted: community-x86_64/freeradius.install =================================================================== --- community-x86_64/freeradius.install 2014-12-30 18:19:16 UTC (rev 124975) +++ community-x86_64/freeradius.install 2014-12-30 18:19:36 UTC (rev 124976) @@ -1,21 +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 - chown -R radiusd:radiusd etc/raddb - } - - systemd-tmpfiles --create freeradius.conf -} - -post_remove() { - userdel radiusd - grep "^radiusd:" etc/group >/dev/null && groupdel radiusd - systemd-tmpfiles --create freeradius.conf - echo "-- You may want to remove /var/lib/radiusd and /etc/raddb" -} Copied: freeradius/repos/community-x86_64/freeradius.install (from rev 124975, freeradius/trunk/freeradius.install) =================================================================== --- community-x86_64/freeradius.install (rev 0) +++ community-x86_64/freeradius.install 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1,21 @@ +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 + chown -R radiusd:radiusd etc/raddb + } + + systemd-tmpfiles --create freeradius.conf +} + +post_remove() { + userdel radiusd + grep "^radiusd:" etc/group >/dev/null && groupdel radiusd + systemd-tmpfiles --create freeradius.conf + echo "-- You may want to remove /var/lib/radiusd and /etc/raddb" +} Deleted: community-x86_64/freeradius.service =================================================================== --- community-x86_64/freeradius.service 2014-12-30 18:19:16 UTC (rev 124975) +++ community-x86_64/freeradius.service 2014-12-30 18:19:36 UTC (rev 124976) @@ -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 Copied: freeradius/repos/community-x86_64/freeradius.service (from rev 124975, freeradius/trunk/freeradius.service) =================================================================== --- community-x86_64/freeradius.service (rev 0) +++ community-x86_64/freeradius.service 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1,15 @@ +[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 Deleted: community-x86_64/freeradius.tmpfiles =================================================================== --- community-x86_64/freeradius.tmpfiles 2014-12-30 18:19:16 UTC (rev 124975) +++ community-x86_64/freeradius.tmpfiles 2014-12-30 18:19:36 UTC (rev 124976) @@ -1 +0,0 @@ -d /run/radiusd 0755 radiusd radiusd - Copied: freeradius/repos/community-x86_64/freeradius.tmpfiles (from rev 124975, freeradius/trunk/freeradius.tmpfiles) =================================================================== --- community-x86_64/freeradius.tmpfiles (rev 0) +++ community-x86_64/freeradius.tmpfiles 2014-12-30 18:19:36 UTC (rev 124976) @@ -0,0 +1 @@ +d /run/radiusd 0755 radiusd radiusd -