summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-irc/unrealircd/ChangeLog6
-rw-r--r--net-irc/unrealircd/Manifest30
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.10-r1.ebuild209
3 files changed, 19 insertions, 226 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog
index 183477be82d2..d9773a71f0e7 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.111 2013/12/03 05:34:42 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.112 2013/12/03 05:37:20 binki Exp $
+
+ 03 Dec 2013; Nathan Phillip Brink <binki@gentoo.org>
+ -unrealircd-3.2.10-r1.ebuild:
+ Drop unrealircd-3.2.10-r1, old and never stabilized.
*unrealircd-3.2.10.2 (03 Dec 2013)
diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest
index 80b2a75cbb2b..9b2693813677 100644
--- a/net-irc/unrealircd/Manifest
+++ b/net-irc/unrealircd/Manifest
@@ -6,28 +6,26 @@ AUX unrealircd.confd-r1 1339 SHA256 d06a0d17b12171f7b83c8e9ab5ecb84ab5a98a0310b1
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.10.tar.gz 3132312 SHA256 91a6fb61072fae60ad4620b1c45ad594b4c636871e838e75f1cc9dbe261c5df2 SHA512 fdd656ff014e74d2213bf52fb56f73abcfebdb201e1fa4ef5f4ef76e99fbee4ae128458c718a57beff49cbc132dd1b4408ffb137a080327d12f190a74e9d4712 WHIRLPOOL 28f39831c16720c97a7415e2a07b4a853f3f1526d77d8441f3f19956d5a9531ca93bbea33c1d8d62d33547db240f2f52651b303d73ea56a2c6871ddba49f459a
DIST Unreal3.2.9.tar.gz 3064571 SHA256 3f581a331825d9179f5367ea6367dd0dc71c7ba615ac3c0134332086bee0e1d8 SHA512 6f18c2e9282c2417d34fa4ace8be183394ec896abcb9f9b0d87fb61013360a6281fb151a73b03379c5fcc1f30235ba6c3420c709df273cf1887f8e7d95d6a686 WHIRLPOOL e589a4c02de158e14b9e52a4297a73b1c107a724e13526447907714d7eee4f21a7a8d70f8f301a137847dc6cb83f6424d0c128a9b9a526ef0ce0d09f675dc874
-EBUILD unrealircd-3.2.10-r1.ebuild 6599 SHA256 be47809730ee43c769bfde41d640f210505ca22f7d2f7e90b875c7085e08617b SHA512 395e4a5f6bd01898e8cf287e690bbebe1001a085dbe985d8c17ce87b7d6b0de5d0c86b6a32664debbc86bf252dcf19dbeaf578ca4e7d6f16250a11f3f6b99af4 WHIRLPOOL 187dc7ccb32e416f270a8acd4d6111121d15df1c8c20e9279404569c704a27f5052456eef4c0b62572de051089e7375ee9d5baa639281954396039ac2061e4ae
EBUILD unrealircd-3.2.10.1.ebuild 6566 SHA256 b6d233ee9a6193548d140118100d41d15b4e10de616a24fa1a893728ddad4a2d SHA512 57c8df3b6f2b98bfe3945b033992016d70b0421c7270e7a164684c7922017a0057c5a27a29418f362d25ffd4a4c6a0d2fdbb240add0f03e47b1fd85e932b1db0 WHIRLPOOL 57e1673ce146aeb1e1091defbc18e3759cc9dfaeafd066fd7bb6c7eead246e5c17aacb36d93a7fad481cc3fe8a8b2c7963d81b83960fe3ee1f720a3964ae00ac
EBUILD unrealircd-3.2.10.2.ebuild 6569 SHA256 5d1c26640a40256de47702b8627a5edc7a6655e59ed827590d0fde71828ac511 SHA512 8ea381fad7137277d5b14ea91e2b595bfb2e3c8ab0c1c8517bedca8a0ae399a96d7699f347d9ef0c62ccdfea04de3468c6335fdfdc8d4349d5a20c0e92f369a3 WHIRLPOOL 21f1cae557498d712c429d243cf87b5bc52fb3f733a17abfdf071ea43fa295c5232608ed0246ce6eb885da8b4d8828e6cbe583c6ff8c99a1d29e50be7dd237e6
EBUILD unrealircd-3.2.9.ebuild 4664 SHA256 44bdc50d9cff4be12140efff619ec03810cd74a127f12ca561dfab03051b41a9 SHA512 e6d028ffc27564a139e2e6c5ea80a95a463c86e463bafdb8233e60be6abe653d3a04beed287555ba030eff61a5cddba7da6271a8b7881eb4147d834480f1c239 WHIRLPOOL c4c35cc7846904d1d0c09586133cb4926c4eceae5b7c2009ca091ccc9cbd60f47c10cd55fca7ab1ca9bcbba5ad55c448ac3120807c134fe66dc2a466ad59cad5
-MISC ChangeLog 17041 SHA256 a1a0a5533ed2349c2ef1b9b0568965677cce7057ecd2c1aa30f26f84a7f6bda2 SHA512 92d4d4b73c2c1899feacc2ceb979719d91a6a855e80803b3151dcfd1ce6121eea21981f63e2770b012c9c82868533d90fd0b64fca602c86a5009eb51e87b443c WHIRLPOOL 6f7c14b8f3e8e8ac0d0c6e7311a553cc9a21cc74e592dfbbb8d1b8615a811a4c6111dd0d6e5c1c2b225530fd4913d8bd7287d501465dfacebab7bafdb064763b
+MISC ChangeLog 17184 SHA256 e664b6914a50483ab5141d4d770c2ded4b30c1ae21a0709d50c3fd1e6fcdda2a SHA512 50591b1c12adc413c9294558f91a7256ef3a305289ff371c79ce718dbdfbab65eeff60b366084dcbfb47bcb44ec5c0ea5dedecb49a5a55034da2af2b1f3ae908 WHIRLPOOL 44f89b6073ca21ac73f3dee57cd2b100a12bd5182f1712d86931ff65a79ee461bb73d8deae7e17e3100dd1e275858a6cc3bcbc5f98368008981c86901edc6673
MISC metadata.xml 1206 SHA256 ef13b97c20ebb2a78aeb354c28a8d56a2492e97c77d6a8df326f4acad5498ba5 SHA512 b2d2e0ac3d6a6fab210c9a4e32a75ee7fe69b21c7801b77feffa26c6fa3fb034928d58cfce8a011606e054d118d2bde51a742a55b19735a71b7599b2f5de552f WHIRLPOOL 3235a2b69ddc27e73e43df66b6969e762665ba6798a4447ee8a077fce2939e34c0b705c972965329991ec04168b68cc3b419fbabecdbc294e99dcf174cb258d6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iQIcBAEBCAAGBQJSnW11AAoJEHQ6UuhrqBBQ0WkP/R/3hGIqgtU4jFfssP3E1vH8
-bTdWF1a50p4IcEzosOI2VxD6zMzB+V+DFZ86nP9EsZga1idjoo1CTaYmTdWUqaJj
-8PDpy/vI21/B8ThPwf28Yr5rvY5Q/JQxGLdutjJnkbEY4qWxMxw1KYh/+ecOS3tC
-uwau1PmjI4s8yEoxhxPuDYB148pvRmUID71BeCaPK2DHkqyM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v/PFEtnx0QzFsMPm4WNTCdYNy7Yx6W3OJoQMPa+UW
+iZeJ1HOPuJUKk6CzETU5/Yj8QHQ+46C5YlU8L2mF0miSgmNpM/OlMT74czl1hgZG
+NHsf3+v/Iv/yl29sz3/2wFEYxcvlPJphm8T7QtXIzmNa7p9y90JRah9QH0I6GpES
+iKtcnqhRTlmzBwsTocDr
+=kawS
-----END PGP SIGNATURE-----
diff --git a/net-irc/unrealircd/unrealircd-3.2.10-r1.ebuild b/net-irc/unrealircd/unrealircd-3.2.10-r1.ebuild
deleted file mode 100644
index 66ad4babd343..000000000000
--- a/net-irc/unrealircd/unrealircd-3.2.10-r1.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-r1.ebuild,v 1.3 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$(get_version_component_range 1-3)
-
-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"
-}