View | Details | Raw Unified | Return to bug 279214
Collapse All | Expand All

(-)b/UPDATING (+7 lines)
Lines 5-10 they are unavoidable. Link Here
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20240522:
9
  AFFECTS: net-p2p/transmission-daemon
10
11
  The web interface has been separated from the daemon port into its own port.
12
  This allows users of transmission-gtk and transmission-qt to install the web
13
  interface.
14
8
20240521:
15
20240521:
9
  AFFECTS: www/gitlab
16
  AFFECTS: www/gitlab
10
  AUTHOR: mfechner@FreeBSD.org
17
  AUTHOR: mfechner@FreeBSD.org
(-)b/net-p2p/transmission-components/Makefile (-6 / +18 lines)
Lines 1-6 Link Here
1
PORTNAME=	transmission
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.5
2
DISTVERSION=	4.0.5
3
PORTREVISION=	1
3
PORTREVISION=	2
4
CATEGORIES=	net-p2p
4
CATEGORIES=	net-p2p
5
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
5
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
6
6
Lines 25-31 LIB_DEPENDS= libb64.so:converters/libb64 \ Link Here
25
		libpsl.so:dns/libpsl \
25
		libpsl.so:dns/libpsl \
26
		libutp.so:net-p2p/libutp
26
		libutp.so:net-p2p/libutp
27
27
28
FLAVORS=			cli docs daemon gtk qt utils
28
FLAVORS=			cli docs daemon gtk qt utils web
29
FLAVOR?=			${FLAVORS:[1]}
29
FLAVOR?=			${FLAVORS:[1]}
30
.for flavor in ${FLAVORS}
30
.for flavor in ${FLAVORS}
31
${flavor}_PKGNAMESUFFIX=	-${flavor}
31
${flavor}_PKGNAMESUFFIX=	-${flavor}
Lines 77-82 USE_RC_SUBR= transmission Link Here
77
USES=		cpe tar:xz
77
USES=		cpe tar:xz
78
.endif
78
.endif
79
79
80
.if ${FLAVOR} == web
81
USES=		cpe tar:xz
82
NO_ARCH=	yes
83
NO_BUILD=	yes
84
#PORTDATA=	public_html
85
.endif
86
80
CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
87
CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
81
		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
88
		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
82
		USE_SYSTEM_PSL USE_SYSTEM_UTP
89
		USE_SYSTEM_PSL USE_SYSTEM_UTP
