View | Details | Raw Unified | Return to bug 269504 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-p2p/transmission/Makefile (-27 / +54 lines)
Lines 1-29 Link Here
1
PORTNAME=	transmission
1
PORTNAME=       transmission
2
DISTVERSION=	3.00
2
DISTVERSION=    4.0.3
3
PORTREVISION=	1
3
PORTREVISION=   0
4
CATEGORIES=	net-p2p
4
CATEGORIES=     net-p2p
5
5
6
MAINTAINER=	rigoletto@FreeBSD.org
6
MAINTAINER=     mondo.debater_0q@icloud.com
7
COMMENT=	Meta-port for Transmission BitTorrent client
7
COMMENT=        Transmission BitTorrent client
8
WWW=		https://www.transmissionbt.com/
8
WWW=            https://www.transmissionbt.com/
9
9
LICENSE=	GPLv3+
10
USES=		metaport
10
11
11
USES=		cpe
12
OPTIONS_DEFINE=		CLI DAEMON GTK QT UTILS WEB
12
13
OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
13
CPE_VENDOR=	transmissionbt
14
14
CPE_PRODUCT=	transmission
15
CLI_DESC=		Command line version
15
16
DAEMON_DESC=		Daemon version
16
USE_GITHUB=	YES
17
GTK_DESC=		GTK version
17
GH_TUPLE=	google:googletest:af29db7:googletest/third-party/googletest \
18
QT_DESC=		Qt version
18
		transmission:libutp:c95738b:transmission/third-party/libutp \
19
UTILS_DESC=		Command line tools
19
		transmission:fast_float:6624977:fast_float/third-party/fast_float \
20
WEB_DESC=		Web client
20
		transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \
21
21
		transmission:fmt:c4ee726:fmt/third-party/fmt \
22
CLI_RUN_DEPENDS=	transmission-cli:net-p2p/transmission-cli
22
		transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer \
23
DAEMON_RUN_DEPENDS=	transmission-daemon:net-p2p/transmission-daemon
23
24
GTK_RUN_DEPENDS=	transmission-gtk:net-p2p/transmission-gtk
24
USERS=		transmission
25
QT_RUN_DEPENDS=		transmission-qt:net-p2p/transmission-qt
25
GROUPS=		transmission
26
UTILS_RUN_DEPENDS=	transmission-create:net-p2p/transmission-utils
26
USE_RC_SUBR=	transmission
27
WEB_RUN_DEPENDS=	${DATADIR}/web/index.html:www/transmission-web
27
28
LIB_DEPENDS=	libcurl.so:ftp/curl \
29
                libb64.so:converters/libb64 \
30
                libevent.so:devel/libevent \
31
		libfmt.so:devel/libfmt \
32
		libpsl.so:dns/libpsl \
33
                libdht.so:devel/jech-dht \
34
		libdeflate.so:archivers/libdeflate \
35
		libnatpmp.so:net/libnatpmp \
36
                libminiupnpc.so:net/miniupnpc \
