summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Rondina <geaaru@gmail.com>2020-04-16 18:44:49 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-04-17 10:35:56 +0300
commit8475a815d7bb356fa09d69b130833ae08f63873c (patch)
treeae241fef286c874b50ce2d55df3db20856b33119 /net-dialup/freeradius/files
parentnet-wireless/blueberry: remove old (diff)
downloadgentoo-8475a815d7bb356fa09d69b130833ae08f63873c.tar.gz
gentoo-8475a815d7bb356fa09d69b130833ae08f63873c.tar.bz2
gentoo-8475a815d7bb356fa09d69b130833ae08f63873c.zip
net-dialup/freeradius: Drop old
Package-Manager: Portage-2.3.69, Repoman-2.3.14 Bug: https://bugs.gentoo.org/685840 Signed-off-by: Daniele Rondina <geaaru@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15369 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-dialup/freeradius/files')
-rw-r--r--net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch34
-rw-r--r--net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch53
-rw-r--r--net-dialup/freeradius/files/freeradius.service15
3 files changed, 0 insertions, 102 deletions
diff --git a/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch b/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch
deleted file mode 100644
index 3da4b422f5d9..000000000000
--- a/net-dialup/freeradius/files/freeradius-3.0.18-systemd-service.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/debian/freeradius.service b/debian/freeradius.service
-index 99873c0..97efc66 100644
---- a/debian/freeradius.service
-+++ b/debian/freeradius.service
-@@ -17,12 +17,26 @@ Environment=HOSTNAME=%H
- # a leak somewhere.
- MemoryLimit=2G
-
--RuntimeDirectory=freeradius
-+RuntimeDirectory=radiusd
- RuntimeDirectoryMode=0775
--ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
--ExecStart=/usr/sbin/freeradius $FREERADIUS_OPTIONS
-+Group=radius
-+User=radius
-+ExecStartPre=/usr/sbin/radiusd $RADIUSD_OPTS -Cx -lstdout
-+ExecStart=/usr/sbin/radiusd -f $RADIUSD_OPTS
-+ExecReload=/usr/sbin/radiusd -C $RADIUSD_OPTS
-+ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
- RestartSec=5
-+ReadOnlyDirectories=/etc/raddb/
-+ReadWriteDirectories=/var/log/radius/
-+# Security options (https://github.com/FreeRADIUS/freeradius-server/issues/2637)
-+NoNewPrivileges=true
-+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW
-+PrivateTmp=true
-+ProtectControlGroups=true
-+ProtectKernelModules=true
-+ProtectKernelTunables=true
-+SystemCallArchitectures=native
-
- [Install]
- WantedBy=multi-user.target
diff --git a/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch b/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch
deleted file mode 100644
index 37b67dfb21a5..000000000000
--- a/net-dialup/freeradius/files/freeradius-3.0.19-systemd-service.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/debian/freeradius.service 2019-12-01 10:02:31.453150556 +0100
-+++ b/debian/freeradius.service 2019-12-01 10:08:16.781370632 +0100
-@@ -4,11 +4,10 @@
- Documentation=man:radiusd(8) man:radiusd.conf(5) http://wiki.freeradius.org/ http://networkradius.com/doc/
-
- [Service]
--Type=notify
--WatchdogSec=60
--NotifyAccess=all
--PIDFile=/run/freeradius/freeradius.pid
--EnvironmentFile=-/etc/default/freeradius
-+# In 3.0.19 SystemD integration is broken.
-+# Type=notify
-+# WatchdogSec=60
-+# NotifyAccess=all
-
- # FreeRADIUS can do static evaluation of policy language rules based
- # on environmental variables which is very useful for doing per-host
-@@ -26,17 +25,27 @@
- # Ensure the daemon can still write its pidfile after it drops
- # privileges. Combination of options that work on a variety of
- # systems. Test very carefully if you alter these lines.
--RuntimeDirectory=freeradius
-+RuntimeDirectory=radiusd
- RuntimeDirectoryMode=0775
- # This does not work on Debian Jessie:
--Group=freerad
--# This does not work on Ubuntu Bionic:
--ExecStartPre=/bin/chown freerad:freerad /var/run/freeradius
--
--ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
--ExecStart=/usr/sbin/freeradius $FREERADIUS_OPTIONS
-+Group=radius
-+User=radius
-+ExecStartPre=/usr/sbin/radiusd $RADIUSD_OPTS -Cx -lstdout
-+ExecStart=/usr/sbin/radiusd -f $RADIUSD_OPTS
-+ExecReload=/usr/sbin/radiusd -C $RADIUSD_OPTS
-+ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
- RestartSec=5
-+ReadOnlyDirectories=/etc/raddb/
-+ReadWriteDirectories=/var/log/radius/
-+# Security options (https://github.com/FreeRADIUS/freeradius-server/issues/2637)
-+NoNewPrivileges=true
-+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW
-+PrivateTmp=true
-+ProtectControlGroups=true
-+ProtectKernelModules=true
-+ProtectKernelTunables=true
-+SystemCallArchitectures=native
-
- [Install]
- WantedBy=multi-user.target
diff --git a/net-dialup/freeradius/files/freeradius.service b/net-dialup/freeradius/files/freeradius.service
deleted file mode 100644
index 5304f076119b..000000000000
--- a/net-dialup/freeradius/files/freeradius.service
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=FreeRADIUS high performance RADIUS server.
-After=syslog.target network.target
-
-[Service]
-Type=simple
-PIDFile=/run/radiusd/radiusd.pid
-ExecStartPre=-/bin/chown -R radius.radius /run/radiusd
-ExecStartPre=/usr/sbin/radiusd -C
-ExecStart=/usr/sbin/radiusd -d /etc/raddb -f
-ExecReload=/usr/sbin/radiusd -C
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target