[arch-commits] Commit in freeradius/repos (5 files)

Christian Hesse eworm at archlinux.org
Mon May 17 19:14:43 UTC 2021


    Date: Monday, May 17, 2021 @ 19:14:43
  Author: eworm
Revision: 936095

archrelease: copy trunk to community-testing-x86_64

Added:
  freeradius/repos/community-testing-x86_64/
  freeradius/repos/community-testing-x86_64/PKGBUILD
    (from rev 936094, freeradius/trunk/PKGBUILD)
  freeradius/repos/community-testing-x86_64/freeradius-sysusers.conf
    (from rev 936094, freeradius/trunk/freeradius-sysusers.conf)
  freeradius/repos/community-testing-x86_64/freeradius-tmpfiles.conf
    (from rev 936094, freeradius/trunk/freeradius-tmpfiles.conf)
  freeradius/repos/community-testing-x86_64/freeradius.service
    (from rev 936094, freeradius/trunk/freeradius.service)

--------------------------+
 PKGBUILD                 |   66 +++++++++++++++++++++++++++++++++++++++++++++
 freeradius-sysusers.conf |    1 
 freeradius-tmpfiles.conf |    8 +++++
 freeradius.service       |   19 ++++++++++++
 4 files changed, 94 insertions(+)

Copied: freeradius/repos/community-testing-x86_64/PKGBUILD (from rev 936094, freeradius/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-05-17 19:14:43 UTC (rev 936095)
@@ -0,0 +1,66 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jason R Begley (jayray at digitalgoat.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+pkgname=freeradius
+pkgver=3.0.22
+pkgrel=1
+pkgdesc='The premier open source RADIUS server'
+arch=('x86_64')
+url="https://freeradius.org/"
+license=('GPL')
+depends=('krb5' 'pth' 'net-snmp' 'postgresql-libs' 'mariadb-libs' 'talloc'
+         'libpcap' 'libxcrypt' 'libcrypt.so' 'smbclient')
+makedepends=('curl' 'freetds' 'hiredis' 'json-c' 'libmemcached' 'perl'
+             'python' 'samba' 'sqlite' 'unixodbc' 'yubico-c-client')
+optdepends=('curl: for REST'
+            'freetds: for Sybase and MS SQL'
+            'hiredis: for redis support'
+            'json-c: rlm_rest module'
+            'libmemcached: for memcached'
+            'perl: for Perl'
+            'python: for Python'
+            'sqlite: for sqlite'
+            'unixodbc: for ODBC'
+            'yubico-c-client: for yubicloud')
+options=('!makeflags')
+validpgpkeys=('BF2384EC6938B9744B03E2A620E37C25995B4F85') # FreeRADIUS - Package Signing [...] <packages at freeradius.org>
+source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig}
+        'freeradius-sysusers.conf'
+        'freeradius-tmpfiles.conf'
+        'freeradius.service')
+sha256sums=('8b4f91df2bf2385bb5ecc9d239db7b43d2e9b8084ad89d8b6677963f8b87ab59'
+            'SKIP'
+            '8ecaca94c7d0f4806b326685312dd4e543ce9c6c183d3d7ad01c1a0197bdfb94'
+            'f536a9aa972e3e42a6b1a6d8ee17166eb721c7cba2e80f60473811497c7bd8bc'
+            'c469e1a3f9edad769da01c324779babe783ee85a9b53ce4638d3d2d09c7c8d4b')
+
+build() {
+  cd "$srcdir"/freeradius-server-$pkgver
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libdir=/usr/lib/freeradius \
+    --localstatedir=/var \
+    --enable-heimdal-krb5 \
+    --enable-reproducible-builds \
+    --with-system-libltdl \
+    --with-system-libtool \
+    --with-udpfromto
+  make PACKAGE='archlinux'
+}
+
+package() {
+  cd "$srcdir"/freeradius-server-$pkgver
+
+  make install R="$pkgdir" PACKAGE='archlinux'
+  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-testing-x86_64/freeradius-sysusers.conf (from rev 936094, freeradius/trunk/freeradius-sysusers.conf)
===================================================================
--- community-testing-x86_64/freeradius-sysusers.conf	                        (rev 0)
+++ community-testing-x86_64/freeradius-sysusers.conf	2021-05-17 19:14:43 UTC (rev 936095)
@@ -0,0 +1 @@
+u radiusd - "radius daemon" -

Copied: freeradius/repos/community-testing-x86_64/freeradius-tmpfiles.conf (from rev 936094, freeradius/trunk/freeradius-tmpfiles.conf)
===================================================================
--- community-testing-x86_64/freeradius-tmpfiles.conf	                        (rev 0)
+++ community-testing-x86_64/freeradius-tmpfiles.conf	2021-05-17 19:14:43 UTC (rev 936095)
@@ -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-testing-x86_64/freeradius.service (from rev 936094, freeradius/trunk/freeradius.service)
===================================================================
--- community-testing-x86_64/freeradius.service	                        (rev 0)
+++ community-testing-x86_64/freeradius.service	2021-05-17 19:14:43 UTC (rev 936095)
@@ -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



More information about the arch-commits mailing list