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 | b11d4d1fa22df849f7b1afa5fea067348ea93d30 (patch) | |
tree | e751ef2822ea902abf78b51e433e38c7dc60041f /net-irc/ptlink-ircd | |
parent | Marked stable on x86 (Manifest recommit) (diff) | |
download | gentoo-2-b11d4d1fa22df849f7b1afa5fea067348ea93d30.tar.gz gentoo-2-b11d4d1fa22df849f7b1afa5fea067348ea93d30.tar.bz2 gentoo-2-b11d4d1fa22df849f7b1afa5fea067348ea93d30.zip |
Renamed from net-irc/ptlink
Diffstat (limited to 'net-irc/ptlink-ircd')
-rw-r--r-- | net-irc/ptlink-ircd/ChangeLog | 42 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/Manifest | 5 | ||||
-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, 158 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..22b60bb9874a --- /dev/null +++ b/net-irc/ptlink-ircd/Manifest @@ -0,0 +1,5 @@ +MD5 0dbf3318d186ef66ae58bce495769953 ptlink-ircd-6.18.1.ebuild 2028 +MD5 8187678ecf0609db4cee0146e1ce4f44 ChangeLog 475 +MD5 a8424a92a1aef170448f005a3d91aa7e files/digest-ptlink-ircd-6.18.1 64 +MD5 113f812e28fe81327a9cef0e4b59e73c files/ptlink-ircd.confd 313 +MD5 e6822b72ea093625708040c81a585985 files/ptlink-ircd.rc 634 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 +} |