summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-04-13 19:16:07 +0000
committerSamuli Suominen <drac@gentoo.org>2007-04-13 19:16:07 +0000
commit36cfd749cc8865c80ab19ea07913f74d6177fd8c (patch)
treea6f8bdc4d34c8fc7ceaf73d7a9394f1e7fdd6e43 /net-p2p/createtorrent
parentRemove old versions. (diff)
downloadgentoo-2-36cfd749cc8865c80ab19ea07913f74d6177fd8c.tar.gz
gentoo-2-36cfd749cc8865c80ab19ea07913f74d6177fd8c.tar.bz2
gentoo-2-36cfd749cc8865c80ab19ea07913f74d6177fd8c.zip
Fix compilation with --as-needed for bug 172827 and install documentation. Thanks to Maarten Maathuis for reporting.
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-p2p/createtorrent')
-rw-r--r--net-p2p/createtorrent/ChangeLog10
-rw-r--r--net-p2p/createtorrent/createtorrent-1.1.3-r1.ebuild (renamed from net-p2p/createtorrent/createtorrent-1.1.3.ebuild)17
-rw-r--r--net-p2p/createtorrent/files/createtorrent-1.1.3-asneeded.patch12
-rw-r--r--net-p2p/createtorrent/files/digest-createtorrent-1.1.3-r1 (renamed from net-p2p/createtorrent/files/digest-createtorrent-1.1.3)0
4 files changed, 35 insertions, 4 deletions
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 <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
diff --git a/net-p2p/createtorrent/createtorrent-1.1.3.ebuild b/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
index 2bb328e2c031..2bb328e2c031 100644
--- a/net-p2p/createtorrent/files/digest-createtorrent-1.1.3
+++ b/net-p2p/createtorrent/files/digest-createtorrent-1.1.3-r1