Ravenports generated: 08 Feb 2023 00:14
[ravenports.git] / bucket_34 / transmission
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               transmission
4 VERSION=                3.00
5 REVISION=               1
6 KEYWORDS=               net_p2p
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/
14 CONTACT=                nobody
15
16 DOWNLOAD_GROUPS=        main
17 SITES[main]=            https://github.com/transmission/transmission-releases/raw/master/
18 DISTFILE[1]=            transmission-3.00.tar.xz:main
19 DF_INDEX=               1
20 SPKGS[web]=             single
21 SPKGS[qt]=              complete
22                         primary
23                         nls
24 SPKGS[standard]=        single
25 SPKGS[gtk]=             complete
26                         primary
27                         nls
28 SPKGS[daemon]=          single
29
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
36
37 USES=                   cpe
38
39 LICENSE=                GPLv2:single GPLv3:single
40 LICENSE_TERMS=          single:{{WRKSRC}}/COPYING
41 LICENSE_FILE=           GPLv2:stock
42                         GPLv3:stock
43 LICENSE_SCHEME=         dual
44
45 CPE_VENDOR=             transmissionbt
46 FPC_EQUIVALENT=         net-p2p/transmission
47
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
56
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
62
63 [WEB].DESCRIPTION=                      Build transmission web interface
64 [WEB].BUILDRUN_DEPENDS_OFF=             curl:primary:standard
65                                         libevent:single:standard
66                                         dht:single:standard
67                                         libb64:single:standard
68                                         libnatpmp:single:standard
69                                         libutp:single:standard
70                                         miniupnpc:single:standard
71 [WEB].USES_OFF=                         cpe
72                                         cmake
73                                         iconv
74                                         pkgconfig
75                                         ssl
76                                         zlib
77                                         gettext
78
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
82
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
88                                         -DUSE_QT5:BOOL=ON
89                                         -DCMAKE_PREFIX_PATH:PATH="{{PREFIX}}/lib/qt5/cmake/"
90 [QT].MAKE_ARGS_ON=                      DESTDIR="{{STAGEDIR}}"
91 [QT].USES_ON=                           qt5
92
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
97                                         harfbuzz:dev: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
101                                         gdkpixbuf
102                                         gtk3
103                                         pango
104                                         intltool
105 [GTK].RUN_DEPENDS_ON=                   xdg-utils:single:standard
106 [GTK].USES_ON=                          desktop-utils:single
107
108 post-install-DAEMON-ON:
109         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/transmission/home
110
111 post-patch-WEB-ON:
112         ${FIND} ${WRKSRC}/web \( \
113                 -name '*.am' \
114                 -o -name '*.in' \
115                 -o -name '*.scss' \
116         \) -delete
117
118 do-install-WEB-ON:
119         (cd ${WRKSRC} && \
120         ${COPYTREE_SHARE} web ${STAGEDIR}${PREFIX}/share/transmission)
121         ${RM} ${STAGEDIR}${PREFIX}/share/transmission/web/LICENSE
122
123 post-install-WEB-OFF:
124         ${RM} -r ${STAGEDIR}${STD_DOCDIR}
125         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
126
127 [FILE:168:descriptions/desc.single.standard]
128 Transmission is a cross-platform BitTorrent client that is opensource,
129 easy, lean, native and powerful.
130
131 This package contains the Command-Line Interface (CLI) client.
132
133
134 [FILE:354:descriptions/desc.single.daemon]
135 Transmission is a cross-platform BitTorrent client that is opensource,
136 easy, lean, native and powerful.
137
138 This package contains the Transmission daemon.
139
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.
143
144
145 [FILE:148:descriptions/desc.primary.gtk]
146 Transmission is a cross-platform BitTorrent client that is opensource,
147 easy, lean, native and powerful.
148
149 This package contains the GTK+ GUI client.
150
151
152 [FILE:370:descriptions/desc.primary.qt]
153 Transmission is a cross-platform BitTorrent client that is opensource,
154 easy, lean, native and powerful.
155
156 This package contains the Qt GUI client.
157
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).
161
162
163 [FILE:523:descriptions/desc.single.web]
164 Transmission is a cross-platform BitTorrent client that is opensource,
165 easy, lean, native and powerful.
166
167 This package contains the Transmission Web Interface.
168
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,
174 etc.
175
176 [FILE:103:distinfo]
177 9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2      3329220 transmission-3.00.tar.xz
178
179
180 [FILE:242:manifests/plist.single.standard]
181 bin/
182  transmission-cli
183  transmission-create
184  transmission-edit
185  transmission-remote
186  transmission-show
187 share/man/man1/
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
193
194
195 [FILE:91:manifests/plist.single.daemon]
196 bin/transmission-daemon
197 share/man/man1/transmission-daemon.1.gz
198 @dir etc/transmission/home
199
200
201 [FILE:282:manifests/plist.primary.gtk]
202 bin/transmission-gtk
203 share/appdata/transmission-gtk.appdata.xml
204 share/applications/transmission-gtk.desktop
205 share/icons/hicolor/scalable/apps/
206  transmission-devel.svg
207  transmission.svg
208 share/icons/hicolor/symbolic/apps/transmission-symbolic.svg
209 share/man/man1/transmission-gtk.1.gz
210
211
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
304
305
306 [FILE:99:manifests/plist.primary.qt]
307 bin/transmission-qt
308 share/applications/transmission-qt.desktop
309 share/man/man1/transmission-qt.1.gz
310
311
312 [FILE:625:manifests/plist.nls.qt]
313 share/transmission/translations/
314  transmission_af.qm
315  transmission_ca.qm
316  transmission_da.qm
317  transmission_de.qm
318  transmission_el.qm
319  transmission_en.qm
320  transmission_es.qm
321  transmission_eu.qm
322  transmission_fi.qm
323  transmission_fr.qm
324  transmission_hu.qm
325  transmission_id.qm
326  transmission_it_IT.qm
327  transmission_ja.qm
328  transmission_ka.qm
329  transmission_kk.qm
330  transmission_ko.qm
331  transmission_lt.qm
332  transmission_nb.qm
333  transmission_nl.qm
334  transmission_pl.qm
335  transmission_pt_BR.qm
336  transmission_pt_PT.qm
337  transmission_ru.qm
338  transmission_sl.qm
339  transmission_sv.qm
340  transmission_tr.qm
341  transmission_uk.qm
342  transmission_zh_CN.qm
343
344
345 [FILE:1670:manifests/plist.single.web]
346 share/transmission/web/index.html
347 share/transmission/web/images/
348  favicon.ico
349  favicon.png
350  webclip-icon.png
351 share/transmission/web/javascript/
352  common.js
353  dialog.js
354  file-row.js
355  formatter.js
356  inspector.js
357  main.js
358  notifications.js
359  polyfill.js
360  prefs-dialog.js
361  remote.js
362  torrent-row.js
363  torrent.js
364  transmission.js
365 share/transmission/web/javascript/jquery/
366  jquery-migrate.min.js
367  jquery-ui.min.js
368  jquery.min.js
369  jquery.transmenu.min.js
370  jquery.ui-contextmenu.min.js
371  json2.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/
388  common.css
389  mobile.css
390 share/transmission/web/style/transmission/images/
391  arrow-down.png
392  arrow-up.png
393  blue-turtle.png
394  compact.png
395  file-priority-high.png
396  file-priority-low.png
397  file-priority-normal.png
398  filter_bar.png
399  filter_icon.png
400  inspector-files.png
401  inspector-info.png
402  inspector-peers.png
403  inspector-trackers.png
404  lock_icon.png
405  logo.png
406  progress.png
407  settings.png
408  toolbar-close.png
409  toolbar-folder.png
410  toolbar-info.png
411  toolbar-pause-all.png
412  toolbar-pause.png
413  toolbar-start-all.png
414  toolbar-start.png
415  turtle.png
416  wrench.png
417 share/transmission/web/style/transmission/images/buttons/torrent_buttons.png
418
419
420 [FILE:737:patches/patch-CMakeLists.txt]
421 --- CMakeLists.txt.orig 2020-05-22 11:04:23 UTC
422 +++ CMakeLists.txt
423 @@ -437,7 +437,11 @@ set(NEEDED_HEADERS
424      xlocale.h)
425  
426  if(ENABLE_NLS)
427 -    list(APPEND NEEDED_HEADERS libintl.h)
428 +       list(APPEND NEEDED_HEADERS libintl.h)
429 +       find_package(Intl)
430 +       if(Intl_FOUND)
431 +               set(LIBINTL_LIBRARY ${Intl_LIBRARIES})
432 +       endif()
433  endif()
434  
435  foreach(H ${NEEDED_HEADERS})
436 @@ -553,10 +557,6 @@ foreach(P daemon cli utils gtk qt mac)
437      endif()
438  endforeach()
439  
440 -if(ENABLE_DAEMON OR ENABLE_GTK OR ENABLE_QT)
441 -    tr_install_web(${CMAKE_INSTALL_DATAROOTDIR}/${TR_NAME})
442 -endif()
443 -
444  if(INSTALL_DOC)
445      install(FILES AUTHORS COPYING NEWS.md README.md extras/rpc-spec.txt extras/send-email-when-torrent-done.sh DESTINATION ${CMAKE_INSTALL_DOCDIR})
446  endif()
447
448
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_
453  
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)
458 +endif()
459  target_link_libraries(${TR_NAME}-cli ${TR_NAME})
460  
461  install(TARGETS ${TR_NAME}-cli DESTINATION ${CMAKE_INSTALL_BINDIR})
462
463
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})
470  
471 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
472 +   target_link_libraries(${TR_NAME}-daemon quota)
473 +endif()
474  target_link_libraries(${TR_NAME}-daemon
475      ${TR_NAME}
476      ${EVENT2_LIBRARIES}
477
478
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}
484  )
485  
486 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
487 +   target_link_libraries(${TR_NAME}-gtk quota)
488 +endif()
489  target_link_libraries(${TR_NAME}-gtk
490      ${TR_NAME}
491      ${LIBAPPINDICATOR_LIBRARIES}
492
493
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
498      pl
499      pt
500      pt_BR
501 -    pt_PT
502      ro
503      ru
504      si
505
506
507 [FILE:205:patches/patch-qt_Application.h]
508 --- qt/Application.h.orig       2020-05-22 11:04:23 UTC
509 +++ qt/Application.h
510 @@ -12,6 +12,7 @@
511  #include <QTimer>
512  #include <QTranslator>
513  
514 +#include <time.h>
515  #include "FaviconCache.h"
516  #include "Typedefs.h"
517  
518
519
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}
525  )
526  
527 +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
528 +   target_link_libraries(${TR_NAME}-qt quota)
529 +endif()
530  target_link_libraries(${TR_NAME}-qt
531      ${TR_NAME}
532      ${QT_TARGETS}
533
534
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)
539  
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)
544 +    endif()
545      target_link_libraries(${TR_NAME}-${P} ${TR_NAME})
546  
547      install(TARGETS ${TR_NAME}-${P} DESTINATION ${CMAKE_INSTALL_BINDIR})
548
549
550 [FILE:129:files/special.mk]
551 .if "${VARIANT}" == "web"
552 do-build:
553         @echo "Skipping build of the Transmission web interface."
554
555 do-install:
556         # do nothing
557 .endif
558
559
560 [FILE:2779:files/transmission.in]
561 #!/bin/sh
562 #
563 # $FreeBSD$
564 #
565 # PROVIDE: transmission
566 # REQUIRE: DAEMON
567 # KEYWORD: shutdown
568 #
569 # Add the following lines to /etc/rc.conf to enable this service:
570 #
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
574 #                            a path.
575 # transmission_conf_dir:     Directory where transmission configuration
576 #                            data is stored.
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
582 #                            default.
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.
588 #
589
590 . /etc/rc.subr
591
592 name=transmission
593 rcvar=transmission_enable
594
595 load_rc_config $name
596
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}
603
604 command=%%PREFIX%%/bin/transmission-daemon
605 pidfile=/var/run/transmission/daemon.pid
606 extra_commands=reload
607 start_precmd=transmission_prestart
608
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}"
615
616 transmission_prestart()
617 {
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
625         fi
626         if [ -n "$transmission_web_home" ]; then
627                 TRANSMISSION_WEB_HOME=$transmission_web_home
628                 export TRANSMISSION_WEB_HOME
629         fi
630 }
631
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
635 # transmission
636 if [ ! -f $pidfile -a -f /var/run/transmission/damon.pid ]; then
637         pidfile=/var/run/transmission/damon.pid
638 fi
639
640 run_rc_command $1
641