summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-01-26 00:09:52 +0000
committerMike Gilbert <floppym@gentoo.org>2012-01-26 00:09:52 +0000
commitbfb90aed7f5ee98644d9767e8ee4131f24a6297c (patch)
treef765f0bc7c6de19ad566bea3846f2ab751ac42dd /net-p2p/transmission
parentStable on amd64 wrt bug #400431 (diff)
downloadgentoo-2-bfb90aed7f5ee98644d9767e8ee4131f24a6297c.tar.gz
gentoo-2-bfb90aed7f5ee98644d9767e8ee4131f24a6297c.tar.bz2
gentoo-2-bfb90aed7f5ee98644d9767e8ee4131f24a6297c.zip
Remove bad patch due to cvs keyword substitution.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/ChangeLog6
-rw-r--r--net-p2p/transmission/files/transmission-2.42-natpmp-system.patch260
2 files changed, 5 insertions, 261 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index 573aa0ca8341..8fc404b25b59 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.163 2012/01/25 14:33:01 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.164 2012/01/26 00:09:52 floppym Exp $
+
+ 26 Jan 2012; Mike Gilbert <floppym@gentoo.org>
+ -files/transmission-2.42-natpmp-system.patch:
+ Remove bad patch due to cvs keyword substitution.
*transmission-2.42 (25 Jan 2012)
diff --git a/net-p2p/transmission/files/transmission-2.42-natpmp-system.patch b/net-p2p/transmission/files/transmission-2.42-natpmp-system.patch
deleted file mode 100644
index cdf1872d7131..000000000000
--- a/net-p2p/transmission/files/transmission-2.42-natpmp-system.patch
+++ /dev/null
@@ -1,260 +0,0 @@
-diff -urN transmission-2.42.old/cli/Makefile.am transmission-2.42/cli/Makefile.am
---- transmission-2.42.old/cli/Makefile.am 2012-01-25 12:30:32.737406480 +0100
-+++ transmission-2.42/cli/Makefile.am 2012-01-25 15:25:14.903209957 +0100
-@@ -19,7 +19,7 @@
- transmission_cli_LDADD = \
- $(top_builddir)/libtransmission/libtransmission.a \
- @LIBUPNP_LIBS@ \
-- $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
-+ @LIBNATPMP_LIBS@ \
- @DHT_LIBS@ \
- @LIBUTP_LIBS@ \
- @LIBEVENT_LIBS@ \
-diff -urN transmission-2.42.old/configure.ac transmission-2.42/configure.ac
---- transmission-2.42.old/configure.ac 2012-01-25 12:30:32.742406446 +0100
-+++ transmission-2.42/configure.ac 2012-01-25 14:45:14.264515474 +0100
-@@ -302,6 +302,29 @@
- AC_SUBST(LIBUPNP_CFLAGS)
- AC_SUBST(LIBUPNP_LIBS)
- AC_SUBST(LIBUPNP_LIBS_QT)
-+
-+dnl ----------------------------------------------------------------------------
-+dnl
-+dnl Allow usage of system natpmp library
-+LIBNATPMP_CFLAGS="-I\$(top_srcdir)/third-party/libnatpmp/"
-+LIBNATPMP_LIBS="\$(top_builddir)/third-party/natpmp/libnatpmp.a"
-+LIBNATPMP_LIBS_QT="\$\${TRANSMISSION_TOP}/third-party/natpmp/libnatpmp.a"
-+build_bundled_natpmp="yes"
-+AC_ARG_ENABLE([external-natpmp],
-+ AS_HELP_STRING([--enable-external-natpmp],[Use system external-natpmp]),
-+ [want_external_natpmp=${enableval}],
-+ [want_external_natpmp=no])
-+if test "x$want_external_natpmp" != "xno" ; then
-+ dnl Would be lovely if it had pkgconfig
-+ LIBNATPMP_CFLAGS=""
-+ LIBNATPMP_LIBS="-lnatpmp"
-+ LIBNATPMP_LIBS_QT="-lnatpmp"
-+ build_bundled_natpmp="no"
-+fi
-+AM_CONDITIONAL([BUILD_NATPMP],[test "x$build_bundled_natpmp" = "xyes"])
-+AC_SUBST(LIBNATPMP_CFLAGS)
-+AC_SUBST(LIBNATPMP_LIBS)
-+AC_SUBST(LIBNATPMP_LIBS_QT)
- dnl ----------------------------------------------------------------------------
- dnl
- dnl detection for the GTK+ client
-diff -urN transmission-2.42.old/daemon/Makefile.am transmission-2.42/daemon/Makefile.am
---- transmission-2.42.old/daemon/Makefile.am 2012-01-25 12:30:32.742406446 +0100
-+++ transmission-2.42/daemon/Makefile.am 2012-01-25 12:48:10.476222152 +0100
-@@ -21,7 +21,7 @@
- LDADD = \
- $(top_builddir)/libtransmission/libtransmission.a \
- @LIBUPNP_LIBS@ \
-- $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
-+ @LIBNATPMP_LIBS@ \
- @DHT_LIBS@ \
- @LIBUTP_LIBS@ \
- @LIBEVENT_LIBS@ \
-diff -urN transmission-2.42.old/gtk/Makefile.am transmission-2.42/gtk/Makefile.am
---- transmission-2.42.old/gtk/Makefile.am 2012-01-25 12:30:32.742406446 +0100
-+++ transmission-2.42/gtk/Makefile.am 2012-01-25 14:46:46.797886956 +0100
-@@ -85,7 +85,7 @@
- transmission_gtk_LDADD = \
- $(top_builddir)/libtransmission/libtransmission.a \
- @LIBUPNP_LIBS@ \
-- $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
-+ @LIBNATPMP_LIBS@ \
- @DHT_LIBS@ \
- @LIBUTP_LIBS@ \
- @GTK_LIBS@ \
-diff -urN transmission-2.42.old/libtransmission/Makefile.am transmission-2.42/libtransmission/Makefile.am
---- transmission-2.42.old/libtransmission/Makefile.am 2012-01-25 12:30:32.739406466 +0100
-+++ transmission-2.42/libtransmission/Makefile.am 2012-01-25 15:10:54.507053909 +0100
-@@ -1,7 +1,5 @@
- AM_CPPFLAGS = \
-- -I. \
- -I$(top_srcdir) \
-- -I$(top_srcdir)/third-party/ \
- -D__TRANSMISSION__ \
- -DPACKAGE_DATA_DIR=\""$(datadir)"\"
-
-@@ -9,6 +7,7 @@
- @DHT_CFLAGS@ \
- @LIBUTP_CFLAGS@ \
- @LIBUPNP_CFLAGS@ \
-+ @LIBNATPMP_CFLAGS@ \
- @LIBEVENT_CFLAGS@ \
- @LIBCURL_CFLAGS@ \
- @OPENSSL_CFLAGS@ \
-@@ -91,7 +90,7 @@
- magnet.h \
- makemeta.h \
- metainfo.h \
-- natpmp.h \
-+ natpmp_local.h \
- net.h \
- peer-common.h \
- peer-io.h \
-@@ -141,7 +140,7 @@
- apps_ldadd = \
- ./libtransmission.a \
- @LIBUPNP_LIBS@ \
-- $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
-+ @LIBNATPMP_LIBS@ \
- @INTLLIBS@ \
- @DHT_LIBS@ \
- @LIBUTP_LIBS@ \
-diff -urN transmission-2.42.old/libtransmission/natpmp.c transmission-2.42/libtransmission/natpmp.c
---- transmission-2.42.old/libtransmission/natpmp.c 2012-01-25 12:30:32.739406466 +0100
-+++ transmission-2.42/libtransmission/natpmp.c 2012-01-25 15:11:10.186947403 +0100
-@@ -17,10 +17,10 @@
- #include <event2/util.h> /* evutil_inet_ntop() */
-
- #define ENABLE_STRNATPMPERR
--#include <libnatpmp/natpmp.h>
-+#include "natpmp.h"
-
- #include "transmission.h"
--#include "natpmp.h"
-+#include "natpmp_local.h"
- #include "net.h" /* tr_netCloseSocket */
- #include "port-forwarding.h"
- #include "utils.h"
-diff -urN transmission-2.42.old/libtransmission/natpmp.h transmission-2.42/libtransmission/natpmp.h
---- transmission-2.42.old/libtransmission/natpmp.h 2012-01-25 12:30:32.739406466 +0100
-+++ transmission-2.42/libtransmission/natpmp.h 1970-01-01 01:00:00.000000000 +0100
-@@ -1,34 +0,0 @@
--/*
-- * This file Copyright (C) Mnemosyne LLC
-- *
-- * This file is licensed by the GPL version 2. Works owned by the
-- * Transmission project are granted a special exemption to clause 2(b)
-- * so that the bulk of its code can remain under the MIT license.
-- * This exemption does not extend to derived works not owned by
-- * the Transmission project.
-- *
-- * $Id: natpmp.h 12204 2011-03-22 15:19:54Z jordan $
-- */
--
--#ifndef __TRANSMISSION__
--#error only libtransmission should #include this header.
--#endif
--
--#ifndef TR_NATPMP_H
--#define TR_NATPMP_H 1
--
--/**
-- * @addtogroup port_forwarding Port Forwarding
-- * @{
-- */
--
--typedef struct tr_natpmp tr_natpmp;
--
--tr_natpmp * tr_natpmpInit( void );
--
--void tr_natpmpClose( tr_natpmp * );
--
--int tr_natpmpPulse( tr_natpmp *, tr_port port, bool isEnabled, tr_port * public_port );
--
--/* @} */
--#endif
-diff -urN transmission-2.42.old/libtransmission/natpmp_local.h transmission-2.42/libtransmission/natpmp_local.h
---- transmission-2.42.old/libtransmission/natpmp_local.h 1970-01-01 01:00:00.000000000 +0100
-+++ transmission-2.42/libtransmission/natpmp_local.h 2012-01-25 12:27:55.513474369 +0100
-@@ -0,0 +1,34 @@
-+/*
-+ * This file Copyright (C) Mnemosyne LLC
-+ *
-+ * This file is licensed by the GPL version 2. Works owned by the
-+ * Transmission project are granted a special exemption to clause 2(b)
-+ * so that the bulk of its code can remain under the MIT license.
-+ * This exemption does not extend to derived works not owned by
-+ * the Transmission project.
-+ *
-+ * $Id: natpmp.h 12204 2011-03-22 15:19:54Z jordan $
-+ */
-+
-+#ifndef __TRANSMISSION__
-+#error only libtransmission should #include this header.
-+#endif
-+
-+#ifndef TR_NATPMP_H
-+#define TR_NATPMP_H 1
-+
-+/**
-+ * @addtogroup port_forwarding Port Forwarding
-+ * @{
-+ */
-+
-+typedef struct tr_natpmp tr_natpmp;
-+
-+tr_natpmp * tr_natpmpInit( void );
-+
-+void tr_natpmpClose( tr_natpmp * );
-+
-+int tr_natpmpPulse( tr_natpmp *, tr_port port, bool isEnabled, tr_port * public_port );
-+
-+/* @} */
-+#endif
-diff -urN transmission-2.42.old/libtransmission/port-forwarding.c transmission-2.42/libtransmission/port-forwarding.c
---- transmission-2.42.old/libtransmission/port-forwarding.c 2012-01-25 12:30:32.739406466 +0100
-+++ transmission-2.42/libtransmission/port-forwarding.c 2012-01-25 15:19:34.684520801 +0100
-@@ -18,7 +18,7 @@
- #include <event2/event.h>
-
- #include "transmission.h"
--#include "natpmp.h"
-+#include "natpmp_local.h"
- #include "net.h"
- #include "peer-mgr.h"
- #include "port-forwarding.h"
-diff -urN transmission-2.42.old/qt/config.in transmission-2.42/qt/config.in
---- transmission-2.42.old/qt/config.in 2012-01-25 12:30:32.741406452 +0100
-+++ transmission-2.42/qt/config.in 2012-01-25 14:47:43.390502589 +0100
-@@ -1,3 +1,4 @@
- LIBUTP_LIBS = @LIBUTP_LIBS_QT@
- MINIUPNP_LIBS = @LIBUPNP_LIBS_QT@
-+NATPNP_LIBS = @LIBNATPNP_LIBS_QT@
-
-diff -urN transmission-2.42.old/qt/qtr.pro transmission-2.42/qt/qtr.pro
---- transmission-2.42.old/qt/qtr.pro 2012-01-25 12:30:32.742406446 +0100
-+++ transmission-2.42/qt/qtr.pro 2012-01-25 14:47:32.270578114 +0100
-@@ -24,7 +24,7 @@
- LIBS += $${LIBUTP_LIBS}
- LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
- LIBS += $${MINIUPNP_LIBS}
--LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
-+LIBS += $${NATPNP_LIBS}
- unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
- win32:DEFINES += QT_DBUS
- win32:LIBS += -levent-2.0 -lws2_32 -lintl
-diff -urN transmission-2.42.old/third-party/Makefile.am transmission-2.42/third-party/Makefile.am
---- transmission-2.42.old/third-party/Makefile.am 2012-01-25 12:30:32.702406719 +0100
-+++ transmission-2.42/third-party/Makefile.am 2012-01-25 14:45:04.312583068 +0100
-@@ -4,10 +4,13 @@
- if BUILD_MINIUPNP
- MINIUPNP_DIR = miniupnp
- endif
-+if BUILD_NATPMP
-+ NATPMP_DIR = libnatpmp
-+endif
-
- SUBDIRS = \
- dht \
-- libnatpmp \
-+ $(NATPMP_DIR) \
- $(MINIUPNP_DIR) \
- $(UTP_DIR)
-
-diff -urN transmission-2.42.old/utils/Makefile.am transmission-2.42/utils/Makefile.am
---- transmission-2.42.old/utils/Makefile.am 2012-01-25 12:30:32.744406434 +0100
-+++ transmission-2.42/utils/Makefile.am 2012-01-25 12:48:14.787192871 +0100
-@@ -27,7 +27,7 @@
- transmission_create_LDADD = \
- $(top_builddir)/libtransmission/libtransmission.a \
- @LIBUPNP_LIBS@ \
-- $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
-+ @LIBNATPMP_LIBS@ \
- @INTLLIBS@ \
- @DHT_LIBS@ \
- @LIBUTP_LIBS@ \