From a40b629a2fc39e50ec42b708d9a3c89ccdd5ec9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Fri, 16 Mar 2007 20:44:58 +0000 Subject: [PATCH] add 'CVS' ebuild Package-Manager: portage-2.1.2.2 --- net-p2p/amule/ChangeLog | 8 +- net-p2p/amule/Manifest | 16 ++- net-p2p/amule/amule-2.2.0_pre20070316.ebuild | 116 ++++++++++++++++++ .../files/digest-amule-2.2.0_pre20070316 | 3 + 4 files changed, 138 insertions(+), 5 deletions(-) create mode 100644 net-p2p/amule/amule-2.2.0_pre20070316.ebuild create mode 100644 net-p2p/amule/files/digest-amule-2.2.0_pre20070316 diff --git a/net-p2p/amule/ChangeLog b/net-p2p/amule/ChangeLog index 0041a1b28040..548701b9c7d6 100644 --- a/net-p2p/amule/ChangeLog +++ b/net-p2p/amule/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/amule # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.84 2007/02/24 17:53:14 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.85 2007/03/16 20:44:58 armin76 Exp $ + +*amule-2.2.0_pre20070316 (16 Mar 2007) + + 16 Mar 2007; Raúl Porcel + +amule-2.2.0_pre20070316.ebuild: + add 'CVS' ebuild 24 Feb 2007; Raúl Porcel amule-2.1.3.ebuild: add media-libs/gd as a dep if we enable remote diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest index 3ea87c387acb..38c980d33c92 100644 --- a/net-p2p/amule/Manifest +++ b/net-p2p/amule/Manifest @@ -16,6 +16,7 @@ RMD160 278b66c90ab82e37cb43a5ddbcdf599afd570a95 files/amuleweb.initd 1171 SHA256 a4826cb4294184ac12fd712517397074fcf71a132640789132d761488b32b2da files/amuleweb.initd 1171 DIST aMule-2.0.3.tar.bz2 2154288 RMD160 22d5c25fccd2346a7299c71ba8ad4c175a36db2d SHA1 f4e0fb5d45e09fc81ac795f1360ed32af50605ff SHA256 b85d7a2bf10c8659c9287c4b1f653cd6ba22dfcb1bdd5251448988e8d57c10aa DIST aMule-2.1.3.tar.bz2 3248530 RMD160 fcc345000e5ad0a221d1e96d0d514f3be36428c3 SHA1 dd47deb38e7a5b823550b85150f5a814c597b273 SHA256 6e97e947bb7ac231b75e3b21a509a2ec0239bcd7e9dbfc6062c520a6d13b0244 +DIST aMule-CVS-20070316.tar.bz2 3375994 RMD160 b58a93e190a01ae691101aa996742979b109f202 SHA1 7117bf85f18af7efb7ac1754e8bc607324eab915 SHA256 ad7a3429fbff04967c8928bed3fa9b532ff39aaf3b7f5d3da4a2c995b948df4f EBUILD amule-2.0.3-r4.ebuild 2741 RMD160 da110e911e8914a35fc3646cad567811c85c59c4 SHA1 a4e8f3087926a3d31644042b4165c37b39d90de2 SHA256 360d9f1b5026374657250f65a2062865158028c9c97a4a6295f467aa6154ff03 MD5 14aa0b4a70ea87006f771ac2300cb887 amule-2.0.3-r4.ebuild 2741 RMD160 da110e911e8914a35fc3646cad567811c85c59c4 amule-2.0.3-r4.ebuild 2741 @@ -24,10 +25,14 @@ EBUILD amule-2.1.3.ebuild 3084 RMD160 ac2671ae2e6ae5e58283e0865020ee1bd5d270e4 S MD5 98ac401ac72f999ba7d9369d4af00600 amule-2.1.3.ebuild 3084 RMD160 ac2671ae2e6ae5e58283e0865020ee1bd5d270e4 amule-2.1.3.ebuild 3084 SHA256 b5a6a8a66144f1a7f5200d0b9fac60e50f50be0937585c58958b6f6136d6b9fa amule-2.1.3.ebuild 3084 -MISC ChangeLog 11781 RMD160 a39feb84e9f09808fce1cfe69daf6e634e2121d1 SHA1 113d6317b94219d5e6ee365965a89ed8ed7d2759 SHA256 0d6417c414e85705aa6f893e42f61383fe3eee31bd2b8bd7f66645d5fb235c41 -MD5 f224452a70659148b2e2514e8215da1a ChangeLog 11781 -RMD160 a39feb84e9f09808fce1cfe69daf6e634e2121d1 ChangeLog 11781 -SHA256 0d6417c414e85705aa6f893e42f61383fe3eee31bd2b8bd7f66645d5fb235c41 ChangeLog 11781 +EBUILD amule-2.2.0_pre20070316.ebuild 3132 RMD160 35dfb8dd170100f331c193614fb17a6fb5ac28ca SHA1 091d8f19e1b129046ac69a57ff0cb3a82a8389c0 SHA256 e2a4779f1c946f59638455ac06c60ce3e262c4698fe6dd2eb862d9ca9983c96a +MD5 2e172ca1cccaba130a70f684221784e5 amule-2.2.0_pre20070316.ebuild 3132 +RMD160 35dfb8dd170100f331c193614fb17a6fb5ac28ca amule-2.2.0_pre20070316.ebuild 3132 +SHA256 e2a4779f1c946f59638455ac06c60ce3e262c4698fe6dd2eb862d9ca9983c96a amule-2.2.0_pre20070316.ebuild 3132 +MISC ChangeLog 11925 RMD160 9e7b9c204f588bc7f38cfc6ab04d62c7704d8044 SHA1 531a2890f70ce0309473b6b27722a511facc8a61 SHA256 f1e38f37988aee7235523b7d2c1fa6598e21a794ea67bcd43e57bec47194756d +MD5 b5b15b5324827009cf866ac7caec0737 ChangeLog 11925 +RMD160 9e7b9c204f588bc7f38cfc6ab04d62c7704d8044 ChangeLog 11925 +SHA256 f1e38f37988aee7235523b7d2c1fa6598e21a794ea67bcd43e57bec47194756d ChangeLog 11925 MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160 @@ -38,3 +43,6 @@ SHA256 bccdc46ad0b7c1648628a0e904d207f34127b7e5ff942dd2c75a9558406312f8 files/di MD5 7be3a231ebf740f81eedc92b3c89ac3a files/digest-amule-2.1.3 241 RMD160 fd70826f5999ca4c55b72a647c37fec73ac1a05b files/digest-amule-2.1.3 241 SHA256 697b2e19feb57659e95a0738fd32752cc3d37a72220659ce30912da1a505bf05 files/digest-amule-2.1.3 241 +MD5 df71407e14c92b0d9a766766f244f1b5 files/digest-amule-2.2.0_pre20070316 262 +RMD160 ca6c780e2198b364dd813279dc1f2002219ef7dc files/digest-amule-2.2.0_pre20070316 262 +SHA256 488f7c07502fcc6b572f8549406fc3613a7e6e701e5aaa800f7f80dcb8691e4e files/digest-amule-2.2.0_pre20070316 262 diff --git a/net-p2p/amule/amule-2.2.0_pre20070316.ebuild b/net-p2p/amule/amule-2.2.0_pre20070316.ebuild new file mode 100644 index 000000000000..ba273e34d9ad --- /dev/null +++ b/net-p2p/amule/amule-2.2.0_pre20070316.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20070316.ebuild,v 1.1 2007/03/16 20:44:58 armin76 Exp $ + +inherit eutils flag-o-matic wxwidgets + +MY_P=${PN/m/M}-CVS-${PV/2.2.0_pre/} +S="${WORKDIR}/${PN}-cvs" + +DESCRIPTION="aMule, the all-platform eMule p2p client" +HOMEPAGE="http://www.amule.org/" +SRC_URI="http://www.hirnriss.net/files/cvs/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="amuled debug gtk nls remote stats unicode" + +DEPEND=">=x11-libs/wxGTK-2.6.0 + >=sys-libs/zlib-1.2.1 + stats? ( >=media-libs/gd-2.0.26 ) + remote? ( >=media-libs/libpng-1.2.0 + unicode? ( >=media-libs/gd-2.0.26 ) )" + +pkg_setup() { + export WX_GTK_VER="2.6" + + if ! use gtk && ! use remote && ! use amuled; then + eerror "" + eerror "You have to specify at least one of gtk, remote or amuled" + eerror "USE flag to build amule." + eerror "" + die "Invalid USE flag set" + fi + + if use unicode && use gtk; then + einfo "wxGTK with gtk2 and unicode support will be used" + need-wxwidgets unicode + elif use gtk; then + einfo "wxGTK with gtk2 support will be used" + need-wxwidgets gtk2 + elif use unicode; then + einfo "wxGTK with unicode and without X support will be used" + need-wxwidgets base-unicode + else + einfo "wxGTK without X support will be used" + need-wxwidgets base + fi + + if use stats && ! use gtk; then + einfo "Note: You would need both the gtk and stats USE flags" + einfo "to compile aMule Statistics GUI." + einfo "I will now compile console versions only." + fi + + if use stats && ! built_with_use media-libs/gd jpeg; then + die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set" + fi +} + +pkg_preinst() { + if use amuled || use remote; then + enewgroup p2p + enewuser p2p -1 -1 /home/p2p p2p + fi +} + +src_compile() { + local myconf="" + + if use gtk ; then + use stats && myconf="${myconf} + --enable-wxcas + --enable-alc" + use remote && myconf="${myconf} + --enable-amule-gui" + else + myconf=" + --disable-monolithic + --disable-amule-gui + --disable-wxcas + --disable-alc" + fi + + econf \ + --with-wx-config=${WX_CONFIG} \ + --with-wxbase-config=${WX_CONFIG} \ + --enable-amulecmd \ + `use_enable debug` \ + `use_enable !debug optimize` \ + `use_enable amuled amule-daemon` \ + `use_enable nls` \ + `use_enable remote webserver` \ + `use_enable stats cas` \ + `use_enable stats alcc` \ + ${myconf} || die + + # we filter ssp until bug #74457 is closed to build on hardened + filter-flags -fstack-protector -fstack-protector-all + + emake -j1 || die +} + +src_install() { + make DESTDIR=${D} install || die + + if use amuled; then + insinto /etc/conf.d; newins ${FILESDIR}/amuled.confd amuled + exeinto /etc/init.d; newexe ${FILESDIR}/amuled.initd amuled + fi + + if use remote; then + insinto /etc/conf.d; newins ${FILESDIR}/amuleweb.confd amuleweb + exeinto /etc/init.d; newexe ${FILESDIR}/amuleweb.initd amuleweb + fi +} diff --git a/net-p2p/amule/files/digest-amule-2.2.0_pre20070316 b/net-p2p/amule/files/digest-amule-2.2.0_pre20070316 new file mode 100644 index 000000000000..556f4421d657 --- /dev/null +++ b/net-p2p/amule/files/digest-amule-2.2.0_pre20070316 @@ -0,0 +1,3 @@ +MD5 c5adf937d4126b5a76f91723d98389e7 aMule-CVS-20070316.tar.bz2 3375994 +RMD160 b58a93e190a01ae691101aa996742979b109f202 aMule-CVS-20070316.tar.bz2 3375994 +SHA256 ad7a3429fbff04967c8928bed3fa9b532ff39aaf3b7f5d3da4a2c995b948df4f aMule-CVS-20070316.tar.bz2 3375994 -- 2.26.2