37
38
USES=		cmake iconv libtool localbase pkgconfig ssl
39
40
CMAKE_OFF=	ENABLE_MAC WITH_SYSTEMD USE_SYSTEM_UTP REBUILD_WEB
41
CMAKE_ON=	ENABLE_CLI USE_SYSTEM_EVENT2 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP USE_SYSTEM_PSL USE_SYSTEM_B64 
42
CMAKE_ARGS=    -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=/usr/local/include -DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=/usr/local/include 
43
44
OPTIONS_DEFINE=	DOCS NLS TESTS UTILS 
45
OPTIONS_DEFAULT= TESTS UTILS 
46
TESTS_DESC= 	Build unit tests
47
UTILS_DESC=	Build utilities (create, edit, show)
48
49
NLS_CMAKE_BOOL=	ENABLE_NLS
50
NLS_USES=	gettext-runtime:run
51
52
DOCS_CMAKE_ON=	-DCMAKE_INSTALL_DOCDIR=${DOCSDIR}
53
54
TESTS_CMAKE_BOOL=	ENABLE_TESTS
28
55
29
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)b/net-p2p/transmission/distinfo (+15 lines)
Added Link Here
1
TIMESTAMP = 1688004984
2
SHA256 (transmission-transmission-4.0.3_GH0.tar.gz) = f6184a199c9878695cec020fab7cc9859309496e96f218a7753fd501434c632c
3
SIZE (transmission-transmission-4.0.3_GH0.tar.gz) = 9062467
4
SHA256 (google-googletest-af29db7_GH0.tar.gz) = cebd59f4dd7380870c4cbc57f75bd4453d84c68847fee020c95019b2841ae7a2
5
SIZE (google-googletest-af29db7_GH0.tar.gz) = 841006
6
SHA256 (transmission-libutp-c95738b_GH0.tar.gz) = 0cf69bccedab159c7d1b52cbb6f7085ef567ed5bf46d541f7d2074130d181ff1
7
SIZE (transmission-libutp-c95738b_GH0.tar.gz) = 59671
8
SHA256 (transmission-fast_float-6624977_GH0.tar.gz) = a7fed3253e8604ad0b3c0649f7b99e004f61bf0b82096f43edbb597f9a9b4dc3
9
SIZE (transmission-fast_float-6624977_GH0.tar.gz) = 76763
10
SHA256 (transmission-utfcpp-b85efd6_GH0.tar.gz) = 98c7f02180c92a6b5fa90bbf157c3f441fcf47565c10948d221de3097893507a
11
SIZE (transmission-utfcpp-b85efd6_GH0.tar.gz) = 27376
12
SHA256 (transmission-fmt-c4ee726_GH0.tar.gz) = 05ba66b0a9ed040e5cfb07e845a0aa61fdbbb9a0cbd22a1860a303e8cbf343e4
13
SIZE (transmission-fmt-c4ee726_GH0.tar.gz) = 833672
14
SHA256 (transmission-wide-integer-4de0b52_GH0.tar.gz) = 8754e29f002ba78228675ad95b7eb4d828e23c7a4ec227815fe8a2238c8111eb
15
SIZE (transmission-wide-integer-4de0b52_GH0.tar.gz) = 124910
(-)b/net-p2p/transmission/files/transmission.in (+70 lines)
Added Link Here
1
#!/bin/sh
2
3
# PROVIDE: transmission
4
# REQUIRE: DAEMON
5
# KEYWORD: shutdown
6
#
7
# Add the following lines to /etc/rc.conf to enable this service:
8
#
9
# transmission_enable:	     Set to NO by default. Set it to YES to enable it.
10
# transmission_watch_dir:    Directory for torrent files to download
11
#			     automatically. Off by default unless you add
12
#			     a path.
13
# transmission_conf_dir:     Directory where transmission configuration
14
#			     data is stored.
15
#			     Default: %%PREFIX%%/etc/transmission/home
16
# transmission_download_dir: Directory to store downloaded data.
17
#			     Default: %%PREFIX%%/etc/transmission/home/Downloads
18
# transmission_user:	     The user account transmission daemon runs as what
19
#			     you want it to be. It uses 'transmission' user by
20
#			     default.
21
# transmission_web_home:     Use alternative directory for the web interface
22
#			     files, such as javascript, html and graphics.
23
# transmission_chown:	     By default, transmission checks and fixes the
24
#			     permissions for its home directory.  If this
25
#			     causes problems, set this variable to no.
26
#
27
28
. /etc/rc.subr
29
30
name=transmission
31
rcvar=transmission_enable
32
33
load_rc_config $name
34
35
: ${transmission_enable:=NO}
36
: ${transmission_conf_dir=%%PREFIX%%/etc/transmission/home}
37
: ${transmission_download_dir=%%PREFIX%%/etc/transmission/home/Downloads}
38
: ${transmission_user:=transmission}
39
transmission_group=${transmission_group:-$transmission_user}
40
: ${transmission_chown:=yes}
41
42
command=%%PREFIX%%/bin/transmission-daemon
43
pidfile=/var/run/transmission/daemon.pid
44
extra_commands=reload
45
start_precmd=transmission_prestart
46
47
transmission_flags=" \
48
	${transmission_watch_dir:+-c ${transmission_watch_dir}} \
