# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= transmission VERSION= 4.1.0 KEYWORDS= net_p2p VARIANTS= std daemon gtk qt web SDESC[std]= Lightweight BitTorrent client (CLI client) SDESC[web]= Lightweight BitTorrent client (web client) SDESC[qt]= Lightweight BitTorrent client (Qt GUI) 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/download/4.1.0/ DISTFILE[1]= transmission-4.1.0.tar.xz:main DF_INDEX= 1 SPKGS[std]= set primary man SPKGS[web]= single SPKGS[qt]= set primary man nls SPKGS[gtk]= set primary man nls SPKGS[daemon]= set primary man 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= libevent:primary:std dht:single:std libb64:primary:std libdeflate:primary:std libnatpmp:primary:std miniupnpc:primary:std libpsl:primary:std [WEB].BUILD_DEPENDS_OFF= libutp:dev:std libevent:dev:std miniupnpc:dev:std libnatpmp:dev:std libb64:dev:std libdeflate:dev:std libpsl:dev:std [WEB].USES_OFF= cpe cmake iconv pkgconfig ssl zlib gettext curl python:build c++:primary [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 Qt6 version of transmission [QT].BUILDRUN_DEPENDS_ON= qt6-qtsvg:primary:std libdeflate:primary:std [QT].BUILD_DEPENDS_ON= qt6-qtbase:dev:std qt6-qtsvg:dev:std qt6-qttools:dev:std qt6-qttools:primary:std libdeflate:dev:std [QT].CMAKE_ARGS_OFF= -DENABLE_QT:BOOL=OFF [QT].CMAKE_ARGS_ON= -DENABLE_QT:BOOL=ON -DUSE_QT_VERSION=6 -DCMAKE_PREFIX_PATH:PATH="{{PREFIX}}/lib/qt6/cmake/" [QT].MAKE_ARGS_ON= DESTDIR="{{STAGEDIR}}" [QT].USES_ON= qt6 [GTK].DESCRIPTION= Build GTK+ version of transmission [GTK].BUILDRUN_DEPENDS_ON= dbus-glib:primary:std libnotify:primary:std [GTK].BUILD_DEPENDS_ON= appstream-glib:dev:std libnotify:dev:std harfbuzz:dev:std [GTK].CMAKE_ARGS_OFF= -DENABLE_GTK:BOOL=OFF [GTK].CMAKE_ARGS_ON= -DENABLE_GTK:BOOL=ON -DUSE_GTK_VERSION=4 [GTK].GNOME_COMPONENTS_ON= cairo gdkpixbuf gtk4 pango intltool gtkmm40 glibmm [GTK].RUN_DEPENDS_ON= xdg-utils:primary:std [GTK].USES_ON= desktop-utils:single 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 ${RMDIR} ${STAGEDIR}${PREFIX}/share/transmission/web/assets/css post-install-WEB-OFF: ${RM} -r ${STAGEDIR}${STD_DOCDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* [FILE:168:descriptions/desc.primary.std] 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.primary.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:104:distinfo] dcd28c1c9e6126229c4c17dbc9e95c9fd4aed7e76f4a1f2a74604c8cddec49d6 12184984 transmission-4.1.0.tar.xz [FILE:103:manifests/plist.primary.std] bin/ transmission-cli transmission-create transmission-edit transmission-remote transmission-show [FILE:124:manifests/plist.man.std] share/man/man1/ transmission-cli.1 transmission-create.1 transmission-edit.1 transmission-remote.1 transmission-show.1 [FILE:51:manifests/plist.primary.daemon] bin/transmission-daemon @dir etc/transmission/home [FILE:37:manifests/plist.man.daemon] share/man/man1/transmission-daemon.1 [FILE:247:manifests/plist.primary.gtk] bin/transmission-gtk share/applications/transmission-gtk.desktop share/icons/hicolor/scalable/apps/ transmission-devel.svg transmission.svg share/icons/hicolor/symbolic/apps/transmission-symbolic.svg share/metainfo/transmission-gtk.metainfo.xml [FILE:34:manifests/plist.man.gtk] share/man/man1/transmission-gtk.1 [FILE:822:manifests/plist.nls.gtk] share/locale/da/LC_MESSAGES/transmission-gtk.mo share/locale/es/LC_MESSAGES/transmission-gtk.mo share/locale/eu/LC_MESSAGES/transmission-gtk.mo share/locale/fi/LC_MESSAGES/transmission-gtk.mo share/locale/fr/LC_MESSAGES/transmission-gtk.mo share/locale/he/LC_MESSAGES/transmission-gtk.mo share/locale/hu/LC_MESSAGES/transmission-gtk.mo share/locale/is/LC_MESSAGES/transmission-gtk.mo share/locale/ja/LC_MESSAGES/transmission-gtk.mo share/locale/nl/LC_MESSAGES/transmission-gtk.mo share/locale/pl/LC_MESSAGES/transmission-gtk.mo share/locale/ru/LC_MESSAGES/transmission-gtk.mo share/locale/sv/LC_MESSAGES/transmission-gtk.mo share/locale/tr/LC_MESSAGES/transmission-gtk.mo share/locale/uk/LC_MESSAGES/transmission-gtk.mo share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo [FILE:200:manifests/plist.primary.qt] bin/transmission-qt share/applications/transmission-qt.desktop share/icons/hicolor/scalable/apps/ transmission-devel.svg transmission.svg share/icons/hicolor/symbolic/apps/transmission-symbolic.svg [FILE:33:manifests/plist.man.qt] share/man/man1/transmission-qt.1 [FILE:705: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_he.qm transmission_hu.qm transmission_id.qm transmission_is.qm transmission_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.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 transmission_zh_TW.qm [FILE:1154:manifests/plist.single.web] share/transmission/web/ .nvmrc .prettierignore CMakeLists.txt README.md esbuild.mjs eslint.config.js generate-buildonly.js package-lock.json package.json package.json.buildonly prettier.config.js stylelint.config.js share/transmission/web/assets/img/ README.md box.svg chevron-down.svg chevron-up.svg file-text.svg film.svg folder.svg horizontal-rule.svg image.svg lock-fill.svg logo.png magnet.svg music.svg package.svg router.svg turtle.svg type.svg share/transmission/web/public_html/ index.html transmission-app.css transmission-app.css.LEGAL.txt transmission-app.css.map transmission-app.js transmission-app.js.LEGAL.txt share/transmission/web/public_html/images/ favicon.ico favicon.png webclip-icon.png share/transmission/web/src/ about-dialog.js action-manager.js alert-dialog.js context-menu.js file-row.js formatter.js inspector.js labels-dialog.js main.js move-dialog.js notifications.js open-dialog.js overflow-menu.js prefs-dialog.js prefs.js remote.js remove-dialog.js rename-dialog.js shortcuts-dialog.js statistics-dialog.js torrent-row.js torrent.js transmission.js utils.js [FILE:320:patches/patch-CMakeLists.txt] --- CMakeLists.txt.orig 2024-05-29 01:38:35 UTC +++ CMakeLists.txt @@ -805,10 +805,6 @@ foreach(P cli daemon gtk mac qt utils) 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 [FILE:237:patches/patch-gtk_DetailsDialog.cc] --- gtk/DetailsDialog.cc.orig 2024-05-29 01:38:35 UTC +++ gtk/DetailsDialog.cc @@ -63,6 +63,8 @@ #include #include +#include + #ifdef _WIN32 #include #include [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