# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= transmission VERSION= 3.00 KEYWORDS= net_p2p VARIANTS= standard daemon gtk qt web SDESC[web]= Lightweight BitTorrent client (web client) SDESC[qt]= Lightweight BitTorrent client (Qt GUI) SDESC[standard]= Lightweight BitTorrent client (CLI client) SDESC[gtk]= Lightweight BitTorrent client (GTK+ GUI) SDESC[daemon]= Lightweight BitTorrent client (daemon) HOMEPAGE= https://transmissionbt.com/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://github.com/transmission/transmission-releases/raw/master/ DISTFILE[1]= transmission-3.00.tar.xz:main DF_INDEX= 1 SPKGS[web]= single SPKGS[qt]= complete primary nls SPKGS[standard]= single SPKGS[gtk]= complete primary nls SPKGS[daemon]= single OPTIONS_AVAILABLE= NOTSTD DAEMON GTK QT WEB OPTIONS_STANDARD= none VOPTS[web]= NOTSTD=ON DAEMON=OFF GTK=OFF QT=OFF WEB=ON VOPTS[qt]= NOTSTD=ON DAEMON=OFF GTK=OFF QT=ON WEB=OFF VOPTS[gtk]= NOTSTD=ON DAEMON=OFF GTK=ON QT=OFF WEB=OFF VOPTS[daemon]= NOTSTD=ON DAEMON=ON GTK=OFF QT=OFF WEB=OFF USES= cpe LICENSE= GPLv2:single GPLv3:single LICENSE_TERMS= single:{{WRKSRC}}/COPYING LICENSE_FILE= GPLv2:stock GPLv3:stock LICENSE_SCHEME= dual CPE_VENDOR= transmissionbt FPC_EQUIVALENT= net-p2p/transmission CMAKE_ARGS= -DENABLE_NLS:BOOL=ON -DENABLE_TESTS:BOOL=OFF -DUSE_SYSTEM_EVENT2:BOOL=ON -DUSE_SYSTEM_DHT:BOOL=ON -DUSE_SYSTEM_MINIUPNPC:BOOL=ON -DUSE_SYSTEM_NATPMP:BOOL=ON -DUSE_SYSTEM_UTP:BOOL=ON -DUSE_SYSTEM_B64:BOOL=ON [NOTSTD].DESCRIPTION= Don't build CLI version [NOTSTD].CMAKE_ARGS_OFF= -DENABLE_CLI:BOOL=ON -DENABLE_UTILS:BOOL=ON [NOTSTD].CMAKE_ARGS_ON= -DENABLE_CLI:BOOL=OFF -DENABLE_UTILS:BOOL=OFF [WEB].DESCRIPTION= Build transmission web interface [WEB].BUILDRUN_DEPENDS_OFF= curl:primary:standard libevent:single:standard dht:single:standard libb64:single:standard libnatpmp:single:standard libutp:single:standard miniupnpc:single:standard [WEB].USES_OFF= cpe cmake iconv pkgconfig ssl zlib gettext-runtime [DAEMON].DESCRIPTION= Build daemon version of transmission [DAEMON].CMAKE_ARGS_OFF= -DENABLE_DAEMON:BOOL=OFF [DAEMON].CMAKE_ARGS_ON= -DENABLE_DAEMON:BOOL=ON [QT].DESCRIPTION= Build Qt version of transmission [QT].BUILDRUN_DEPENDS_ON= qt5-qtbase:primary:standard [QT].BUILD_DEPENDS_ON= qt5-qttools:single:standard [QT].CMAKE_ARGS_OFF= -DENABLE_QT:BOOL=OFF [QT].CMAKE_ARGS_ON= -DENABLE_QT:BOOL=ON -DUSE_QT5:BOOL=ON -DCMAKE_PREFIX_PATH:PATH="{{PREFIX}}/lib/qt5/cmake/" [QT].MAKE_ARGS_ON= DESTDIR="{{STAGEDIR}}" [QT].USES_ON= qt5 [GTK].DESCRIPTION= Build GTK+ version of transmission [GTK].BUILDRUN_DEPENDS_ON= dbus-glib:primary:standard libnotify:primary:standard [GTK].BUILD_DEPENDS_ON= appstream-glib:primary:standard [GTK].CMAKE_ARGS_OFF= -DENABLE_GTK:BOOL=OFF [GTK].CMAKE_ARGS_ON= -DENABLE_GTK:BOOL=ON [GTK].GNOME_COMPONENTS_ON= cairo gdkpixbuf gtk3 pango intltool [GTK].RUN_DEPENDS_ON= xdg-utils:single:standard [GTK].USES_ON= gettext-tools:build desktop-utils:single post-patch: # allow use of dht 0.26 (tranmission expects older 0.24) ${REINPLACE_CMD} -e 's|dht/dht.h|dht.h|' \ ${WRKSRC}/cmake/FindDHT.cmake \ ${WRKSRC}/libtransmission/tr-dht.c post-install-DAEMON-ON: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/transmission/home post-patch-WEB-ON: ${FIND} ${WRKSRC}/web \( \ -name '*.am' \ -o -name '*.in' \ -o -name '*.scss' \ \) -delete do-install-WEB-ON: (cd ${WRKSRC} && \ ${COPYTREE_SHARE} web ${STAGEDIR}${PREFIX}/share/transmission) ${RM} ${STAGEDIR}${PREFIX}/share/transmission/web/LICENSE post-install-WEB-OFF: ${RM} -r ${STAGEDIR}${STD_DOCDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* [FILE:168:descriptions/desc.single.standard] Transmission is a cross-platform BitTorrent client that is opensource, easy, lean, native and powerful. This package contains the Command-Line Interface (CLI) client. [FILE:354:descriptions/desc.single.daemon] Transmission is a cross-platform BitTorrent client that is opensource, easy, lean, native and powerful. This package contains the Transmission daemon. The transmission-daemon is a daemon-based Transmission session that can be controlled via RPC by transmission-remote (included) and other Transmission BiTtorrent client such as GTK+ and CLI interface. [FILE:148:descriptions/desc.primary.gtk] Transmission is a cross-platform BitTorrent client that is opensource, easy, lean, native and powerful. This package contains the GTK+ GUI client. [FILE:370:descriptions/desc.primary.qt] Transmission is a cross-platform BitTorrent client that is opensource, easy, lean, native and powerful. This package contains the Qt GUI client. This is the only Transmission client that can act as its own self-contained session (as the GTK+ and Mac clients do), and can also connect to a remote session (as the web client and transmission-remote terminal client do). [FILE:523:descriptions/desc.single.web] Transmission is a cross-platform BitTorrent client that is opensource, easy, lean, native and powerful. This package contains the Transmission Web Interface. Transmission Web Interface (Clutch) is a WebUI for the Transmission BitTorrent client. It allows you to manage your torrents from anywhere you can access the internet, and runs on OS X and various flavors of *nix. It provides most of the basic features of the desktop client, including torrent upload, torrent start/stop, file path selection, speed limiting, etc. [FILE:103:distinfo] 9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2 3329220 transmission-3.00.tar.xz [FILE:242:manifests/plist.single.standard] bin/ transmission-cli transmission-create transmission-edit transmission-remote transmission-show share/man/man1/ transmission-cli.1.gz transmission-create.1.gz transmission-edit.1.gz transmission-remote.1.gz transmission-show.1.gz [FILE:91:manifests/plist.single.daemon] bin/transmission-daemon share/man/man1/transmission-daemon.1.gz @dir etc/transmission/home [FILE:282:manifests/plist.primary.gtk] bin/transmission-gtk share/appdata/transmission-gtk.appdata.xml share/applications/transmission-gtk.desktop share/icons/hicolor/scalable/apps/ transmission-devel.svg transmission.svg share/icons/hicolor/symbolic/apps/transmission-symbolic.svg share/man/man1/transmission-gtk.1.gz [FILE:4407:manifests/plist.nls.gtk] share/locale/an/LC_MESSAGES/transmission-gtk.mo share/locale/ar/LC_MESSAGES/transmission-gtk.mo share/locale/ast/LC_MESSAGES/transmission-gtk.mo share/locale/az/LC_MESSAGES/transmission-gtk.mo share/locale/be/LC_MESSAGES/transmission-gtk.mo share/locale/bg/LC_MESSAGES/transmission-gtk.mo share/locale/bn/LC_MESSAGES/transmission-gtk.mo share/locale/bo/LC_MESSAGES/transmission-gtk.mo share/locale/br/LC_MESSAGES/transmission-gtk.mo share/locale/bs/LC_MESSAGES/transmission-gtk.mo share/locale/ca/LC_MESSAGES/transmission-gtk.mo share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo share/locale/ceb/LC_MESSAGES/transmission-gtk.mo share/locale/ckb/LC_MESSAGES/transmission-gtk.mo share/locale/cs/LC_MESSAGES/transmission-gtk.mo share/locale/cy/LC_MESSAGES/transmission-gtk.mo share/locale/da/LC_MESSAGES/transmission-gtk.mo share/locale/de/LC_MESSAGES/transmission-gtk.mo share/locale/el/LC_MESSAGES/transmission-gtk.mo share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo share/locale/eo/LC_MESSAGES/transmission-gtk.mo share/locale/es/LC_MESSAGES/transmission-gtk.mo share/locale/et/LC_MESSAGES/transmission-gtk.mo share/locale/eu/LC_MESSAGES/transmission-gtk.mo share/locale/fa/LC_MESSAGES/transmission-gtk.mo share/locale/fi/LC_MESSAGES/transmission-gtk.mo share/locale/fil/LC_MESSAGES/transmission-gtk.mo share/locale/fo/LC_MESSAGES/transmission-gtk.mo share/locale/fr/LC_MESSAGES/transmission-gtk.mo share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo share/locale/ga/LC_MESSAGES/transmission-gtk.mo share/locale/gl/LC_MESSAGES/transmission-gtk.mo share/locale/gv/LC_MESSAGES/transmission-gtk.mo share/locale/he/LC_MESSAGES/transmission-gtk.mo share/locale/hi/LC_MESSAGES/transmission-gtk.mo share/locale/hr/LC_MESSAGES/transmission-gtk.mo share/locale/hu/LC_MESSAGES/transmission-gtk.mo share/locale/hy/LC_MESSAGES/transmission-gtk.mo share/locale/ia/LC_MESSAGES/transmission-gtk.mo share/locale/id/LC_MESSAGES/transmission-gtk.mo share/locale/is/LC_MESSAGES/transmission-gtk.mo share/locale/it/LC_MESSAGES/transmission-gtk.mo share/locale/ja/LC_MESSAGES/transmission-gtk.mo share/locale/jbo/LC_MESSAGES/transmission-gtk.mo share/locale/ka/LC_MESSAGES/transmission-gtk.mo share/locale/kk/LC_MESSAGES/transmission-gtk.mo share/locale/ko/LC_MESSAGES/transmission-gtk.mo share/locale/ku/LC_MESSAGES/transmission-gtk.mo share/locale/ky/LC_MESSAGES/transmission-gtk.mo share/locale/li/LC_MESSAGES/transmission-gtk.mo share/locale/lt/LC_MESSAGES/transmission-gtk.mo share/locale/lv/LC_MESSAGES/transmission-gtk.mo share/locale/mk/LC_MESSAGES/transmission-gtk.mo share/locale/ml/LC_MESSAGES/transmission-gtk.mo share/locale/mr/LC_MESSAGES/transmission-gtk.mo share/locale/ms/LC_MESSAGES/transmission-gtk.mo share/locale/mt/LC_MESSAGES/transmission-gtk.mo share/locale/my/LC_MESSAGES/transmission-gtk.mo share/locale/nb/LC_MESSAGES/transmission-gtk.mo share/locale/nds/LC_MESSAGES/transmission-gtk.mo share/locale/nl/LC_MESSAGES/transmission-gtk.mo share/locale/nn/LC_MESSAGES/transmission-gtk.mo share/locale/oc/LC_MESSAGES/transmission-gtk.mo share/locale/pa/LC_MESSAGES/transmission-gtk.mo share/locale/pl/LC_MESSAGES/transmission-gtk.mo share/locale/pt/LC_MESSAGES/transmission-gtk.mo share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo share/locale/ro/LC_MESSAGES/transmission-gtk.mo share/locale/ru/LC_MESSAGES/transmission-gtk.mo share/locale/si/LC_MESSAGES/transmission-gtk.mo share/locale/sk/LC_MESSAGES/transmission-gtk.mo share/locale/sl/LC_MESSAGES/transmission-gtk.mo share/locale/sq/LC_MESSAGES/transmission-gtk.mo share/locale/sr/LC_MESSAGES/transmission-gtk.mo share/locale/sv/LC_MESSAGES/transmission-gtk.mo share/locale/sw/LC_MESSAGES/transmission-gtk.mo share/locale/ta/LC_MESSAGES/transmission-gtk.mo share/locale/te/LC_MESSAGES/transmission-gtk.mo share/locale/th/LC_MESSAGES/transmission-gtk.mo share/locale/tl/LC_MESSAGES/transmission-gtk.mo share/locale/tr/LC_MESSAGES/transmission-gtk.mo share/locale/ug/LC_MESSAGES/transmission-gtk.mo share/locale/uk/LC_MESSAGES/transmission-gtk.mo share/locale/ur/LC_MESSAGES/transmission-gtk.mo share/locale/uz/LC_MESSAGES/transmission-gtk.mo share/locale/vi/LC_MESSAGES/transmission-gtk.mo share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo [FILE:99:manifests/plist.primary.qt] bin/transmission-qt share/applications/transmission-qt.desktop share/man/man1/transmission-qt.1.gz [FILE:625:manifests/plist.nls.qt] share/transmission/translations/ transmission_af.qm transmission_ca.qm transmission_da.qm transmission_de.qm transmission_el.qm transmission_en.qm transmission_es.qm transmission_eu.qm transmission_fi.qm transmission_fr.qm transmission_hu.qm transmission_id.qm transmission_it_IT.qm transmission_ja.qm transmission_ka.qm transmission_kk.qm transmission_ko.qm transmission_lt.qm transmission_nb.qm transmission_nl.qm transmission_pl.qm transmission_pt_BR.qm transmission_pt_PT.qm transmission_ru.qm transmission_sl.qm transmission_sv.qm transmission_tr.qm transmission_uk.qm transmission_zh_CN.qm [FILE:1670:manifests/plist.single.web] share/transmission/web/index.html share/transmission/web/images/ favicon.ico favicon.png webclip-icon.png share/transmission/web/javascript/ common.js dialog.js file-row.js formatter.js inspector.js main.js notifications.js polyfill.js prefs-dialog.js remote.js torrent-row.js torrent.js transmission.js share/transmission/web/javascript/jquery/ jquery-migrate.min.js jquery-ui.min.js jquery.min.js jquery.transmenu.min.js jquery.ui-contextmenu.min.js json2.min.js share/transmission/web/style/jqueryui/jquery-ui.min.css share/transmission/web/style/jqueryui/images/ ui-bg_flat_0_aaaaaa_40x100.png ui-bg_flat_75_ffffff_40x100.png ui-bg_glass_55_fbf9ee_1x400.png ui-bg_glass_65_ffffff_1x400.png ui-bg_glass_75_dadada_1x400.png ui-bg_glass_75_e6e6e6_1x400.png ui-bg_glass_95_fef1ec_1x400.png ui-bg_highlight-soft_75_cccccc_1x100.png ui-icons_222222_256x240.png ui-icons_2e83ff_256x240.png ui-icons_454545_256x240.png ui-icons_888888_256x240.png ui-icons_cd0a0a_256x240.png share/transmission/web/style/transmission/ common.css mobile.css share/transmission/web/style/transmission/images/ arrow-down.png arrow-up.png blue-turtle.png compact.png file-priority-high.png file-priority-low.png file-priority-normal.png filter_bar.png filter_icon.png inspector-files.png inspector-info.png inspector-peers.png inspector-trackers.png lock_icon.png logo.png progress.png settings.png toolbar-close.png toolbar-folder.png toolbar-info.png toolbar-pause-all.png toolbar-pause.png toolbar-start-all.png toolbar-start.png turtle.png wrench.png share/transmission/web/style/transmission/images/buttons/torrent_buttons.png [FILE:737:patches/patch-CMakeLists.txt] --- CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ CMakeLists.txt @@ -437,7 +437,11 @@ set(NEEDED_HEADERS xlocale.h) if(ENABLE_NLS) - list(APPEND NEEDED_HEADERS libintl.h) + list(APPEND NEEDED_HEADERS libintl.h) + find_package(Intl) + if(Intl_FOUND) + set(LIBINTL_LIBRARY ${Intl_LIBRARIES}) + endif() endif() foreach(H ${NEEDED_HEADERS}) @@ -553,10 +557,6 @@ foreach(P daemon cli utils gtk qt mac) endif() endforeach() -if(ENABLE_DAEMON OR ENABLE_GTK OR ENABLE_QT) - tr_install_web(${CMAKE_INSTALL_DATAROOTDIR}/${TR_NAME}) -endif() - if(INSTALL_DOC) install(FILES AUTHORS COPYING NEWS.md README.md extras/rpc-spec.txt extras/send-email-when-torrent-done.sh DESTINATION ${CMAKE_INSTALL_DOCDIR}) endif() [FILE:482:patches/patch-cli_CMakeLists.txt] --- cli/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ cli/CMakeLists.txt @@ -9,6 +9,9 @@ tr_win32_app_info(${PROJECT_NAME}_WIN32_ add_executable(${TR_NAME}-cli cli.c ${${PROJECT_NAME}_WIN32_RC_FILE}) include_directories(${TR_NAME}-cli ${CURL_INCLUDE_DIRS}) +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD") + target_link_libraries(${TR_NAME}-cli quota) +endif() target_link_libraries(${TR_NAME}-cli ${TR_NAME}) install(TARGETS ${TR_NAME}-cli DESTINATION ${CMAKE_INSTALL_BINDIR}) [FILE:388:patches/patch-daemon_CMakeLists.txt] --- daemon/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ daemon/CMakeLists.txt @@ -36,6 +36,9 @@ add_executable(${TR_NAME}-daemon ${${PROJECT_NAME}_HEADERS} ${${PROJECT_NAME}_WIN32_RC_FILE}) +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD") + target_link_libraries(${TR_NAME}-daemon quota) +endif() target_link_libraries(${TR_NAME}-daemon ${TR_NAME} ${EVENT2_LIBRARIES} [FILE:360:patches/patch-gtk_CMakeLists.txt] --- gtk/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ gtk/CMakeLists.txt @@ -158,6 +158,9 @@ add_executable(${TR_NAME}-gtk WIN32 ${${PROJECT_NAME}_WIN32_RC_FILE} ) +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD") + target_link_libraries(${TR_NAME}-gtk quota) +endif() target_link_libraries(${TR_NAME}-gtk ${TR_NAME} ${LIBAPPINDICATOR_LIBRARIES} [FILE:181:patches/patch-po_CMakeLists.txt] --- po/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ po/CMakeLists.txt @@ -70,7 +70,6 @@ set(${PROJECT_NAME}_LINGUAS pl pt pt_BR - pt_PT ro ru si [FILE:205:patches/patch-qt_Application.h] --- qt/Application.h.orig 2020-05-22 11:04:23 UTC +++ qt/Application.h @@ -12,6 +12,7 @@ #include #include +#include #include "FaviconCache.h" #include "Typedefs.h" [FILE:340:patches/patch-qt_CMakeLists.txt] --- qt/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ qt/CMakeLists.txt @@ -217,6 +217,9 @@ add_executable(${TR_NAME}-qt WIN32 ${${PROJECT_NAME}_WIN32_RC_FILE} ) +if (CMAKE_SYSTEM_NAME MATCHES "NetBSD") + target_link_libraries(${TR_NAME}-qt quota) +endif() target_link_libraries(${TR_NAME}-qt ${TR_NAME} ${QT_TARGETS} [FILE:544:patches/patch-utils_CMakeLists.txt] --- utils/CMakeLists.txt.orig 2020-05-22 11:04:23 UTC +++ utils/CMakeLists.txt @@ -10,6 +10,9 @@ foreach(P create edit remote show) add_executable(${TR_NAME}-${P} ${P}.c ${${PROJECT_NAME}_${P}_WIN32_RC_FILE}) include_directories(${TR_NAME}-${P} ${EVENT2_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS}) + if (CMAKE_SYSTEM_NAME MATCHES "NetBSD") + target_link_libraries(${TR_NAME}-${P} quota) + endif() target_link_libraries(${TR_NAME}-${P} ${TR_NAME}) install(TARGETS ${TR_NAME}-${P} DESTINATION ${CMAKE_INSTALL_BINDIR}) [FILE:129:files/special.mk] .if "${VARIANT}" == "web" do-build: @echo "Skipping build of the Transmission web interface." do-install: # do nothing .endif [FILE:2779:files/transmission.in] #!/bin/sh # # $FreeBSD$ # # PROVIDE: transmission # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable this service: # # transmission_enable: Set to NO by default. Set it to YES to enable it. # transmission_watch_dir: Directory for torrent files to download # automatically. Off by default unless you add # a path. # transmission_conf_dir: Directory where transmission configuration # data is stored. # Default: %%PREFIX%%/etc/transmission/home # transmission_download_dir: Directory to store downloaded data. # Default: %%PREFIX%%/etc/transmission/home/Downloads # transmission_user: The user account transmission daemon runs as what # you want it to be. It uses 'transmission' user by # default. # transmission_web_home: Use alternative directory for the web interface # files, such as javascript, html and graphics. # transmission_chown: By default, transmission checks and fixes the # permissions for its home directory. If this # causes problems, set this variable to no. # . /etc/rc.subr name=transmission rcvar=transmission_enable load_rc_config $name : ${transmission_enable:=NO} : ${transmission_conf_dir=%%PREFIX%%/etc/transmission/home} : ${transmission_download_dir=%%PREFIX%%/etc/transmission/home/Downloads} : ${transmission_user:=transmission} transmission_group=${transmission_group:-$transmission_user} : ${transmission_chown:=yes} command=%%PREFIX%%/bin/transmission-daemon pidfile=/var/run/transmission/daemon.pid extra_commands=reload start_precmd=transmission_prestart transmission_flags=" \ ${transmission_watch_dir:+-c ${transmission_watch_dir}} \ ${transmission_conf_dir:+-g ${transmission_conf_dir}} \ ${transmission_download_dir:+-w ${transmission_download_dir}} \ ${pidfile:+-x $pidfile} \ ${transmission_flags}" transmission_prestart() { install -d -o $transmission_user ${pidfile%/*} if checkyesno transmission_chown; then mkdir -p $transmission_conf_dir $transmission_download_dir chown $transmission_user:$transmission_group $transmission_download_dir chown -R $transmission_user:$transmission_group $transmission_conf_dir chgrp $transmission_group $transmission_conf_dir chmod 750 $transmission_conf_dir fi if [ -n "$transmission_web_home" ]; then TRANSMISSION_WEB_HOME=$transmission_web_home export TRANSMISSION_WEB_HOME fi } # Unfortunately there was a typo in a previous version, which may have # left some people with /var/run/transmission/damon.pid . Deal with # this for a few months at least, until everyone will have restarted # transmission if [ ! -f $pidfile -a -f /var/run/transmission/damon.pid ]; then pidfile=/var/run/transmission/damon.pid fi run_rc_command $1