From nobody Sat Jan 29 10:06:42 2022 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 E50BA197958D; Sat, 29 Jan 2022 10:06:43 +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 4Jm937380fz3mZX; Sat, 29 Jan 2022 10:06:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643450803; 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=LujsEP8VXGF1IaPQg855P/ktFAaKaKovlFnAR/AszdM=; b=TqQWIV5wd4Smp2eFM680f/5WN17PjSAwMMt1+sSmcxFzcVhuupiB59MtTdFNsgqaxeI9JU cSdb7szmr0gv0a/tYIx8oqbMoauKOCpFbL9hBO6TbEPClGIzW0Zvw3zbWQrOEBUxYQPExX Ej4LE/I4S7Oc6NZ4IGCyDjsUXxEnR1icN/PPk/USznY+n22ZHo86tN4uEbgdeCxsaVTN2A qf8AZ+cr7l61lg9XPMP3MdSd3U0hZEmZ+TtoVuCVe4IawTU91n3isDHbZry8b8pG//Hsad nbfU/cpNps+QJWI64DFfeiLSz1mR9f9Ml5BLyANzFlyfIcMMZFMOisvyid/C9w== 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 E27BC13BE2; Sat, 29 Jan 2022 10:06:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20TA6gCs051813; Sat, 29 Jan 2022 10:06:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20TA6g0E051812; Sat, 29 Jan 2022 10:06:42 GMT (envelope-from git) Date: Sat, 29 Jan 2022 10:06:42 GMT Message-Id: <202201291006.20TA6g0E051812@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: e8162ac5393e - main - net-p2p/sonarr: Disable built-in updater and take maintainership 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8162ac5393e1a1adb8e777e8314e13f1aab5d4a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643450803; 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=LujsEP8VXGF1IaPQg855P/ktFAaKaKovlFnAR/AszdM=; b=AWWqzhlAaa6TMNYhURYAYhPPrHZ7L9J/eDgd7aUF6DHptzfGzJzmjqV3rvJ8bQapN5//TO gkhZBVsVDPu1ln8cScQn0flztt/Xol6zILv0IW2TDE/i45WGGD/8d9KLo16C7UMqpkD2Jn fGVKI6H4TgKHm1Od9XiWQQ/PljJVlOIIXDTA2XA36IJBz8vFlhsC3EmnftgSv25O6xj1AO xsDDxvHISDD564d6wWLlIP9BzrXxVMtHfyqT8ctCwpF+TFdlwP5a1sw7UDtQlU3QEmTjN1 6HeLf+m/f4iOBU4JtCfo5+fsAvsFo1tlT6SUutysD09Y/iHECF7/QtWZFFvaew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643450803; a=rsa-sha256; cv=none; b=ZhzHJVhP3gzqaXZtNyoBf3JO7x4dc/YbKmoj282qGtrdqm4XPXfXv7dqW3vfiGdXC0/Lap XL4Y5xOgltrQyG9vU7INatz1APFkzg9EV1C+3fZIXEBTKfy7Y0rMnKCOMso6z9S82HIma6 yfnweCcusDR1pVZr23SdPupjtO+6azrFpdbPKKVuEPFAJLUhVjMW7EVbcCVCLHnUtpIeS7 Hp2VOtNMz5L4UNFyZ7GocXi4/xxXEtWDNnezhnhC03H38gprPuyc9Je9W7JfGUt8NHyci4 NJRt1M9Km8l4gHsOO9hziIdLmXI2dIAqK4yhRICj4YEDlW+rSkjupZC6fO7myQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8162ac5393e1a1adb8e777e8314e13f1aab5d4a commit e8162ac5393e1a1adb8e777e8314e13f1aab5d4a Author: Michiel van Baak Jansen AuthorDate: 2022-01-29 10:06:24 +0000 Commit: Guangyuan Yang CommitDate: 2022-01-29 10:06:24 +0000 net-p2p/sonarr: Disable built-in updater and take maintainership PR: 261340 --- net-p2p/sonarr/Makefile | 24 +++- net-p2p/sonarr/files/package_info.in | 5 + net-p2p/sonarr/files/pkg-message.in | 26 +++++ net-p2p/sonarr/files/sonarr.in | 3 +- net-p2p/sonarr/pkg-plist | 217 +++++++++++++++++++++++++++++++++++ 5 files changed, 268 insertions(+), 7 deletions(-) diff --git a/net-p2p/sonarr/Makefile b/net-p2p/sonarr/Makefile index 1b2b13e7608e..a4071cdc7e5c 100644 --- a/net-p2p/sonarr/Makefile +++ b/net-p2p/sonarr/Makefile @@ -1,11 +1,11 @@ PORTNAME= sonarr PORTVERSION= 3.0.6.1342 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= http://download.sonarr.tv/v3/main/${PORTVERSION}/ DISTNAME= Sonarr.main.${PORTVERSION}.linux -MAINTAINER= ports@FreeBSD.org +MAINTAINER= michiel@vanbaak.eu COMMENT= PVR for Usenet and BitTorrent users LICENSE= GPLv3 @@ -19,8 +19,17 @@ USE_RC_SUBR= sonarr NO_ARCH= YES NO_BUILD= YES + WRKSRC= ${WRKDIR}/Sonarr +SUB_FILES= ${PORTNAME} package_info pkg-message +SUB_LIST= DATADIR=${DATADIR} \ + GROUPS=${GROUPS} \ + MAINTAINER=${MAINTAINER} \ + PKGVERSION=${PKGVERSION} \ + PORTNAME=${PORTNAME} \ + USERS=${USERS} + USERS= sonarr GROUPS= sonarr @@ -31,12 +40,15 @@ X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus .include +post-extract: + ${RM} -rf ${WRKSRC}/Sonarr.Update + do-install: - ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} + ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}/bin/ + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/bin/ "! -name Sonarr.exe" + ${INSTALL_SCRIPT} ${WRKSRC}/Sonarr.exe ${STAGEDIR}/${DATADIR}/bin/ post-install: - @${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ - ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} + ${INSTALL_DATA} ${WRKDIR}/package_info ${STAGEDIR}/${DATADIR}/ .include diff --git a/net-p2p/sonarr/files/package_info.in b/net-p2p/sonarr/files/package_info.in new file mode 100644 index 000000000000..7d6e176c2663 --- /dev/null +++ b/net-p2p/sonarr/files/package_info.in @@ -0,0 +1,5 @@ +PackageVersion=%%PKGVERSION%% +PackageAuthor=%%MAINTAINER%% +UpdateMethod=External +UpdateMethodMessage=use 'pkg upgrade' or [create a PR](https://bugs.freebsd.org/bugzilla/enter_bug.cgi?component=Individual%20Port%28s%29&product=Ports%20%26%20Packages) requesting an update of the port +Branch=main diff --git a/net-p2p/sonarr/files/pkg-message.in b/net-p2p/sonarr/files/pkg-message.in new file mode 100644 index 000000000000..dcb8d54f86a2 --- /dev/null +++ b/net-p2p/sonarr/files/pkg-message.in @@ -0,0 +1,26 @@ +[ +{ type: install + message: <