diff options
author | Sven Wegener <swegener@gentoo.org> | 2004-07-10 22:24:03 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2004-07-10 22:24:03 +0000 |
commit | 73b0e6da39a9f66912cafa3aba2fa9b901f7f50f (patch) | |
tree | 8839537c7e5783f9c5d4b2171df3de016c72a9eb /net-irc | |
parent | Marked stable on x86 (diff) | |
download | historical-73b0e6da39a9f66912cafa3aba2fa9b901f7f50f.tar.gz historical-73b0e6da39a9f66912cafa3aba2fa9b901f7f50f.tar.bz2 historical-73b0e6da39a9f66912cafa3aba2fa9b901f7f50f.zip |
Renamed from net-irc/ptlink
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/ptlink-ircd/ChangeLog | 42 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/Manifest | 6 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 | 1 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/files/ptlink-ircd.conf.d | 6 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/files/ptlink-ircd.init.d | 23 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/metadata.xml | 5 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild | 76 |
7 files changed, 159 insertions, 0 deletions
diff --git a/net-irc/ptlink-ircd/ChangeLog b/net-irc/ptlink-ircd/ChangeLog new file mode 100644 index 000000000000..14d6f7b66724 --- /dev/null +++ b/net-irc/ptlink-ircd/ChangeLog @@ -0,0 +1,42 @@ +# ChangeLog for net-irc/ptlink +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.1 2004/07/10 22:24:03 swegener Exp $ + +*ptlink-ircd-6.18.1 (11 Jul 2004) + + 11 Jul 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml, + +files/ptlink-ircd.conf.d, +files/ptlink-ircd.init.d, + +ptlink-ircd-6.18.1.ebuild: + Renamed from net-irc/ptlink and version bumped. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> ptlink-6.14.2.ebuild, + ptlink-6.16.2.ebuild: + virtual/glibc -> virtual/libc + + 09 Jun 2004; Ciaran McCreesh <ciaranm@gentoo.org> ptlink-6.16.2.ebuild: + Added ~sparc, #53446 + + 29 May 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + ptlink-6.14.2.ebuild, ptlink-6.16.2.ebuild: + Masked ptlink-6.16.2.ebuild testing for ppc + + 29 May 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + ptlink-6.14.2.ebuild: + Masked ptlink-6.14.2.ebuild testing for ppc + +*ptlink-6.16.2 (11 Mar 2004) + + 11 Mar 2004; Chuck Short <zul@gentoo.org> ptlink-6.14.2.ebuild, + ptlink-6.16.2.ebuild: + Version bump, closes #44304. + + 24 Oct 2003; Chuck Short <zul@gentoo.org> files/ptlinkircd.rc: + rc script fix up. + +*ptlink-6.14.2 (11 Oct 2003) + + 11 Oct 2003; Chuck Short <zul@gentoo.org> metadata.xml, + ptlink-6.14.2.ebuild, files/ptlinkircd.confd, files/ptlinkircd.rc: + Added new ebuild by James Webster jimmyj@netstat.org. + Closes bug #15007. + diff --git a/net-irc/ptlink-ircd/Manifest b/net-irc/ptlink-ircd/Manifest new file mode 100644 index 000000000000..f72880512b76 --- /dev/null +++ b/net-irc/ptlink-ircd/Manifest @@ -0,0 +1,6 @@ +MD5 37e9465d6a2078dd2d01aece0fcb7bf4 ptlink-ircd-6.18.1.ebuild 2013 +MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 +MD5 975da9a805c275a1aef7a91bf5db6b77 ChangeLog 1434 +MD5 a8424a92a1aef170448f005a3d91aa7e files/digest-ptlink-ircd-6.18.1 64 +MD5 e7d7d7b9be4a7e73ced48f01e97329d0 files/ptlink-ircd.conf.d 288 +MD5 bad951cb285707f1096fe92a0f1f5d6a files/ptlink-ircd.init.d 611 diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 new file mode 100644 index 000000000000..77139d773e2c --- /dev/null +++ b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 @@ -0,0 +1 @@ +MD5 7323bfb03f8d808ca12a729d1fa012ac PTlink6.18.1.tar.gz 774417 diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d b/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d new file mode 100644 index 000000000000..f1903262f11d --- /dev/null +++ b/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d @@ -0,0 +1,6 @@ +# 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/files/ptlink-ircd.conf.d,v 1.1 2004/07/10 22:24:03 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 new file mode 100644 index 000000000000..e656b18d0e67 --- /dev/null +++ b/net-irc/ptlink-ircd/files/ptlink-ircd.init.d @@ -0,0 +1,23 @@ +#!/sbin/runscript +# 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/files/ptlink-ircd.init.d,v 1.1 2004/07/10 22:24:03 swegener Exp $ + +depend() { + need net + use dns +} + +start() { + ebegin "Starting ptlink-ircd" + start-stop-daemon --start --quiet --exec /usr/bin/ptlink-ircd \ + --chuid ${PTLINKIRCD_USER} -- -l /var/lib/ptlink-ircd \ + -e /etc/ptlink-ircd >/dev/null + eend $? +} + +stop() { + ebegin "Shutting down ptlink-ircd" + start-stop-daemon --stop --pidfile /var/lib/ptlink-ircd/ircd.pid + eend $? +} diff --git a/net-irc/ptlink-ircd/metadata.xml b/net-irc/ptlink-ircd/metadata.xml new file mode 100644 index 000000000000..6ef15e900f17 --- /dev/null +++ b/net-irc/ptlink-ircd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-irc</herd> +</pkgmetadata> diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild new file mode 100644 index 000000000000..ea701b87edc1 --- /dev/null +++ b/net-irc/ptlink-ircd/ptlink-ircd-6.18.1.ebuild @@ -0,0 +1,76 @@ +# 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.1.ebuild,v 1.1 2004/07/10 22:24:03 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="ipv6" +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 \ + `use_enable ipv6` \ + || die "econf failed" + emake CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + newbin src/ircd ptlink-ircd + newbin tools/fixklines ptlink-ircd-fixklines + newbin tools/mkpasswd ptlink-ircd-mkpasswd + + insinto /etc/ptlink-ircd + fperms 700 /etc/ptlink-ircd + doins samples/{kline.conf,{opers,ptlink}.motd,help.{admin,oper,user}} + newins samples/example.conf.short ircd.conf + newins samples/example.conf.trillian ircd.conf.trillian + newins samples/main.dconf.sample main.dconf + newins samples/network.dconf.sample network.dconf + + insinto /etc/ptlink-ircd/codepage + doins src/codepage/*.enc + + rm -rf doc/old + dodoc doc/* doc_hybrid6/* ircdcron/* CHANGES README + + keepdir /var/log/ptlink-ircd /var/lib/ptlink-ircd + dosym /var/log/ptlink-ircd /var/lib/ptlink-ircd/log + + exeinto /etc/init.d + newexe ${FILESDIR}/ptlink-ircd.init.d ptlink-ircd + insinto /etc/conf.d + newins ${FILESDIR}/ptlink-ircd.conf.d ptlink-ircd +} + +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" + einfo + einfo "You can also use /etc/init.d/ptlink-ircd to start at boot" + einfo +} |