49
	${transmission_conf_dir:+-g ${transmission_conf_dir}} \
50
	${transmission_download_dir:+-w ${transmission_download_dir}} \
51
	${pidfile:+-x $pidfile} \
52
	${transmission_flags}"
53
54
transmission_prestart()
55
{
56
	install -d -o $transmission_user ${pidfile%/*}
57
	if checkyesno transmission_chown; then
58
		mkdir -p $transmission_conf_dir $transmission_download_dir
59
		chown $transmission_user:$transmission_group $transmission_download_dir
60
		chown -R $transmission_user:$transmission_group $transmission_conf_dir
61
		chgrp $transmission_group $transmission_conf_dir
62
		chmod 750 $transmission_conf_dir
63
	fi
64
	if [ -n "$transmission_web_home" ]; then
65
		TRANSMISSION_WEB_HOME=$transmission_web_home
66
		export TRANSMISSION_WEB_HOME
67
	fi
68
}
69
70
run_rc_command $1
(-)b/net-p2p/transmission/pkg-descr (+1 lines)
Lines 3-5 powerful BitTorrent client. Its simple, intuitive interface is designed Link Here
3
to integrate tightly with whatever computing environment you choose to
3
to integrate tightly with whatever computing environment you choose to
4
use. Transmission strikes a balance between providing useful functionality
4
use. Transmission strikes a balance between providing useful functionality
5
without feature bloat. Furthermore, it is free for anyone to use or modify.
5
without feature bloat. Furthermore, it is free for anyone to use or modify.
6
(-)b/net-p2p/transmission/pkg-plist (-1 / +56 lines)
Added Link Here
0
- 
1
bin/transmission-cli
2
bin/transmission-create
3
bin/transmission-daemon
4
bin/transmission-edit
5
bin/transmission-remote
6
bin/transmission-show
7
etc/rc.d/transmission
8
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
9
%%PORTDOCS%%%%DOCSDIR%%/COPYING
10
%%PORTDOCS%%%%DOCSDIR%%/README.md
11
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.42-and-older.md
12
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.50.md
13
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.51.md
14
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.52.md
15
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.60.md
16
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.61.md
17
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.70.md
18
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.71.md
19
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.72.md
20
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.73.md
21
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.74.md
22
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.75.md
23
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.76.md
24
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.77.md
25
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.80.md
26
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.81.md
27
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.82.md
28
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.83.md
29
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.84.md
30
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.90.md
31
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.91.md
32
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.92.md
33
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.93.md
34
%%PORTDOCS%%%%DOCSDIR%%/news/news-2.94.md
35
%%PORTDOCS%%%%DOCSDIR%%/news/news-3.00.md
36
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0-beta-1.md
37
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0-beta-2.md
38
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0-beta-3.md
39
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0.md
40
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.1.md
41
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.2.md
42
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.3.md
43
%%PORTDOCS%%%%DOCSDIR%%/rpc-spec.md
44
%%PORTDOCS%%%%DOCSDIR%%/send-email-when-torrent-done.sh
45
share/man/man1/transmission-cli.1.gz
46
share/man/man1/transmission-create.1.gz
47
share/man/man1/transmission-daemon.1.gz
48
share/man/man1/transmission-edit.1.gz
49
share/man/man1/transmission-remote.1.gz
50
share/man/man1/transmission-show.1.gz
51
%%DATADIR%%/public_html/images/favicon.ico
52
%%DATADIR%%/public_html/images/favicon.png
53
%%DATADIR%%/public_html/images/webclip-icon.png
54
%%DATADIR%%/public_html/index.html
55
%%DATADIR%%/public_html/transmission-app.js
56
%%DATADIR%%/public_html/transmission-app.js.LICENSE.txt

Return to bug 269504