From nobody Sat Jun 03 12:06:50 2023 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 4QYJWZ6LP3z4YXH9; Sat, 3 Jun 2023 12:06:50 +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 4QYJWZ5vS0z3tqy; Sat, 3 Jun 2023 12:06:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685794010; 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=Ix8vZvv0J4LsVR8a0RWquqBx4Up9dVakEwcy162SnT0=; b=DpCaKOpjIecuDW2P+I1c/XbDdSF5EHEHFWOT22oovw5pFdZgyoDX3sFwB0SMxKeKIxLxSS w9VdpYwyTL1fEkLLtMPAhM85pe5oygFJFBouearUtFcHEFDlwgWnLM19rBsaOpvWxuD72d heFq0lp74jxs93q+gz8iQwkHaFutjAho6PBy8PPtzNlhmXIRPD6piCdr2/v2RqqL2+qr6i XvwkqAh9HF+KO80JBYBmvcVB0v6if/pLXf1VwZwXmBesaRjd29GHAtWGn3IKd+SZ/Sh7R6 /TzC7gHkt7b2/KVTNs7TJHssq3D4O22YatcSSlu4bQlTZ/CsHdFOJmGzzNSixQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685794010; 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=Ix8vZvv0J4LsVR8a0RWquqBx4Up9dVakEwcy162SnT0=; b=i4NN5n9zRomzYJKFbjth6ncNfCMEV4p8GhiNQhGnSEhnMGee+g5vvWIZJZTd7zhUJAsSFt VO9jHDYXlOZblqJ/DUxDckXW5LchS+oo8okXVMuZfDrBIfd/eJhF2RV7vr+RkksmrhSweI jb6FvwHNhHJQaE3GjmR0cGFZz+Oi00lMXj68Bk6Zb4O8BLm9p5NcC3oXOyWpW7LsJ4XmBd uGP3J65dM9dhf0AFhmpekMpEy/ddsB/Duzx0GFvrMEqJK84raKSgn7n787YhqKUhGLvAf4 eyT9b7AuaV9QU6sjN9wXIHIwb8+Y4gHmt2tjq4xM/17+Zn6jaFshtxEeLyVgvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685794010; a=rsa-sha256; cv=none; b=A2WtmuZAYW8KiQGEjA6Bgq0aivDsrApsklUdduZ74R2soIN8uFJlDn0OCoL1hJPUgd9wWS k72EZS1hhN9EXfyh5dTZ3x544qK0Bci+gVLZHesMVGlOCHTVzSmQ3JWDDSA60ZGhrxmsBk Wt8l2Yt1tdLwas+FkyjTMMXl81X8fUbYFbmjVsVNYPYxxhk3o15/tBbS8PEPL0yN89MGRS /Y9naxymNS+6KpcGRJtGC+lkZiEpybD04L31ZcX6w5wHXqOYcZyWkwPCZN/ZUvAfMz4G1o zfIOsGPKQaTvw8lsTm4EWn34TOjlbzcckVEW2De4mrY6ZtqJrnpX8FoWPGbmuQ== 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 4QYJWZ4zlgzPtX; Sat, 3 Jun 2023 12:06:50 +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 353C6ohk024625; Sat, 3 Jun 2023 12:06:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 353C6oYb024624; Sat, 3 Jun 2023 12:06:50 GMT (envelope-from git) Date: Sat, 3 Jun 2023 12:06:50 GMT Message-Id: <202306031206.353C6oYb024624@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 574c5c9142f3 - main - net/gitup: Improve gitup.conf auto config 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 574c5c9142f39aea9da2ffccce25bbd8401242f9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=574c5c9142f39aea9da2ffccce25bbd8401242f9 commit 574c5c9142f39aea9da2ffccce25bbd8401242f9 Author: Nuno Teixeira AuthorDate: 2023-06-03 12:02:06 +0000 Commit: Nuno Teixeira CommitDate: 2023-06-03 12:06:38 +0000 net/gitup: Improve gitup.conf auto config - Find osrel on install time through pkg-post-install to get an updated match on gitup.conf.sample - Only install gitup.conf.sample - Add message on install with information about gitup.conf(5) and gitup.sample - Move pkg-plist to PLIST_FILES PR: 270911 --- net/gitup/Makefile | 12 ++++++------ net/gitup/files/pkg-message.in | 12 ++++++++++++ net/gitup/pkg-plist | 4 ---- net/gitup/pkg-post-install | 5 +++++ 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/net/gitup/Makefile b/net/gitup/Makefile index 2bf7c85c099f..82a8f2096123 100644 --- a/net/gitup/Makefile +++ b/net/gitup/Makefile @@ -1,6 +1,7 @@ PORTNAME= gitup DISTVERSION= 0.98-3 DISTVERSIONSUFFIX= -g50f1e8c +PORTREVISION= 1 CATEGORIES= net MAINTAINER= eduardo@FreeBSD.org @@ -11,21 +12,20 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ssl - USE_GITHUB= yes GH_ACCOUNT= johnmehr MAKE_ENV+= CONFIG_FILE_PATH=${LOCALBASE}/etc/gitup.conf +SUB_FILES= pkg-message +PLIST_FILES= bin/gitup \ + etc/gitup.conf.sample \ + share/man/man1/gitup.1.gz \ + share/man/man5/gitup.conf.5.gz PORTDOCS= README.md OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e 's|stable\/12|stable\/${OSREL:R}| ; \ - s|releng\/11.4|releng\/${OSREL}|' \ - ${WRKSRC}/gitup.conf - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gitup.1 \ diff --git a/net/gitup/files/pkg-message.in b/net/gitup/files/pkg-message.in new file mode 100644 index 000000000000..cab4b53267d1 --- /dev/null +++ b/net/gitup/files/pkg-message.in @@ -0,0 +1,12 @@ +[ +{ type: install + message: <