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/ptlink-ircd/files/, net-irc/ptlink-ircd/
Date: Wed, 30 Sep 2020 15:18:36
Message-Id: 1601479100.23ce2ab5baba37200def42275d2523da4ff06138.sam@gentoo
1 commit: 23ce2ab5baba37200def42275d2523da4ff06138
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 30 15:18:20 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 30 15:18:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ce2ab5
7
8 net-irc/ptlink-ircd: remove last-rited package
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-irc/ptlink-ircd/Manifest | 1 -
13 net-irc/ptlink-ircd/files/ptlink-ircd.confd | 5 --
14 net-irc/ptlink-ircd/files/ptlink-ircd.initd | 23 ------
15 net-irc/ptlink-ircd/metadata.xml | 5 --
16 net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r3.ebuild | 94 ------------------------
17 5 files changed, 128 deletions(-)
18
19 diff --git a/net-irc/ptlink-ircd/Manifest b/net-irc/ptlink-ircd/Manifest
20 deleted file mode 100644
21 index 9b7f8cb97d6..00000000000
22 --- a/net-irc/ptlink-ircd/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST PTlink6.19.6.tar.gz 799388 BLAKE2B 709f07f8af79aeb844609556de2f81d38c8e56df0ec5d8a9d568f162ae6347d914677fc3fa3cee7bb27b14e14d284111dd88e320fb31891042adbe65ddd8d4f6 SHA512 5036efc429d8c5dbb5076cc690221b9409990bfe71a710bf6f8ce60e8779ff8f55e695c1fc1ca56435928d416bc1907c91105cf533538dafeea4344cd038d4d5
26
27 diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.confd b/net-irc/ptlink-ircd/files/ptlink-ircd.confd
28 deleted file mode 100644
29 index a14466cc412..00000000000
30 --- a/net-irc/ptlink-ircd/files/ptlink-ircd.confd
31 +++ /dev/null
32 @@ -1,5 +0,0 @@
33 -# Copyright 1999-2005 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -# User to run ptlink-ircd as
37 -PTLINKIRCD_USER="ptlink-ircd"
38
39 diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.initd b/net-irc/ptlink-ircd/files/ptlink-ircd.initd
40 deleted file mode 100644
41 index 5b7c1f441d7..00000000000
42 --- a/net-irc/ptlink-ircd/files/ptlink-ircd.initd
43 +++ /dev/null
44 @@ -1,23 +0,0 @@
45 -#!/sbin/openrc-run
46 -# Copyright 1999-2016 Gentoo Foundation
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -depend() {
50 - need net
51 - use dns
52 - provide ircd
53 -}
54 -
55 -start() {
56 - ebegin "Starting ptlink-ircd"
57 - start-stop-daemon --start --quiet --exec /usr/bin/ptlink-ircd \
58 - --chuid ${PTLINKIRCD_USER} -- -l /var/lib/ptlink-ircd \
59 - -e /etc/ptlink-ircd >/dev/null
60 - eend $?
61 -}
62 -
63 -stop() {
64 - ebegin "Shutting down ptlink-ircd"
65 - start-stop-daemon --stop --pidfile /var/lib/ptlink-ircd/ircd.pid
66 - eend $?
67 -}
68
69 diff --git a/net-irc/ptlink-ircd/metadata.xml b/net-irc/ptlink-ircd/metadata.xml
70 deleted file mode 100644
71 index 6f49eba8f49..00000000000
72 --- a/net-irc/ptlink-ircd/metadata.xml
73 +++ /dev/null
74 @@ -1,5 +0,0 @@
75 -<?xml version="1.0" encoding="UTF-8"?>
76 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 -<pkgmetadata>
78 -<!-- maintainer-needed -->
79 -</pkgmetadata>
80
81 diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r3.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r3.ebuild
82 deleted file mode 100644
83 index b608a84138e..00000000000
84 --- a/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r3.ebuild
85 +++ /dev/null
86 @@ -1,94 +0,0 @@
87 -# Copyright 1999-2020 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=6
91 -
92 -inherit eutils ssl-cert user vcs-clean
93 -
94 -MY_P="PTlink${PV}"
95 -
96 -DESCRIPTION="Secure IRC daemon with many advanced features"
97 -HOMEPAGE="http://www.ptlink.net/"
98 -SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ircd/${MY_P}.tar.gz"
99 -
100 -LICENSE="GPL-2"
101 -SLOT="0"
102 -KEYWORDS="~ppc ~sparc ~x86"
103 -IUSE="ssl"
104 -
105 -DEPEND="
106 - sys-libs/zlib
107 - ssl? ( dev-libs/openssl:0= )"
108 -
109 -S=${WORKDIR}/${MY_P}
110 -
111 -src_prepare() {
112 - ecvs_clean
113 -
114 - default
115 -}
116 -
117 -src_configure() {
118 - econf \
119 - --disable-ipv6 \
120 - $(use_with ssl ssl openssl)
121 -}
122 -
123 -src_compile() {
124 - emake CFLAGS="${CFLAGS}"
125 -}
126 -
127 -src_install() {
128 - newbin src/ircd ptlink-ircd
129 - newbin tools/fixklines ptlink-ircd-fixklines
130 - newbin tools/mkpasswd ptlink-ircd-mkpasswd
131 -
132 - insinto /etc/ptlink-ircd
133 - fperms 700 /etc/ptlink-ircd
134 - doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}}
135 - newins samples/example.conf.short ircd.conf
136 - newins samples/example.conf.trillian ircd.conf.trillian
137 - newins samples/main.dconf.sample main.dconf
138 - newins samples/network.dconf.sample network.dconf
139 -
140 - insinto /usr/share/ptlink-ircd/codepage
141 - doins src/codepage/*.enc
142 - dosym /usr/share/ptlink-ircd/codepage /etc/ptlink-ircd/codepage
143 -
144 - rm -rf doc/old
145 - dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README
146 -
147 - keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd
148 - dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log
149 -
150 - newinitd "${FILESDIR}/ptlink-ircd.initd" ptlink-ircd
151 - newconfd "${FILESDIR}/ptlink-ircd.confd" ptlink-ircd
152 -}
153 -
154 -pkg_postinst() {
155 - # Move docert from src_install() to install_cert for bug #201678
156 - use ssl && (
157 - if [[ ! -f "${ROOT}"/etc/ptlink-ircd/server.key.pem ]]; then
158 - install_cert /etc/ptlink-ircd/server || die "install_cert failed"
159 - mv "${ROOT}"/etc/ptlink-ircd/server.{crt,cert.pem}
160 - mv "${ROOT}"/etc/ptlink-ircd/server.{csr,req.pem}
161 - mv "${ROOT}"/etc/ptlink-ircd/server.key{,.pem}
162 - fi
163 - )
164 -
165 - enewuser ptlink-ircd
166 -
167 - chown ptlink-ircd \
168 - "${ROOT}"/{etc,var/{log,lib}}/ptlink-ircd \
169 - "${ROOT}"/etc/ptlink-ircd/server.key.pem
170 -
171 - echo
172 - elog "PTlink IRCd will run without configuration, although this is strongly"
173 - elog "advised against."
174 - echo
175 - elog "You can find example cron script ircd.cron here:"
176 - elog " /usr/share/doc/${PF}"
177 - echo
178 - elog "You can also use /etc/init.d/ptlink-ircd to start at boot"
179 - echo
180 -}