Fix compilation with --as-needed for bug 172827 and install documentation. Thanks...
authorSamuli Suominen <ssuominen@gentoo.org>
Fri, 13 Apr 2007 19:16:07 +0000 (19:16 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Fri, 13 Apr 2007 19:16:07 +0000 (19:16 +0000)
Package-Manager: portage-2.1.2.3

net-p2p/createtorrent/ChangeLog
net-p2p/createtorrent/Manifest
net-p2p/createtorrent/createtorrent-1.1.3-r1.ebuild [moved from net-p2p/createtorrent/createtorrent-1.1.3.ebuild with 54% similarity]
net-p2p/createtorrent/files/createtorrent-1.1.3-asneeded.patch [new file with mode: 0644]
net-p2p/createtorrent/files/digest-createtorrent-1.1.3-r1 [moved from net-p2p/createtorrent/files/digest-createtorrent-1.1.3 with 100% similarity]

index 8476ff551e4b3185d20ca0a6f68a9a04fa1b3519..08456b4f9dbd90a5ea9b32479cb15111b5ddf76f 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for net-p2p/createtorrent
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/createtorrent/ChangeLog,v 1.3 2007/03/10 12:39:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/createtorrent/ChangeLog,v 1.4 2007/04/13 19:16:06 drac Exp $
+
+*createtorrent-1.1.3-r1 (13 Apr 2007)
+
+  13 Apr 2007; Samuli Suominen <drac@gentoo.org>
+  +files/createtorrent-1.1.3-asneeded.patch, -createtorrent-1.1.3.ebuild,
+  +createtorrent-1.1.3-r1.ebuild:
+  Fix compilation with --as-needed for bug 172827 and install documentation.
+  Thanks to Maarten Maathuis for reporting.
 
   10 Mar 2007; Raúl Porcel <armin76@gentoo.org> createtorrent-1.1.3.ebuild:
   Fix HOMEPAGE, thanks to corsair for noticing this, bug 170236
index 4bfa88d53a8cc49558a32ffeb9fda616d98699ac..c523c532b86c5557e5253f75af60a38957f2e6c0 100644 (file)
@@ -1,16 +1,20 @@
+AUX createtorrent-1.1.3-asneeded.patch 579 RMD160 68c9363dee52bec27c7c15ad5c03a5f41c1d302b SHA1 babf7eb75b1326ee735c623c1585a0de94213ed7 SHA256 208508028efb28c842e5cde32aaeb630b1afc694c74d90ae3235272923ac5e34
+MD5 bf445a789efb91f949b2f2d11667b3d6 files/createtorrent-1.1.3-asneeded.patch 579
+RMD160 68c9363dee52bec27c7c15ad5c03a5f41c1d302b files/createtorrent-1.1.3-asneeded.patch 579
+SHA256 208508028efb28c842e5cde32aaeb630b1afc694c74d90ae3235272923ac5e34 files/createtorrent-1.1.3-asneeded.patch 579
 DIST createtorrent-1.1.3.tar.gz 78870 RMD160 76b145174e0f30e51f3a961b8d78e4e96fcacc24 SHA1 17c6c15df08c1af55e31fe25790c7594194f4d71 SHA256 2790eed74b127162cda365b0f091d0dfc2aab790f026ec42690d824192c051e3
-EBUILD createtorrent-1.1.3.ebuild 527 RMD160 ed0f512eddfc0856df62cf343a8e6cdda90b2ee7 SHA1 95384fe4165101c2acff87fdfa8f9fc39c1546e8 SHA256 4deed12bffaccb9549249efd7711a883eb5d5ddfe5bf096668a83fa3dacb838f
-MD5 1ae31aac230c5e248b86c2c5bec6d196 createtorrent-1.1.3.ebuild 527
-RMD160 ed0f512eddfc0856df62cf343a8e6cdda90b2ee7 createtorrent-1.1.3.ebuild 527
-SHA256 4deed12bffaccb9549249efd7711a883eb5d5ddfe5bf096668a83fa3dacb838f createtorrent-1.1.3.ebuild 527
-MISC ChangeLog 596 RMD160 fe0ea93750c2ba00d3671b27827d4a57f118f3fa SHA1 bc78e541100972a8f3f944a40f6c8d4ba08af167 SHA256 c5cbdc23024c12b4488fcca86d967afb18dcc4835ee128341652d46c48a938c8
-MD5 3c195289e993707924aed9fd8a5aba8e ChangeLog 596
-RMD160 fe0ea93750c2ba00d3671b27827d4a57f118f3fa ChangeLog 596
-SHA256 c5cbdc23024c12b4488fcca86d967afb18dcc4835ee128341652d46c48a938c8 ChangeLog 596
+EBUILD createtorrent-1.1.3-r1.ebuild 721 RMD160 25ce4675f7d4c89f4bf31facb29a644123c26d68 SHA1 4bfb91c1a27ed65a2e85f3b9302382c3d9a5c9fa SHA256 e10c0e5489a93371da5d214ca932055e251020dbfab4e71efc90252e8eea9189
+MD5 7c3cc4287179694f449157ce432ab404 createtorrent-1.1.3-r1.ebuild 721
+RMD160 25ce4675f7d4c89f4bf31facb29a644123c26d68 createtorrent-1.1.3-r1.ebuild 721
+SHA256 e10c0e5489a93371da5d214ca932055e251020dbfab4e71efc90252e8eea9189 createtorrent-1.1.3-r1.ebuild 721
+MISC ChangeLog 911 RMD160 6358dbb75a6f32c19f14ca25ebc5c9ac1d34c225 SHA1 bf77bd1713c8d141c131f51a080bcca684e34fda SHA256 97bdf691b073610e7d5ae1ff92478416259b19ffed8bb2f3d01c5a971fc4ac88
+MD5 a56dde96337f7681a420c8c5bdab3034 ChangeLog 911
+RMD160 6358dbb75a6f32c19f14ca25ebc5c9ac1d34c225 ChangeLog 911
+SHA256 97bdf691b073610e7d5ae1ff92478416259b19ffed8bb2f3d01c5a971fc4ac88 ChangeLog 911
 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 de35229dc72d9b85d7e9e1b76d6968be files/digest-createtorrent-1.1.3 256
-RMD160 604c9d1905926fbf9544404546ffa9c706429a2e files/digest-createtorrent-1.1.3 256
-SHA256 fc67a8b7184276f02c282ce66b3cf4c495da1a92483971367479d63c4f3a83a7 files/digest-createtorrent-1.1.3 256
+MD5 de35229dc72d9b85d7e9e1b76d6968be files/digest-createtorrent-1.1.3-r1 256
+RMD160 604c9d1905926fbf9544404546ffa9c706429a2e files/digest-createtorrent-1.1.3-r1 256
+SHA256 fc67a8b7184276f02c282ce66b3cf4c495da1a92483971367479d63c4f3a83a7 files/digest-createtorrent-1.1.3-r1 256
similarity index 54%
rename from net-p2p/createtorrent/createtorrent-1.1.3.ebuild
rename to net-p2p/createtorrent/createtorrent-1.1.3-r1.ebuild
index 3dff87e5ee1b98b398fdf9878693a396ff0c7a3d..6e241bb61a66f0801eb7bc59e637c1ef293041f8 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/createtorrent/createtorrent-1.1.3.ebuild,v 1.3 2007/03/10 12:39:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/createtorrent/createtorrent-1.1.3-r1.ebuild,v 1.1 2007/04/13 19:16:06 drac Exp $
 
-inherit eutils
+inherit autotools eutils
 
 DESCRIPTION="Create BitTorrent files easily"
 HOMEPAGE="http://www.createtorrent.com/"
@@ -13,6 +13,17 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE=""
 
+RDEPEND="dev-libs/openssl"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/${P}-asneeded.patch
+       eautoreconf
+}
+
 src_install() {
-       emake DESTDIR="${D}" install || die "make install failed"
+       emake DESTDIR="${D}" install || die "emake install failed."
+       dodoc AUTHORS ChangeLog NEWS README
 }
diff --git a/net-p2p/createtorrent/files/createtorrent-1.1.3-asneeded.patch b/net-p2p/createtorrent/files/createtorrent-1.1.3-asneeded.patch
new file mode 100644 (file)
index 0000000..4121c3c
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur createtorrent-1.1.3.orig/configure.in createtorrent-1.1.3/configure.in
+--- createtorrent-1.1.3.orig/configure.in      2007-02-10 10:20:05.000000000 +0200
++++ createtorrent-1.1.3/configure.in   2007-04-13 22:05:13.000000000 +0300
+@@ -2,7 +2,7 @@
+ AM_CONFIG_HEADER(config.h)
+ AM_INIT_AUTOMAKE(createtorrent,1.1.3)
+ AC_PROG_CC
+-AC_CHECK_LIB([ssl],[SHA1],,[AC_MSG_ERROR([error, OpenSSL required])])
++AC_CHECK_LIB(crypto, SHA1, LIBS="$LIBS -lcrypto")
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC
+ AC_CHECK_HEADER([openssl/sha.h],,[AC_MSG_ERROR([Error, OpenSSL header file sha.h not found.])])