1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 VARIANTS= standard daemon gtk qt web
8 SDESC[web]= Lightweight BitTorrent client (web client)
9 SDESC[qt]= Lightweight BitTorrent client (Qt GUI)
10 SDESC[standard]= Lightweight BitTorrent client (CLI client)
11 SDESC[gtk]= Lightweight BitTorrent client (GTK+ GUI)
12 SDESC[daemon]= Lightweight BitTorrent client (daemon)
13 HOMEPAGE= https://transmissionbt.com/
17 SITES[main]= https://github.com/transmission/transmission-releases/raw/master/
18 DISTFILE[1]= transmission-3.00.tar.xz:main
24 SPKGS[standard]= single
30 OPTIONS_AVAILABLE= NOTSTD DAEMON GTK QT WEB
31 OPTIONS_STANDARD= none
32 VOPTS[web]= NOTSTD=ON DAEMON=OFF GTK=OFF QT=OFF WEB=ON
33 VOPTS[qt]= NOTSTD=ON DAEMON=OFF GTK=OFF QT=ON WEB=OFF
34 VOPTS[gtk]= NOTSTD=ON DAEMON=OFF GTK=ON QT=OFF WEB=OFF
35 VOPTS[daemon]= NOTSTD=ON DAEMON=ON GTK=OFF QT=OFF WEB=OFF
39 LICENSE= GPLv2:single GPLv3:single
40 LICENSE_TERMS= single:{{WRKSRC}}/COPYING
41 LICENSE_FILE= GPLv2:stock
45 CPE_VENDOR= transmissionbt
46 FPC_EQUIVALENT= net-p2p/transmission
48 CMAKE_ARGS= -DENABLE_NLS:BOOL=ON
49 -DENABLE_TESTS:BOOL=OFF
50 -DUSE_SYSTEM_EVENT2:BOOL=ON
51 -DUSE_SYSTEM_DHT:BOOL=ON
52 -DUSE_SYSTEM_MINIUPNPC:BOOL=ON
53 -DUSE_SYSTEM_NATPMP:BOOL=ON
54 -DUSE_SYSTEM_UTP:BOOL=ON
55 -DUSE_SYSTEM_B64:BOOL=ON
57 [NOTSTD].DESCRIPTION= Don't build CLI version
58 [NOTSTD].CMAKE_ARGS_OFF= -DENABLE_CLI:BOOL=ON
59 -DENABLE_UTILS:BOOL=ON
60 [NOTSTD].CMAKE_ARGS_ON= -DENABLE_CLI:BOOL=OFF
61 -DENABLE_UTILS:BOOL=OFF
63 [WEB].DESCRIPTION= Build transmission web interface
64 [WEB].BUILDRUN_DEPENDS_OFF= curl:primary:standard
65 libevent:single:standard
67 libb64:single:standard
68 libnatpmp:single:standard
69 libutp:single:standard
70 miniupnpc:single:standard
79 [DAEMON].DESCRIPTION= Build daemon version of transmission
80 [DAEMON].CMAKE_ARGS_OFF= -DENABLE_DAEMON:BOOL=OFF
81 [DAEMON].CMAKE_ARGS_ON= -DENABLE_DAEMON:BOOL=ON
83 [QT].DESCRIPTION= Build Qt version of transmission
84 [QT].BUILDRUN_DEPENDS_ON= qt5-qtbase:primary:standard
85 [QT].BUILD_DEPENDS_ON= qt5-qttools:single:standard
86 [QT].CMAKE_ARGS_OFF= -DENABLE_QT:BOOL=OFF
87 [QT].CMAKE_ARGS_ON= -DENABLE_QT:BOOL=ON
89 -DCMAKE_PREFIX_PATH:PATH="{{PREFIX}}/lib/qt5/cmake/"
90 [QT].MAKE_ARGS_ON= DESTDIR="{{STAGEDIR}}"
93 [GTK].DESCRIPTION= Build GTK+ version of transmission
94 [GTK].BUILDRUN_DEPENDS_ON= dbus-glib:primary:standard
95 libnotify:primary:standard
96 [GTK].BUILD_DEPENDS_ON= appstream-glib:primary:standard
98 [GTK].CMAKE_ARGS_OFF= -DENABLE_GTK:BOOL=OFF
99 [GTK].CMAKE_ARGS_ON= -DENABLE_GTK:BOOL=ON
100 [GTK].GNOME_COMPONENTS_ON= cairo
105 [GTK].RUN_DEPENDS_ON= xdg-utils:single:standard
106 [GTK].USES_ON= gettext-tools:build
109 post-install-DAEMON-ON:
110 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/transmission/home
113 ${FIND} ${WRKSRC}/web \( \
121 ${COPYTREE_SHARE} web ${STAGEDIR}${PREFIX}/share/transmission)
122 ${RM} ${STAGEDIR}${PREFIX}/share/transmission/web/LICENSE
124 post-install-WEB-OFF:
125 ${RM} -r ${STAGEDIR}${STD_DOCDIR}
126 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
128 [FILE:168:descriptions/desc.single.standard]
129 Transmission is a cross-platform BitTorrent client that is opensource,
130 easy, lean, native and powerful.
132 This package contains the Command-Line Interface (CLI) client.
135 [FILE:354:descriptions/desc.single.daemon]
136 Transmission is a cross-platform BitTorrent client that is opensource,
137 easy, lean, native and powerful.
139 This package contains the Transmission daemon.
141 The transmission-daemon is a daemon-based Transmission session that can
142 be controlled via RPC by transmission-remote (included) and other
143 Transmission BiTtorrent client such as GTK+ and CLI interface.
146 [FILE:148:descriptions/desc.primary.gtk]
147 Transmission is a cross-platform BitTorrent client that is opensource,
148 easy, lean, native and powerful.
150 This package contains the GTK+ GUI client.
153 [FILE:370:descriptions/desc.primary.qt]
154 Transmission is a cross-platform BitTorrent client that is opensource,
155 easy, lean, native and powerful.
157 This package contains the Qt GUI client.
159 This is the only Transmission client that can act as its own self-contained
160 session (as the GTK+ and Mac clients do), and can also connect to a remote
161 session (as the web client and transmission-remote terminal client do).
164 [FILE:523:descriptions/desc.single.web]
165 Transmission is a cross-platform BitTorrent client that is opensource,
166 easy, lean, native and powerful.
168 This package contains the Transmission Web Interface.
170 Transmission Web Interface (Clutch) is a WebUI for the Transmission
171 BitTorrent client. It allows you to manage your torrents from anywhere you
172 can access the internet, and runs on OS X and various flavors of *nix. It
173 provides most of the basic features of the desktop client, including
174 torrent upload, torrent start/stop, file path selection, speed limiting,
178 9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2 3329220 transmission-3.00.tar.xz
181 [FILE:242:manifests/plist.single.standard]
189 transmission-cli.1.gz
190 transmission-create.1.gz
191 transmission-edit.1.gz
192 transmission-remote.1.gz
193 transmission-show.1.gz
196 [FILE:91:manifests/plist.single.daemon]
197 bin/transmission-daemon
198 share/man/man1/transmission-daemon.1.gz
199 @dir etc/transmission/home
202 [FILE:282:manifests/plist.primary.gtk]
204 share/appdata/transmission-gtk.appdata.xml
205 share/applications/transmission-gtk.desktop
206 share/icons/hicolor/scalable/apps/
207 transmission-devel.svg
209 share/icons/hicolor/symbolic/apps/transmission-symbolic.svg
210 share/man/man1/transmission-gtk.1.gz
213 [FILE:4407:manifests/plist.nls.gtk]
214 share/locale/an/LC_MESSAGES/transmission-gtk.mo
215 share/locale/ar/LC_MESSAGES/transmission-gtk.mo
216 share/locale/ast/LC_MESSAGES/transmission-gtk.mo
217 share/locale/az/LC_MESSAGES/transmission-gtk.mo
218 share/locale/be/LC_MESSAGES/transmission-gtk.mo
219 share/locale/bg/LC_MESSAGES/transmission-gtk.mo
220 share/locale/bn/LC_MESSAGES/transmission-gtk.mo
221 share/locale/bo/LC_MESSAGES/transmission-gtk.mo
222 share/locale/br/LC_MESSAGES/transmission-gtk.mo
223 share/locale/bs/LC_MESSAGES/transmission-gtk.mo
224 share/locale/ca/LC_MESSAGES/transmission-gtk.mo
225 share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo
226 share/locale/ceb/LC_MESSAGES/transmission-gtk.mo
227 share/locale/ckb/LC_MESSAGES/transmission-gtk.mo
228 share/locale/cs/LC_MESSAGES/transmission-gtk.mo
229 share/locale/cy/LC_MESSAGES/transmission-gtk.mo
230 share/locale/da/LC_MESSAGES/transmission-gtk.mo
231 share/locale/de/LC_MESSAGES/transmission-gtk.mo
232 share/locale/el/LC_MESSAGES/transmission-gtk.mo
233 share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo
234 share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo
235 share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo
236 share/locale/eo/LC_MESSAGES/transmission-gtk.mo
237 share/locale/es/LC_MESSAGES/transmission-gtk.mo
238 share/locale/et/LC_MESSAGES/transmission-gtk.mo
239 share/locale/eu/LC_MESSAGES/transmission-gtk.mo
240 share/locale/fa/LC_MESSAGES/transmission-gtk.mo
241 share/locale/fi/LC_MESSAGES/transmission-gtk.mo
242 share/locale/fil/LC_MESSAGES/transmission-gtk.mo
243 share/locale/fo/LC_MESSAGES/transmission-gtk.mo
244 share/locale/fr/LC_MESSAGES/transmission-gtk.mo
245 share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo
246 share/locale/ga/LC_MESSAGES/transmission-gtk.mo
247 share/locale/gl/LC_MESSAGES/transmission-gtk.mo
248 share/locale/gv/LC_MESSAGES/transmission-gtk.mo
249 share/locale/he/LC_MESSAGES/transmission-gtk.mo
250 share/locale/hi/LC_MESSAGES/transmission-gtk.mo
251 share/locale/hr/LC_MESSAGES/transmission-gtk.mo
252 share/locale/hu/LC_MESSAGES/transmission-gtk.mo
253 share/locale/hy/LC_MESSAGES/transmission-gtk.mo
254 share/locale/ia/LC_MESSAGES/transmission-gtk.mo
255 share/locale/id/LC_MESSAGES/transmission-gtk.mo
256 share/locale/is/LC_MESSAGES/transmission-gtk.mo
257 share/locale/it/LC_MESSAGES/transmission-gtk.mo
258 share/locale/ja/LC_MESSAGES/transmission-gtk.mo
259 share/locale/jbo/LC_MESSAGES/transmission-gtk.mo
260 share/locale/ka/LC_MESSAGES/transmission-gtk.mo
261 share/locale/kk/LC_MESSAGES/transmission-gtk.mo
262 share/locale/ko/LC_MESSAGES/transmission-gtk.mo
263 share/locale/ku/LC_MESSAGES/transmission-gtk.mo
264 share/locale/ky/LC_MESSAGES/transmission-gtk.mo
265 share/locale/li/LC_MESSAGES/transmission-gtk.mo
266 share/locale/lt/LC_MESSAGES/transmission-gtk.mo
267 share/locale/lv/LC_MESSAGES/transmission-gtk.mo
268 share/locale/mk/LC_MESSAGES/transmission-gtk.mo
269 share/locale/ml/LC_MESSAGES/transmission-gtk.mo
270 share/locale/mr/LC_MESSAGES/transmission-gtk.mo
271 share/locale/ms/LC_MESSAGES/transmission-gtk.mo
272 share/locale/mt/LC_MESSAGES/transmission-gtk.mo
273 share/locale/my/LC_MESSAGES/transmission-gtk.mo
274 share/locale/nb/LC_MESSAGES/transmission-gtk.mo
275 share/locale/nds/LC_MESSAGES/transmission-gtk.mo
276 share/locale/nl/LC_MESSAGES/transmission-gtk.mo
277 share/locale/nn/LC_MESSAGES/transmission-gtk.mo
278 share/locale/oc/LC_MESSAGES/transmission-gtk.mo
279 share/locale/pa/LC_MESSAGES/transmission-gtk.mo
280 share/locale/pl/LC_MESSAGES/transmission-gtk.mo
281 share/locale/pt/LC_MESSAGES/transmission-gtk.mo
282 share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo
283 share/locale/ro/LC_MESSAGES/transmission-gtk.mo
284 share/locale/ru/LC_MESSAGES/transmission-gtk.mo
285 share/locale/si/LC_MESSAGES/transmission-gtk.mo
286 share/locale/sk/LC_MESSAGES/transmission-gtk.mo
287 share/locale/sl/LC_MESSAGES/transmission-gtk.mo
288 share/locale/sq/LC_MESSAGES/transmission-gtk.mo
289 share/locale/sr/LC_MESSAGES/transmission-gtk.mo
290 share/locale/sv/LC_MESSAGES/transmission-gtk.mo
291 share/locale/sw/LC_MESSAGES/transmission-gtk.mo
292 share/locale/ta/LC_MESSAGES/transmission-gtk.mo
293 share/locale/te/LC_MESSAGES/transmission-gtk.mo
294 share/locale/th/LC_MESSAGES/transmission-gtk.mo
295 share/locale/tl/LC_MESSAGES/transmission-gtk.mo
296 share/locale/tr/LC_MESSAGES/transmission-gtk.mo
297 share/locale/ug/LC_MESSAGES/transmission-gtk.mo
298 share/locale/uk/LC_MESSAGES/transmission-gtk.mo
299 share/locale/ur/LC_MESSAGES/transmission-gtk.mo
300 share/locale/uz/LC_MESSAGES/transmission-gtk.mo
301 share/locale/vi/LC_MESSAGES/transmission-gtk.mo
302 share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo
303 share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo
304 share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo
307 [FILE:99:manifests/plist.primary.qt]
309 share/applications/transmission-qt.desktop
310 share/man/man1/transmission-qt.1.gz
313 [FILE:625:manifests/plist.nls.qt]
314 share/transmission/translations/
327 transmission_it_IT.qm
336 transmission_pt_BR.qm
337 transmission_pt_PT.qm
343 transmission_zh_CN.qm
346 [FILE:1670:manifests/plist.single.web]
347 share/transmission/web/index.html
348 share/transmission/web/images/
352 share/transmission/web/javascript/
366 share/transmission/web/javascript/jquery/
367 jquery-migrate.min.js
370 jquery.transmenu.min.js
371 jquery.ui-contextmenu.min.js
373 share/transmission/web/style/jqueryui/jquery-ui.min.css
374 share/transmission/web/style/jqueryui/images/
375 ui-bg_flat_0_aaaaaa_40x100.png
376 ui-bg_flat_75_ffffff_40x100.png
377 ui-bg_glass_55_fbf9ee_1x400.png
378 ui-bg_glass_65_ffffff_1x400.png
379 ui-bg_glass_75_dadada_1x400.png
380 ui-bg_glass_75_e6e6e6_1x400.png
381 ui-bg_glass_95_fef1ec_1x400.png
382 ui-bg_highlight-soft_75_cccccc_1x100.png
383 ui-icons_222222_256x240.png
384 ui-icons_2e83ff_256x240.png
385 ui-icons_454545_256x240.png
386 ui-icons_888888_256x240.png
387 ui-icons_cd0a0a_256x240.png
388 share/transmission/web/style/transmission/
391 share/transmission/web/style/transmission/images/
396 file-priority-high.png
397 file-priority-low.png
398 file-priority-normal.png
404 inspector-trackers.png
412 toolbar-pause-all.png
414 toolbar-start-all.png
418 share/transmission/web/style/transmission/images/buttons/torrent_buttons.png
421 [FILE:737:patches/patch-CMakeLists.txt]
422 --- CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
424 @@ -437,7 +437,11 @@ set(NEEDED_HEADERS
428 - list(APPEND NEEDED_HEADERS libintl.h)
429 + list(APPEND NEEDED_HEADERS libintl.h)
432 + set(LIBINTL_LIBRARY ${Intl_LIBRARIES})
436 foreach(H ${NEEDED_HEADERS})
437 @@ -553,10 +557,6 @@ foreach(P daemon cli utils gtk qt mac)
441 -if(ENABLE_DAEMON OR ENABLE_GTK OR ENABLE_QT)
442 - tr_install_web(${CMAKE_INSTALL_DATAROOTDIR}/${TR_NAME})
446 install(FILES AUTHORS COPYING NEWS.md README.md extras/rpc-spec.txt extras/send-email-when-torrent-done.sh DESTINATION ${CMAKE_INSTALL_DOCDIR})
450 [FILE:482:patches/patch-cli_CMakeLists.txt]
451 --- cli/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
452 +++ cli/CMakeLists.txt
453 @@ -9,6 +9,9 @@ tr_win32_app_info(${PROJECT_NAME}_WIN32_
455 add_executable(${TR_NAME}-cli cli.c ${${PROJECT_NAME}_WIN32_RC_FILE})
456 include_directories(${TR_NAME}-cli ${CURL_INCLUDE_DIRS})
457 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
458 + target_link_libraries(${TR_NAME}-cli quota)
460 target_link_libraries(${TR_NAME}-cli ${TR_NAME})
462 install(TARGETS ${TR_NAME}-cli DESTINATION ${CMAKE_INSTALL_BINDIR})
465 [FILE:388:patches/patch-daemon_CMakeLists.txt]
466 --- daemon/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
467 +++ daemon/CMakeLists.txt
468 @@ -36,6 +36,9 @@ add_executable(${TR_NAME}-daemon
469 ${${PROJECT_NAME}_HEADERS}
470 ${${PROJECT_NAME}_WIN32_RC_FILE})
472 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
473 + target_link_libraries(${TR_NAME}-daemon quota)
475 target_link_libraries(${TR_NAME}-daemon
480 [FILE:360:patches/patch-gtk_CMakeLists.txt]
481 --- gtk/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
482 +++ gtk/CMakeLists.txt
483 @@ -158,6 +158,9 @@ add_executable(${TR_NAME}-gtk WIN32
484 ${${PROJECT_NAME}_WIN32_RC_FILE}
487 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
488 + target_link_libraries(${TR_NAME}-gtk quota)
490 target_link_libraries(${TR_NAME}-gtk
492 ${LIBAPPINDICATOR_LIBRARIES}
495 [FILE:181:patches/patch-po_CMakeLists.txt]
496 --- po/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
497 +++ po/CMakeLists.txt
498 @@ -70,7 +70,6 @@ set(${PROJECT_NAME}_LINGUAS
508 [FILE:205:patches/patch-qt_Application.h]
509 --- qt/Application.h.orig 2020-05-22 11:04:23 UTC
513 #include <QTranslator>
516 #include "FaviconCache.h"
517 #include "Typedefs.h"
521 [FILE:340:patches/patch-qt_CMakeLists.txt]
522 --- qt/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
523 +++ qt/CMakeLists.txt
524 @@ -217,6 +217,9 @@ add_executable(${TR_NAME}-qt WIN32
525 ${${PROJECT_NAME}_WIN32_RC_FILE}
528 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
529 + target_link_libraries(${TR_NAME}-qt quota)
531 target_link_libraries(${TR_NAME}-qt
536 [FILE:544:patches/patch-utils_CMakeLists.txt]
537 --- utils/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
538 +++ utils/CMakeLists.txt
539 @@ -10,6 +10,9 @@ foreach(P create edit remote show)
541 add_executable(${TR_NAME}-${P} ${P}.c ${${PROJECT_NAME}_${P}_WIN32_RC_FILE})
542 include_directories(${TR_NAME}-${P} ${EVENT2_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS})
543 + if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
544 + target_link_libraries(${TR_NAME}-${P} quota)
546 target_link_libraries(${TR_NAME}-${P} ${TR_NAME})
548 install(TARGETS ${TR_NAME}-${P} DESTINATION ${CMAKE_INSTALL_BINDIR})
551 [FILE:129:files/special.mk]
552 .if "${VARIANT}" == "web"
554 @echo "Skipping build of the Transmission web interface."
561 [FILE:2779:files/transmission.in]
566 # PROVIDE: transmission
570 # Add the following lines to /etc/rc.conf to enable this service:
572 # transmission_enable: Set to NO by default. Set it to YES to enable it.
573 # transmission_watch_dir: Directory for torrent files to download
574 # automatically. Off by default unless you add
576 # transmission_conf_dir: Directory where transmission configuration
578 # Default: %%PREFIX%%/etc/transmission/home
579 # transmission_download_dir: Directory to store downloaded data.
580 # Default: %%PREFIX%%/etc/transmission/home/Downloads
581 # transmission_user: The user account transmission daemon runs as what
582 # you want it to be. It uses 'transmission' user by
584 # transmission_web_home: Use alternative directory for the web interface
585 # files, such as javascript, html and graphics.
586 # transmission_chown: By default, transmission checks and fixes the
587 # permissions for its home directory. If this
588 # causes problems, set this variable to no.
594 rcvar=transmission_enable
598 : ${transmission_enable:=NO}
599 : ${transmission_conf_dir=%%PREFIX%%/etc/transmission/home}
600 : ${transmission_download_dir=%%PREFIX%%/etc/transmission/home/Downloads}
601 : ${transmission_user:=transmission}
602 transmission_group=${transmission_group:-$transmission_user}
603 : ${transmission_chown:=yes}
605 command=%%PREFIX%%/bin/transmission-daemon
606 pidfile=/var/run/transmission/daemon.pid
607 extra_commands=reload
608 start_precmd=transmission_prestart
610 transmission_flags=" \
611 ${transmission_watch_dir:+-c ${transmission_watch_dir}} \
612 ${transmission_conf_dir:+-g ${transmission_conf_dir}} \
613 ${transmission_download_dir:+-w ${transmission_download_dir}} \
614 ${pidfile:+-x $pidfile} \
615 ${transmission_flags}"
617 transmission_prestart()
619 install -d -o $transmission_user ${pidfile%/*}
620 if checkyesno transmission_chown; then
621 mkdir -p $transmission_conf_dir $transmission_download_dir
622 chown $transmission_user:$transmission_group $transmission_download_dir
623 chown -R $transmission_user:$transmission_group $transmission_conf_dir
624 chgrp $transmission_group $transmission_conf_dir
625 chmod 750 $transmission_conf_dir
627 if [ -n "$transmission_web_home" ]; then
628 TRANSMISSION_WEB_HOME=$transmission_web_home
629 export TRANSMISSION_WEB_HOME
633 # Unfortunately there was a typo in a previous version, which may have
634 # left some people with /var/run/transmission/damon.pid . Deal with
635 # this for a few months at least, until everyone will have restarted
637 if [ ! -f $pidfile -a -f /var/run/transmission/damon.pid ]; then
638 pidfile=/var/run/transmission/damon.pid