diff options
author | Dawid Węgliński <cla@gentoo.org> | 2007-12-16 17:48:04 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2007-12-16 17:48:04 +0000 |
commit | 60845adfbc96f112b0fed66a062afaf48de8a532 (patch) | |
tree | 0f189fae3703538478a37434a27903e1643f2d69 /net-irc/ptlink-ircd | |
parent | Stable on ppc64; bug #202087 (diff) | |
download | historical-60845adfbc96f112b0fed66a062afaf48de8a532.tar.gz historical-60845adfbc96f112b0fed66a062afaf48de8a532.tar.bz2 historical-60845adfbc96f112b0fed66a062afaf48de8a532.zip |
Revbump, force users to reinstall package with install_cert function, see bug #201678 for details
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-irc/ptlink-ircd')
-rw-r--r-- | net-irc/ptlink-ircd/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/Manifest | 21 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.6-r1 | 3 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r1.ebuild | 88 |
4 files changed, 113 insertions, 8 deletions
diff --git a/net-irc/ptlink-ircd/ChangeLog b/net-irc/ptlink-ircd/ChangeLog index 88b39e8d9e8a..b52977cb0b2b 100644 --- a/net-irc/ptlink-ircd/ChangeLog +++ b/net-irc/ptlink-ircd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-irc/ptlink-ircd # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.12 2007/05/06 12:44:34 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/ChangeLog,v 1.13 2007/12/16 17:48:04 cla Exp $ + +*ptlink-ircd-6.19.6-r1 (16 Dec 2007) + + 16 Dec 2007; Dawid Węgliński <cla@gentoo.org> + +ptlink-ircd-6.19.6-r1.ebuild: + Revbump, force users to reinstall package with install_cert function, see + bug #201678 for details 06 May 2007; Marius Mauch <genone@gentoo.org> ptlink-ircd-6.19.6.ebuild: Replacing einfo with elog diff --git a/net-irc/ptlink-ircd/Manifest b/net-irc/ptlink-ircd/Manifest index 975ad69f7be4..771f93f3dafd 100644 --- a/net-irc/ptlink-ircd/Manifest +++ b/net-irc/ptlink-ircd/Manifest @@ -10,14 +10,18 @@ MD5 c9cc67ab7dc2d8c52519c2452a2c925c files/ptlink-ircd.initd 621 RMD160 73c744bc8aabaafcfbb9bf86aaddd6b30c45c3a2 files/ptlink-ircd.initd 621 SHA256 8ec98ca9850448bce320381dd1ec5997d820c3784d1d24148d64862e33de733e files/ptlink-ircd.initd 621 DIST PTlink6.19.6.tar.gz 799388 RMD160 1b83b3449a4409c41e206181d831b42a5bb64ffe SHA1 87266b62d1c815d1def8214dc6a5608e6e07d667 SHA256 80a9100b0f0c41c914dda6c576207721fa05bb4a0ccf77c6337d6740d1ce0131 +EBUILD ptlink-ircd-6.19.6-r1.ebuild 3004 RMD160 fd5e3d6b910df44f06c3a716d6a84b6354dcaaa4 SHA1 0edcb4d363d136e5a070122f95b66e3bcefe1afb SHA256 d9c5be41e388dc636ab88b53da5b48d2b2ff6975110150551336a2d1f0d99e17 +MD5 b81c6cd9209ad0d6b5a871cc6d9712c5 ptlink-ircd-6.19.6-r1.ebuild 3004 +RMD160 fd5e3d6b910df44f06c3a716d6a84b6354dcaaa4 ptlink-ircd-6.19.6-r1.ebuild 3004 +SHA256 d9c5be41e388dc636ab88b53da5b48d2b2ff6975110150551336a2d1f0d99e17 ptlink-ircd-6.19.6-r1.ebuild 3004 EBUILD ptlink-ircd-6.19.6.ebuild 3001 RMD160 e84e66bb28d067476b0d680c68f33678b3174248 SHA1 be38a0d4b8cc3d5cbbb26287157e567b848a9b66 SHA256 408ff7c2de5f9c3e58885d15774192f6ebc911f9fea85b81a854519822bcfded MD5 be0d200b3564f2ab6a9dd5580e3696f5 ptlink-ircd-6.19.6.ebuild 3001 RMD160 e84e66bb28d067476b0d680c68f33678b3174248 ptlink-ircd-6.19.6.ebuild 3001 SHA256 408ff7c2de5f9c3e58885d15774192f6ebc911f9fea85b81a854519822bcfded ptlink-ircd-6.19.6.ebuild 3001 -MISC ChangeLog 3014 RMD160 4d9a88da6877b9d0930ac0d558cac1d939af9dff SHA1 196491e5e5157186dd97c68c46537b6d77d3ca06 SHA256 f1cf568d50c3b167a469dfcb0b01ee1dd4cf11c85f1c47a9682250312cced7df -MD5 236cc62d85af3d6a01fcd27e90670380 ChangeLog 3014 -RMD160 4d9a88da6877b9d0930ac0d558cac1d939af9dff ChangeLog 3014 -SHA256 f1cf568d50c3b167a469dfcb0b01ee1dd4cf11c85f1c47a9682250312cced7df ChangeLog 3014 +MISC ChangeLog 3235 RMD160 dde4748223a6663bd68f9ba7a7262375a2d691a8 SHA1 3ea7c29db654acf20fcc786e9589e80dc452c905 SHA256 b596ea937466f59befacea7ac39242e818548716e3331aef64bd3c7ce3741faf +MD5 78dc5ae5b6617e8db185fecc5bded700 ChangeLog 3235 +RMD160 dde4748223a6663bd68f9ba7a7262375a2d691a8 ChangeLog 3235 +SHA256 b596ea937466f59befacea7ac39242e818548716e3331aef64bd3c7ce3741faf ChangeLog 3235 MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160 @@ -25,10 +29,13 @@ SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata MD5 f8404fc828ebb5d4c7ba349b5b8ee524 files/digest-ptlink-ircd-6.19.6 238 RMD160 a5614af2bbd018c723170cd9d7b710933c1db46e files/digest-ptlink-ircd-6.19.6 238 SHA256 e68ecddd4cb2f75ed4a790fe69584e6a14e6b3be91cd0a4e670c196bd9695064 files/digest-ptlink-ircd-6.19.6 238 +MD5 f8404fc828ebb5d4c7ba349b5b8ee524 files/digest-ptlink-ircd-6.19.6-r1 238 +RMD160 a5614af2bbd018c723170cd9d7b710933c1db46e files/digest-ptlink-ircd-6.19.6-r1 238 +SHA256 e68ecddd4cb2f75ed4a790fe69584e6a14e6b3be91cd0a4e670c196bd9695064 files/digest-ptlink-ircd-6.19.6-r1 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFHWz+jUPEOwClectkRAn8mAJ4oNfBtMdITSVKfkhUyorGhPodKjgCfZDZr -8HJKM0LMBy3L8iQA3uStJdQ= -=0uC3 +iD8DBQFHZWTaUPEOwClectkRAhNlAJ9IDutIidOhTdwyWhl0/RGDHCTvgACeNg7c +DeVNZG3N306nCxwJILYFUAc= +=Nn7Z -----END PGP SIGNATURE----- diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.6-r1 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.6-r1 new file mode 100644 index 000000000000..f623c86fe755 --- /dev/null +++ b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.19.6-r1 @@ -0,0 +1,3 @@ +MD5 d585bd03ec0cce559de466abe1a3dcc3 PTlink6.19.6.tar.gz 799388 +RMD160 1b83b3449a4409c41e206181d831b42a5bb64ffe PTlink6.19.6.tar.gz 799388 +SHA256 80a9100b0f0c41c914dda6c576207721fa05bb4a0ccf77c6337d6740d1ce0131 PTlink6.19.6.tar.gz 799388 diff --git a/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r1.ebuild b/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r1.ebuild new file mode 100644 index 000000000000..682e1444c437 --- /dev/null +++ b/net-irc/ptlink-ircd/ptlink-ircd-6.19.6-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2007 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.6-r1.ebuild,v 1.1 2007/12/16 17:48:04 cla 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="~ppc ~sparc ~x86" + +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.initd" ptlink-ircd || die "newinitd failed" + newconfd "${FILESDIR}/ptlink-ircd.confd" ptlink-ircd || die "newconfd failed" +} + +pkg_postinst() { + # Move docert from src_install() to install_cert for bug #201678 + use ssl && ( + if [[ ! -f "${ROOT}"/etc/ptlink-ircd/server.key.pem ]]; then + install_cert /etc/ptlink-ircd/server || die "install_cert failed" + mv "${ROOT}"/etc/ptlink-ircd/server.crt "${ROOT}"/etc/ptlink-ircd/server.cert.pem + mv "${ROOT}"/etc/ptlink-ircd/server.csr "${ROOT}"/etc/ptlink-ircd/server.req.pem + mv "${ROOT}"/etc/ptlink-ircd/server.key "${ROOT}"/etc/ptlink-ircd/server.key.pem + fi + ) + + enewuser ptlink-ircd + + chown ptlink-ircd \ + "${ROOT}"/{etc,var/{log,lib}}/ptlink-ircd \ + "${ROOT}"/etc/ptlink-ircd/server.key.pem + + elog + elog "PTlink IRCd will run without configuration, although this is strongly" + elog "advised against." + elog + elog "You can find example cron scripts here:" + elog " /usr/share/doc/${PF}/ircd.cron.gz" + elog + elog "You can also use /etc/init.d/ptlink-ircd to start at boot" + elog +} |