From: Samuli Suominen Date: Fri, 13 Apr 2007 19:16:07 +0000 (+0000) Subject: Fix compilation with --as-needed for bug 172827 and install documentation. Thanks... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b579e4c665c932e6233127809d579d9b0092f61c;p=gentoo.git Fix compilation with --as-needed for bug 172827 and install documentation. Thanks to Maarten Maathuis for reporting. Package-Manager: portage-2.1.2.3 --- diff --git a/net-p2p/createtorrent/ChangeLog b/net-p2p/createtorrent/ChangeLog index 8476ff551e4b..08456b4f9dbd 100644 --- a/net-p2p/createtorrent/ChangeLog +++ b/net-p2p/createtorrent/ChangeLog @@ -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 + +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 createtorrent-1.1.3.ebuild: Fix HOMEPAGE, thanks to corsair for noticing this, bug 170236 diff --git a/net-p2p/createtorrent/Manifest b/net-p2p/createtorrent/Manifest index 4bfa88d53a8c..c523c532b86c 100644 --- a/net-p2p/createtorrent/Manifest +++ b/net-p2p/createtorrent/Manifest @@ -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 diff --git a/net-p2p/createtorrent/createtorrent-1.1.3.ebuild b/net-p2p/createtorrent/createtorrent-1.1.3-r1.ebuild 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 3dff87e5ee1b..6e241bb61a66 100644 --- a/net-p2p/createtorrent/createtorrent-1.1.3.ebuild +++ b/net-p2p/createtorrent/createtorrent-1.1.3-r1.ebuild @@ -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 index 000000000000..4121c3c749e1 --- /dev/null +++ b/net-p2p/createtorrent/files/createtorrent-1.1.3-asneeded.patch @@ -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.])]) diff --git a/net-p2p/createtorrent/files/digest-createtorrent-1.1.3 b/net-p2p/createtorrent/files/digest-createtorrent-1.1.3-r1 similarity index 100% rename from net-p2p/createtorrent/files/digest-createtorrent-1.1.3 rename to net-p2p/createtorrent/files/digest-createtorrent-1.1.3-r1