summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-02-20 16:05:06 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-02-20 16:05:06 +0000
commit084b79f5364c3e7fe674c677b82a17e2e0544791 (patch)
tree817ea033a9bcb09b90fceb791e90d0528adf907c /net-irc/ircservices
parentold (diff)
downloadhistorical-084b79f5364c3e7fe674c677b82a17e2e0544791.tar.gz
historical-084b79f5364c3e7fe674c677b82a17e2e0544791.tar.bz2
historical-084b79f5364c3e7fe674c677b82a17e2e0544791.zip
old
Package-Manager: portage-2.1.2-r10
Diffstat (limited to 'net-irc/ircservices')
-rw-r--r--net-irc/ircservices/ChangeLog6
-rw-r--r--net-irc/ircservices/Manifest42
-rw-r--r--net-irc/ircservices/files/digest-ircservices-5.0.533
-rw-r--r--net-irc/ircservices/files/digest-ircservices-5.0.543
-rw-r--r--net-irc/ircservices/files/digest-ircservices-5.0.573
-rw-r--r--net-irc/ircservices/ircservices-5.0.53.ebuild95
-rw-r--r--net-irc/ircservices/ircservices-5.0.54.ebuild95
-rw-r--r--net-irc/ircservices/ircservices-5.0.57.ebuild95
8 files changed, 9 insertions, 333 deletions
diff --git a/net-irc/ircservices/ChangeLog b/net-irc/ircservices/ChangeLog
index cb537e8d4653..9e12bdc9f3f1 100644
--- a/net-irc/ircservices/ChangeLog
+++ b/net-irc/ircservices/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/ircservices
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.29 2007/02/11 06:58:07 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.30 2007/02/20 16:05:06 armin76 Exp $
+
+ 20 Feb 2007; Raúl Porcel <armin76@gentoo.org> -ircservices-5.0.53.ebuild,
+ -ircservices-5.0.54.ebuild, -ircservices-5.0.57.ebuild:
+ old
11 Feb 2007; Joseph Jezak <josejx@gentoo.org> ircservices-5.0.59.ebuild:
Marked ppc stable for bug #152486.
diff --git a/net-irc/ircservices/Manifest b/net-irc/ircservices/Manifest
index 041b3b2d0538..35b8dafd79c1 100644
--- a/net-irc/ircservices/Manifest
+++ b/net-irc/ircservices/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 5.0.37-fPIC.patch 1172 RMD160 2fd0bbbb606ad26229c62ca64430cf1ebb0f8654 SHA1 15a1dba81a02681f1682efb8c007d2b51045e496 SHA256 a04e0ec338d84a1f1f64233af4aeeadd4f216032063347bec275b4e5ff5c9114
MD5 0dc39b8e38a74a2fca213bf4e2f63d3e files/5.0.37-fPIC.patch 1172
RMD160 2fd0bbbb606ad26229c62ca64430cf1ebb0f8654 files/5.0.37-fPIC.patch 1172
@@ -17,50 +14,19 @@ AUX ircservices.init.d 764 RMD160 e54f5a09c99c9aea230013afe01b02080aa793b4 SHA1
MD5 d01ec4bcde642d200705f60bdaa7ed2d files/ircservices.init.d 764
RMD160 e54f5a09c99c9aea230013afe01b02080aa793b4 files/ircservices.init.d 764
SHA256 9dacabf713916d88b6c03af21c0a449f527e9c19d1e9f1c56aeeeeb68586bdbd files/ircservices.init.d 764
-DIST ircservices-5.0.53.tar.gz 1150179 RMD160 37b39e15ce0c66a0308da8f8d4b6817d3ca304dc SHA1 972fc52bcd62dd842ed5a6d62805ec84dd080898 SHA256 5ad4a307346a0d002274000af67da2d0dd3b0a41fdc52f68bede196e65c2d2a9
-DIST ircservices-5.0.54.tar.gz 1151132 RMD160 9a105045c644f0f3329886e882947612fc285fdb SHA1 0274c68dc90805f75b57bbbc49465c604c632672 SHA256 068950e7b5f64bd42dbe9c4b4a46af1a15de71cf3dd6df6139aa7bc9c5cba68b
-DIST ircservices-5.0.57.tar.gz 1153565 RMD160 7458c3ba8ce0dc8eeab3add8c523444d5e684b0f SHA1 41bacc508a7c6a23ae6a3306fc189775a7c3d73d SHA256 79fed6555ebf91b4a5a5897b248920f3664e4c4df8f0e75092cdb6e80cf97369
DIST ircservices-5.0.59.tar.gz 1156586 RMD160 e8972f503dadae3830c0ab43d261e8e8233db0d0 SHA1 896c1c1081fc07cf25dfb67c53840d1047fbeb94 SHA256 b56a76ad75f2de3a93a7913803b95d1f21e51ed38bd5c9f3de5edf7626ad5f55
-EBUILD ircservices-5.0.53.ebuild 3380 RMD160 bd43752a03a8ea075061236c36e9f32cbca8b206 SHA1 2a7572aafe7db813713fff95ad0d67d3f949a0e0 SHA256 aab2bcd387363c960476780e1f65c614464789c5d1c61ab050479bb65a659307
-MD5 d2220811aa97f4b03d61a42e3c7a3998 ircservices-5.0.53.ebuild 3380
-RMD160 bd43752a03a8ea075061236c36e9f32cbca8b206 ircservices-5.0.53.ebuild 3380
-SHA256 aab2bcd387363c960476780e1f65c614464789c5d1c61ab050479bb65a659307 ircservices-5.0.53.ebuild 3380
-EBUILD ircservices-5.0.54.ebuild 3382 RMD160 7cd3ed7247a7e09b7cb6b1cd80d155937fd3b1f6 SHA1 eaf30d00052e018dddb3d17a911c2328a96e2c4e SHA256 98260eb6d25b85ba166341250568a6c69c59b75f61db255ac05e8e25dc4b1cbd
-MD5 a0d166e54989b68f4055c959ae210c5e ircservices-5.0.54.ebuild 3382
-RMD160 7cd3ed7247a7e09b7cb6b1cd80d155937fd3b1f6 ircservices-5.0.54.ebuild 3382
-SHA256 98260eb6d25b85ba166341250568a6c69c59b75f61db255ac05e8e25dc4b1cbd ircservices-5.0.54.ebuild 3382
-EBUILD ircservices-5.0.57.ebuild 3382 RMD160 56a0854e2ada81df49da9b78512d9b497a91e675 SHA1 b06032fe12c277c1e2d2b11fd8a59d44ba2b0a65 SHA256 d6718002b82290e14595328d309c6ef090c3b25992eec19a4cb1e11249139133
-MD5 5c7845916ff89ecc94000c53aa116972 ircservices-5.0.57.ebuild 3382
-RMD160 56a0854e2ada81df49da9b78512d9b497a91e675 ircservices-5.0.57.ebuild 3382
-SHA256 d6718002b82290e14595328d309c6ef090c3b25992eec19a4cb1e11249139133 ircservices-5.0.57.ebuild 3382
EBUILD ircservices-5.0.59.ebuild 3378 RMD160 0bb01d2855c83e5ec069f6bf402865669b6408ce SHA1 0d4e004012b0d69cc81a67f85e9284d4cd27c7fe SHA256 0b560a24f2dcd70d01bb65b1336c0e0ec9d6bbc029cf611bde584156acf16300
MD5 791e02e195506e255faf2e2e5bbf42b3 ircservices-5.0.59.ebuild 3378
RMD160 0bb01d2855c83e5ec069f6bf402865669b6408ce ircservices-5.0.59.ebuild 3378
SHA256 0b560a24f2dcd70d01bb65b1336c0e0ec9d6bbc029cf611bde584156acf16300 ircservices-5.0.59.ebuild 3378
-MISC ChangeLog 4992 RMD160 d04b00a307ab9c0b8113377f4f5baa3bc90394b8 SHA1 7907a1b3f219042c7bc9a4b6c8bd0b0c594a3e70 SHA256 9b53e2a19fbd4ec2b1efafdc8f1777653dcb05f7ff8cf5eb56e53cdede8ecb96
-MD5 5f4e4fe7a51b2aef925722f6ba4dc89d ChangeLog 4992
-RMD160 d04b00a307ab9c0b8113377f4f5baa3bc90394b8 ChangeLog 4992
-SHA256 9b53e2a19fbd4ec2b1efafdc8f1777653dcb05f7ff8cf5eb56e53cdede8ecb96 ChangeLog 4992
+MISC ChangeLog 5135 RMD160 5054318c9a52eaa9bb6b1ad325595e2b71ea3bb2 SHA1 1d8d34ba7340eaf3437ee830ab966160e805ace1 SHA256 14f883b42f4e9b6e26859190c5a070ba5b176dff1e5ff7ab3150cd57cf4cffbe
+MD5 8e46b95366dbb00dec5719cb55ffda6e ChangeLog 5135
+RMD160 5054318c9a52eaa9bb6b1ad325595e2b71ea3bb2 ChangeLog 5135
+SHA256 14f883b42f4e9b6e26859190c5a070ba5b176dff1e5ff7ab3150cd57cf4cffbe ChangeLog 5135
MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160
SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata.xml 160
-MD5 38ceeb1f925e3b0f1e362f84684c9788 files/digest-ircservices-5.0.53 259
-RMD160 65f7e5a224178575d4abbb7f7c845dbaccde8a68 files/digest-ircservices-5.0.53 259
-SHA256 395c0f36f5c27e985870e05c01b252e7ef847d07fdae79a78cf281eb4a9f4895 files/digest-ircservices-5.0.53 259
-MD5 a3506e5a8605788b5116c9c7e407360c files/digest-ircservices-5.0.54 259
-RMD160 5277dbf9d93fa5bd73a1d2d2a83a3f84d523a813 files/digest-ircservices-5.0.54 259
-SHA256 c522c5ed666e643efd1a30ab091694051b9cb9c0e1b2f4c68fa8268c65975b1a files/digest-ircservices-5.0.54 259
-MD5 9ba5bae54df7f535b2ab9f2f748748fc files/digest-ircservices-5.0.57 259
-RMD160 4b2c0e3a150dc4b1d4e8add4dc5312072710dc37 files/digest-ircservices-5.0.57 259
-SHA256 d26eb613e8153a4ca7ec78d8a405771cd2b6c406673e0c4917d6eab319bcd410 files/digest-ircservices-5.0.57 259
MD5 85339f8b2007f8662eec4e0cea58bda0 files/digest-ircservices-5.0.59 259
RMD160 a911d030fd2a651448cc9157eed6ab7431d0dd5e files/digest-ircservices-5.0.59 259
SHA256 c4db5b72d85647f4799dfe4ca3ce8550e45dfea5b3a716de74941d990689ce98 files/digest-ircservices-5.0.59 259
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFzr6GcsIHjyDViGQRAti8AJ43Yr0pYe1vZmPzOBU55URm6px6aACfaf5t
-u5LOCITeWqvnKpKqqLpId0w=
-=ihQW
------END PGP SIGNATURE-----
diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.53 b/net-irc/ircservices/files/digest-ircservices-5.0.53
deleted file mode 100644
index 7070e286f78c..000000000000
--- a/net-irc/ircservices/files/digest-ircservices-5.0.53
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 dd3e6204ba301ec1d9879b19e8572173 ircservices-5.0.53.tar.gz 1150179
-RMD160 37b39e15ce0c66a0308da8f8d4b6817d3ca304dc ircservices-5.0.53.tar.gz 1150179
-SHA256 5ad4a307346a0d002274000af67da2d0dd3b0a41fdc52f68bede196e65c2d2a9 ircservices-5.0.53.tar.gz 1150179
diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.54 b/net-irc/ircservices/files/digest-ircservices-5.0.54
deleted file mode 100644
index 92e054583822..000000000000
--- a/net-irc/ircservices/files/digest-ircservices-5.0.54
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 589bf39dd5d702d5f9d5da1fe404d6b1 ircservices-5.0.54.tar.gz 1151132
-RMD160 9a105045c644f0f3329886e882947612fc285fdb ircservices-5.0.54.tar.gz 1151132
-SHA256 068950e7b5f64bd42dbe9c4b4a46af1a15de71cf3dd6df6139aa7bc9c5cba68b ircservices-5.0.54.tar.gz 1151132
diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.57 b/net-irc/ircservices/files/digest-ircservices-5.0.57
deleted file mode 100644
index fab9f30103da..000000000000
--- a/net-irc/ircservices/files/digest-ircservices-5.0.57
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 99120beafe8d7044428acf3272c5ba46 ircservices-5.0.57.tar.gz 1153565
-RMD160 7458c3ba8ce0dc8eeab3add8c523444d5e684b0f ircservices-5.0.57.tar.gz 1153565
-SHA256 79fed6555ebf91b4a5a5897b248920f3664e4c4df8f0e75092cdb6e80cf97369 ircservices-5.0.57.tar.gz 1153565
diff --git a/net-irc/ircservices/ircservices-5.0.53.ebuild b/net-irc/ircservices/ircservices-5.0.53.ebuild
deleted file mode 100644
index 7227c59ae6f4..000000000000
--- a/net-irc/ircservices/ircservices-5.0.53.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.53.ebuild,v 1.8 2006/11/08 14:22:01 swegener Exp $
-
-inherit eutils fixheadtails flag-o-matic toolchain-funcs
-
-DESCRIPTION="ChanServ, NickServ & MemoServ with support for several IRC daemons"
-HOMEPAGE="http://www.ircservices.za.net/"
-SRC_URI="http://www.ircservices.za.net/download/${P}.tar.gz
- ftp://ftp.esper.net/${PN}/${P}.tar.gz
- mirror://gentoo/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- enewgroup ircservices
- enewuser ircservices -1 -1 -1 ircservices
- # this is needed, because old ebuilds added the user with ircservices:users
- usermod -g ircservices ircservices
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/5.0.37-fPIC.patch
- epatch "${FILESDIR}"/5.0.53-fPIC-configure.patch
-
- ht_fix_file configure
- sed -i \
- -e "s/HEAD -1/HEAD -n 1/" \
- -e "s/-m 750/-m 755/" \
- -e "s/-m 640/-m 644/" \
- configure
-}
-
-src_compile() {
- append-flags -fno-stack-protector
- # configure fails with -O higher than 2
- replace-flags "-O[3-9s]" "-O2"
-
- RUNGROUP="ircservices" \
- ./configure \
- -cc "$(tc-getCC)" \
- -cflags "${CFLAGS}" \
- -bindest /usr/bin \
- -datdest /var/lib/ircservices \
- || die "./configure failed"
- emake -j1 || die "make failed"
-}
-
-src_install() {
- dodir /usr/bin /{etc,usr/{$(get_libdir),share},var/lib}/ircservices || die "dodir failed"
- keepdir /var/log/ircservices || die "keepdir failed"
-
- make \
- BINDEST="${D}"/usr/bin \
- DATDEST="${D}"/var/lib/ircservices \
- install \
- || die "make install failed"
-
- mv "${D}"/var/lib/ircservices/convert-db "${D}"/usr/bin/ircservices-convert-db || die "mv failed"
-
- # Now we move some files around to make it FHS conform
- mv "${D}"/var/lib/ircservices/example-ircservices.conf "${D}"/etc/ircservices/ircservices.conf || die "mv failed"
- dosym /etc/ircservices/ircservices.conf /var/lib/ircservices/ircservices.conf || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/example-modules.conf "${D}"/etc/ircservices/modules.conf || die "mv failed"
- dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/modules "${D}"/usr/$(get_libdir)/ircservices || die "mv failed"
- dosym /usr/$(get_libdir)/ircservices/modules /var/lib/ircservices/modules || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/{helpfiles,languages} "${D}"/usr/share/ircservices || die "mv failed"
- dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles || die "mv failed"
- dosym /usr/share/ircservices/languages /var/lib/ircservices/languages || die "dosym failed"
-
- fperms 750 /var/{lib,log}/ircservices /etc/ircservices
- fperms 640 /etc/ircservices/{ircservices,modules}.conf
- fowners ircservices:ircservices /var/{lib,log}/ircservices
- fowners root:ircservices /etc/ircservices{,/{ircservices,modules}.conf}
-
- newinitd "${FILESDIR}"/ircservices.init.d ircservices || die "newinitd failed"
- newconfd "${FILESDIR}"/ircservices.conf.d ircservices || die "newconfd failed"
-
- doman docs/ircservices.8 || die "doman failed"
- newman docs/convert-db.8 ircservices-convert-db.8 || die "newman failed"
- dohtml docs/*.html || die "dohtml failed"
- dodoc KnownBugs Changes README TODO WhatsNew || die "dodoc failed"
-}
diff --git a/net-irc/ircservices/ircservices-5.0.54.ebuild b/net-irc/ircservices/ircservices-5.0.54.ebuild
deleted file mode 100644
index 3b814f29499c..000000000000
--- a/net-irc/ircservices/ircservices-5.0.54.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.54.ebuild,v 1.4 2006/11/08 14:22:01 swegener Exp $
-
-inherit eutils fixheadtails flag-o-matic toolchain-funcs
-
-DESCRIPTION="ChanServ, NickServ & MemoServ with support for several IRC daemons"
-HOMEPAGE="http://www.ircservices.za.net/"
-SRC_URI="http://www.ircservices.za.net/download/${P}.tar.gz
- ftp://ftp.esper.net/${PN}/${P}.tar.gz
- mirror://gentoo/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- enewgroup ircservices
- enewuser ircservices -1 -1 -1 ircservices
- # this is needed, because old ebuilds added the user with ircservices:users
- usermod -g ircservices ircservices
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/5.0.37-fPIC.patch
- epatch "${FILESDIR}"/5.0.53-fPIC-configure.patch
-
- ht_fix_file configure
- sed -i \
- -e "s/HEAD -1/HEAD -n 1/" \
- -e "s/-m 750/-m 755/" \
- -e "s/-m 640/-m 644/" \
- configure
-}
-
-src_compile() {
- append-flags -fno-stack-protector
- # configure fails with -O higher than 2
- replace-flags "-O[3-9s]" "-O2"
-
- RUNGROUP="ircservices" \
- ./configure \
- -cc "$(tc-getCC)" \
- -cflags "${CFLAGS}" \
- -bindest /usr/bin \
- -datdest /var/lib/ircservices \
- || die "./configure failed"
- emake -j1 || die "make failed"
-}
-
-src_install() {
- dodir /usr/bin /{etc,usr/{$(get_libdir),share},var/lib}/ircservices || die "dodir failed"
- keepdir /var/log/ircservices || die "keepdir failed"
-
- make \
- BINDEST="${D}"/usr/bin \
- DATDEST="${D}"/var/lib/ircservices \
- install \
- || die "make install failed"
-
- mv "${D}"/var/lib/ircservices/convert-db "${D}"/usr/bin/ircservices-convert-db || die "mv failed"
-
- # Now we move some files around to make it FHS conform
- mv "${D}"/var/lib/ircservices/example-ircservices.conf "${D}"/etc/ircservices/ircservices.conf || die "mv failed"
- dosym /etc/ircservices/ircservices.conf /var/lib/ircservices/ircservices.conf || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/example-modules.conf "${D}"/etc/ircservices/modules.conf || die "mv failed"
- dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/modules "${D}"/usr/$(get_libdir)/ircservices || die "mv failed"
- dosym /usr/$(get_libdir)/ircservices/modules /var/lib/ircservices/modules || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/{helpfiles,languages} "${D}"/usr/share/ircservices || die "mv failed"
- dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles || die "mv failed"
- dosym /usr/share/ircservices/languages /var/lib/ircservices/languages || die "dosym failed"
-
- fperms 750 /var/{lib,log}/ircservices /etc/ircservices
- fperms 640 /etc/ircservices/{ircservices,modules}.conf
- fowners ircservices:ircservices /var/{lib,log}/ircservices
- fowners root:ircservices /etc/ircservices{,/{ircservices,modules}.conf}
-
- newinitd "${FILESDIR}"/ircservices.init.d ircservices || die "newinitd failed"
- newconfd "${FILESDIR}"/ircservices.conf.d ircservices || die "newconfd failed"
-
- doman docs/ircservices.8 || die "doman failed"
- newman docs/convert-db.8 ircservices-convert-db.8 || die "newman failed"
- dohtml docs/*.html || die "dohtml failed"
- dodoc KnownBugs Changes README TODO WhatsNew || die "dodoc failed"
-}
diff --git a/net-irc/ircservices/ircservices-5.0.57.ebuild b/net-irc/ircservices/ircservices-5.0.57.ebuild
deleted file mode 100644
index b42ef92f2b31..000000000000
--- a/net-irc/ircservices/ircservices-5.0.57.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.57.ebuild,v 1.4 2006/11/08 14:22:01 swegener Exp $
-
-inherit eutils fixheadtails flag-o-matic toolchain-funcs
-
-DESCRIPTION="ChanServ, NickServ & MemoServ with support for several IRC daemons"
-HOMEPAGE="http://www.ircservices.za.net/"
-SRC_URI="http://www.ircservices.za.net/download/${P}.tar.gz
- ftp://ftp.esper.net/${PN}/${P}.tar.gz
- mirror://gentoo/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- enewgroup ircservices
- enewuser ircservices -1 -1 -1 ircservices
- # this is needed, because old ebuilds added the user with ircservices:users
- usermod -g ircservices ircservices
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/5.0.37-fPIC.patch
- epatch "${FILESDIR}"/5.0.53-fPIC-configure.patch
-
- ht_fix_file configure
- sed -i \
- -e "s/HEAD -1/HEAD -n 1/" \
- -e "s/-m 750/-m 755/" \
- -e "s/-m 640/-m 644/" \
- configure
-}
-
-src_compile() {
- append-flags -fno-stack-protector
- # configure fails with -O higher than 2
- replace-flags "-O[3-9s]" "-O2"
-
- RUNGROUP="ircservices" \
- ./configure \
- -cc "$(tc-getCC)" \
- -cflags "${CFLAGS}" \
- -bindest /usr/bin \
- -datdest /var/lib/ircservices \
- || die "./configure failed"
- emake -j1 || die "make failed"
-}
-
-src_install() {
- dodir /usr/bin /{etc,usr/{$(get_libdir),share},var/lib}/ircservices || die "dodir failed"
- keepdir /var/log/ircservices || die "keepdir failed"
-
- make \
- BINDEST="${D}"/usr/bin \
- DATDEST="${D}"/var/lib/ircservices \
- install \
- || die "make install failed"
-
- mv "${D}"/var/lib/ircservices/convert-db "${D}"/usr/bin/ircservices-convert-db || die "mv failed"
-
- # Now we move some files around to make it FHS conform
- mv "${D}"/var/lib/ircservices/example-ircservices.conf "${D}"/etc/ircservices/ircservices.conf || die "mv failed"
- dosym /etc/ircservices/ircservices.conf /var/lib/ircservices/ircservices.conf || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/example-modules.conf "${D}"/etc/ircservices/modules.conf || die "mv failed"
- dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/modules "${D}"/usr/$(get_libdir)/ircservices || die "mv failed"
- dosym /usr/$(get_libdir)/ircservices/modules /var/lib/ircservices/modules || die "dosym failed"
-
- mv "${D}"/var/lib/ircservices/{helpfiles,languages} "${D}"/usr/share/ircservices || die "mv failed"
- dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles || die "mv failed"
- dosym /usr/share/ircservices/languages /var/lib/ircservices/languages || die "dosym failed"
-
- fperms 750 /var/{lib,log}/ircservices /etc/ircservices
- fperms 640 /etc/ircservices/{ircservices,modules}.conf
- fowners ircservices:ircservices /var/{lib,log}/ircservices
- fowners root:ircservices /etc/ircservices{,/{ircservices,modules}.conf}
-
- newinitd "${FILESDIR}"/ircservices.init.d ircservices || die "newinitd failed"
- newconfd "${FILESDIR}"/ircservices.conf.d ircservices || die "newconfd failed"
-
- doman docs/ircservices.8 || die "doman failed"
- newman docs/convert-db.8 ircservices-convert-db.8 || die "newman failed"
- dohtml docs/*.html || die "dohtml failed"
- dodoc KnownBugs Changes README TODO WhatsNew || die "dodoc failed"
-}