From nobody Sat Mar 05 04:58:05 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 651AA19E79D3; Sat, 5 Mar 2022 04:58:05 +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 4K9XXs2K8Cz51TS; Sat, 5 Mar 2022 04:58:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646456285; 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=tv408jjoyE8a9pZJoNCfGZ2cuLy8tEK3fpXIztOL2S0=; b=bfntTrmjIqIFyxFNXP6WHVwTkw2h2NF3ondS3gpCsUdv8Cp0JNGvmVGULsW2/oO6BRbzBL TByd7XEfi+QCl2hUQ56Cb1vDFAAGr12hhHgMMtgfMUG7afJDIRJCODFTjCbSxMWGNuzh35 bZF/Ef6P9Z8rW1rBCu/2NL7NHz2/mtxjaqFfg9frKdjmwfMs1QpZxtv4iuHY+CYUFZrgNo EHeXEOVCg9FoeF9yQLedt9J/jzhoPY0iqo2O+c6z9qVxX9FExrLbrfYEUOwM8K3o2wCxXr SkQIbJ385EQOIeJTY0kVLbMT2NUGP2yy0cDQnlVeWwGFEhkoHtv9Jp705ZBDSw== 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 2F80819F72; Sat, 5 Mar 2022 04:58:05 +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 2254w5A5009050; Sat, 5 Mar 2022 04:58:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2254w5EM009049; Sat, 5 Mar 2022 04:58:05 GMT (envelope-from git) Date: Sat, 5 Mar 2022 04:58:05 GMT Message-Id: <202203050458.2254w5EM009049@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: 87038ecd25a1 - main - net-p2p/autoscan: Update to 1.3.0 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: 87038ecd25a1bb1b091daf769901351c63736479 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646456285; 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=tv408jjoyE8a9pZJoNCfGZ2cuLy8tEK3fpXIztOL2S0=; b=R3AyhZaxV9vliap63nST54GxzrrAXml+z9L0G66YupYth40hRFzeOct6g23qkdEMFA/pu7 m7+b7huxv8oD9boVMq+53sK/hLEksOPImdq73rf+DBXgA+EP60RrTqci6jWQALPFORf05u FI00qmstYUMzrJkoTF296TBofmauplgc8RQABpV+3MyMccxsFQqwxdtjdmIp/MrLs/GXXj 40Z1I6uu9MsJuaheH+WG6c0yieXUKOZTUii+K4wVnon1FyAAQbRBqVji+oXlqDYcOSvh/U HvfLUtabmrAtPCgonxF4lh323wxh1MdtsmBFvU/G9KB2ybr0CnAN968t9EQtLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646456285; a=rsa-sha256; cv=none; b=kYUkjQjMe7it/LHHLYGj0r5cyuzRorDTbusnPAb8EcLPSGuCt50IDEe4VkpxcgFkNsjmSl dvIyCUYaM8f9/e0a+YDrKaeK0x8TSRzn3oyZoejiiF1Zg4bPnwdYMwttzGUMCaKPfrJmmr kUrhbUEmPU3a4u16aDmo/+Z1ZnSE3rBvrOV5rUNkwMPEFMaLmaoRkgRq8C5JdQt9aq3dvk sT5lD/2YXuRCbyaKVsanXNP9lwHInhJbNIwr6SoS8sdkbCb8EcCXAoG2D/yhEto8BYtbGn +TvCosbolLfFYMSXRQbgBEMYGazA99PP/+skUJFo99cWxBbajDbhJQhA6Xw24w== 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=87038ecd25a1bb1b091daf769901351c63736479 commit 87038ecd25a1bb1b091daf769901351c63736479 Author: Michiel van Baak Jansen AuthorDate: 2022-03-05 04:56:35 +0000 Commit: Guangyuan Yang CommitDate: 2022-03-05 04:56:35 +0000 net-p2p/autoscan: Update to 1.3.0 - Switch from Linux binaries to source Changelog: https://github.com/Cloudbox/autoscan/releases/tag/v1.3.0 PR: 262319 --- net-p2p/autoscan/Makefile | 23 ++++++++--------------- net-p2p/autoscan/distinfo | 8 +++++--- net-p2p/autoscan/files/autoscan.in | 2 +- 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/net-p2p/autoscan/Makefile b/net-p2p/autoscan/Makefile index c8b91e1af522..c64d1d174a86 100644 --- a/net-p2p/autoscan/Makefile +++ b/net-p2p/autoscan/Makefile @@ -1,36 +1,29 @@ PORTNAME= autoscan DISTVERSIONPREFIX= v -DISTVERSION= 1.2.0 -CATEGORIES= net-p2p linux -MASTER_SITES= https://github.com/Cloudbox/autoscan/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ -DISTNAME= ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION}_linux_amd64 -EXTRACT_SUFX= -EXTRACT_ONLY= +DISTVERSION= 1.3.0 +CATEGORIES= net-p2p MAINTAINER= michiel@vanbaak.eu COMMENT= Scan Plex library on webhook triggers LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -ONLY_FOR_ARCHS= amd64 - -USES= linux +USES= go:modules USE_RC_SUBR= autoscan +GO_MODULE= github.com/cloudbox/autoscan +GO_TARGET= ./cmd/autoscan +GO_BUILDFLAGS+= -ldflags="-s -w -X main.Version=${DISTVERSION}" + CONFLICTS_INSTALL= autoconf-wrapper -NO_BUILD= yes SUB_LIST= GROUPS=${GROUPS} \ USERS=${USERS} -NO_WRKSUBDIR= yes - USERS= autoscan GROUPS= autoscan PLIST_FILES= bin/autoscan -do-install: - ${INSTALL_PROGRAM} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - .include diff --git a/net-p2p/autoscan/distinfo b/net-p2p/autoscan/distinfo index f57932bc4a41..b9ec7f69feab 100644 --- a/net-p2p/autoscan/distinfo +++ b/net-p2p/autoscan/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1633181844 -SHA256 (autoscan_v1.2.0_linux_amd64) = 3ae59ec61298159e50882ebb8efe159ff8c4da55aa7325afc3f3f603c498e4a3 -SIZE (autoscan_v1.2.0_linux_amd64) = 11227136 +TIMESTAMP = 1646238370 +SHA256 (go/net-p2p_autoscan/autoscan-v1.3.0/v1.3.0.mod) = 33ec17bddffaf6ad7074f4209f9ba2841f7055f6c6954c7f58f6bb9a8c8013a3 +SIZE (go/net-p2p_autoscan/autoscan-v1.3.0/v1.3.0.mod) = 1648 +SHA256 (go/net-p2p_autoscan/autoscan-v1.3.0/v1.3.0.zip) = ea43405945bee5b9b8277292c91af262dd4450919b1ac5ec1fdead652c8820df +SIZE (go/net-p2p_autoscan/autoscan-v1.3.0/v1.3.0.zip) = 78961 diff --git a/net-p2p/autoscan/files/autoscan.in b/net-p2p/autoscan/files/autoscan.in index fa895bb4fba4..f906f3d48966 100644 --- a/net-p2p/autoscan/files/autoscan.in +++ b/net-p2p/autoscan/files/autoscan.in @@ -3,7 +3,7 @@ # Author: Michiel van Baak # # PROVIDE: autoscan -# REQUIRE: LOGIN +# REQUIRE: LOGIN network # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable autoscan: