Version bump, bug #135035. This release fixes security hole in amuleweb
authorKarol Wojtaszek <sekretarz@gentoo.org>
Thu, 8 Jun 2006 13:35:09 +0000 (13:35 +0000)
committerKarol Wojtaszek <sekretarz@gentoo.org>
Thu, 8 Jun 2006 13:35:09 +0000 (13:35 +0000)
Package-Manager: portage-2.1_rc4-r3

net-p2p/amule/ChangeLog
net-p2p/amule/Manifest
net-p2p/amule/amule-2.1.2.ebuild [new file with mode: 0644]
net-p2p/amule/files/digest-amule-2.1.2 [new file with mode: 0644]

index 1d1facf21656d2067b132cc62e078b091eaf4cd1..4d547e27f412c92e3b428e6202ceec3dcc486794 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-p2p/amule
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.66 2006/04/24 15:17:13 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.67 2006/06/08 13:35:09 sekretarz Exp $
+
+*amule-2.1.2 (08 Jun 2006)
+
+  08 Jun 2006; Karol Wojtaszek <sekretarz@gentoo.org> +amule-2.1.2.ebuild:
+  Version bump, bug #135035. This release fixes security hole in amuleweb
 
   24 Apr 2006; <squinky86@gentoo.org> amule-2.0.1-r2.ebuild,
   amule-2.0.3-r4.ebuild, amule-2.1.0-r1.ebuild, amule-2.1.1.ebuild:
index f9dd8bb6cc19d2ba3e37a0ef895910dc3afc451f..cf72df13cc7bb805f0a401248867676c9e03d131 100644 (file)
@@ -1,30 +1,55 @@
-MD5 a91b5128b64de28e4244dc9b1c86b43a ChangeLog 9551
-RMD160 ca66c9aa40682b268bd0e4d3dda9a357da32edd0 ChangeLog 9551
-SHA256 877602a1bfbd933bb1a5222fbb6834ca9baa3bcf24c1fe255c37a035095ef340 ChangeLog 9551
-MD5 c64a2aa40bb47c764ab5f1d9858c249b amule-2.0.1-r2.ebuild 2199
-RMD160 cca59a785830104287fcb437a84b26fbe1cd2a7e amule-2.0.1-r2.ebuild 2199
-SHA256 59412c1825956001f7ed608c3aa5b0e24cff11d5af4c782317dbc57dfdd3c4f1 amule-2.0.1-r2.ebuild 2199
-MD5 0bc94d4da5dc85b475acd3068294ba97 amule-2.0.3-r4.ebuild 2779
-RMD160 2091c5d31376b43ac53891e8ae3b0a782db4cafe amule-2.0.3-r4.ebuild 2779
-SHA256 b4cb3b6b47aa7438a0729fd3ab5e54ebc5db2b79c80f2cf16f06776964e7483c amule-2.0.3-r4.ebuild 2779
-MD5 002614b3040772dbe121848e97701b0a amule-2.1.0-r1.ebuild 3132
-RMD160 cc898a28440b1cfa109787b7ed878f5a7c17e3c1 amule-2.1.0-r1.ebuild 3132
-SHA256 21a50ff4878b99d90b51c61da97aecde7f54faba382fb474ece9f09c06afccfe amule-2.1.0-r1.ebuild 3132
-MD5 6740f677cf51455c1d37c0b181ddf1a1 amule-2.1.1.ebuild 3129
-RMD160 2d69cdcf784a06b97a4ea483b11ce47ccf3ff6ef amule-2.1.1.ebuild 3129
-SHA256 d8dc2bba4bf30c09be3d00d56900479e6b5e54a9d549a10463c000751c19ed88 amule-2.1.1.ebuild 3129
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX amuled.confd 409 RMD160 0e31c5aaa42c4ee2b6dfcd00afcde3b48b2d4299 SHA1 b5872943f5ec0ac41a7c054239a754f1f9669e09 SHA256 7af480fd6dd325ad66b37464417d4d89015a52722961d44da2e3f7990ac4959a
 MD5 6cfdc1b9b4a65d47e9047a8fed427889 files/amuled.confd 409
 RMD160 0e31c5aaa42c4ee2b6dfcd00afcde3b48b2d4299 files/amuled.confd 409
 SHA256 7af480fd6dd325ad66b37464417d4d89015a52722961d44da2e3f7990ac4959a files/amuled.confd 409
+AUX amuled.initd 1138 RMD160 fbe6a700515cdadf288b3ebe486664228a8ac1a7 SHA1 e693e190586b42f04edbf0c30c2b36efb490965c SHA256 0e52035f2ac1a7f7a3bf3cf7f300b9ae829da525f98846121e8eeeee5c617cc4
 MD5 37c7ee8278a02051a68d062beba82fbc files/amuled.initd 1138
 RMD160 fbe6a700515cdadf288b3ebe486664228a8ac1a7 files/amuled.initd 1138
 SHA256 0e52035f2ac1a7f7a3bf3cf7f300b9ae829da525f98846121e8eeeee5c617cc4 files/amuled.initd 1138
+AUX amuleweb.confd 758 RMD160 aa7565de986afd065b7715a196fffeb30394dd03 SHA1 a03edf4222ffb34ae5adf78619ebb09ad3a25d38 SHA256 f201d4ffd6cae939776d625105a0c53586cd831f2de983913e2dd61f7c932052
 MD5 a10ba0e3eace37231ef0aab8a91d312c files/amuleweb.confd 758
 RMD160 aa7565de986afd065b7715a196fffeb30394dd03 files/amuleweb.confd 758
 SHA256 f201d4ffd6cae939776d625105a0c53586cd831f2de983913e2dd61f7c932052 files/amuleweb.confd 758
+AUX amuleweb.initd 1171 RMD160 278b66c90ab82e37cb43a5ddbcdf599afd570a95 SHA1 8ac181e3c12e08eb038e0ba6b358d2473470ccce SHA256 a4826cb4294184ac12fd712517397074fcf71a132640789132d761488b32b2da
 MD5 fcb8c3ac5b48723eee8565d59d0fb622 files/amuleweb.initd 1171
 RMD160 278b66c90ab82e37cb43a5ddbcdf599afd570a95 files/amuleweb.initd 1171
 SHA256 a4826cb4294184ac12fd712517397074fcf71a132640789132d761488b32b2da files/amuleweb.initd 1171
+DIST aMule-2.0.1.tar.bz2 2119387
+DIST aMule-2.0.3.tar.bz2 2154288 RMD160 22d5c25fccd2346a7299c71ba8ad4c175a36db2d SHA256 b85d7a2bf10c8659c9287c4b1f653cd6ba22dfcb1bdd5251448988e8d57c10aa
+DIST aMule-2.1.0.tar.bz2 3244316
+DIST aMule-2.1.1.tar.bz2 3263428 RMD160 4a12afd91ecaaff75defa69796a7124abcd84dca SHA256 c675c7b1d97b14b410747af5d91185ec5f0cc55d8cfbd77b4525d47ef8756ea6
+DIST aMule-2.1.2.tar.bz2 3239957 RMD160 ef84c462a6773e741351470c52b2f25bb1ed80ab SHA1 d27140addd8be4eaefb12f282ddc6fb9296231f7 SHA256 f6cabf305cff69c689b8bf36d9e0cfba2f381be2f5183497528b4e3d8e39ffc5
+EBUILD amule-2.0.1-r2.ebuild 2199 RMD160 cca59a785830104287fcb437a84b26fbe1cd2a7e SHA1 4682d760aff4a54cbea4fb9e3405c17a7d7f2c6f SHA256 59412c1825956001f7ed608c3aa5b0e24cff11d5af4c782317dbc57dfdd3c4f1
+MD5 c64a2aa40bb47c764ab5f1d9858c249b amule-2.0.1-r2.ebuild 2199
+RMD160 cca59a785830104287fcb437a84b26fbe1cd2a7e amule-2.0.1-r2.ebuild 2199
+SHA256 59412c1825956001f7ed608c3aa5b0e24cff11d5af4c782317dbc57dfdd3c4f1 amule-2.0.1-r2.ebuild 2199
+EBUILD amule-2.0.3-r4.ebuild 2779 RMD160 2091c5d31376b43ac53891e8ae3b0a782db4cafe SHA1 c2de91c3bd50d54d356654afe9c110c00313f49c SHA256 b4cb3b6b47aa7438a0729fd3ab5e54ebc5db2b79c80f2cf16f06776964e7483c
+MD5 0bc94d4da5dc85b475acd3068294ba97 amule-2.0.3-r4.ebuild 2779
+RMD160 2091c5d31376b43ac53891e8ae3b0a782db4cafe amule-2.0.3-r4.ebuild 2779
+SHA256 b4cb3b6b47aa7438a0729fd3ab5e54ebc5db2b79c80f2cf16f06776964e7483c amule-2.0.3-r4.ebuild 2779
+EBUILD amule-2.1.0-r1.ebuild 3132 RMD160 cc898a28440b1cfa109787b7ed878f5a7c17e3c1 SHA1 d81edcd115c7fa4db2d531b9d023850f95140a7a SHA256 21a50ff4878b99d90b51c61da97aecde7f54faba382fb474ece9f09c06afccfe
+MD5 002614b3040772dbe121848e97701b0a amule-2.1.0-r1.ebuild 3132
+RMD160 cc898a28440b1cfa109787b7ed878f5a7c17e3c1 amule-2.1.0-r1.ebuild 3132
+SHA256 21a50ff4878b99d90b51c61da97aecde7f54faba382fb474ece9f09c06afccfe amule-2.1.0-r1.ebuild 3132
+EBUILD amule-2.1.1.ebuild 3129 RMD160 2d69cdcf784a06b97a4ea483b11ce47ccf3ff6ef SHA1 ba2719df9011bf5a0c79c816c1815ed7b64954d2 SHA256 d8dc2bba4bf30c09be3d00d56900479e6b5e54a9d549a10463c000751c19ed88
+MD5 6740f677cf51455c1d37c0b181ddf1a1 amule-2.1.1.ebuild 3129
+RMD160 2d69cdcf784a06b97a4ea483b11ce47ccf3ff6ef amule-2.1.1.ebuild 3129
+SHA256 d8dc2bba4bf30c09be3d00d56900479e6b5e54a9d549a10463c000751c19ed88 amule-2.1.1.ebuild 3129
+EBUILD amule-2.1.2.ebuild 3129 RMD160 cceffeecbfd74e5f6e7dcffeeecdb5a70736803f SHA1 0f51eb406fdb455efb49269b6c296c5c83fc3f0a SHA256 26eebf14d39708c1135049f2974a62f51e17ad522dffd9854e3b6baa7746ea3e
+MD5 14e7d49a0287bc78d9eabb13248f6a82 amule-2.1.2.ebuild 3129
+RMD160 cceffeecbfd74e5f6e7dcffeeecdb5a70736803f amule-2.1.2.ebuild 3129
+SHA256 26eebf14d39708c1135049f2974a62f51e17ad522dffd9854e3b6baa7746ea3e amule-2.1.2.ebuild 3129
+MISC ChangeLog 9729 RMD160 9db111d34e67e66597d6ab7919f0dfac83ab41ac SHA1 920032db2f68c2828c517279c2433a5454bfee0d SHA256 01fa0fa03f156ecebb00c2b2cac650aa3435aa6d786c1831bc5ef823a604bfeb
+MD5 8273e097f881ba2678d8a8893eb8dc67 ChangeLog 9729
+RMD160 9db111d34e67e66597d6ab7919f0dfac83ab41ac ChangeLog 9729
+SHA256 01fa0fa03f156ecebb00c2b2cac650aa3435aa6d786c1831bc5ef823a604bfeb ChangeLog 9729
+MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
+SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
 MD5 e875c8bb7caccbc783bbd7238b520a04 files/digest-amule-2.0.1-r2 65
 RMD160 aa7cfca8168344316d8feffe146896303934fbe0 files/digest-amule-2.0.1-r2 65
 SHA256 176445c7575c64167d76f4eb5912accf09a37929c59e4f2328df02f881d732ab files/digest-amule-2.0.1-r2 65
@@ -37,6 +62,13 @@ SHA256 4377ded0f31f3d991aea042f995273cce00263971a3cddca308d6d49d89f3006 files/di
 MD5 1ea8ccf47f2fe9c979377bd01737863c files/digest-amule-2.1.1 241
 RMD160 b842c6be824640bbc44896fcf0d2dad0e00bbc2a files/digest-amule-2.1.1 241
 SHA256 0efc188847beb4f73f5beac1f057e9372a049cdb392cad9cabc518302fabf9b6 files/digest-amule-2.1.1 241
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
-RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
-SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
+MD5 a4083cc72f44e51df281714317d85c7e files/digest-amule-2.1.2 241
+RMD160 7a3429fb4e12ea4c43688c631c2e779787000d58 files/digest-amule-2.1.2 241
+SHA256 625c3357a686b4132a82d28fb4cb527d72a9a5a9f153ff87de57fbfd8f4ad112 files/digest-amule-2.1.2 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEiJyxub4+zaPCR/oRAhZ9AKCfVO/pWGXKnKTpyawjUjuyJw8k7QCeKZWj
+ABHREStm/r6veCdfKLFLzu0=
+=relE
+-----END PGP SIGNATURE-----
diff --git a/net-p2p/amule/amule-2.1.2.ebuild b/net-p2p/amule/amule-2.1.2.ebuild
new file mode 100644 (file)
index 0000000..ede02a2
--- /dev/null
@@ -0,0 +1,119 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.1.2.ebuild,v 1.1 2006/06/08 13:35:09 sekretarz Exp $
+
+inherit eutils flag-o-matic wxwidgets
+
+MY_P=${P/m/M}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="aMule, the all-platform eMule p2p client"
+HOMEPAGE="http://www.amule.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~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 )
+               !net-p2p/xmule"
+
+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
+               if ! id p2p >/dev/null; then
+                       enewgroup p2p
+                       enewuser p2p -1 -1 /home/p2p p2p
+               fi
+       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
+               if has_hardened; then
+                               filter-flags -fstack-protector -fstack-protector-all
+               fi
+               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.1.2 b/net-p2p/amule/files/digest-amule-2.1.2
new file mode 100644 (file)
index 0000000..b909c78
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c7629f6d33bc15b50c882323163e728a aMule-2.1.2.tar.bz2 3239957
+RMD160 ef84c462a6773e741351470c52b2f25bb1ed80ab aMule-2.1.2.tar.bz2 3239957
+SHA256 f6cabf305cff69c689b8bf36d9e0cfba2f381be2f5183497528b4e3d8e39ffc5 aMule-2.1.2.tar.bz2 3239957