diff options
author | Alex Alexander <wired@gentoo.org> | 2014-05-07 03:36:38 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2014-05-07 03:36:38 +0000 |
commit | 658503b76011a18f06924afc41a681531da861d6 (patch) | |
tree | 9881b594f554c96637bd1b6dd833caad04596f44 /net-irc/znc | |
parent | drop py2.6 add pypy support (diff) | |
download | historical-658503b76011a18f06924afc41a681531da861d6.tar.gz historical-658503b76011a18f06924afc41a681531da861d6.tar.bz2 historical-658503b76011a18f06924afc41a681531da861d6.zip |
removed old ebuilds
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xEB9B4AFA
Diffstat (limited to 'net-irc/znc')
-rw-r--r-- | net-irc/znc/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/znc/Manifest | 33 | ||||
-rw-r--r-- | net-irc/znc/files/znc-1.0-webadmin-null-pointer-dereference-fix.patch | 41 | ||||
-rw-r--r-- | net-irc/znc/znc-1.0-r1.ebuild | 149 | ||||
-rw-r--r-- | net-irc/znc/znc-1.0-r2.ebuild | 150 | ||||
-rw-r--r-- | net-irc/znc/znc-1.2.ebuild | 164 |
6 files changed, 20 insertions, 524 deletions
diff --git a/net-irc/znc/ChangeLog b/net-irc/znc/ChangeLog index 2b4613756355..8cf0063cfed3 100644 --- a/net-irc/znc/ChangeLog +++ b/net-irc/znc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/znc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.72 2014/04/19 10:07:28 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.73 2014/05/07 03:36:32 wired Exp $ + + 07 May 2014; Alex Alexander <wired@gentoo.org> -znc-1.0-r1.ebuild, + -znc-1.0-r2.ebuild, -znc-1.2.ebuild, + -files/znc-1.0-webadmin-null-pointer-dereference-fix.patch: + removed old ebuilds 19 Apr 2014; Agostino Sarubbo <ago@gentoo.org> znc-1.2-r1.ebuild: Stable for x86, wrt bug #507794 diff --git a/net-irc/znc/Manifest b/net-irc/znc/Manifest index cb4ee06a7b36..cf2dc70e6ab2 100644 --- a/net-irc/znc/Manifest +++ b/net-irc/znc/Manifest @@ -2,33 +2,28 @@ Hash: SHA256 AUX znc-1.0-systemwideconfig.patch 4252 SHA256 1ddd5e95b299ef3c2293ce89829bae290a5c8fdc8e260ff09ae7f22264b8fbc9 SHA512 4527317f8b45c77e329167cedd792eb7886b85eeb9cb0b39f7bb117edff9bdde406d3fc4aa81410a3b1f9f7957e8ac312cdd168469fdaefd234ddbbae279341e WHIRLPOOL 3556fef6a5a840657ed50e5e283d913ab441c73b3becdfd5e05661dd312cf9670677407734ec5ba8d4254a1e22a6d3274563ab8ff81b04b16fadc9c16029e933 -AUX znc-1.0-webadmin-null-pointer-dereference-fix.patch 1620 SHA256 2684bed1046b5a1d46f7f8aaa5deb75d051ce7b79b9d8089502fc6726036252c SHA512 60a7b960781c5fd0a06f0da3ef69fce821cf001c75a6c646cf87c16a22493a73adfef2e5bdf9bc350481b34a650dc1e9264502db90dec75394e58e41ca480d8f WHIRLPOOL 7ed241a4575adbebc3d83b5b6e2ad4418eb2a1cccd35b4abfb8821d4f7370203a126bdab6c8023ea2a6eb3b3bf2f5335007f07ab724940558dfe43f3f779b8ed AUX znc-1.2-webadmin-correctly-handle-channel-names.patch 2702 SHA256 81fd252774f76ca792f560c350e80e2809130bb674da2c611ff682f532e8aaf9 SHA512 020925a94b2bbe0bab4eb54ad28c7ccd163545d6092a52c3e47311ac895b0cfe6de4dd3fffd6d54640d5f6df1f5fecaf9371355b3d80875f8ad017c93cffd17c WHIRLPOOL b4d19ed5a26f5f77db2053c10b0245101e2805eec7b53bd15846aa3a36a05f72f9da76d404c6df29ae9cc605e4dda438474d1f068ddfff41b258e289824ed402 AUX znc.confd 123 SHA256 be3155e79e6ed13be88fbf9d99f6889b3ee8425837120c448c827b8302672063 SHA512 352f18d64cbfbd5970c859f2ae2290c0ddafcbd8f1bb5d74f33976bc8388f65a75f8a9a73a093fbac12f2d243d4bcf74380bbb3aaab8d68f7bf4eab7ce3bea46 WHIRLPOOL 24e8272f1d94ff39cb748c9c280761437e2f6527ffa26e4972d83c99cde62e2f70d0c99639f4a8aabb4464fd85ee4856eb8086d3196e12286e3989d8e19c544b AUX znc.initd 910 SHA256 9df9e738efca0e6ace045bdb6a1419082408119ba92c032566c6d4a61b1844b5 SHA512 0d1b9bf71cde1b803e9deddc64006528778dc628603bb4ba8cca17098dcb6b8fc34dcb43eca7de7dec61ce84832dd07d76c7ccb2d9175f859d5aee2a349e8045 WHIRLPOOL 0640b8c30c7ff64b772998c86f06fcaae06759a5af7e0384a5ffbd1a1c4c85923c9d87362720a2ae6fb5a164d1a298d12e4493617a1e66813f3dfee0b40d04ce -DIST znc-1.0.tar.gz 1222361 SHA256 a85539da42697b26e4d46205def36bb799f83d6aeef401d53c49ee674142062a SHA512 4219cdd32296e5851f6cd99a8ac6e14d2579df10e8e111bb09d6c3789e400e2fcdc173968afd54808d286f0fb4945aa57d2d0f3b62a20e761de64500c8938e35 WHIRLPOOL 864c45762f8508c8d724246153345554b660336789a5340e9633b83aed249c901f976d2aa6207a82ce8e7836d680fc30fca03cafbc8942932745c6f1584e99cc DIST znc-1.2.tar.gz 1235150 SHA256 d9a2cd2a484ff23e6fc9cbde8dd8a43efbcd8d288afca7b1268914ca0d18701d SHA512 dff24e56127e5599d64b4c62de967d5d48d8ebf23ca8597d33bf0b3622640512db7a462bfa7c2031cd8307f402bab8efa345f6d1fc813e78eb0dcae581de3cf7 WHIRLPOOL b0810eb66e63be762f74f04eb2289e3634b18d6ecbd36d55f6a6772697e0397637d59b9ea01eaf62ef1cbe5f6e65b06432a254f4ada35194aa06b65c4a2f7994 -EBUILD znc-1.0-r1.ebuild 4005 SHA256 ac5a45427e1abadb896d54364a263bb7fab26b936b0b9215e123b1b0a91ddc39 SHA512 52b8c3e0dc73e7fc5b592443b43a279ca65f906dc49a4d3dc8c368465cfb16610c8c3d01f0806b7afe27d25561375379549d59a052adc13592fb1ea197219e47 WHIRLPOOL d876c45bdd8bab52f8cd6120fd7552cafcd9d711ad3bebef11ada750f43c0601ef913bb0def531d22aab491d751b067489e60b18a03d73f98a57a68218f3c7c2 -EBUILD znc-1.0-r2.ebuild 4069 SHA256 16b45848820b3015557ca71659ef9a3a4d7eeb05c8341c0add0c66e1def7dda1 SHA512 bc2553ec94e31c061fb2cf79b8ba1a1883ba617a9c3270bf77c5cb4e9677c386d3aa69bacb312626817bd0240473c2937e22ced2ebc464dc803b8cf09247bd7c WHIRLPOOL 134fce69e6bd20d25b225f978a7d754bad45bc39b6c59b14e58764f0dfc1f86de803a24d5567da7083169f0a41cc78b6ce03bf7a0449ab0c373bbd3966a41e8d EBUILD znc-1.2-r1.ebuild 4287 SHA256 ed19a25cae9b1476ae9b620a72088b331e20cc6cd9fe2fa349116fde75ba3903 SHA512 5891bb07a602e21ad5f9ee04db09f8698f366163cc5fe07d4a5d68e02df75023630ea11be1182ad09742ffa61690c4a2226ced12fd5cfcc0c8b2c65de7204d33 WHIRLPOOL 7e1cee66b043d16c90a52a59d97c274474419a5cda4e9c5b309b88dd7499f4c7b69b2f866cc3c745b5cbb27c51d309e697ed44dbf646c593f609cd0ec3c9a11e -EBUILD znc-1.2.ebuild 4222 SHA256 5253afc49362d9388ca6763aa910aca0875b94e63b382356b4bdcfa554138e7e SHA512 b9be656963356d9b881d57183fbcf84533f5eef81302f7f0043a7c0e522d9f97ea33a687e862bec84f478d7d2135173111dd89a7d93d45bbacfd4f75de5bc107 WHIRLPOOL 5fd08de9ebaf2fb1a05d594d155b7a5eef05a1aa33ca9df3a6aad4257a9d7df65bd29ec61389fa79b53075463811494004f0102ff03c5bfa30a0f9eb24336cab EBUILD znc-9999.ebuild 4223 SHA256 99bb226b0cbd24bfb41334acc50e42e7fac086c82f9867b7d1fc66c9148ea31f SHA512 1eb70d8a34093d4c16b2fe81d044d60555e0673785b2913d1f5fda874d395df4d2ac4ab206126802c0d778b05e3f323362a6f7347045acdcac30dd2b104a9501 WHIRLPOOL 3f802236a112e6ec986277e7ad1f9db6f75e00294043d394e9ea06259d4dd171bf3f2f98d7c0ef3a4c9ec025354742dd68cb8d3cf9ecd0b2afd6d0d15c65f3b4 -MISC ChangeLog 10555 SHA256 295a76ff8d18f10a563d312cec8bda2bb46ddef32a9a745d0716337dcc7189c6 SHA512 9d8a01eca7fda81648e6b57e59be66e27acbcd349b45962b82bc95015b9e0f6420051f15ea0c6ca930b7952c988a98eb187ab7c4670b78a394c4bca37e823677 WHIRLPOOL b42b7eb46f3221ddbf99c10012bf936ea3f080c683d767b734d0ce68dd1b9ce04ad8bfaeee7b1d413f5b2e6f52b50a09a9b05515c5b8830bcce8d9fdf421a4e5 +MISC ChangeLog 10750 SHA256 52d1ccbd09c711c2a9c0701ea58a60717a37e77405b15edafd0a1d32203a4530 SHA512 9e66231126af9eeedda53e0cb6f05647a5d26277b448bc49d3144185d5391d60c36d1592b4517e4926aa6a1ef328f9c5fc4e26a9015c6eb34a1dfc182acc546f WHIRLPOOL 0432e277f44edd87d3d1b4506b7990407adce6ff4cfd594aa7f7e995b62b375e8dc941b4fe246311a5cd0caa1ec0b4f2cfd0c0d6598c021427773a888173b78b MISC metadata.xml 387 SHA256 864beefb6d435cf17de251ce82df948cb7af8181bd1ddbdf0d18106f0cb042ed SHA512 37de68d3d350980d0ced5ee9f46e6a6422a4341ca8aeba05fd6eb539081935c26feafabdb103e44470b5da76ef73fd08018662b9d85579b00395292a5bf77054 WHIRLPOOL c2ca27a67d989fc4b0b6f346409a5bd756400be9c4c3616ea548e4caff577c060508e3edc546c9b341d513ba9afa42e3dcec0bd4b40c416177c09e75fa8a3491 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTUkrhAAoJELp701BxlEWfb7EP/jXhsbfWtAO7NVeUJYczzsx8 -VUZ5mV0JMz0Ubl8bDRlshHxHX+OsF7svFV4xZPrn5i0vWLt4U2rlaUFz+16ijYlf -ebTLnsZ4Uw9qBHPwjbXd3z4EysYa0WZHmLqssDYskiOcJ2Fkm7yYNi/sR7C7ACFr -LV9ubdfb7OoGEz/G2vj0doD6Bs7WAO6DjABQ9Uozyq6WZBpxejOI50zGLQZVrBFD -bGmgBG+C4Ti5yGYHY0SMYlsV0Wdi6CD3BrUdQpFw4roB4I46wLmWVIx5xUkBU6h0 -Vqfioa5GpyjX5kgEGDLlTuxHbTq1fdO9fYiXHDEXa8Db9ufw8yqA1NYHpfzEjGca -I5bka0+M6UK7DnBc1jbHpGeqWdzL8g11h5QeGtlI0GBPsl0AWW0+XpOQ8UveTpvp -cR7qWXL3qPaiJtsBpBUhbeJJJBwRO3mX8vMji1VUWum1owDLwqYT3QiY4lJmIMW0 -uaw0sacL5XYnb1y8Ht8XEMhbABszb8yFxor8KwjT7MOkrFS44a2wqg16/R51K6dq -tH3/GxlVW+8zYwWAy0f0AaHAhauXL+fimTTfSB55vezLfWnGnqfRa3FjcGtKHFEB -hHk2AOidJsGLFeKusvUKRTXWFgWok846URyK1WwVnGSO0rwLBRaTgY6vH7jkQeU7 -HGx/hF7QqtLGd50Qmytz -=zgMQ +iQIcBAEBCAAGBQJTaapFAAoJEDZF8K7rm0r6yRcP/ixL4KHFO5u/VfR0FnO9TazZ +v3krVLlIUt8QxChTUoUVSZwB0vi/7m+38mm7rkwZ1MjODyM6l4uBjo4ILQ4OOY7+ +qtTcBWoWk583DLH6HOksOFZxCZaU7c/du3mZIJH0nSBLWfg9Bdt5I3SgKk1EvvlT +9s/tgU/63k+oT+9WnfdI3gvl7CWOYWwInpQNp7FSFQtwz/I4ERmITM9J5s5kPsbF +pjhTUP4lG9RCq4UAUkTqaa2U7CnQU0tk30zCbkqTPEgUo1NY4F25P0Ge4LWWlJ0y +YZJj0NiYj8TXkdffyqFzWyXxar5/DSP9eDDuBvJEXzTGuVPk5ZMH1n4z3kdtCjsD +ZLiiwA+fEk1vC4DMCedWf5ljvaLYLEN47k1S3uF4TPnc5r1VxqFFOM2nYxDB1He5 +lysX9WJuKRGOIwfobHHkKkQ6MQ9dbvFHg3xCSc5WU7CcckaOtKE4AcuwWjFCrpKr +rwFqLsj5KwWT/YOIso06r0P+KohyAbAt71YFgk2tFQibCaU4O+Cf61qRunXfH5up +ZKeI3YeaJ+KvLxeZHAxhGgjTGMdzjHypr3W+I0BP1UJ4YhqQFR5X3CUN6nzB8u13 +r3QookgBIzh+L348bnJSdnY3bcn+AxbgLANgRCKQZbxaSj0oOYgrZppyizFY1OMJ +wetBnya90GHJj26CxQZF +=ObwG -----END PGP SIGNATURE----- diff --git a/net-irc/znc/files/znc-1.0-webadmin-null-pointer-dereference-fix.patch b/net-irc/znc/files/znc-1.0-webadmin-null-pointer-dereference-fix.patch deleted file mode 100644 index c46aa6abf9bb..000000000000 --- a/net-irc/znc/files/znc-1.0-webadmin-null-pointer-dereference-fix.patch +++ /dev/null @@ -1,41 +0,0 @@ -Fix NULL pointer dereference in webadmin. - -https://github.com/znc/znc/commit/2bd410ee5570cea127233f1133ea22f25174eb28 ---- modules/webadmin.cpp -+++ modules/webadmin.cpp -@@ -404,7 +426,7 @@ - CIRCNetwork* pNetwork = SafeGetNetworkFromParam(WebSock); - - // Admin||Self Check -- if (!spSession->IsAdmin() && (!spSession->GetUser() || spSession->GetUser() != pNetwork->GetUser())) { -+ if (!spSession->IsAdmin() && (!spSession->GetUser() || !pNetwork || spSession->GetUser() != pNetwork->GetUser())) { - return false; - } - -@@ -433,7 +455,7 @@ - CIRCNetwork* pNetwork = SafeGetNetworkFromParam(WebSock); - - // Admin||Self Check -- if (!spSession->IsAdmin() && (!spSession->GetUser() || spSession->GetUser() != pNetwork->GetUser())) { -+ if (!spSession->IsAdmin() && (!spSession->GetUser() || !pNetwork || spSession->GetUser() != pNetwork->GetUser())) { - return false; - } - -@@ -457,7 +479,7 @@ - CIRCNetwork* pNetwork = SafeGetNetworkFromParam(WebSock); - - // Admin||Self Check -- if (!spSession->IsAdmin() && (!spSession->GetUser() || spSession->GetUser() != pNetwork->GetUser())) { -+ if (!spSession->IsAdmin() && (!spSession->GetUser() || !pNetwork || spSession->GetUser() != pNetwork->GetUser())) { - return false; - } - -@@ -471,7 +493,7 @@ - CIRCNetwork* pNetwork = SafeGetNetworkFromParam(WebSock); - - // Admin||Self Check -- if (!spSession->IsAdmin() && (!spSession->GetUser() || spSession->GetUser() != pNetwork->GetUser())) { -+ if (!spSession->IsAdmin() && (!spSession->GetUser() || !pNetwork || spSession->GetUser() != pNetwork->GetUser())) { - return false; - } - diff --git a/net-irc/znc/znc-1.0-r1.ebuild b/net-irc/znc/znc-1.0-r1.ebuild deleted file mode 100644 index a9929ade2cae..000000000000 --- a/net-irc/znc/znc-1.0-r1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-1.0-r1.ebuild,v 1.3 2013/02/17 17:41:06 ago Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 3" -inherit base python user - -MY_PV=${PV/_/-} -DESCRIPTION="An advanced IRC Bouncer" -HOMEPAGE="http://znc.in" -SRC_URI="http://znc.in/releases/${PN}-${MY_PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="daemon debug ipv6 perl python ssl sasl tcl" - -RDEPEND=" - perl? ( >=dev-lang/perl-5.10 ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - ssl? ( >=dev-libs/openssl-0.9.7d ) - tcl? ( dev-lang/tcl ) -" -DEPEND=" - virtual/pkgconfig - perl? ( dev-lang/swig ) - python? ( - >=dev-lang/swig-2.0.2 - >=dev-lang/perl-5.10 - ) - ${RDEPEND} -" - -S=${WORKDIR}/${PN}-${MY_PV} - -PATCHES=( - "${FILESDIR}/${P}-systemwideconfig.patch" -) - -CONFDIR="/var/lib/znc" - -pkg_setup() { - if use python; then - python_set_active_version 3 - python_pkg_setup - fi - if use daemon; then - enewgroup ${PN} - enewuser ${PN} -1 -1 /dev/null ${PN} - fi -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_enable perl) \ - $(use python && echo "--enable-python=python-$(python_get_version)") \ - $(use_enable sasl cyrus) \ - $(use_enable ssl openssl) \ - $(use_enable tcl tcl) -} - -src_install() { - emake install DESTDIR="${D}" - dodoc AUTHORS README.md - if use daemon; then - newinitd "${FILESDIR}"/znc.initd znc - newconfd "${FILESDIR}"/znc.confd znc - fi -} - -pkg_postinst() { - if use !daemon; then - elog - elog "Run 'znc --makeconf' as the user you want to run ZNC as" - elog "to make a configuration file" - elog "If you are using SSL you should also run 'znc --makepem'" - elog - else - elog - elog "An init-script was installed in /etc/init.d" - elog "A config file was installed in /etc/conf.d" - if [[ ! -d "${EROOT}${CONFDIR}" ]]; then - elog - elog "Run 'emerge --config znc' to configure ZNC" - elog "as a system-wide daemon." - elog - elog "If you are using SSL you should also run:" - elog " znc --system-wide-config-as znc --makepem -d ${CONFDIR}" - elog "as root" - elog - elog "If migrating from a user-based install" - elog "you can use your existing config files:" - elog " mkdir ${CONFDIR}" - elog " mv /home/\$USER/.znc/* ${CONFDIR}" - elog " rm -rf /home/\$USER/.znc" - elog " chown -R znc:znc ${CONFDIR}" - elog - elog "If you already have znc set up and want take advantage of the" - elog "init script but skip of all the above, you can also edit" - elog " /etc/conf.d/znc" - elog "and adjust the variables to your current znc user and config" - elog "location." - if [[ -d "${EROOT}"/etc/znc ]]; then - elog - ewarn "/etc/znc exists on your system." - ewarn "Due to the nature of the contents of that folder," - ewarn "we have changed the default configuration to use" - ewarn " /var/lib/znc" - ewarn "please move /etc/znc to /var/lib/znc" - ewarn "or adjust /etc/conf.d/znc" - fi - else - elog "Existing config detected in ${CONFDIR}" - elog "You're good to go :)" - fi - elog - fi -} - -pkg_config() { - if use daemon && ! [[ -d "${EROOT}${CONFDIR}" ]]; then - einfo "Press ENTER to interactively create a new configuration file for znc." - einfo "To abort, press Control-C" - read - mkdir -p "${EROOT}${CONFDIR}" || die - chown -R ${PN}:${PN} "${EROOT}${CONFDIR}" || - die "Setting permissions failed" - "${EROOT}"/usr/bin/znc --system-wide-config-as znc -c -r -d "${EROOT}${CONFDIR}" || - die "Config failed" - echo - einfo "To start znc, run '/etc/init.d/znc start'" - einfo "or add znc to a runlevel:" - einfo " rc-update add znc default" - else - if use daemon; then - ewarn "${CONFDIR} already exists, aborting to avoid damaging" - ewarn "any existing configuration. If you are sure you want" - ewarn "to generate a new configuration, remove the folder" - ewarn "and try again." - else - ewarn "To configure znc as a system-wide daemon you have to" - ewarn "enable the 'daemon' use flag." - fi - fi -} diff --git a/net-irc/znc/znc-1.0-r2.ebuild b/net-irc/znc/znc-1.0-r2.ebuild deleted file mode 100644 index bce7c8eca711..000000000000 --- a/net-irc/znc/znc-1.0-r2.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-1.0-r2.ebuild,v 1.3 2013/06/04 12:31:34 ago Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 3" -inherit base python user - -MY_PV=${PV/_/-} -DESCRIPTION="An advanced IRC Bouncer" -HOMEPAGE="http://znc.in" -SRC_URI="http://znc.in/releases/${PN}-${MY_PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="daemon debug ipv6 perl python ssl sasl tcl" - -RDEPEND=" - perl? ( >=dev-lang/perl-5.10 ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - ssl? ( >=dev-libs/openssl-0.9.7d ) - tcl? ( dev-lang/tcl ) -" -DEPEND=" - virtual/pkgconfig - perl? ( dev-lang/swig ) - python? ( - >=dev-lang/swig-2.0.2 - >=dev-lang/perl-5.10 - ) - ${RDEPEND} -" - -S=${WORKDIR}/${PN}-${MY_PV} - -PATCHES=( - "${FILESDIR}/${P}-systemwideconfig.patch" - "${FILESDIR}/${P}-webadmin-null-pointer-dereference-fix.patch" -) - -CONFDIR="/var/lib/znc" - -pkg_setup() { - if use python; then - python_set_active_version 3 - python_pkg_setup - fi - if use daemon; then - enewgroup ${PN} - enewuser ${PN} -1 -1 /dev/null ${PN} - fi -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_enable perl) \ - $(use python && echo "--enable-python=python-$(python_get_version)") \ - $(use_enable sasl cyrus) \ - $(use_enable ssl openssl) \ - $(use_enable tcl tcl) -} - -src_install() { - emake install DESTDIR="${D}" - dodoc AUTHORS README.md - if use daemon; then - newinitd "${FILESDIR}"/znc.initd znc - newconfd "${FILESDIR}"/znc.confd znc - fi -} - -pkg_postinst() { - if use !daemon; then - elog - elog "Run 'znc --makeconf' as the user you want to run ZNC as" - elog "to make a configuration file" - elog "If you are using SSL you should also run 'znc --makepem'" - elog - else - elog - elog "An init-script was installed in /etc/init.d" - elog "A config file was installed in /etc/conf.d" - if [[ ! -d "${EROOT}${CONFDIR}" ]]; then - elog - elog "Run 'emerge --config znc' to configure ZNC" - elog "as a system-wide daemon." - elog - elog "If you are using SSL you should also run:" - elog " znc --system-wide-config-as znc --makepem -d ${CONFDIR}" - elog "as root" - elog - elog "If migrating from a user-based install" - elog "you can use your existing config files:" - elog " mkdir ${CONFDIR}" - elog " mv /home/\$USER/.znc/* ${CONFDIR}" - elog " rm -rf /home/\$USER/.znc" - elog " chown -R znc:znc ${CONFDIR}" - elog - elog "If you already have znc set up and want take advantage of the" - elog "init script but skip of all the above, you can also edit" - elog " /etc/conf.d/znc" - elog "and adjust the variables to your current znc user and config" - elog "location." - if [[ -d "${EROOT}"/etc/znc ]]; then - elog - ewarn "/etc/znc exists on your system." - ewarn "Due to the nature of the contents of that folder," - ewarn "we have changed the default configuration to use" - ewarn " /var/lib/znc" - ewarn "please move /etc/znc to /var/lib/znc" - ewarn "or adjust /etc/conf.d/znc" - fi - else - elog "Existing config detected in ${CONFDIR}" - elog "You're good to go :)" - fi - elog - fi -} - -pkg_config() { - if use daemon && ! [[ -d "${EROOT}${CONFDIR}" ]]; then - einfo "Press ENTER to interactively create a new configuration file for znc." - einfo "To abort, press Control-C" - read - mkdir -p "${EROOT}${CONFDIR}" || die - chown -R ${PN}:${PN} "${EROOT}${CONFDIR}" || - die "Setting permissions failed" - "${EROOT}"/usr/bin/znc --system-wide-config-as znc -c -r -d "${EROOT}${CONFDIR}" || - die "Config failed" - echo - einfo "To start znc, run '/etc/init.d/znc start'" - einfo "or add znc to a runlevel:" - einfo " rc-update add znc default" - else - if use daemon; then - ewarn "${CONFDIR} already exists, aborting to avoid damaging" - ewarn "any existing configuration. If you are sure you want" - ewarn "to generate a new configuration, remove the folder" - ewarn "and try again." - else - ewarn "To configure znc as a system-wide daemon you have to" - ewarn "enable the 'daemon' use flag." - fi - fi -} diff --git a/net-irc/znc/znc-1.2.ebuild b/net-irc/znc/znc-1.2.ebuild deleted file mode 100644 index 0d10a2c9bc37..000000000000 --- a/net-irc/znc/znc-1.2.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-1.2.ebuild,v 1.1 2013/11/14 11:35:35 wired Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{3_2,3_3} ) -inherit base python-single-r1 user - -MY_PV=${PV/_/-} -DESCRIPTION="An advanced IRC Bouncer" - -if [[ ${PV} == *9999* ]]; then - inherit git-2 - EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/znc/znc.git"} - SRC_URI="" - KEYWORDS="" -else - SRC_URI="http://znc.in/releases/${PN}-${MY_PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -HOMEPAGE="http://znc.in" -LICENSE="GPL-2" -SLOT="0" -IUSE="daemon debug ipv6 perl python ssl sasl tcl" - -RDEPEND=" - perl? ( >=dev-lang/perl-5.10 ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - ssl? ( >=dev-libs/openssl-0.9.7d ) - tcl? ( dev-lang/tcl ) -" -DEPEND=" - virtual/pkgconfig - perl? ( dev-lang/swig ) - python? ( - >=dev-lang/swig-2.0.8 - >=dev-lang/perl-5.10 - ) - ${RDEPEND} -" - -S=${WORKDIR}/${PN}-${MY_PV} - -PATCHES=( - "${FILESDIR}/${PN}-1.0-systemwideconfig.patch" -) - -CONFDIR="/var/lib/znc" - -pkg_setup() { - if use python; then - python-single-r1_pkg_setup - fi - if use daemon; then - enewgroup ${PN} - enewuser ${PN} -1 -1 /dev/null ${PN} - fi -} - -src_prepare() { - if [[ ${PV} == *9999* ]]; then - ./autogen.sh - fi - - base_src_prepare -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_enable perl) \ - $(use python && echo "--enable-python=python3") \ - $(use_enable sasl cyrus) \ - $(use_enable ssl openssl) \ - $(use_enable tcl tcl) -} - -src_install() { - emake install DESTDIR="${D}" - dodoc NOTICE README.md - if use daemon; then - newinitd "${FILESDIR}"/znc.initd znc - newconfd "${FILESDIR}"/znc.confd znc - fi -} - -pkg_postinst() { - if use !daemon; then - elog - elog "Run 'znc --makeconf' as the user you want to run ZNC as" - elog "to make a configuration file" - elog "If you are using SSL you should also run 'znc --makepem'" - elog - else - elog - elog "An init-script was installed in /etc/init.d" - elog "A config file was installed in /etc/conf.d" - if [[ ! -d "${EROOT}${CONFDIR}" ]]; then - elog - elog "Run 'emerge --config znc' to configure ZNC" - elog "as a system-wide daemon." - elog - elog "If you are using SSL you should also run:" - elog " znc --system-wide-config-as znc --makepem -d ${CONFDIR}" - elog "as root" - elog - elog "If migrating from a user-based install" - elog "you can use your existing config files:" - elog " mkdir ${CONFDIR}" - elog " mv /home/\$USER/.znc/* ${CONFDIR}" - elog " rm -rf /home/\$USER/.znc" - elog " chown -R znc:znc ${CONFDIR}" - elog - elog "If you already have znc set up and want take advantage of the" - elog "init script but skip of all the above, you can also edit" - elog " /etc/conf.d/znc" - elog "and adjust the variables to your current znc user and config" - elog "location." - if [[ -d "${EROOT}"/etc/znc ]]; then - elog - ewarn "/etc/znc exists on your system." - ewarn "Due to the nature of the contents of that folder," - ewarn "we have changed the default configuration to use" - ewarn " /var/lib/znc" - ewarn "please move /etc/znc to /var/lib/znc" - ewarn "or adjust /etc/conf.d/znc" - fi - else - elog "Existing config detected in ${CONFDIR}" - elog "You're good to go :)" - fi - elog - fi -} - -pkg_config() { - if use daemon && ! [[ -d "${EROOT}${CONFDIR}" ]]; then - einfo "Press ENTER to interactively create a new configuration file for znc." - einfo "To abort, press Control-C" - read - mkdir -p "${EROOT}${CONFDIR}" || die - chown -R ${PN}:${PN} "${EROOT}${CONFDIR}" || - die "Setting permissions failed" - "${EROOT}"/usr/bin/znc --system-wide-config-as znc -c -r -d "${EROOT}${CONFDIR}" || - die "Config failed" - echo - einfo "To start znc, run '/etc/init.d/znc start'" - einfo "or add znc to a runlevel:" - einfo " rc-update add znc default" - else - if use daemon; then - ewarn "${CONFDIR} already exists, aborting to avoid damaging" - ewarn "any existing configuration. If you are sure you want" - ewarn "to generate a new configuration, remove the folder" - ewarn "and try again." - else - ewarn "To configure znc as a system-wide daemon you have to" - ewarn "enable the 'daemon' use flag." - fi - fi -} |