Date: Sunday, June 3, 2018 @ 16:43:28 Author: felixonmars Revision: 339388
archrelease: copy trunk to community-staging-x86_64 Added: freeradius/repos/community-staging-x86_64/ freeradius/repos/community-staging-x86_64/PKGBUILD (from rev 339387, freeradius/trunk/PKGBUILD) freeradius/repos/community-staging-x86_64/freeradius-sysusers.conf (from rev 339387, freeradius/trunk/freeradius-sysusers.conf) freeradius/repos/community-staging-x86_64/freeradius-tmpfiles.conf (from rev 339387, freeradius/trunk/freeradius-tmpfiles.conf) freeradius/repos/community-staging-x86_64/freeradius.service (from rev 339387, freeradius/trunk/freeradius.service) --------------------------+ PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++ freeradius-sysusers.conf | 1 freeradius-tmpfiles.conf | 8 ++++++ freeradius.service | 19 ++++++++++++++ 4 files changed, 87 insertions(+) Copied: freeradius/repos/community-staging-x86_64/PKGBUILD (from rev 339387, freeradius/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-03 16:43:28 UTC (rev 339388) @@ -0,0 +1,59 @@ +# $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.17 +pkgrel=2 +pkgdesc='The premier open source RADIUS server' +arch=('x86_64') +url="https://freeradius.org/" +license=('GPL') +depends=('krb5' 'pth' 'net-snmp' 'postgresql-libs' 'libmariadbclient' 'talloc' + 'libpcap' 'libwbclient') +makedepends=('unixodbc' 'python2' 'curl' 'json-c' 'samba') +optdepends=('unixodbc: for ODBC' + 'python2: for Python' + 'json-c: rlm_rest module' + 'curl: for REST') +options=('!makeflags') +validpgpkeys=('BF2384EC6938B9744B03E2A620E37C25995B4F85') # FreeRADIUS - Package Signing [...] <packa...@freeradius.org> +source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig} + 'freeradius-sysusers.conf' + 'freeradius-tmpfiles.conf' + 'freeradius.service') +sha512sums=('f4510d8e77eb7c72a21fbfad851f13460ff4b5a35f0b7bea6102076ceb71188a63b277fb7e4fcd9c3033b396b63e1bf0e455cc03608d7ab1380d1662407cb399' + 'SKIP' + '890005b2129174568a3bf0e8963b683ab15550198b9478cc766c3ddcfd5167296cfce221c7592be354fe7dfe08e82484f826e55fd59b6291e86c8a4f78ca2d96' + '5e196584c725885ae33b70d729729b52852f6a051445be3f9afd831564029820179f606e6c8d8554f8615e2b4b9b8d5203a32b8a81c04d4edfb96a377a213bae' + '833bfd85218898af6f24e9356f1af60ba9e8f08a93fa93aafb53ba9ec49afdf23c7eeb897ac5939c2d7c6958076cbb3fbc0c075b741e4b9be2f70c3fef2014b6') + +build() { + cd "$srcdir"/freeradius-server-$pkgver + + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --libdir=/usr/lib/freeradius \ + --localstatedir=/var \ + --enable-heimdal-krb5 \ + --with-system-libltdl \ + --with-system-libtool \ + --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 -D -m0644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service + install -D -m0644 "$srcdir"/$pkgname-sysusers.conf "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf + install -D -m0644 "$srcdir"/$pkgname-tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf +} Copied: freeradius/repos/community-staging-x86_64/freeradius-sysusers.conf (from rev 339387, freeradius/trunk/freeradius-sysusers.conf) =================================================================== --- community-staging-x86_64/freeradius-sysusers.conf (rev 0) +++ community-staging-x86_64/freeradius-sysusers.conf 2018-06-03 16:43:28 UTC (rev 339388) @@ -0,0 +1 @@ +u radiusd - "radius daemon" /var/lib/radiusd Copied: freeradius/repos/community-staging-x86_64/freeradius-tmpfiles.conf (from rev 339387, freeradius/trunk/freeradius-tmpfiles.conf) =================================================================== --- community-staging-x86_64/freeradius-tmpfiles.conf (rev 0) +++ community-staging-x86_64/freeradius-tmpfiles.conf 2018-06-03 16:43:28 UTC (rev 339388) @@ -0,0 +1,8 @@ +# configuration directory +C /etc/raddb 0755 radiusd radiusd - /etc/raddb.default + +# log file +f /var/log/radius/radius.log 0644 radiusd radiusd - + +# run directory +d /run/radiusd 0755 radiusd radiusd - Copied: freeradius/repos/community-staging-x86_64/freeradius.service (from rev 339387, freeradius/trunk/freeradius.service) =================================================================== --- community-staging-x86_64/freeradius.service (rev 0) +++ community-staging-x86_64/freeradius.service 2018-06-03 16:43:28 UTC (rev 339388) @@ -0,0 +1,19 @@ +[Unit] +Description=FreeRADIUS high performance RADIUS server. +After=syslog.target network.target +Documentation=man:radiusd(8) man:radiusd.conf(5) https://wiki.freeradius.org/Home https://networkradius.com/freeradius-documentation/ + +[Service] +Type=forking +PIDFile=/run/radiusd/radiusd.pid +ExecStartPre=/usr/bin/radiusd -C +ExecStart=/usr/bin/radiusd -d /etc/raddb +ExecReload=/usr/bin/radiusd -C +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +RestartSec=2 +ProtectSystem=full +ProtectHome=on + +[Install] +WantedBy=multi-user.target