summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-11-25 21:32:02 +0000
committerSven Wegener <swegener@gentoo.org>2004-11-25 21:32:02 +0000
commit28a863a3bbd48e34b2cd5409bf80a8cdf38165dd (patch)
treee909c0086f89889769a77d85d1184e731d6f18d1 /net-irc/ptlink-ircd
parentRemoved old ebuilds with permission from zypher. (diff)
downloadhistorical-28a863a3bbd48e34b2cd5409bf80a8cdf38165dd.tar.gz
historical-28a863a3bbd48e34b2cd5409bf80a8cdf38165dd.tar.bz2
historical-28a863a3bbd48e34b2cd5409bf80a8cdf38165dd.zip
Added support for the ssl USE flag. Removed old ebuild.
Diffstat (limited to 'net-irc/ptlink-ircd')
-rw-r--r--net-irc/ptlink-ircd/ChangeLog6
-rw-r--r--net-irc/ptlink-ircd/Manifest12
-rw-r--r--net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.21
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild75
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild21
5 files changed, 26 insertions, 89 deletions
diff --git a/net-irc/ptlink-ircd/ChangeLog b/net-irc/ptlink-ircd/ChangeLog
index 78860871e8c9..2297c21abe5c 100644
--- a/net-irc/ptlink-ircd/ChangeLog
+++ b/net-irc/ptlink-ircd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/ptlink-ircd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.6 2004/11/25 20:31:53 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.7 2004/11/25 21:32:02 swegener Exp $
+
+ 25 Nov 2004; Sven Wegener <swegener@gentoo.org>
+ -ptlink-ircd-6.18.2.ebuild, ptlink-ircd-6.19.1.ebuild:
+ Added support for the ssl USE flag. Removed old ebuild.
25 Nov 2004; Sven Wegener <swegener@gentoo.org> ptlink-ircd-6.18.2.ebuild,
ptlink-ircd-6.19.1.ebuild:
diff --git a/net-irc/ptlink-ircd/Manifest b/net-irc/ptlink-ircd/Manifest
index 395bc93d968f..52018eb8d232 100644
--- a/net-irc/ptlink-ircd/Manifest
+++ b/net-irc/ptlink-ircd/Manifest
@@ -1,18 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 c7544d82fa09548f92c569686ec9d6e5 ptlink-ircd-6.19.1.ebuild 2411
-MD5 4b694f9bdab44a5a7a1c1756dcbb9507 ptlink-ircd-6.18.2.ebuild 2411
-MD5 d224d168b687d75fbd8961034d30eac7 ChangeLog 2060
+MD5 93d3c0cf26f34924b62e818609ce3200 ptlink-ircd-6.19.1.ebuild 2829
+MD5 edcb92197cfc5d8d1b85b68fa176d8ed ChangeLog 2226
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 e7d7d7b9be4a7e73ced48f01e97329d0 files/ptlink-ircd.conf.d 288
MD5 ac9ca761a22cbe60373a156fa04718af files/ptlink-ircd.init.d 625
-MD5 7d06d919527779013e5e3c1086f3f5aa files/digest-ptlink-ircd-6.18.2 64
MD5 503187bb419b16029524331e913585bd files/digest-ptlink-ircd-6.19.1 64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBpkFBI1lqEGTUzyQRAu5FAKCQn7E8V2Egw/hL9K9WOo9Z8PHq8wCgydyJ
-6Y8tZVA0kKaUm8VBBEQS0NA=
-=YkfC
+iD8DBQFBpk9aI1lqEGTUzyQRAjrRAKCk1r8EGFoNCtHn5+pCCQNZKVyTdgCfcNYv
+AcVhHaiNdGA+XegsS6hSOok=
+=Fx20
-----END PGP SIGNATURE-----
diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.2 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.2
deleted file mode 100644
index b8db34b9e821..000000000000
--- a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 58894fc9ffb1c56fac4c45ae342333bc PTlink6.18.2.tar.gz 777072
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild
deleted file mode 100644
index c82448b16028..000000000000
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.18.2.ebuild,v 1.3 2004/11/25 20:31:53 swegener Exp $
-
-inherit eutils
-
-MY_P="PTlink${PV}"
-
-DESCRIPTION="PTlink IRCd is a secure IRC daemon with many advanced features."
-HOMEPAGE="http://www.ptlink.net/"
-SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ircd/${MY_P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc"
-
-IUSE=""
-DEPEND="sys-libs/zlib"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- find ${S} -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-}
-
-src_compile() {
- econf \
- --disable-ipv6 \
- || die "econf failed"
- emake CFLAGS="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
- newbin src/ircd ptlink-ircd || die "newbin failed"
- newbin tools/fixklines ptlink-ircd-fixklines || die "newbin failed"
- newbin tools/mkpasswd ptlink-ircd-mkpasswd || die "newbin failed"
-
- insinto /etc/ptlink-ircd
- fperms 700 /etc/ptlink-ircd || die "fperms failed"
- doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}} || die "newins failed"
- newins samples/example.conf.short ircd.conf || die "newins failed"
- newins samples/example.conf.trillian ircd.conf.trillian || die "newins failed"
- newins samples/main.dconf.sample main.dconf || die "newins failed"
- newins samples/network.dconf.sample network.dconf || die "newins failed"
-
- insinto /usr/share/ptlink-ircd/codepage
- doins src/codepage/*.enc || die "doins failed"
- dosym /usr/share/ptlink-ircd/codepage /etc/ptlink-ircd/codepage || die "dosym failed"
-
- rm -rf doc/old
- dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README || die "dodoc failed"
-
- keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd || die "keepdir failed"
- dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log || die "dosym failed"
-
- newinitd ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd || die "newinitd failed"
- newconfd ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd || die "newconfd failed"
-}
-
-pkg_postinst() {
- enewuser ptlink-ircd
-
- chown ptlink-ircd \
- ${ROOT}/{etc,var/{log,lib}}/ptlink-ircd
-
- einfo
- einfo "PTlink IRCd will run without configuration, although this is strongly"
- einfo "advised against."
- einfo
- einfo "You can find example cron scripts here:"
- einfo " /usr/share/doc/${PF}/ircd.cron.gz"
- einfo
- einfo "You can also use /etc/init.d/ptlink-ircd to start at boot"
- einfo
-}
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
index 16fea4647907..146488a3f52f 100644
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
+++ b/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild,v 1.2 2004/11/25 20:31:53 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild,v 1.3 2004/11/25 21:32:02 swegener Exp $
-inherit eutils
+inherit eutils ssl-cert
MY_P="PTlink${PV}"
@@ -13,8 +13,9 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
-IUSE=""
-DEPEND="sys-libs/zlib"
+IUSE="ssl"
+DEPEND="sys-libs/zlib
+ ssl? ( dev-libs/openssl )"
S=${WORKDIR}/${MY_P}
@@ -26,6 +27,7 @@ src_unpack() {
src_compile() {
econf \
--disable-ipv6 \
+ $(use_with ssl ssl openssl) \
|| die "econf failed"
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
@@ -55,13 +57,22 @@ src_install() {
newinitd ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd || die "newinitd failed"
newconfd ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd || die "newconfd failed"
+
+ use ssl && (
+ insinto /etc/ptlink-ircd
+ docert server || die "docert failed"
+ mv ${D}/etc/ptlink-ircd/server.crt ${D}/etc/ptlink-ircd/server.cert.pem
+ mv ${D}/etc/ptlink-ircd/server.csr ${D}/etc/ptlink-ircd/server.req.pem
+ mv ${D}/etc/ptlink-ircd/server.key ${D}/etc/ptlink-ircd/server.key.pem
+ )
}
pkg_postinst() {
enewuser ptlink-ircd
chown ptlink-ircd \
- ${ROOT}/{etc,var/{log,lib}}/ptlink-ircd
+ ${ROOT}/{etc,var/{log,lib}}/ptlink-ircd \
+ ${ROOT}/etc/ptlink-ircd/server.key.pem
einfo
einfo "PTlink IRCd will run without configuration, although this is strongly"