summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-06-19 21:29:15 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-06-19 21:29:15 +0000
commita0a84034c4592779293821f4807accc67e07779f (patch)
tree53f4554162ac4dd031aa1f4933764e28c6698920 /net-p2p
parentFix plists. (diff)
Remove patch-libtransmission_platform.c, use -g/-w options in the rc script
instead. Bump the PORTREVISION on cli, daemon and gtk. Discussed with: Charles Kerr (developer)
Notes
Notes: svn path=/head/; revision=236347
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission-cli/Makefile2
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_platform.c33
-rw-r--r--net-p2p/transmission-cli/files/transmission.in4
-rw-r--r--net-p2p/transmission-daemon/Makefile2
-rw-r--r--net-p2p/transmission-gtk2/Makefile2
5 files changed, 6 insertions, 37 deletions
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile
index f7564dd4fd33..567bf9a9144a 100644
--- a/net-p2p/transmission-cli/Makefile
+++ b/net-p2p/transmission-cli/Makefile
@@ -7,7 +7,7 @@
PORTNAME= transmission
PORTVERSION= 1.72
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= net-p2p
MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/
PKGNAMESUFFIX?= -cli
diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_platform.c b/net-p2p/transmission-cli/files/patch-libtransmission_platform.c
deleted file mode 100644
index 1129f3add107..000000000000
--- a/net-p2p/transmission-cli/files/patch-libtransmission_platform.c
+++ /dev/null
@@ -1,33 +0,0 @@
---- libtransmission/platform.c.orig 2009-06-19 10:53:49.000000000 -0500
-+++ libtransmission/platform.c 2009-06-19 10:55:52.000000000 -0500
-@@ -232,22 +232,17 @@
-
- if( !home )
- {
-- home = tr_strdup( getenv( "HOME" ) );
--
-- if( !home )
-- {
- #ifdef WIN32
-- char appdata[MAX_PATH]; /* SHGetFolderPath() requires MAX_PATH */
-- *appdata = '\0';
-- SHGetFolderPath( NULL, CSIDL_PERSONAL, NULL, 0, appdata );
-- home = tr_strdup( appdata );
-+ char appdata[MAX_PATH]; /* SHGetFolderPath() requires MAX_PATH */
-+ *appdata = '\0';
-+ SHGetFolderPath( NULL, CSIDL_PERSONAL, NULL, 0, appdata );
-+ home = tr_strdup( appdata );
- #else
-- struct passwd * pw = getpwuid( getuid( ) );
-- if( pw )
-- home = tr_strdup( pw->pw_dir );
-- endpwent( );
-+ struct passwd * pw = getpwuid( getuid( ) );
-+ if( pw )
-+ home = tr_strdup( pw->pw_dir );
-+ endpwent( );
- #endif
-- }
-
- if( !home )
- home = tr_strdup( "" );
diff --git a/net-p2p/transmission-cli/files/transmission.in b/net-p2p/transmission-cli/files/transmission.in
index ce6aaaca6a49..3f64e5e3f729 100644
--- a/net-p2p/transmission-cli/files/transmission.in
+++ b/net-p2p/transmission-cli/files/transmission.in
@@ -13,7 +13,7 @@
# a path.
# transmission_conf_dir: Directory where transmission configuration
# data is stored.
-# Default: %%PREFIX%%/etc/transmission/home/.config
+# Default: %%PREFIX%%/etc/transmission/home
# transmission_download_dir: Directory to store downloaded data.
# Default: %%PREFIX%%/etc/transmission/home/Downloads
# transmission_user: The user account transmission daemon runs as what
@@ -33,6 +33,8 @@ load_rc_config ${name}
: ${transmission_enable:="NO"}
: ${transmission_user:="transmission"}
+: ${transmission_conf_dir:="%%PREFIX%%/etc/transmission/home"}
+: ${transmission_download_dir:="%%PREFIX%%/etc/transmission/home/Downloads"}
transmission_flags=" \
${transmission_watch_dir:+-c ${transmission_watch_dir}} \
diff --git a/net-p2p/transmission-daemon/Makefile b/net-p2p/transmission-daemon/Makefile
index 1618893795da..11abdb754572 100644
--- a/net-p2p/transmission-daemon/Makefile
+++ b/net-p2p/transmission-daemon/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 1
+PORTREVISION= 2
PKGNAMESUFFIX= -daemon
MAINTAINER= mezz@FreeBSD.org
diff --git a/net-p2p/transmission-gtk2/Makefile b/net-p2p/transmission-gtk2/Makefile
index bb585899b55c..94eeef2e6588 100644
--- a/net-p2p/transmission-gtk2/Makefile
+++ b/net-p2p/transmission-gtk2/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -gtk2
MAINTAINER= mezz@FreeBSD.org