Lines 96-102 CMAKE_OFF+= ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB Link Here
96
103
97
.if ${FLAVOR} == daemon
104
.if ${FLAVOR} == daemon
98
CMAKE_ON+=	ENABLE_DAEMON
105
CMAKE_ON+=	ENABLE_DAEMON
99
CMAKE_OFF+=	ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS
106
CMAKE_OFF+=	ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB
100
.endif
107
.endif
101
108
102
.if ${FLAVOR} == gtk
109
.if ${FLAVOR} == gtk
Lines 120-127 CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \ Link Here
120
OPTIONS_FILE=	${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options
127
OPTIONS_FILE=	${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options
121
128
122
.if ${FLAVOR:Mdaemon}
129
.if ${FLAVOR:Mdaemon}
123
OPTIONS_DEFINE=		NLS TESTS WEB
130
OPTIONS_DEFINE=		NLS TESTS
124
OPTIONS_DEFAULT=	NLS WEB
131
OPTIONS_DEFAULT=	NLS 
125
.endif
132
.endif
126
133
127
.if ${FLAVOR:Mdocs}
134
.if ${FLAVOR:Mdocs}
Lines 142-148 qt_DESC= Build QT client Link Here
142
TESTS_DESC=	Build & run unit tests
149
TESTS_DESC=	Build & run unit tests
143
utils_DESC=	Build utilities (create, edit, remote, show)
150
utils_DESC=	Build utilities (create, edit, remote, show)
144
cli_DESC=	Build command-line client (deprecated)
151
cli_DESC=	Build command-line client (deprecated)
145
WEB_DESC=	Install web client (implies daemon)
152
#web_DESC=	Install web interface
146
153
147
NLS_USES=	gettext-runtime:lib
154
NLS_USES=	gettext-runtime:lib
148
NLS_CMAKE_BOOL=	ENABLE_NLS
155
NLS_CMAKE_BOOL=	ENABLE_NLS
Lines 181-186 post-install: Link Here
181
	        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
188
	        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
182
.endif
189
.endif
183
190
191
.if ${FLAVOR} == web
192
do-install:
193
		( cd ${WRKSRC}/web && ${COPYTREE_SHARE} public_html ${STAGEDIR}${DATADIR} )
194
.endif
195
184
post-install-TESTS-on:
196
post-install-TESTS-on:
185
	@${ECHO_MSG} "Running tests..."
197
	@${ECHO_MSG} "Running tests..."
186
	@cd ${BUILD_WRKSRC}/tests/libtransmission/ && \
198
	@cd ${BUILD_WRKSRC}/tests/libtransmission/ && \
(-)b/net-p2p/transmission-components/pkg-descr.daemon (-6 / +1 lines)
Lines 1-9 Link Here
1
The transmission-daemon is a daemon-based Transmission session that can be
1
The transmission-daemon is a daemon-based Transmission session that can be
2
controlled via RPC by transmission-remote (see transmission-utils) and
2
controlled via RPC by transmission-remote (see transmission-utils) and
3
other Transmission BiTtorrent client such as GTK+ and CLI interface.
3
other Transmission BiTtorrent client such as GTK+ and CLI interface.
4
4
The daemon may also be controlled by installing the web interface.
5
Transmission Web Interface (Clutch) is a WebUI for the Transmission BitTorrent
6
client. It allows you to manage your torrents from anywhere you can access the
7
internet, and runs on OS X and various flavors of *nix. It provides most of
8
the basic features of the desktop client, including torrent upload, torrent
9
start/stop, file path selection, speed limiting etc.
(-)b/net-p2p/transmission-components/pkg-descr.gtk (-1 / +3 lines)
Line 1 Link Here
1
Transmission-gtk provides a native Transmission client for the GNOME desktop environment.
1
Transmission-gtk provides a native Transmission client for the GNOME desktop
2
environment. The gtk client may also be controlled by installing the web 
3
interface.
(-)b/net-p2p/transmission-components/pkg-descr.qt (-1 / +3 lines)
Line 1 Link Here
1
Transmission-qt provides a native Transmission client for the KDE and GNOME desktop environments.
1
Transmission-qt provides a native Transmission client for the KDE and GNOME 
2
desktop environments. The daemon may also be controlled by installing the web 
3
interface.
(-)b/net-p2p/transmission-components/pkg-descr.web (+8 lines)
Added Link Here
1
Transmission Web Interface (Clutch) is a WebUI for the Transmission BitTorrent
2
client. It allows you to manage your torrents from anywhere you can access the
3
internet, and runs on OS X and various flavors of *nix. It provides most of
4
the basic features of the desktop client, including torrent upload, torrent
5
start/stop, file path selection, speed limiting etc.
6
7
Use of the Transmission Web Interface requires installation of 
8
transmission-daemon, transmisssion-gtk, or transmission-qt.
(-)b/net-p2p/transmission-components/pkg-plist.daemon (-7 lines)
Lines 1-10 Link Here
1
bin/transmission-daemon
1
bin/transmission-daemon
2
@dir %%ETCDIR%%/home
2
@dir %%ETCDIR%%/home
3
share/man/man1/transmission-daemon.1.gz
3
share/man/man1/transmission-daemon.1.gz
4
%%WEB%%%%DATADIR%%/public_html/images/favicon.ico
5
%%WEB%%%%DATADIR%%/public_html/images/favicon.png
6
%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
7
%%WEB%%%%DATADIR%%/public_html/index.html
8
%%WEB%%%%DATADIR%%/public_html/transmission-app.css
9
%%WEB%%%%DATADIR%%/public_html/transmission-app.js
10
%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LEGAL.txt
(-)b/net-p2p/transmission-components/pkg-plist.web (+7 lines)
Added Link Here
1
%%DATADIR%%/public_html/images/favicon.ico
2
%%DATADIR%%/public_html/images/favicon.png
3
%%DATADIR%%/public_html/images/webclip-icon.png
4
%%DATADIR%%/public_html/index.html
5
%%DATADIR%%/public_html/transmission-app.css
6
%%DATADIR%%/public_html/transmission-app.js
7
%%DATADIR%%/public_html/transmission-app.js.LEGAL.txt
(-)b/net-p2p/transmission/Makefile (-3 / +5 lines)
Lines 1-5 Link Here
1
PORTNAME=	transmission
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.5
2
DISTVERSION=	4.0.5
3
PORTREVISION=	1
3
CATEGORIES=	net-p2p
4
CATEGORIES=	net-p2p
4
5
5
MAINTAINER=	mondo.debater_0q@icloud.com
6
MAINTAINER=	mondo.debater_0q@icloud.com
Lines 10-17 LICENSE= GPLv3+ Link Here
10
11
11
USES=		metaport
12
USES=		metaport
12
13
13
OPTIONS_DEFINE=		CLI DAEMON DOCS GTK QT UTILS
14
OPTIONS_DEFINE=		CLI DAEMON DOCS GTK QT UTILS WEB
14
OPTIONS_DEFAULT=	CLI DAEMON GTK QT UTILS
15
OPTIONS_DEFAULT=	CLI DAEMON GTK QT UTILS WEB
15
16
16
CLI_DESC=	Build command-line client (deprecated)
17
CLI_DESC=	Build command-line client (deprecated)
17
DAEMON_DESC=	Build daemon
18
DAEMON_DESC=	Build daemon
Lines 19-24 DOCS_DESC= Install documentation Link Here
19
GTK_DESC=	Build GTK+ client
20
GTK_DESC=	Build GTK+ client
20
QT_DESC=	Build QT client
21
QT_DESC=	Build QT client
21
UTILS_DESC=	Build utilities (create, edit, remote, show)
22
UTILS_DESC=	Build utilities (create, edit, remote, show)
23
WEB_DESC=	Install web interface
22
24
23
CLI_RUN_DEPENDS=	transmission-cli:net-p2p/transmission-components@cli
25
CLI_RUN_DEPENDS=	transmission-cli:net-p2p/transmission-components@cli
24
DAEMON_RUN_DEPENDS=	transmission-daemon:net-p2p/transmission-components@daemon
26
DAEMON_RUN_DEPENDS=	transmission-daemon:net-p2p/transmission-components@daemon
Lines 26-30 DOCS_RUN_DEPENDS= ${DOCSDIR}/README.md:net-p2p/transmission-components@docs Link Here
26
GTK_RUN_DEPENDS=	transmission-gtk:net-p2p/transmission-components@gtk
28
GTK_RUN_DEPENDS=	transmission-gtk:net-p2p/transmission-components@gtk
27
QT_RUN_DEPENDS=		transmission-qt:net-p2p/transmission-components@qt
29
QT_RUN_DEPENDS=		transmission-qt:net-p2p/transmission-components@qt
28
UTILS_RUN_DEPENDS=	transmission-create:net-p2p/transmission-components@utils
30
UTILS_RUN_DEPENDS=	transmission-create:net-p2p/transmission-components@utils
31
WEB_RUN_DEPENDS=	${DATADIR}/public_html/index.html:net-p2p/transmission-components@web
29
32
30
.include <bsd.port.mk>
33
.include <bsd.port.mk>
31
- 

Return to bug 279214