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= desktop-utils:single
108 post-install-DAEMON-ON:
109 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/transmission/home
112 ${FIND} ${WRKSRC}/web \( \
120 ${COPYTREE_SHARE} web ${STAGEDIR}${PREFIX}/share/transmission)
121 ${RM} ${STAGEDIR}${PREFIX}/share/transmission/web/LICENSE
123 post-install-WEB-OFF:
124 ${RM} -r ${STAGEDIR}${STD_DOCDIR}
125 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
127 [FILE:168:descriptions/desc.single.standard]
128 Transmission is a cross-platform BitTorrent client that is opensource,
129 easy, lean, native and powerful.
131 This package contains the Command-Line Interface (CLI) client.
134 [FILE:354:descriptions/desc.single.daemon]
135 Transmission is a cross-platform BitTorrent client that is opensource,
136 easy, lean, native and powerful.
138 This package contains the Transmission daemon.
140 The transmission-daemon is a daemon-based Transmission session that can
141 be controlled via RPC by transmission-remote (included) and other
142 Transmission BiTtorrent client such as GTK+ and CLI interface.
145 [FILE:148:descriptions/desc.primary.gtk]
146 Transmission is a cross-platform BitTorrent client that is opensource,
147 easy, lean, native and powerful.
149 This package contains the GTK+ GUI client.
152 [FILE:370:descriptions/desc.primary.qt]
153 Transmission is a cross-platform BitTorrent client that is opensource,
154 easy, lean, native and powerful.
156 This package contains the Qt GUI client.
158 This is the only Transmission client that can act as its own self-contained
159 session (as the GTK+ and Mac clients do), and can also connect to a remote
160 session (as the web client and transmission-remote terminal client do).
163 [FILE:523:descriptions/desc.single.web]
164 Transmission is a cross-platform BitTorrent client that is opensource,
165 easy, lean, native and powerful.
167 This package contains the Transmission Web Interface.
169 Transmission Web Interface (Clutch) is a WebUI for the Transmission
170 BitTorrent client. It allows you to manage your torrents from anywhere you
171 can access the internet, and runs on OS X and various flavors of *nix. It
172 provides most of the basic features of the desktop client, including
173 torrent upload, torrent start/stop, file path selection, speed limiting,
177 9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2 3329220 transmission-3.00.tar.xz
180 [FILE:242:manifests/plist.single.standard]
188 transmission-cli.1.gz
189 transmission-create.1.gz
190 transmission-edit.1.gz
191 transmission-remote.1.gz
192 transmission-show.1.gz
195 [FILE:91:manifests/plist.single.daemon]
196 bin/transmission-daemon
197 share/man/man1/transmission-daemon.1.gz
198 @dir etc/transmission/home
201 [FILE:282:manifests/plist.primary.gtk]
203 share/appdata/transmission-gtk.appdata.xml
204 share/applications/transmission-gtk.desktop
205 share/icons/hicolor/scalable/apps/
206 transmission-devel.svg
208 share/icons/hicolor/symbolic/apps/transmission-symbolic.svg
209 share/man/man1/transmission-gtk.1.gz
212 [FILE:4407:manifests/plist.nls.gtk]
213 share/locale/an/LC_MESSAGES/transmission-gtk.mo
214 share/locale/ar/LC_MESSAGES/transmission-gtk.mo
215 share/locale/ast/LC_MESSAGES/transmission-gtk.mo
216 share/locale/az/LC_MESSAGES/transmission-gtk.mo
217 share/locale/be/LC_MESSAGES/transmission-gtk.mo
218 share/locale/bg/LC_MESSAGES/transmission-gtk.mo
219 share/locale/bn/LC_MESSAGES/transmission-gtk.mo
220 share/locale/bo/LC_MESSAGES/transmission-gtk.mo
221 share/locale/br/LC_MESSAGES/transmission-gtk.mo
222 share/locale/bs/LC_MESSAGES/transmission-gtk.mo
223 share/locale/ca/LC_MESSAGES/transmission-gtk.mo
224 share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo
225 share/locale/ceb/LC_MESSAGES/transmission-gtk.mo
226 share/locale/ckb/LC_MESSAGES/transmission-gtk.mo
227 share/locale/cs/LC_MESSAGES/transmission-gtk.mo
228 share/locale/cy/LC_MESSAGES/transmission-gtk.mo
229 share/locale/da/LC_MESSAGES/transmission-gtk.mo
230 share/locale/de/LC_MESSAGES/transmission-gtk.mo
231 share/locale/el/LC_MESSAGES/transmission-gtk.mo
232 share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo
233 share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo
234 share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo
235 share/locale/eo/LC_MESSAGES/transmission-gtk.mo
236 share/locale/es/LC_MESSAGES/transmission-gtk.mo
237 share/locale/et/LC_MESSAGES/transmission-gtk.mo
238 share/locale/eu/LC_MESSAGES/transmission-gtk.mo
239 share/locale/fa/LC_MESSAGES/transmission-gtk.mo
240 share/locale/fi/LC_MESSAGES/transmission-gtk.mo
241 share/locale/fil/LC_MESSAGES/transmission-gtk.mo
242 share/locale/fo/LC_MESSAGES/transmission-gtk.mo
243 share/locale/fr/LC_MESSAGES/transmission-gtk.mo
244 share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo
245 share/locale/ga/LC_MESSAGES/transmission-gtk.mo
246 share/locale/gl/LC_MESSAGES/transmission-gtk.mo
247 share/locale/gv/LC_MESSAGES/transmission-gtk.mo
248 share/locale/he/LC_MESSAGES/transmission-gtk.mo
249 share/locale/hi/LC_MESSAGES/transmission-gtk.mo
250 share/locale/hr/LC_MESSAGES/transmission-gtk.mo
251 share/locale/hu/LC_MESSAGES/transmission-gtk.mo
252 share/locale/hy/LC_MESSAGES/transmission-gtk.mo
253 share/locale/ia/LC_MESSAGES/transmission-gtk.mo
254 share/locale/id/LC_MESSAGES/transmission-gtk.mo
255 share/locale/is/LC_MESSAGES/transmission-gtk.mo
256 share/locale/it/LC_MESSAGES/transmission-gtk.mo
257 share/locale/ja/LC_MESSAGES/transmission-gtk.mo
258 share/locale/jbo/LC_MESSAGES/transmission-gtk.mo
259 share/locale/ka/LC_MESSAGES/transmission-gtk.mo
260 share/locale/kk/LC_MESSAGES/transmission-gtk.mo
261 share/locale/ko/LC_MESSAGES/transmission-gtk.mo
262 share/locale/ku/LC_MESSAGES/transmission-gtk.mo
263 share/locale/ky/LC_MESSAGES/transmission-gtk.mo
264 share/locale/li/LC_MESSAGES/transmission-gtk.mo
265 share/locale/lt/LC_MESSAGES/transmission-gtk.mo
266 share/locale/lv/LC_MESSAGES/transmission-gtk.mo
267 share/locale/mk/LC_MESSAGES/transmission-gtk.mo
268 share/locale/ml/LC_MESSAGES/transmission-gtk.mo
269 share/locale/mr/LC_MESSAGES/transmission-gtk.mo
270 share/locale/ms/LC_MESSAGES/transmission-gtk.mo
271 share/locale/mt/LC_MESSAGES/transmission-gtk.mo
272 share/locale/my/LC_MESSAGES/transmission-gtk.mo
273 share/locale/nb/LC_MESSAGES/transmission-gtk.mo
274 share/locale/nds/LC_MESSAGES/transmission-gtk.mo
275 share/locale/nl/LC_MESSAGES/transmission-gtk.mo
276 share/locale/nn/LC_MESSAGES/transmission-gtk.mo
277 share/locale/oc/LC_MESSAGES/transmission-gtk.mo
278 share/locale/pa/LC_MESSAGES/transmission-gtk.mo
279 share/locale/pl/LC_MESSAGES/transmission-gtk.mo
280 share/locale/pt/LC_MESSAGES/transmission-gtk.mo
281 share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo
282 share/locale/ro/LC_MESSAGES/transmission-gtk.mo
283 share/locale/ru/LC_MESSAGES/transmission-gtk.mo
284 share/locale/si/LC_MESSAGES/transmission-gtk.mo
285 share/locale/sk/LC_MESSAGES/transmission-gtk.mo
286 share/locale/sl/LC_MESSAGES/transmission-gtk.mo
287 share/locale/sq/LC_MESSAGES/transmission-gtk.mo
288 share/locale/sr/LC_MESSAGES/transmission-gtk.mo
289 share/locale/sv/LC_MESSAGES/transmission-gtk.mo
290 share/locale/sw/LC_MESSAGES/transmission-gtk.mo
291 share/locale/ta/LC_MESSAGES/transmission-gtk.mo
292 share/locale/te/LC_MESSAGES/transmission-gtk.mo
293 share/locale/th/LC_MESSAGES/transmission-gtk.mo
294 share/locale/tl/LC_MESSAGES/transmission-gtk.mo
295 share/locale/tr/LC_MESSAGES/transmission-gtk.mo
296 share/locale/ug/LC_MESSAGES/transmission-gtk.mo
297 share/locale/uk/LC_MESSAGES/transmission-gtk.mo
298 share/locale/ur/LC_MESSAGES/transmission-gtk.mo
299 share/locale/uz/LC_MESSAGES/transmission-gtk.mo
300 share/locale/vi/LC_MESSAGES/transmission-gtk.mo
301 share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo
302 share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo
303 share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo
306 [FILE:99:manifests/plist.primary.qt]
308 share/applications/transmission-qt.desktop
309 share/man/man1/transmission-qt.1.gz
312 [FILE:625:manifests/plist.nls.qt]
313 share/transmission/translations/
326 transmission_it_IT.qm
335 transmission_pt_BR.qm
336 transmission_pt_PT.qm
342 transmission_zh_CN.qm
345 [FILE:1670:manifests/plist.single.web]
346 share/transmission/web/index.html
347 share/transmission/web/images/
351 share/transmission/web/javascript/
365 share/transmission/web/javascript/jquery/
366 jquery-migrate.min.js
369 jquery.transmenu.min.js
370 jquery.ui-contextmenu.min.js
372 share/transmission/web/style/jqueryui/jquery-ui.min.css
373 share/transmission/web/style/jqueryui/images/
374 ui-bg_flat_0_aaaaaa_40x100.png
375 ui-bg_flat_75_ffffff_40x100.png
376 ui-bg_glass_55_fbf9ee_1x400.png
377 ui-bg_glass_65_ffffff_1x400.png
378 ui-bg_glass_75_dadada_1x400.png
379 ui-bg_glass_75_e6e6e6_1x400.png
380 ui-bg_glass_95_fef1ec_1x400.png
381 ui-bg_highlight-soft_75_cccccc_1x100.png
382 ui-icons_222222_256x240.png
383 ui-icons_2e83ff_256x240.png
384 ui-icons_454545_256x240.png
385 ui-icons_888888_256x240.png
386 ui-icons_cd0a0a_256x240.png
387 share/transmission/web/style/transmission/
390 share/transmission/web/style/transmission/images/
395 file-priority-high.png
396 file-priority-low.png
397 file-priority-normal.png
403 inspector-trackers.png
411 toolbar-pause-all.png
413 toolbar-start-all.png
417 share/transmission/web/style/transmission/images/buttons/torrent_buttons.png
420 [FILE:737:patches/patch-CMakeLists.txt]
421 --- CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
423 @@ -437,7 +437,11 @@ set(NEEDED_HEADERS
427 - list(APPEND NEEDED_HEADERS libintl.h)
428 + list(APPEND NEEDED_HEADERS libintl.h)
431 + set(LIBINTL_LIBRARY ${Intl_LIBRARIES})
435 foreach(H ${NEEDED_HEADERS})
436 @@ -553,10 +557,6 @@ foreach(P daemon cli utils gtk qt mac)
440 -if(ENABLE_DAEMON OR ENABLE_GTK OR ENABLE_QT)
441 - tr_install_web(${CMAKE_INSTALL_DATAROOTDIR}/${TR_NAME})
445 install(FILES AUTHORS COPYING NEWS.md README.md extras/rpc-spec.txt extras/send-email-when-torrent-done.sh DESTINATION ${CMAKE_INSTALL_DOCDIR})
449 [FILE:482:patches/patch-cli_CMakeLists.txt]
450 --- cli/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
451 +++ cli/CMakeLists.txt
452 @@ -9,6 +9,9 @@ tr_win32_app_info(${PROJECT_NAME}_WIN32_
454 add_executable(${TR_NAME}-cli cli.c ${${PROJECT_NAME}_WIN32_RC_FILE})
455 include_directories(${TR_NAME}-cli ${CURL_INCLUDE_DIRS})
456 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
457 + target_link_libraries(${TR_NAME}-cli quota)
459 target_link_libraries(${TR_NAME}-cli ${TR_NAME})
461 install(TARGETS ${TR_NAME}-cli DESTINATION ${CMAKE_INSTALL_BINDIR})
464 [FILE:388:patches/patch-daemon_CMakeLists.txt]
465 --- daemon/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
466 +++ daemon/CMakeLists.txt
467 @@ -36,6 +36,9 @@ add_executable(${TR_NAME}-daemon
468 ${${PROJECT_NAME}_HEADERS}
469 ${${PROJECT_NAME}_WIN32_RC_FILE})
471 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
472 + target_link_libraries(${TR_NAME}-daemon quota)
474 target_link_libraries(${TR_NAME}-daemon
479 [FILE:360:patches/patch-gtk_CMakeLists.txt]
480 --- gtk/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
481 +++ gtk/CMakeLists.txt
482 @@ -158,6 +158,9 @@ add_executable(${TR_NAME}-gtk WIN32
483 ${${PROJECT_NAME}_WIN32_RC_FILE}
486 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
487 + target_link_libraries(${TR_NAME}-gtk quota)
489 target_link_libraries(${TR_NAME}-gtk
491 ${LIBAPPINDICATOR_LIBRARIES}
494 [FILE:181:patches/patch-po_CMakeLists.txt]
495 --- po/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
496 +++ po/CMakeLists.txt
497 @@ -70,7 +70,6 @@ set(${PROJECT_NAME}_LINGUAS
507 [FILE:205:patches/patch-qt_Application.h]
508 --- qt/Application.h.orig 2020-05-22 11:04:23 UTC
512 #include <QTranslator>
515 #include "FaviconCache.h"
516 #include "Typedefs.h"
520 [FILE:340:patches/patch-qt_CMakeLists.txt]
521 --- qt/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
522 +++ qt/CMakeLists.txt
523 @@ -217,6 +217,9 @@ add_executable(${TR_NAME}-qt WIN32
524 ${${PROJECT_NAME}_WIN32_RC_FILE}
527 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
528 + target_link_libraries(${TR_NAME}-qt quota)
530 target_link_libraries(${TR_NAME}-qt
535 [FILE:544:patches/patch-utils_CMakeLists.txt]
536 --- utils/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
537 +++ utils/CMakeLists.txt
538 @@ -10,6 +10,9 @@ foreach(P create edit remote show)
540 add_executable(${TR_NAME}-${P} ${P}.c ${${PROJECT_NAME}_${P}_WIN32_RC_FILE})
541 include_directories(${TR_NAME}-${P} ${EVENT2_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS})
542 + if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
543 + target_link_libraries(${TR_NAME}-${P} quota)
545 target_link_libraries(${TR_NAME}-${P} ${TR_NAME})
547 install(TARGETS ${TR_NAME}-${P} DESTINATION ${CMAKE_INSTALL_BINDIR})
550 [FILE:129:files/special.mk]
551 .if "${VARIANT}" == "web"
553 @echo "Skipping build of the Transmission web interface."
560 [FILE:2779:files/transmission.in]
565 # PROVIDE: transmission
569 # Add the following lines to /etc/rc.conf to enable this service:
571 # transmission_enable: Set to NO by default. Set it to YES to enable it.
572 # transmission_watch_dir: Directory for torrent files to download
573 # automatically. Off by default unless you add
575 # transmission_conf_dir: Directory where transmission configuration
577 # Default: %%PREFIX%%/etc/transmission/home
578 # transmission_download_dir: Directory to store downloaded data.
579 # Default: %%PREFIX%%/etc/transmission/home/Downloads
580 # transmission_user: The user account transmission daemon runs as what
581 # you want it to be. It uses 'transmission' user by
583 # transmission_web_home: Use alternative directory for the web interface
584 # files, such as javascript, html and graphics.
585 # transmission_chown: By default, transmission checks and fixes the
586 # permissions for its home directory. If this
587 # causes problems, set this variable to no.
593 rcvar=transmission_enable
597 : ${transmission_enable:=NO}
598 : ${transmission_conf_dir=%%PREFIX%%/etc/transmission/home}
599 : ${transmission_download_dir=%%PREFIX%%/etc/transmission/home/Downloads}
600 : ${transmission_user:=transmission}
601 transmission_group=${transmission_group:-$transmission_user}
602 : ${transmission_chown:=yes}
604 command=%%PREFIX%%/bin/transmission-daemon
605 pidfile=/var/run/transmission/daemon.pid
606 extra_commands=reload
607 start_precmd=transmission_prestart
609 transmission_flags=" \
610 ${transmission_watch_dir:+-c ${transmission_watch_dir}} \
611 ${transmission_conf_dir:+-g ${transmission_conf_dir}} \
612 ${transmission_download_dir:+-w ${transmission_download_dir}} \
613 ${pidfile:+-x $pidfile} \
614 ${transmission_flags}"
616 transmission_prestart()
618 install -d -o $transmission_user ${pidfile%/*}
619 if checkyesno transmission_chown; then
620 mkdir -p $transmission_conf_dir $transmission_download_dir
621 chown $transmission_user:$transmission_group $transmission_download_dir
622 chown -R $transmission_user:$transmission_group $transmission_conf_dir
623 chgrp $transmission_group $transmission_conf_dir
624 chmod 750 $transmission_conf_dir
626 if [ -n "$transmission_web_home" ]; then
627 TRANSMISSION_WEB_HOME=$transmission_web_home
628 export TRANSMISSION_WEB_HOME
632 # Unfortunately there was a typo in a previous version, which may have
633 # left some people with /var/run/transmission/damon.pid . Deal with
634 # this for a few months at least, until everyone will have restarted
636 if [ ! -f $pidfile -a -f /var/run/transmission/damon.pid ]; then
637 pidfile=/var/run/transmission/damon.pid