From nobody Fri Jan 28 12:24:30 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 D61231977D28; Fri, 28 Jan 2022 12:24:30 +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 4Jlc8Z5dY4z3kYw; Fri, 28 Jan 2022 12:24:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643372670; 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=IOeT3Riyb9x5MvDYLYbDher6GdEIXkgpBhyflbXNrI8=; b=auF48IynnCkKMWaEnTxi0q7JSXK1X3ArfVpkWfc7Qv05Fz8Sw3R/yuZr3pNp06P0Ah2Qq4 yphtAMGZaBhNPiTS5HxDItARzCsHbcjrXk3uOM7PkMAa/8vOp+lGtsXukbQFEAaGSmlcNr UaCRWTJrvoUdOH+g6zYFs+aUtdVI/bdSmcZ8boYuvsDHfKT4xbtk6oeSwf+b/TshT1F6Gm aVg498mVx2A6MuZpzUFZY1paXki5xrqAoRvQo8fssULiM4y/RI5mjIwvgMGI6J9PGZNUg/ Rzvf1JGriZGFWGL1LTvJ1gnWyKMqS1bA1qeFPz9W2jqxEczHZmDBGlDW41P5Ow== 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 A111F2A1A0; Fri, 28 Jan 2022 12:24:30 +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 20SCOUva007174; Fri, 28 Jan 2022 12:24:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20SCOUcQ007173; Fri, 28 Jan 2022 12:24:30 GMT (envelope-from git) Date: Fri, 28 Jan 2022 12:24:30 GMT Message-Id: <202201281224.20SCOUcQ007173@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: bc0734e6321f - main - net-p2p/lidarr: Update to 0.8.1.2135 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: bc0734e6321f8f89cb55fa52cf186f9b1751d160 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643372670; 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=IOeT3Riyb9x5MvDYLYbDher6GdEIXkgpBhyflbXNrI8=; b=E0id89l/+oCJsAA1DZA2QNla03Z5fW0mWI3vJQZQVDXXrIovLAWyqv7Pog9UyXnd5kCI8v SNi7ve4mG598UKt2j39CMD1kbyaiGhGjdPxngfAg0bjmZSMbi0eDbSMolaQgHsxeIigbad VsaZB4S4SJv+ghS8PIefnExmmM9ohQCAcqWTB0tZJ4GCZlYt0b19BC8en8EL2iUWYILbPM fmkvmp3ay5DeUWNlI0kfacf1IcrcuvIAdl7fVmE7MifXO96JX7YlAekmW4OkASqOWjZ4r4 WYg8aCFRDmOIfcLt9PCq3jUjwalrX2aad/3UF/5GcKIUw0yUV75Sw9h8H3jGyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643372670; a=rsa-sha256; cv=none; b=TirZWPgQvw788tcXjvQnFrofd5K1MiNT3TRarImftXcieSFkimIXDxXpCEzUkj0AFEjORw oy3jQeaNfLQ1RuQyUCMousl+aqwGZIK10KaPsuosW3PJeTLwcMdgQKKz7h5BOE8z9lUqAF Wlr2GD37RJWqX89CUTFstJ/rd+Y2/jP89zblloAMqloXaCy3Xx4oMSQbR2V5Aq3IDvJdny g7+vq6WrVWHIY8/gfWFxI13P/pA6YldRIWSDPhIQYrWhPn4Ap2MQpdB/LvUVwMuhb3DyeO DbqlD5H/lRrAg49/OO8/+4DdhO6aBc51haE3STtyEtIZeRLCxd/X+4cBN/W9aQ== 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=bc0734e6321f8f89cb55fa52cf186f9b1751d160 commit bc0734e6321f8f89cb55fa52cf186f9b1751d160 Author: Michiel van Baak Jansen AuthorDate: 2022-01-28 12:24:18 +0000 Commit: Guangyuan Yang CommitDate: 2022-01-28 12:24:18 +0000 net-p2p/lidarr: Update to 0.8.1.2135 Changelog: https://github.com/Lidarr/Lidarr/releases/tag/v0.8.1.2135 PR: 261476 --- net-p2p/lidarr/Makefile | 41 +++-- net-p2p/lidarr/distinfo | 6 +- net-p2p/lidarr/files/lidarr.in | 7 +- net-p2p/lidarr/files/package_info.in | 5 + net-p2p/lidarr/files/pkg-message.in | 26 +++ net-p2p/lidarr/pkg-plist | 312 +++++++++++++++++++++++++++++++++++ 6 files changed, 379 insertions(+), 18 deletions(-) diff --git a/net-p2p/lidarr/Makefile b/net-p2p/lidarr/Makefile index e16ba0dc278b..11b98ed46061 100644 --- a/net-p2p/lidarr/Makefile +++ b/net-p2p/lidarr/Makefile @@ -1,6 +1,5 @@ PORTNAME= lidarr -PORTVERSION= 0.7.2.1878 -PORTREVISION= 1 +PORTVERSION= 0.8.1.2135 CATEGORIES= net-p2p MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/ DISTNAME= Lidarr.master.${PORTVERSION}.linux @@ -13,29 +12,43 @@ LICENSE= GPLv3 LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= chromaprint>0:audio/chromaprint \ mediainfo>0:multimedia/mediainfo \ - mono6.8>0:lang/mono6.8 + mono6.8>0:lang/mono6.8 \ + sqlite3>0:databases/sqlite3 -USES= sqlite USE_RC_SUBR= lidarr -NO_ARCH= yes -NO_BUILD= yes -WRKSRC= ${WRKDIR}/Lidarr +NO_ARCH= YES +NO_BUILD= YES -USERS= lidarr -GROUPS= lidarr +WRKSRC= ${WRKDIR}/Lidarr + +SUB_FILES= ${PORTNAME} package_info pkg-message +SUB_LIST= DATADIR=${DATADIR} \ + GROUPS=${GROUPS} \ + MAINTAINER=${MAINTAINER} \ + PKGVERSION=${PKGVERSION} \ + PORTNAME=${PORTNAME} \ + USERS=${USERS} + +USERS= lidarr +GROUPS= lidarr OPTIONS_DEFINE= X11 # Permits image resizing -X11_LIB_DEPENDS+= libgdiplus.so:x11-toolkits/libgdiplus +X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus + +.include + +post-extract: + ${RM} -rf ${WRKSRC}/Lidarr.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 Lidarr.exe" + ${INSTALL_SCRIPT} ${WRKSRC}/Lidarr.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/lidarr/distinfo b/net-p2p/lidarr/distinfo index 19cd29b818f5..ee66992f4191 100644 --- a/net-p2p/lidarr/distinfo +++ b/net-p2p/lidarr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1604154537 -SHA256 (Lidarr.master.0.7.2.1878.linux.tar.gz) = 166f6feca870ec10a840799e7adf510cd55ad2fd05a5324b1c3793bdf7e8604f -SIZE (Lidarr.master.0.7.2.1878.linux.tar.gz) = 13220392 +TIMESTAMP = 1643126158 +SHA256 (Lidarr.master.0.8.1.2135.linux.tar.gz) = 7895fab75f43dac957ebc7d748c77f562c775d280257294af9677c547f63b2e2 +SIZE (Lidarr.master.0.8.1.2135.linux.tar.gz) = 21382130 diff --git a/net-p2p/lidarr/files/lidarr.in b/net-p2p/lidarr/files/lidarr.in index b6eff79118d0..a8e32e4f916d 100644 --- a/net-p2p/lidarr/files/lidarr.in +++ b/net-p2p/lidarr/files/lidarr.in @@ -19,11 +19,12 @@ load_rc_config $name : ${lidarr_enable="NO"} : ${lidarr_user:="lidarr"} : ${lidarr_data_dir:="%%PREFIX%%/lidarr"} +: ${lidarr_exec_dir:="%%DATADIR%%/bin"} pidfile="${lidarr_data_dir}/lidarr.pid" procname="%%PREFIX%%/bin/mono" command="/usr/sbin/daemon" -command_args="-f ${procname} %%DATADIR%%/Lidarr.exe --nobrowser --data=${lidarr_data_dir}" +command_args="-f ${procname} --debug ${lidarr_exec_dir}/Lidarr.exe --nobrowser --data=${lidarr_data_dir}" start_precmd=lidarr_precmd lidarr_precmd() @@ -33,6 +34,10 @@ lidarr_precmd() if [ ! -d ${lidarr_data_dir} ]; then install -d -o ${lidarr_user} ${lidarr_data_dir} fi + + # Unwritable pids allow the service to start, but fails to work + # Rare, but if you are debugging as root and accidentally start the service... + /bin/rm -f ${pidfile} } run_rc_command "$1" diff --git a/net-p2p/lidarr/files/package_info.in b/net-p2p/lidarr/files/package_info.in new file mode 100644 index 000000000000..7627458bd68b --- /dev/null +++ b/net-p2p/lidarr/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=master diff --git a/net-p2p/lidarr/files/pkg-message.in b/net-p2p/lidarr/files/pkg-message.in new file mode 100644 index 000000000000..dcb8d54f86a2 --- /dev/null +++ b/net-p2p/lidarr/files/pkg-message.in @@ -0,0 +1,26 @@ +[ +{ type: install + message: <