From nobody Fri May 24 17:57:09 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VmCRV1SKZz5LbGG; Fri, 24 May 2024 17:57:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VmCRV0lq0z4H56; Fri, 24 May 2024 17:57:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716573430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d8LmURrOmBblwoYD2qJSQ6UYKT0lfpnIOOhSs/Zj2V4=; b=yLMN86wDLte1MCZfXhv6faYxOraMrwWbHhZvdSgsB1yaAHoCC51uBDzzatNlHHZcvsPXS5 oPbeifQW9yRTWnPLzt/bfARohDTIqUnlg2djG0GE90meSebiat7+KCRFGTHj6PmT1D1nwt 11GxhnAdq/58is15itMud2KuNikPpZSS8NgeEkxzO8GG6Uw1hzDJuXcC4HMcywR93BMzqf b7t6+G8gUHrFeOs0US8sbEHeb2oWLSQXQ6mP/HeRAl/G9VUe4eZsff+WGuo6YyDXuwasE5 JIWlG509Eyxd5c3mwsrRDIf7t5zPgkdMAtE/MmdBDe1r1vTz7JE8H6U3yzIGMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716573430; a=rsa-sha256; cv=none; b=RBUYA2OFDcUNN+U3Njy5Xi2KakvcMta5XhYE38A+XEvtfZcuyxyLOEP8RNpMIO15j7bSNB +lb6WiQqf9tQ/FlXaKL8zG6S7s4Xfb8FBukuh8MHi+E9+ZTBI/PKdgDkvbHJXzZTfjZnqy L9oO5iQrCkMcgkXJY618A5n4dCC2wAd1AS/7tLBYVkym8LE2sN5/93mdjZVmFi9RjScxBl g6nRLFAd5wQHNd6C6ULdJIAlX96Wo9NzP0TnxqXiBTHo3KESXdmfPXecugJSBLkBa/PdDf JK4IV11XS8k5yG8XXdUIBaL2CBSqXvABx+f6wmfzEzfLC+Aiu8yNv9c5DMA71w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716573430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d8LmURrOmBblwoYD2qJSQ6UYKT0lfpnIOOhSs/Zj2V4=; b=I36F9m2RFfMxkXhew1ysLHtKzC8r2hYpZhu6BE8/CnNv6neMmUjBPFXIx6M6JDpSCTnE3p +EncuIo1PE60T08zqnJCQXopRjv2KUhRbjGNg5kdJjsQyY9B1BMKwxPyyoWnkpt0RMxQzT FISn3HT3dU8Dc7V/7r99S4J1MNIC/suEe+0/6aNqXnJXlTXE6hzFW29gcc19NI19om25Vv lS+Kn7wjMkFyYRSl2toLw5R6fpjDgGklAV88C65IeLBKDQioVIj3qVDk4BUinl/Uhe/83y aI5bGTGgAP0/uMSrWHOM3jQQ1vQGBCqaEgRPGEvWlC1rpUItkV1449qdQOLwqg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VmCRV0C7Bzjn7; Fri, 24 May 2024 17:57:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44OHv97p043588; Fri, 24 May 2024 17:57:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44OHv90k043585; Fri, 24 May 2024 17:57:09 GMT (envelope-from git) Date: Fri, 24 May 2024 17:57:09 GMT Message-Id: <202405241757.44OHv90k043585@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: bd0b0eec12d6 - main - net-p2p/transmission-components: Get transmission-web back List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd0b0eec12d655b9c8b87ace4503f6f36dc14e5f Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd0b0eec12d655b9c8b87ace4503f6f36dc14e5f commit bd0b0eec12d655b9c8b87ace4503f6f36dc14e5f Author: Rafe AuthorDate: 2024-05-23 06:24:38 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-05-24 17:56:56 +0000 net-p2p/transmission-components: Get transmission-web back After the reorganization of the port in ac3e39992e95659a5193a15d4cb873efb00fcb30 the web interface was only available if the daemon component was selected. This is not right since the gtk version of transmission needs those files too, otherwise the setup is broken. Bring transmission-web option back. PR: 279214 Reported by: fernape@FreeBSD.org --- UPDATING | 7 +++++++ net-p2p/transmission-components/Makefile | 24 ++++++++++++++++++------ net-p2p/transmission-components/pkg-descr.daemon | 7 +------ net-p2p/transmission-components/pkg-descr.gtk | 4 +++- net-p2p/transmission-components/pkg-descr.qt | 4 +++- net-p2p/transmission-components/pkg-descr.web | 8 ++++++++ net-p2p/transmission-components/pkg-plist.daemon | 7 ------- net-p2p/transmission-components/pkg-plist.web | 7 +++++++ net-p2p/transmission/Makefile | 7 +++++-- 9 files changed, 52 insertions(+), 23 deletions(-) diff --git a/UPDATING b/UPDATING index c26e1f81b2cc..7a5fc11c35ec 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,13 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20240522: + AFFECTS: net-p2p/transmission-daemon + + The web interface has been separated from the daemon port into its own port. + This allows users of transmission-gtk and transmission-qt to install the web + interface. + 20240521: AFFECTS: www/gitlab AUTHOR: mfechner@FreeBSD.org diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile index 409192b25755..366a4da0c741 100644 --- a/net-p2p/transmission-components/Makefile +++ b/net-p2p/transmission-components/Makefile @@ -1,6 +1,6 @@ PORTNAME= transmission DISTVERSION= 4.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ @@ -25,7 +25,7 @@ LIB_DEPENDS= libb64.so:converters/libb64 \ libpsl.so:dns/libpsl \ libutp.so:net-p2p/libutp -FLAVORS= cli docs daemon gtk qt utils +FLAVORS= cli docs daemon gtk qt utils web FLAVOR?= ${FLAVORS:[1]} .for flavor in ${FLAVORS} ${flavor}_PKGNAMESUFFIX= -${flavor} @@ -77,6 +77,13 @@ USE_RC_SUBR= transmission USES= cpe tar:xz .endif +.if ${FLAVOR} == web +USES= cpe tar:xz +NO_ARCH= yes +NO_BUILD= yes +#PORTDATA= public_html +.endif + CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \ USE_SYSTEM_PSL USE_SYSTEM_UTP @@ -96,7 +103,7 @@ CMAKE_OFF+= ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .if ${FLAVOR} == daemon CMAKE_ON+= ENABLE_DAEMON -CMAKE_OFF+= ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS +CMAKE_OFF+= ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == gtk @@ -120,8 +127,8 @@ CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \ OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options .if ${FLAVOR:Mdaemon} -OPTIONS_DEFINE= NLS TESTS WEB -OPTIONS_DEFAULT= NLS WEB +OPTIONS_DEFINE= NLS TESTS +OPTIONS_DEFAULT= NLS .endif .if ${FLAVOR:Mdocs} @@ -142,7 +149,7 @@ qt_DESC= Build QT client TESTS_DESC= Build & run unit tests utils_DESC= Build utilities (create, edit, remote, show) cli_DESC= Build command-line client (deprecated) -WEB_DESC= Install web client (implies daemon) +#web_DESC= Install web interface NLS_USES= gettext-runtime:lib NLS_CMAKE_BOOL= ENABLE_NLS @@ -181,6 +188,11 @@ post-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/home .endif +.if ${FLAVOR} == web +do-install: + ( cd ${WRKSRC}/web && ${COPYTREE_SHARE} public_html ${STAGEDIR}${DATADIR} ) +.endif + post-install-TESTS-on: @${ECHO_MSG} "Running tests..." @cd ${BUILD_WRKSRC}/tests/libtransmission/ && \ diff --git a/net-p2p/transmission-components/pkg-descr.daemon b/net-p2p/transmission-components/pkg-descr.daemon index e6851c0cae2a..cebb973da516 100644 --- a/net-p2p/transmission-components/pkg-descr.daemon +++ b/net-p2p/transmission-components/pkg-descr.daemon @@ -1,9 +1,4 @@ The transmission-daemon is a daemon-based Transmission session that can be controlled via RPC by transmission-remote (see transmission-utils) and other Transmission BiTtorrent client such as GTK+ and CLI 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. +The daemon may also be controlled by installing the web interface. diff --git a/net-p2p/transmission-components/pkg-descr.gtk b/net-p2p/transmission-components/pkg-descr.gtk index 93fd677d59cf..d4d50f7fa419 100644 --- a/net-p2p/transmission-components/pkg-descr.gtk +++ b/net-p2p/transmission-components/pkg-descr.gtk @@ -1 +1,3 @@ -Transmission-gtk provides a native Transmission client for the GNOME desktop environment. +Transmission-gtk provides a native Transmission client for the GNOME desktop +environment. The gtk client may also be controlled by installing the web +interface. diff --git a/net-p2p/transmission-components/pkg-descr.qt b/net-p2p/transmission-components/pkg-descr.qt index 752b49dbb81b..f18cfbd6ec40 100644 --- a/net-p2p/transmission-components/pkg-descr.qt +++ b/net-p2p/transmission-components/pkg-descr.qt @@ -1 +1,3 @@ -Transmission-qt provides a native Transmission client for the KDE and GNOME desktop environments. +Transmission-qt provides a native Transmission client for the KDE and GNOME +desktop environments. The daemon may also be controlled by installing the web +interface. diff --git a/net-p2p/transmission-components/pkg-descr.web b/net-p2p/transmission-components/pkg-descr.web new file mode 100644 index 000000000000..a80a76ae30db --- /dev/null +++ b/net-p2p/transmission-components/pkg-descr.web @@ -0,0 +1,8 @@ +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. + +Use of the Transmission Web Interface requires installation of +transmission-daemon, transmisssion-gtk, or transmission-qt. diff --git a/net-p2p/transmission-components/pkg-plist.daemon b/net-p2p/transmission-components/pkg-plist.daemon index 885520ec887e..799265b6e163 100644 --- a/net-p2p/transmission-components/pkg-plist.daemon +++ b/net-p2p/transmission-components/pkg-plist.daemon @@ -1,10 +1,3 @@ bin/transmission-daemon @dir %%ETCDIR%%/home share/man/man1/transmission-daemon.1.gz -%%WEB%%%%DATADIR%%/public_html/images/favicon.ico -%%WEB%%%%DATADIR%%/public_html/images/favicon.png -%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png -%%WEB%%%%DATADIR%%/public_html/index.html -%%WEB%%%%DATADIR%%/public_html/transmission-app.css -%%WEB%%%%DATADIR%%/public_html/transmission-app.js -%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LEGAL.txt diff --git a/net-p2p/transmission-components/pkg-plist.web b/net-p2p/transmission-components/pkg-plist.web new file mode 100644 index 000000000000..729f6ea806de --- /dev/null +++ b/net-p2p/transmission-components/pkg-plist.web @@ -0,0 +1,7 @@ +%%DATADIR%%/public_html/images/favicon.ico +%%DATADIR%%/public_html/images/favicon.png +%%DATADIR%%/public_html/images/webclip-icon.png +%%DATADIR%%/public_html/index.html +%%DATADIR%%/public_html/transmission-app.css +%%DATADIR%%/public_html/transmission-app.js +%%DATADIR%%/public_html/transmission-app.js.LEGAL.txt diff --git a/net-p2p/transmission/Makefile b/net-p2p/transmission/Makefile index 7009258d55d3..2e959e11fe6a 100644 --- a/net-p2p/transmission/Makefile +++ b/net-p2p/transmission/Makefile @@ -1,5 +1,6 @@ PORTNAME= transmission DISTVERSION= 4.0.5 +PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= mondo.debater_0q@icloud.com @@ -10,8 +11,8 @@ LICENSE= GPLv3+ USES= metaport -OPTIONS_DEFINE= CLI DAEMON DOCS GTK QT UTILS -OPTIONS_DEFAULT= CLI DAEMON GTK QT UTILS +OPTIONS_DEFINE= CLI DAEMON DOCS GTK QT UTILS WEB +OPTIONS_DEFAULT= CLI DAEMON GTK QT UTILS WEB CLI_DESC= Build command-line client (deprecated) DAEMON_DESC= Build daemon @@ -19,6 +20,7 @@ DOCS_DESC= Install documentation GTK_DESC= Build GTK+ client QT_DESC= Build QT client UTILS_DESC= Build utilities (create, edit, remote, show) +WEB_DESC= Install web interface CLI_RUN_DEPENDS= transmission-cli:net-p2p/transmission-components@cli DAEMON_RUN_DEPENDS= transmission-daemon:net-p2p/transmission-components@daemon @@ -26,5 +28,6 @@ DOCS_RUN_DEPENDS= ${DOCSDIR}/README.md:net-p2p/transmission-components@docs GTK_RUN_DEPENDS= transmission-gtk:net-p2p/transmission-components@gtk QT_RUN_DEPENDS= transmission-qt:net-p2p/transmission-components@qt UTILS_RUN_DEPENDS= transmission-create:net-p2p/transmission-components@utils +WEB_RUN_DEPENDS= ${DATADIR}/public_html/index.html:net-p2p/transmission-components@web .include