commit:     caa82c8f37701de4e8e312a099f866df71cbc092
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jun  3 01:13:53 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jun  3 01:18:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=caa82c8f

net-misc/FORT-validator/files: drop unused files from FILESDIR

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 .../files/FORT-validator-skip-online-test.patch    | 29 ------------------
 net-misc/FORT-validator/files/fort-1.4-confd       | 15 ----------
 net-misc/FORT-validator/files/fort-1.4-initd       | 26 ----------------
 net-misc/FORT-validator/files/fort-1.4.service     | 35 ----------------------
 4 files changed, 105 deletions(-)

diff --git 
a/net-misc/FORT-validator/files/FORT-validator-skip-online-test.patch 
b/net-misc/FORT-validator/files/FORT-validator-skip-online-test.patch
deleted file mode 100644
index 91cbe23ce..000000000
--- a/net-misc/FORT-validator/files/FORT-validator-skip-online-test.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/test/http_test.c b/test/http_test.c
-index 765b722..c904440 100644
---- a/test/http_test.c
-+++ b/test/http_test.c
-@@ -57,23 +57,7 @@ local_download(char const *url, long *response_code, struct 
response *resp)
- 
- START_TEST(http_fetch_normal)
- {
--      struct response resp;
--      long response_code;
--      char const *url = "https://rrdp.ripe.net/notification.xml";;
--
--      init_response(&resp);
--      response_code = 0;
--
--      ck_assert_int_eq(http_init(), 0);
--      ck_assert_int_eq(local_download(url, &response_code, &resp), 0);
--      ck_assert_int_gt(resp.size, 0);
--
--      http_cleanup();
--      free(resp.content);
--      if (response_code == 0)
--              ck_abort_msg("NO response code received");
--      else if (response_code >= HTTP_BAD_REQUEST)
--              ck_abort_msg("Received response code %ld", response_code);
-+
- }
- END_TEST
- 

diff --git a/net-misc/FORT-validator/files/fort-1.4-confd 
b/net-misc/FORT-validator/files/fort-1.4-confd
deleted file mode 100644
index 92936757c..000000000
--- a/net-misc/FORT-validator/files/fort-1.4-confd
+++ /dev/null
@@ -1,15 +0,0 @@
-# /etc/init.d/fort
-
-# Options to pass to the fort process
-# See man fort for options
-
-# If you want to use commands arguments instead of the configuration file and
-# not the default TAL directory, please remove the comment for FORT_BASEDIR as
-# well
-
-#FORT_BASEDIR="/var/lib/fort/"
-#FORT_OPTS="--tal /usr/share/fort/tal/ \
-#      --local-repository ${FORT_BASEDIR}
-#      --log.output syslog
-#      --server.address ::"
-FORT_OPTS="--configuration-file /etc/fort/config.json"

diff --git a/net-misc/FORT-validator/files/fort-1.4-initd 
b/net-misc/FORT-validator/files/fort-1.4-initd
deleted file mode 100644
index 9a7e54a2b..000000000
--- a/net-misc/FORT-validator/files/fort-1.4-initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="fort validator daemon"
-description="FORT validator is an open source RPKI validator."
-command=/usr/bin/fort
-command_args="${FORT_OPTS}"
-command_user="fort"
-pidfile="/run/${RC_SVCNAME}.pid"
-command_background=true
-
-depend() {
-       need net
-}
-
-start_pre() {
-       if [ -z "${FORT_BASEDIR}" ]; then
-               FORT_BASEDIR=$(awk -F '"' '/local-repository/ { print $4 }' \
-                       /etc/fort/config.json)
-               FORT_BASEDIR="${FORT_BASEDIR:-/var/cache/fort/repository/}"
-       fi
-
-       checkpath -d -m 0755 -o fort:fort "$(dirname "${FORT_BASEDIR}")"
-       checkpath -d -m 0755 -o fort:fort "${FORT_BASEDIR}"
-}

diff --git a/net-misc/FORT-validator/files/fort-1.4.service 
b/net-misc/FORT-validator/files/fort-1.4.service
deleted file mode 100644
index 4f24f8d12..000000000
--- a/net-misc/FORT-validator/files/fort-1.4.service
+++ /dev/null
@@ -1,35 +0,0 @@
-[Unit]
-Description=FORT RPKI validator
-Documentation=man:fort(8)
-Documentation=https://nicmx.github.io/FORT-validator/
-
-[Service]
-ExecStart=/usr/bin/fort --configuration-file /etc/fort/config.json
-Type=simple
-User=fort
-AmbientCapabilities=CAP_NET_BIND_SERVICE
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ProtectSystem=strict
-ProtectHome=yes
-PrivateDevices=yes
-PrivateTmp=yes
-ProtectKernelTunables=yes
-ProtectControlGroups=yes
-ProtectKernelModules=yes
-CacheDirectory=fort
-ReadWritePaths=/var/lib/fort/
-ConfigurationDirectory=fort
-ConfigurationDirectory=tals
-StateDirectory=fort
-NoNewPrivileges=yes
-RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
-RestrictNamespaces=yes
-RestrictRealtime=yes
-LockPersonality=yes
-MemoryDenyWriteExecute=yes
-SystemCallArchitectures=native
-SystemCallErrorNumber=EPERM
-SystemCallFilter=@system-service
-
-[Install]
-WantedBy=multi-user.target

Reply via email to