1 |
commit: 4c36c67ebdbf6ab2c231a51ded45dd5eaaa6d181 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 23:41:47 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 23:41:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c36c67e |
7 |
|
8 |
net-irc/ptlink-ircd: remove old versions |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r2.ebuild | 93 ------------------------ |
13 |
1 file changed, 93 deletions(-) |
14 |
|
15 |
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r2.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index f21eeab..0000000 |
18 |
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,93 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils ssl-cert user |
28 |
- |
29 |
-MY_P="PTlink${PV}" |
30 |
- |
31 |
-DESCRIPTION="Secure IRC daemon with many advanced features" |
32 |
-HOMEPAGE="http://www.ptlink.net/" |
33 |
-SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ircd/${MY_P}.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~ppc ~sparc ~x86" |
38 |
-IUSE="ssl" |
39 |
- |
40 |
-DEPEND=" |
41 |
- sys-libs/zlib |
42 |
- ssl? ( dev-libs/openssl:0= )" |
43 |
- |
44 |
-S=${WORKDIR}/${MY_P} |
45 |
- |
46 |
-src_prepare() { |
47 |
- ecvs_clean |
48 |
-} |
49 |
- |
50 |
-src_configure() { |
51 |
- econf \ |
52 |
- --disable-ipv6 \ |
53 |
- $(use_with ssl ssl openssl) |
54 |
-} |
55 |
- |
56 |
-src_compile() { |
57 |
- emake CFLAGS="${CFLAGS}" |
58 |
-} |
59 |
- |
60 |
-src_install() { |
61 |
- newbin src/ircd ptlink-ircd |
62 |
- newbin tools/fixklines ptlink-ircd-fixklines |
63 |
- newbin tools/mkpasswd ptlink-ircd-mkpasswd |
64 |
- |
65 |
- insinto /etc/ptlink-ircd |
66 |
- fperms 700 /etc/ptlink-ircd |
67 |
- doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}} |
68 |
- newins samples/example.conf.short ircd.conf |
69 |
- newins samples/example.conf.trillian ircd.conf.trillian |
70 |
- newins samples/main.dconf.sample main.dconf |
71 |
- newins samples/network.dconf.sample network.dconf |
72 |
- |
73 |
- insinto /usr/share/ptlink-ircd/codepage |
74 |
- doins src/codepage/*.enc |
75 |
- dosym /usr/share/ptlink-ircd/codepage /etc/ptlink-ircd/codepage |
76 |
- |
77 |
- rm -rf doc/old |
78 |
- dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README |
79 |
- |
80 |
- keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd |
81 |
- dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log |
82 |
- |
83 |
- newinitd "${FILESDIR}/ptlink-ircd.initd" ptlink-ircd |
84 |
- newconfd "${FILESDIR}/ptlink-ircd.confd" ptlink-ircd |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- # Move docert from src_install() to install_cert for bug #201678 |
89 |
- use ssl && ( |
90 |
- if [[ ! -f "${ROOT}"/etc/ptlink-ircd/server.key.pem ]]; then |
91 |
- install_cert /etc/ptlink-ircd/server || die "install_cert failed" |
92 |
- mv "${ROOT}"/etc/ptlink-ircd/server.{crt,cert.pem} |
93 |
- mv "${ROOT}"/etc/ptlink-ircd/server.{csr,req.pem} |
94 |
- mv "${ROOT}"/etc/ptlink-ircd/server.key{,.pem} |
95 |
- fi |
96 |
- ) |
97 |
- |
98 |
- enewuser ptlink-ircd |
99 |
- |
100 |
- chown ptlink-ircd \ |
101 |
- "${ROOT}"/{etc,var/{log,lib}}/ptlink-ircd \ |
102 |
- "${ROOT}"/etc/ptlink-ircd/server.key.pem |
103 |
- |
104 |
- echo |
105 |
- elog "PTlink IRCd will run without configuration, although this is strongly" |
106 |
- elog "advised against." |
107 |
- echo |
108 |
- elog "You can find example cron script ircd.cron here:" |
109 |
- elog " /usr/share/doc/${PF}" |
110 |
- echo |
111 |
- elog "You can also use /etc/init.d/ptlink-ircd to start at boot" |
112 |
- echo |
113 |
-} |