summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2013-12-09 03:57:44 +0000
committerNathan Phillip Brink <binki@gentoo.org>2013-12-09 03:57:44 +0000
commitb7c5ae8537b4d107f3277fbb3825984afc31359f (patch)
tree600009358b320dc161d12e1f59755f41e3fe6145 /net-irc/unrealircd
parentBuild fix for *BSD, #492756 (diff)
downloadhistorical-b7c5ae8537b4d107f3277fbb3825984afc31359f.tar.gz
historical-b7c5ae8537b4d107f3277fbb3825984afc31359f.tar.bz2
historical-b7c5ae8537b4d107f3277fbb3825984afc31359f.zip
Drop =unrealircd-3.2.10.1 for bug #492526.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x743A52E86BA81050
Diffstat (limited to 'net-irc/unrealircd')
-rw-r--r--net-irc/unrealircd/ChangeLog6
-rw-r--r--net-irc/unrealircd/Manifest34
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.10.1.ebuild209
3 files changed, 21 insertions, 228 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog
index 424f4c82777b..3f950966db0e 100644
--- a/net-irc/unrealircd/ChangeLog
+++ b/net-irc/unrealircd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/unrealircd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.115 2013/12/07 19:11:31 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.116 2013/12/09 03:57:36 binki Exp $
+
+ 09 Dec 2013; Nathan Phillip Brink <binki@gentoo.org>
+ -unrealircd-3.2.10.1.ebuild:
+ Drop =unrealircd-3.2.10.1 for bug #492526.
07 Dec 2013; Agostino Sarubbo <ago@gentoo.org> unrealircd-3.2.10.2.ebuild:
Stable for ppc, wrt bug #492526
diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest
index 441393edc278..679b77cb64a9 100644
--- a/net-irc/unrealircd/Manifest
+++ b/net-irc/unrealircd/Manifest
@@ -1,31 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX unrealircd-3.2.9-disabled-stacked-extbans.patch 800 SHA256 b4005233ead9a7af056a4c33281ffcda3027cfd3af617e39b1de5438162863bc SHA512 586f59bf47e1fbe422979efd6219a7f8d9c1f648a342110910e26be6e8407383dc16af30a9791fde58712b21e4e216fa2f5b7ccfb001bc893f934f831031002d WHIRLPOOL 54ca41b6f129ea125f4fa23259edcb096d5eaedd0b00faf9f5a8f6254ab8085f5894881ce275a15e7a85382302ada1c04de2b1075ad4be5cab9207b9c2f58146
AUX unrealircd.confd-r1 1339 SHA256 d06a0d17b12171f7b83c8e9ab5ecb84ab5a98a0310b12f3eb969a5046a26f70a SHA512 88bff1811e86034eff6327e88fd95b6dd3cb243ee9dc6aab0d01dcf690b9d18f88ae4f3fe13e5a0728e6220e0dc7d0601a125c30cc914dbb242201a4bde2d751 WHIRLPOOL b25b05944af47b672c4603c1f11cc7e29abf2d0e9f7074815da6a8ab76650590ce0fc3d5d61bd97ec4ab283b50e2274799e1344389f6e6fc372d5ab3a9560fe6
AUX unrealircd.initd 1253 SHA256 5eb5be0b5d4d0ea3edb0b3829fe787401f3a1d8c51bbcde52fa612630b561fca SHA512 57aa1028bc2fb65894e71feb57669ec238c884475456b0a8eaac6b117835a905e5a24275bdd4400b327a662c99b06887e2c701ca077420ca6e140227d04181cd WHIRLPOOL 312f31f3c52c94f1228b955e63c79e7fbbc10eb7d6cce98a39521d8df89a5506068de7420f1d73302d801ac32ed7f6e018c29dc52e2011bec63a72fec01e516d
-DIST Unreal3.2.10.1.tar.gz 3135615 SHA256 79843002413a42deabed7d1471abc15944c94d3a41f02fcebc3601e50d282036 SHA512 cfa1d1be4a4e585f9d2c85320d07977f7b354b33cfb3b6e5a488ff079eaae613659817e9f4ac0c6d25f6edb1fb8fd80e009ed9df7b94b8e1c409d696da4a2e93 WHIRLPOOL 932dbc8e141f913d9511c5490a96c6825967f6a23cd4f1774e3aa8a61791c5d0245de2cfabcda87f2c125881c2a860d0f89cbf446b449adf6cc0190c14241358
DIST Unreal3.2.10.2.tar.gz 3520861 SHA256 70fd18c0b0f395e0e8d33109bd838f47d6d5317423bc8ea21173fc2e0a4b3d93 SHA512 e6191bf278e1734955a151b9982820e1ecd4839d2c0c669310671ac55107e5ba2135f0209519831cbc79634cc7fac3bf6feb3f9db85cb54785af4b36b61a6fa4 WHIRLPOOL 91784905668a9ec7dd5bcc4c5be49b9e4549a751b99b9bfd641037cb1cd836d5c1684f94c83870f5e02ca928be9f7af999b774023284388c43d5c40cf612f9a6
DIST Unreal3.2.9.tar.gz 3064571 SHA256 3f581a331825d9179f5367ea6367dd0dc71c7ba615ac3c0134332086bee0e1d8 SHA512 6f18c2e9282c2417d34fa4ace8be183394ec896abcb9f9b0d87fb61013360a6281fb151a73b03379c5fcc1f30235ba6c3420c709df273cf1887f8e7d95d6a686 WHIRLPOOL e589a4c02de158e14b9e52a4297a73b1c107a724e13526447907714d7eee4f21a7a8d70f8f301a137847dc6cb83f6424d0c128a9b9a526ef0ce0d09f675dc874
-EBUILD unrealircd-3.2.10.1.ebuild 6566 SHA256 b6d233ee9a6193548d140118100d41d15b4e10de616a24fa1a893728ddad4a2d SHA512 57c8df3b6f2b98bfe3945b033992016d70b0421c7270e7a164684c7922017a0057c5a27a29418f362d25ffd4a4c6a0d2fdbb240add0f03e47b1fd85e932b1db0 WHIRLPOOL 57e1673ce146aeb1e1091defbc18e3759cc9dfaeafd066fd7bb6c7eead246e5c17aacb36d93a7fad481cc3fe8a8b2c7963d81b83960fe3ee1f720a3964ae00ac
EBUILD unrealircd-3.2.10.2.ebuild 6564 SHA256 0ade615bed714422149676ce46eb72b35d30e09bed64eafb0b71cf2b3a264779 SHA512 46f0370b8ef7342fbffefbbdc77c48526bbd2c23391d49323aee453987ab7487be800d42e9e32907df88ea7e14f127e66ee01c805cf19bf8357d81e27a78bca6 WHIRLPOOL b571dd1d4bc1a6e90d5027597476c7bf6dd824789937f78baf9da683f0ac895981bb0163fb8d66a1252e07e6e4c2047785a2e832e73ec4d20b52806152e5bc58
EBUILD unrealircd-3.2.9.ebuild 4664 SHA256 44bdc50d9cff4be12140efff619ec03810cd74a127f12ca561dfab03051b41a9 SHA512 e6d028ffc27564a139e2e6c5ea80a95a463c86e463bafdb8233e60be6abe653d3a04beed287555ba030eff61a5cddba7da6271a8b7881eb4147d834480f1c239 WHIRLPOOL c4c35cc7846904d1d0c09586133cb4926c4eceae5b7c2009ca091ccc9cbd60f47c10cd55fca7ab1ca9bcbba5ad55c448ac3120807c134fe66dc2a466ad59cad5
-MISC ChangeLog 17520 SHA256 c6e579dae856f38d25ade0a8b96506934a8e7494784d5c1d31e2decd2095c3fd SHA512 c2727ee208a7efac501bc0de6ab924b07b166312223144d703646382fe3124f890409a6feb5f834e06f12f18ec747297c4eb80279cf2bb9bc9fc732cfa653c0e WHIRLPOOL 63a7d5f038475575097cf20f128890257b9efb4e94f87fca63959f62efc0887af7902cbfcc165a551a809c823956fc2202206f7de0cc96f0ca7e3c3f2f0d6210
+MISC ChangeLog 17654 SHA256 594339a7806ed1e08f35c96321666a1690170323b60472b51ccb1b1994f53a33 SHA512 2d83ed9f2cb7d2ea90f61a34c6deb1ec934127037df9aef120dd0df7d85aed8c689cf28d5ec3d9345d3419d745951a861372c07a7723edeef166f950b9f98327 WHIRLPOOL bdfa3710a397a8d689c88583d44af6db444cc19c9785706fc39297d702ff28561ea339f94f90dddb104ab6de85d41a4a8a689f42baf6dbe7a643a7b78ccaa7b2
MISC metadata.xml 1206 SHA256 ef13b97c20ebb2a78aeb354c28a8d56a2492e97c77d6a8df326f4acad5498ba5 SHA512 b2d2e0ac3d6a6fab210c9a4e32a75ee7fe69b21c7801b77feffa26c6fa3fb034928d58cfce8a011606e054d118d2bde51a742a55b19735a71b7599b2f5de552f WHIRLPOOL 3235a2b69ddc27e73e43df66b6969e762665ba6798a4447ee8a077fce2939e34c0b705c972965329991ec04168b68cc3b419fbabecdbc294e99dcf174cb258d6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iQIcBAEBCgAGBQJSo3H3AAoJELp701BxlEWfnmEQAKjIA3FLE4+H6sYu7dlellPi
-VfXNHy6OIwHD6BmyTcLDvFRBB7HUbIuGikMtqQ/xmATtX0N1uiHciYnIa4COpdMI
-fmBwOzQjoMMf/q7CvdyRdtRR4NvkPnljmfzH5pwqiGEE47P1AiRx/uTTqEJcKcSZ
-DQWktNeKYCLv4p514xbv2Xtlbn7qbaACCpsLNht2Y7fCej4SjR1LAPsjHOI3kep6
-kOzwFxHbfTNh2vXrHMZdfrKLTSczILhO0875777AZtriWs1LyLD5taDPzstPA3Iu
-7JyMwKTc0KzwJx1S9AaVhOgS46Ll9wKXAKiMIv30IiCao/dYe2tl8hoCax4PaEJ3
-FCYDa1Eo+gUj4wETOyhTafNwqcmk3IOuR03UdRo0CCYeB5H0SG6/L3g93lwYaJin
-asbSllq1XzSP5Pw2EF/kxxZDAcL/LCNBM7EgvmB/p5erN4Kmyj19svhk2fL55O21
-RrUgCx5FS78XZm/MTROCp/hxue+3JuG2fIDDCczdHBg6QKvGXF0DEhsVZpfNKeKD
-mYzGbaGca+RwW5+C3rz1fRnjoxjmz8REk/Wu00Hpg34AAWcbao0+Yp18wn0Cva/9
-PfxqLYmKm8kT+RkJXIiH3pP701Qxq03SM7t7Z8G1o/V+opcO5ypUFCPvM4zFPwrE
-++40J3r1GOWdiIr00c+a
-=6368
+iQIcBAEBCAAGBQJSpT+zAAoJEHQ6UuhrqBBQDGcP/jdK+LI7d+AtJN+iKZun49oB
+TpQxrzxEtx9bnCSLP3J0Dd3p/nJZbJzDnZ+N6jkV2Thl7yrQ6kc82TEJd41bYdUc
+TkQ5X8BPm+ohweZx4Zae9L8U74uCixhKnu79pUeO5/KOubNMAH/SF3hhpjnvl5bd
+KyRUX81ORWB0hwFP3XAlqqV8XAsT1WtlJhvSryKVvmq3iiSOcw5vd8fNw1RyjESU
+CdDVjXaCTHSwsvRmYOUBgYaMuUwMcpgRB/ziNtQR6kIyEgWG37XledeI0nPwi3BD
+Lpx6LHFwAHbI3opNOCBZVAGh+5VEvqFhb0/pFLykaDReo2OGP1o3ooK3VyrPSvIx
+F/hvrpX/HPwmwqTX2fQFjy0hNcnt1XhWItMrkye852N+jfGctpA0c8GEvUt5fJ+J
+Obre9osOrNoL/OBb0smevKIjNynavJ7Nn3Z+De/2nURQLwGD4vUaKUIYkSk/J++z
+keIxnoLgHbStcADNRQrzJ3VZ0x9ZvZcXInIaNroxHcP3JGSzZT02AzS3loqkyqmA
+tbhPYEllihUPc5EMU8PuIqZQAt19LEwV47FZHhh8yfNEiFkxSkIW5QH3SMAb6Yzq
+/Q4bLs5Qj60AujshFalzd/jgwuPo1sP0qILJc3oxJ9dAYwPQ/qDE+A3M+D+w+xbx
+YZiyGs2EqwdORKTmttZG
+=0ISV
-----END PGP SIGNATURE-----
diff --git a/net-irc/unrealircd/unrealircd-3.2.10.1.ebuild b/net-irc/unrealircd/unrealircd-3.2.10.1.ebuild
deleted file mode 100644
index 3bbc2dd68069..000000000000
--- a/net-irc/unrealircd/unrealircd-3.2.10.1.ebuild
+++ /dev/null
@@ -1,209 +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/unrealircd/unrealircd-3.2.10.1.ebuild,v 1.6 2013/11/18 17:06:50 binki Exp $
-
-EAPI=4
-
-inherit eutils ssl-cert versionator multilib user
-
-MY_P=Unreal${PV/_/-}
-
-DESCRIPTION="An advanced Internet Relay Chat daemon"
-HOMEPAGE="http://www.unrealircd.com/"
-SRC_URI="http://www.unrealircd.com/downloads/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux"
-IUSE="curl ipv6 +extban-stacking +operoverride operoverride-verify +prefixaq
- showlistmodes shunnotices ssl topicisnuhost +usermod zlib"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl[adns] )
- dev-libs/tre
- >=net-dns/c-ares-1.7"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4
- virtual/pkgconfig"
-
-S=${WORKDIR}/Unreal${PV}
-
-pkg_setup() {
- enewuser unrealircd
-}
-
-src_prepare() {
- # QA check against bundled pkgs
- rm extras/*.gz || die
-
- sed -i \
- -e "s:ircd\.pid:${EPREFIX}/var/run/unrealircd/ircd.pid:" \
- -e "s:ircd\.log:${EPREFIX}/var/log/unrealircd/ircd.log:" \
- -e "s:debug\.log:${EPREFIX}/var/log/unrealircd/debug.log:" \
- -e "s:ircd\.tune:${EPREFIX}/var/lib/unrealircd/ircd.tune:" \
- include/config.h \
- || die "sed failed"
-}
-
-src_configure() {
- econf \
- --with-listen=5 \
- --with-dpath="${EPREFIX}"/etc/unrealircd \
- --with-spath="${EPREFIX}"/usr/bin/unrealircd \
- --with-nick-history=2000 \
- --with-sendq=3000000 \
- --with-bufferpool=18 \
- --with-permissions=0600 \
- --with-fd-setsize=1024 \
- --with-system-cares \
- --with-system-tre \
- --enable-dynamic-linking \
- $(use_enable curl libcurl "${EPREFIX}"/usr) \
- $(use_enable ipv6 inet6) \
- $(use_enable prefixaq) \
- $(use_enable ssl ssl "${EPREFIX}"/usr) \
- $(use_enable zlib ziplinks "${EPREFIX}"/usr) \
- $(use_with showlistmodes) \
- $(use_with topicisnuhost) \
- $(use_with shunnotices) \
- $(use_with !operoverride no-operoverride) \
- $(use_with operoverride-verify) \
- $(use_with !usermod disableusermod) \
- $(use_with !extban-stacking disable-extendedban-stacking)
-}
-
-src_install() {
- keepdir /var/{lib,log}/unrealircd
-
- newbin src/ircd unrealircd
-
- exeinto /usr/$(get_libdir)/unrealircd/modules
- doexe src/modules/*.so
-
- dodir /etc/unrealircd
- dosym /var/lib/unrealircd /etc/unrealircd/tmp
-
- insinto /etc/unrealircd
- doins {badwords.*,help,spamfilter,dccallow}.conf
- newins doc/example.conf unrealircd.conf
-
- insinto /etc/unrealircd/aliases
- doins aliases/*.conf
-
- local so_suffix=so
- [[ ${CHOST} == -*mingw* ]] && so_suffix=dll
- sed -i \
- -e s:src/modules:"${EPREFIX}"/usr/$(get_libdir)/unrealircd/modules: \
- -e '/loadmodule.*\.'${so_suffix}'/s;^//;;' \
- -e s:ircd\\.log:"${EPREFIX}"/var/log/unrealircd/ircd.log: \
- "${ED}"/etc/unrealircd/unrealircd.conf \
- || die
-
- dodoc \
- Changes Donation Unreal.nfo \
- ircdcron/{ircd.cron,ircdchk} \
- || die "dodoc failed"
- dohtml doc/*.html
-
- newinitd "${FILESDIR}"/unrealircd.initd unrealircd
- newconfd "${FILESDIR}"/unrealircd.confd-r1 unrealircd
-
- # config should be read-only
- fperms -R 0640 /etc/unrealircd{,/aliases}
- fperms 0750 /etc/unrealircd{,/aliases}
- # state is editable but not owned by unrealircd directly
- fperms 0770 /var/{lib,log}/unrealircd
- fowners -R root:unrealircd /{etc,var/{lib,log}}/unrealircd
-}
-
-pkg_preinst() {
- # Must pre-create directories; otherwise their permissions are lost
- # on installation.
-
- # Usage: _unrealircd_dir_permissions <user> <group> <mode> <dir>[, <dir>…]
- #
- # Ensure that directories are created with the correct permissions
- # before portage tries to merge them to the filesystem because,
- # otherwise, those directories are installed world-readable.
- #
- # If this is a first-time install, create those directories with
- # correct permissions before installing. Otherwise, update
- # permissions—but only if we are replacing an unrealircd ebuild at
- # least as old as net-irc/unrealircd-3.2.10. Portage handles normal
- # file permissions correctly, so no need for recursive
- # chmoding/chowning.
- _unrealircd_dir_permissions() {
- local user=${1} group=${2} mode=${3} dir v
- shift 3
- while dir=${1} && shift; do
- if [[ ! -d "${EROOT}${dir}" ]]; then
- ebegin "Creating ${EROOT}${dir} with correct permissions"
- install -d -m "${mode}" -o "${user}" -g "${group}" "${EROOT}${dir}" || die
- eend ${?}
- elif ! [[ ${REPLACING_VERSIONS} ]] || for v in ${REPLACING_VERSIONS}; do
- # If 3.2.10 ≤ ${REPLACING_VERSIONS}, then we update
- # existing permissions.
- version_is_at_least "${v}" 3.2.10 && break
- done; then
- ebegin "Correcting permissions of ${EROOT}${dir} left by ${CATEGORY}/${PN}-${v}"
- chmod "${mode}" "${EROOT}${dir}" \
- && chown ${user}:${group} "${EROOT}${dir}" \
- || die "Unable to correct permissions of ${EROOT}${dir}"
- eend ${?}
- fi
- done
- }
-
- # unrealircd only needs to be able to read files in /etc/unrealircd.
- _unrealircd_dir_permissions root unrealircd 0750 etc/unrealircd{,/aliases}
-
- # unrealircd needs to be able to create files in /var/lib/unrealircd
- # and /var/log/unrealircd.
- _unrealircd_dir_permissions root unrealircd 0770 var/{lib,log}/unrealircd
-}
-
-pkg_postinst() {
- # Move docert call from scr_install() to install_cert in pkg_postinst for
- # bug #201682
- if use ssl ; then
- if [[ ! -f "${EROOT}"/etc/unrealircd/server.cert.key ]]; then
- install_cert /etc/unrealircd/server.cert
- chown unrealircd "${EROOT}"/etc/unrealircd/server.cert.*
- chmod 0640 "${EROOT}"/etc/unrealircd/server.cert.*
- ln -snf server.cert.key "${EROOT}"/etc/unrealircd/server.key.pem
- fi
- fi
-
- local unrealircd_conf="${EROOT}"/etc/unrealircd/unrealircd.conf
- # Fix up the default cloak keys.
- if grep -qe '"and another one";$' "${unrealircd_conf}" && grep -qe '"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";$' "${unrealircd_conf}"; then
- ebegin "Generating cloak-keys"
- local keys=(
- $(unrealircd -k 2>&1 | tail -n 3)
- )
- [[ -n ${keys[0]} || -n ${keys[1]} || -n ${keys[2]} ]]
- eend $?
-
- ebegin "Substituting cloak-keys into ${unrealircd_conf}"
- sed -i \
- -e '/cloak-keys/ {
-n
-s/"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";/"'"${keys[0]}"'";/
-n
-s/"and another one";/"'"${keys[1]}"'";/
-n
-s/"and another one";/"'"${keys[2]}"'";/
-}' \
- "${unrealircd_conf}"
- eend $?
- fi
-
- elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf"
- elog
- elog "You can find example cron scripts here:"
- elog " /usr/share/doc/${PF}/ircd.cron.gz"
- elog " /usr/share/doc/${PF}/ircdchk.gz"
- elog
- elog "You can also use /etc/init.d/unrealircd to start at boot"
-}