summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-12-05 03:08:23 +0000
committerSven Wegener <swegener@gentoo.org>2004-12-05 03:08:23 +0000
commit9918fa8670221b4adcd3757f6549efa2a47b7904 (patch)
tree3c05f210eba77457275db9c436724be3fdd82e8a
parentNew version on cpan (Manifest recommit) (diff)
downloadgentoo-2-9918fa8670221b4adcd3757f6549efa2a47b7904.tar.gz
gentoo-2-9918fa8670221b4adcd3757f6549efa2a47b7904.tar.bz2
gentoo-2-9918fa8670221b4adcd3757f6549efa2a47b7904.zip
Version bump.
-rw-r--r--net-irc/unrealircd/ChangeLog8
-rw-r--r--net-irc/unrealircd/Manifest16
-rw-r--r--net-irc/unrealircd/files/digest-unrealircd-3.2.21
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild34
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.2.ebuild125
5 files changed, 154 insertions, 30 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog
index 2f6fc427b947..a2def544fdb0 100644
--- a/net-irc/unrealircd/ChangeLog
+++ b/net-irc/unrealircd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/unrealircd
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.25 2004/10/17 01:21:40 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.26 2004/12/05 03:08:23 swegener Exp $
+
+*unrealircd-3.2.2 (05 Dec 2004)
+
+ 05 Dec 2004; Sven Wegener <swegener@gentoo.org>
+ unrealircd-3.2.1-r1.ebuild, +unrealircd-3.2.2.ebuild:
+ Version bump.
17 Oct 2004; Sven Wegener <swegener@gentoo.org>
-files/3.1.5.1-Config.patch, -files/3.1.6-Config.patch,
diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest
index 96620201269a..5bb2f8ed2836 100644
--- a/net-irc/unrealircd/Manifest
+++ b/net-irc/unrealircd/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 aee1cde8f29d1c5c8158671bbdc8444f unrealircd-3.2.1-r1.ebuild 3255
+MD5 8a3c00ffd336bf6d61760bb528f39789 unrealircd-3.2.2.ebuild 3256
MD5 86b540598a7a50e51a60046016c4ec14 ChangeLog 3807
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
-MD5 aee1cde8f29d1c5c8158671bbdc8444f unrealircd-3.2.1-r1.ebuild 3255
-MD5 973bf222cdc1696d8ff91b30c1198fba files/digest-unrealircd-3.2.1-r1 64
MD5 d9a803f03c66dbd732f2ffb356cb589a files/unrealircd.confd 499
+MD5 36fae861d1696324ae16bbc919e49d4f files/digest-unrealircd-3.2.2 64
+MD5 973bf222cdc1696d8ff91b30c1198fba files/digest-unrealircd-3.2.1-r1 64
MD5 9758629d4e608b7a45c17c340c9b4f13 files/unrealircd.rc 640
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBcckrI1lqEGTUzyQRAp/nAKCdRLiHvijuoj5YNXLkQBVqsaBXBQCcCXmT
-ofX8nKsSBz7zkCXfW+aKjmo=
-=aX02
------END PGP SIGNATURE-----
diff --git a/net-irc/unrealircd/files/digest-unrealircd-3.2.2 b/net-irc/unrealircd/files/digest-unrealircd-3.2.2
new file mode 100644
index 000000000000..8a8413e62623
--- /dev/null
+++ b/net-irc/unrealircd/files/digest-unrealircd-3.2.2
@@ -0,0 +1 @@
+MD5 75dc34b59d987a91e25290b29986149e Unreal3.2.2.tar.gz 1706123
diff --git a/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild b/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild
index 4b15b3723586..25d9966d30a6 100644
--- a/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild
+++ b/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild
@@ -1,6 +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/unrealircd/unrealircd-3.2.1-r1.ebuild,v 1.5 2004/10/03 19:56:38 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild,v 1.6 2004/12/05 03:08:23 swegener Exp $
inherit eutils ssl-cert
@@ -66,42 +66,42 @@ src_compile() {
}
src_install() {
- keepdir /var/{lib,log,run}/unrealircd
+ keepdir /var/{lib,log,run}/unrealircd || die "keepdir failed"
- newbin src/ircd unrealircd
+ newbin src/ircd unrealircd || die "newbin failed"
exeinto /usr/lib/unrealircd/modules
- doexe src/modules/*.so
+ doexe src/modules/*.so || die "doexe failed"
- dodir /etc/unrealircd
- dosym /var/lib/unrealircd /etc/unrealircd/tmp
+ dodir /etc/unrealircd || die "dodir failed"
+ dosym /var/lib/unrealircd /etc/unrealircd/tmp || die "dosym failed"
insinto /etc/unrealircd
- doins badwords.*.conf help.conf spamfilter.conf dccallow.conf
- newins doc/example.conf unrealircd.conf
+ doins {badwords.*,help,spamfilter,dccallow}.conf || die "doins failed"
+ newins doc/example.conf unrealircd.conf || die "newins failed"
use ssl \
&& docert server.cert \
&& dosym server.cert.key /etc/unrealircd/server.key.pem
insinto /etc/unrealircd/aliases
- doins aliases/*.conf
+ doins aliases/*.conf || die "doins failed"
insinto /etc/unrealircd/networks
- doins networks/*.network
+ doins networks/*.network || die "doins failed"
sed -i \
-e s:src/modules:/usr/lib/unrealircd/modules: \
-e s:ircd\\.log:/var/log/unrealircd/ircd.log: \
${D}/etc/unrealircd/unrealircd.conf
- dodoc Changes Donation Unreal.nfo networks/makenet \
- ircdcron/{ircd.cron,ircdchk}
- dohtml doc/*.html
+ dodoc \
+ Changes Donation Unreal.nfo networks/makenet \
+ ircdcron/{ircd.cron,ircdchk} \
+ || die "dodoc failed"
+ dohtml doc/*.html || die "dohtml failed"
- exeinto /etc/init.d
- newexe ${FILESDIR}/unrealircd.rc unrealircd
- insinto /etc/conf.d
- newins ${FILESDIR}/unrealircd.confd unrealircd
+ newinitd ${FILESDIR}/unrealircd.rc unrealircd || die "newinitd failed"
+ newconfd ${FILESDIR}/unrealircd.confd unrealircd || die "newconfd failed"
fperms 700 /etc/unrealircd
}
diff --git a/net-irc/unrealircd/unrealircd-3.2.2.ebuild b/net-irc/unrealircd/unrealircd-3.2.2.ebuild
new file mode 100644
index 000000000000..17798e415126
--- /dev/null
+++ b/net-irc/unrealircd/unrealircd-3.2.2.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.2.ebuild,v 1.1 2004/12/05 03:08:23 swegener Exp $
+
+inherit eutils ssl-cert
+
+MY_P=Unreal${PV}
+
+DESCRIPTION="aimed to be an advanced (not easy) IRCd"
+HOMEPAGE="http://www.unrealircd.com/"
+SRC_URI="http://www.gower.net/unrealircd/${MY_P}.tar.gz
+ ftp://unreal.secure-tech.net/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE="hub ipv6 ssl zlib"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/Unreal3.2
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "s:ircd\.pid:/var/run/unrealircd/ircd.pid:" \
+ -e "s:ircd\.log:/var/log/unrealircd/ircd.log:" \
+ -e "s:debug\.log:/var/log/unrealircd/debug.log:" \
+ -e "s:ircd\.tune:/var/lib/unrealircd/ircd.tune:" \
+ include/config.h
+}
+
+src_compile() {
+ local myconf=""
+ use hub && myconf="${myconf} --enable-hub"
+ use ipv6 && myconf="${myconf} --enable-inet6"
+ use zlib && myconf="${myconf} --enable-ziplinks"
+ use ssl && myconf="${myconf} --enable-ssl"
+
+ econf \
+ --with-listen=5 \
+ --with-dpath=${D}/etc/unrealircd \
+ --with-spath=/usr/bin/unrealircd \
+ --with-nick-history=2000 \
+ --with-sendq=3000000 \
+ --with-bufferpool=18 \
+ --with-hostname=$(hostname -f) \
+ --with-permissions=0600 \
+ --with-fd-setsize=1024 \
+ --enable-dynamic-linking \
+ --enable-prefixaq \
+ ${myconf} \
+ || die "econf failed"
+
+ sed -i \
+ -e "s:${D}::" \
+ include/setup.h \
+ ircdcron/ircdchk
+
+ emake IRCDDIR=/etc/unrealircd || die "emake failed"
+}
+
+src_install() {
+ keepdir /var/{lib,log,run}/unrealircd || die "keepdir failed"
+
+ newbin src/ircd unrealircd || die "newbin failed"
+
+ exeinto /usr/lib/unrealircd/modules
+ doexe src/modules/*.so || die "doexe failed"
+
+ dodir /etc/unrealircd || die "dodir failed"
+ dosym /var/lib/unrealircd /etc/unrealircd/tmp || die "dosym failed"
+
+ insinto /etc/unrealircd
+ doins {badwords.*,help,spamfilter,dccallow}.conf || die "doins failed"
+ newins doc/example.conf unrealircd.conf || die "newins failed"
+
+ use ssl \
+ && docert server.cert \
+ && dosym server.cert.key /etc/unrealircd/server.key.pem
+
+ insinto /etc/unrealircd/aliases
+ doins aliases/*.conf || die "doins failed"
+ insinto /etc/unrealircd/networks
+ doins networks/*.network || die "doins failed"
+
+ sed -i \
+ -e s:src/modules:/usr/lib/unrealircd/modules: \
+ -e s:ircd\\.log:/var/log/unrealircd/ircd.log: \
+ ${D}/etc/unrealircd/unrealircd.conf
+
+ dodoc \
+ Changes Donation Unreal.nfo networks/makenet \
+ ircdcron/{ircd.cron,ircdchk} \
+ || die "dodoc failed"
+ dohtml doc/*.html || die "dohtml failed"
+
+ newinitd ${FILESDIR}/unrealircd.rc unrealircd || die "newinitd failed"
+ newconfd ${FILESDIR}/unrealircd.confd unrealircd || die "newconfd failed"
+
+ fperms 700 /etc/unrealircd
+}
+
+pkg_postinst() {
+ enewuser unrealircd
+ chown unrealircd \
+ ${ROOT}/{etc,var/{lib,log,run}}/unrealircd \
+ ${ROOT}/etc/unrealircd/server.cert.{key,pem} \
+ ${ROOT}/etc/unrealircd/*.conf
+
+ einfo
+ einfo "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf"
+ einfo
+ einfo "You can find example cron scripts here:"
+ einfo " /usr/share/doc/${PF}/ircd.cron.gz"
+ einfo " /usr/share/doc/${PF}/ircdchk.gz"
+ einfo
+ einfo "You can also use /etc/init.d/unrealircd to start at boot"
+ einfo
+}