summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-01-30 12:49:18 +0000
committerSven Wegener <swegener@gentoo.org>2005-01-30 12:49:18 +0000
commit674dad0f9e16f47ccfdea7060b719a2d16dd5818 (patch)
treee66ca9c08fc9deafa8bbb56ea33f876878a83ba7 /net-irc/ptlink-ircd
parentslotmove added for the old rhino versions. (diff)
downloadgentoo-2-674dad0f9e16f47ccfdea7060b719a2d16dd5818.tar.gz
gentoo-2-674dad0f9e16f47ccfdea7060b719a2d16dd5818.tar.bz2
gentoo-2-674dad0f9e16f47ccfdea7060b719a2d16dd5818.zip
Version bump.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-irc/ptlink-ircd')
-rw-r--r--net-irc/ptlink-ircd/ChangeLog10
-rw-r--r--net-irc/ptlink-ircd/Manifest12
-rw-r--r--net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.31
-rw-r--r--net-irc/ptlink-ircd/files/ptlink-ircd.conf.d4
-rw-r--r--net-irc/ptlink-ircd/files/ptlink-ircd.init.d4
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild4
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.19.2.ebuild4
-rw-r--r--net-irc/ptlink-ircd/ptlink-ircd-6.19.3.ebuild86
8 files changed, 105 insertions, 20 deletions
diff --git a/net-irc/ptlink-ircd/ChangeLog b/net-irc/ptlink-ircd/ChangeLog
index dbc9f0f60f15..89fcd3f6abfc 100644
--- a/net-irc/ptlink-ircd/ChangeLog
+++ b/net-irc/ptlink-ircd/ChangeLog
@@ -1,6 +1,12 @@
# 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.8 2004/12/12 16:56:54 swegener Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.9 2005/01/30 12:49:18 swegener Exp $
+
+*ptlink-ircd-6.19.3 (30 Jan 2005)
+
+ 30 Jan 2005; Sven Wegener <swegener@gentoo.org>
+ +ptlink-ircd-6.19.3.ebuild:
+ Version bump.
*ptlink-ircd-6.19.2 (12 Dec 2004)
diff --git a/net-irc/ptlink-ircd/Manifest b/net-irc/ptlink-ircd/Manifest
index d6795cfc25ff..2162e50f51b7 100644
--- a/net-irc/ptlink-ircd/Manifest
+++ b/net-irc/ptlink-ircd/Manifest
@@ -1,7 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 93d3c0cf26f34924b62e818609ce3200 ptlink-ircd-6.19.1.ebuild 2829
+MD5 3d79fd62f6209c9b9b81b114a5f1a1e2 ptlink-ircd-6.19.3.ebuild 2829
MD5 bb42d87e6fb5c1efaccb7ac0e3c8f5c8 ChangeLog 2358
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 3d79fd62f6209c9b9b81b114a5f1a1e2 ptlink-ircd-6.19.2.ebuild 2829
@@ -9,10 +7,4 @@ MD5 e7d7d7b9be4a7e73ced48f01e97329d0 files/ptlink-ircd.conf.d 288
MD5 ac9ca761a22cbe60373a156fa04718af files/ptlink-ircd.init.d 625
MD5 503187bb419b16029524331e913585bd files/digest-ptlink-ircd-6.19.1 64
MD5 227124f267bb0b27bcf37ac5429024b1 files/digest-ptlink-ircd-6.19.2 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBvHhcI1lqEGTUzyQRAorDAKC+JeiILIDkZ0QqbSZd7cZRvs9cHACdEvXj
-3JRCWo5aEuaQ+n2WcXrJot0=
-=GWAv
------END PGP SIGNATURE-----
+MD5 60b5d5479e9764b1a4edfa9690b95f4d files/digest-ptlink-ircd-6.19.3 64
diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.3 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.3
new file mode 100644
index 000000000000..03d0aabe88eb
--- /dev/null
+++ b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.3
@@ -0,0 +1 @@
+MD5 d46979f76e28757fedc508544dd0b5fa PTlink6.19.3.tar.gz 791346
diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d b/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d
index f1903262f11d..f141de166510 100644
--- a/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d
+++ b/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d,v 1.1 2004/07/10 22:24:03 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d,v 1.2 2005/01/30 12:49:18 swegener Exp $
# User to run ptlink-ircd as
PTLINKIRCD_USER="ptlink-ircd"
diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.init.d b/net-irc/ptlink-ircd/files/ptlink-ircd.init.d
index e4739b61e594..7a29772546e0 100644
--- a/net-irc/ptlink-ircd/files/ptlink-ircd.init.d
+++ b/net-irc/ptlink-ircd/files/ptlink-ircd.init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/files/ptlink-ircd.init.d,v 1.2 2004/07/10 23:15:02 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/files/ptlink-ircd.init.d,v 1.3 2005/01/30 12:49:18 swegener Exp $
depend() {
need net
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 146488a3f52f..22639fb7db77 100644
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
+++ b/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 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.3 2004/11/25 21:32:02 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.19.1.ebuild,v 1.4 2005/01/30 12:49:18 swegener Exp $
inherit eutils ssl-cert
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.2.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.2.ebuild
index e985ef4b1f3b..930bd9067e91 100644
--- a/net-irc/ptlink-ircd/ptlink-ircd-6.19.2.ebuild
+++ b/net-irc/ptlink-ircd/ptlink-ircd-6.19.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 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.2.ebuild,v 1.1 2004/12/12 16:56:54 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ptlink-ircd-6.19.2.ebuild,v 1.2 2005/01/30 12:49:18 swegener Exp $
inherit eutils ssl-cert
diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.3.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.3.ebuild
new file mode 100644
index 000000000000..82d1b52175b1
--- /dev/null
+++ b/net-irc/ptlink-ircd/ptlink-ircd-6.19.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2005 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.3.ebuild,v 1.1 2005/01/30 12:49:18 swegener Exp $
+
+inherit eutils ssl-cert
+
+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="ssl"
+DEPEND="sys-libs/zlib
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ find ${S} -type d -name CVS -print0 2>/dev/null | xargs -0r rm -rf
+}
+
+src_compile() {
+ econf \
+ --disable-ipv6 \
+ $(use_with ssl ssl openssl) \
+ || 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"
+
+ 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/ptlink-ircd/server.key.pem
+
+ 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
+}