Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/unrealircd/files/
Date: Wed, 02 Mar 2022 03:09:23
Message-Id: 1646190545.4b2a836a9baf6be8544fcd67b7fca629a6d8e614.sam@gentoo
1 commit: 4b2a836a9baf6be8544fcd67b7fca629a6d8e614
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Mon Feb 28 07:14:52 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 03:09:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2a836a
7
8 net-irc/unrealircd: remove unused files
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Closes: https://github.com/gentoo/gentoo/pull/24379
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-irc/unrealircd/files/unrealircd.confd-r3 | 32 -----------------------
16 net-irc/unrealircd/files/unrealircd.initd-r2 | 38 ----------------------------
17 2 files changed, 70 deletions(-)
18
19 diff --git a/net-irc/unrealircd/files/unrealircd.confd-r3 b/net-irc/unrealircd/files/unrealircd.confd-r3
20 deleted file mode 100644
21 index 66d9878f014c..000000000000
22 --- a/net-irc/unrealircd/files/unrealircd.confd-r3
23 +++ /dev/null
24 @@ -1,32 +0,0 @@
25 -# Copyright 1999-2018 Gentoo Authors
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -# Which configuration file to load instead of unrealircd.conf. If you
29 -# want to run multiple instances of unrealircd, you must edit
30 -# files::pidfile to match UNREALIRCD_PIDFILE. You should also ensure
31 -# that files::tunefile is different for each unrealircd instance. See
32 -# https://www.unrealircd.org/docs/Configuration#Files_block
33 -#
34 -# To support multiple instances of unrealircd, you may create symlinks
35 -# in /etc/init.d pointing to /etc/init.d/unrealircd. It is recommended
36 -# that the scheme unrealircd.${instance_name} be used. For each
37 -# instance, you may make a copy of this file with the appropriate name
38 -# to override default options specific to that instance.
39 -UNREALIRCD_CONF="/etc/unrealircd/${SVCNAME}.conf"
40 -
41 -# The path where unrealircd is configured to create its pidfile.
42 -UNREALIRCD_PIDFILE="/run/unrealircd/${SVCNAME#unreal}.pid"
43 -
44 -# extra options to pass to unrealircd ...
45 -# You should not specify the -f option here; use
46 -# UNREALIRCD_CONF instead.
47 -#
48 -# [-h servername]
49 -# [-p portnumber]
50 -# [-x loglevel]
51 -# [-t] (to enable debug output)
52 -UNREALIRCD_OPTS=""
53 -
54 -# Extra flags to pass to start-stop-daemon. When initially
55 -# debugging, removing --quiet may help.
56 -UNREALIRCD_SSD_OPTS="--quiet"
57
58 diff --git a/net-irc/unrealircd/files/unrealircd.initd-r2 b/net-irc/unrealircd/files/unrealircd.initd-r2
59 deleted file mode 100644
60 index 7d733a6e185a..000000000000
61 --- a/net-irc/unrealircd/files/unrealircd.initd-r2
62 +++ /dev/null
63 @@ -1,38 +0,0 @@
64 -#!/sbin/openrc-run
65 -# Copyright 1999-2018 Gentoo Authors
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -# Defaults
69 -: ${UNREALIRCD_CONF:=/etc/unrealircd/${SVCNAME}.conf}
70 -: ${UNREALIRCD_PIDFILE:=/run/unrealircd/${SVCNAME#unreal}.pid}
71 -
72 -command="/usr/bin/unrealircd"
73 -# Run the daemon in the foreground and let OpenRC background it.
74 -# This way the PID file is created securely, as root.
75 -command_args="-F -f ${UNREALIRCD_CONF} ${UNREALIRCD_OPTS}"
76 -command_user=unrealircd
77 -command_background=true
78 -pidfile="${UNREALIRCD_PIDFILE}"
79 -start_stop_daemon_args="${UNREALIRCD_SSD_OPTS}"
80 -extra_started_commands="reload"
81 -
82 -depend() {
83 - use dns net
84 - provide ircd
85 -}
86 -
87 -# It is unsafe for the unrealircd user to be able to write to its own
88 -# PID file, since root will be sending e.g. kill signals to the PID
89 -# listed in that file. Ensure that we overwrite the ownership and
90 -# permissions on /run/unrealircd from previous init scripts.
91 -start_pre() {
92 - checkpath --directory --owner root:root --mode 0700 /run/unrealircd
93 -}
94 -
95 -reload() {
96 - ebegin "Reloading ${RC_SVCNAME}"
97 - start-stop-daemon --signal HUP \
98 - --pidfile "${pidfile}" \
99 - ${UNREALIRCD_SSD_OPTS}
100 - eend $?
101 -}