Re: git: 695c543321cb - main - ports-mgmt/freebsd-bugzilla-cli: Re-add freebsd-bugzilla-cli 0.15.1

From: Daniel Engberg <daniel.engberg.lists_at_pyret.net>
Date: Wed, 20 Nov 2024 21:59:58 UTC
On 2024-11-15T11:17:30.000+01:00, Po-Chuan Hsieh <sunpoet@FreeBSD.org>
wrote:

> The branch main has been updated by sunpoet:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=695c543321cb59cce095892fa06f164760feabd2
> 
> commit 695c543321cb59cce095892fa06f164760feabd2
> 
> Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> 
> AuthorDate: 2024-11-15 09:54:17 +0000
> 
> Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> 
> CommitDate: 2024-11-15 10:17:03 +0000
> 
>     ports-mgmt/freebsd-bugzilla-cli: Re-add freebsd-bugzilla-cli 0.15.1
> 
>     
> 
>     - Bump PORTREVISION for potential package change
> 
> ---
> 
>  MOVED                                     |  1 -
> 
>  ports-mgmt/Makefile                       |  1 +
> 
>  ports-mgmt/freebsd-bugzilla-cli/Makefile  | 41 +++++++++++++++++++++++++++++++
> 
>  ports-mgmt/freebsd-bugzilla-cli/distinfo  |  3 +++
> 
>  ports-mgmt/freebsd-bugzilla-cli/pkg-descr |  4 +++
> 
>  ports-mgmt/freebsd-bugzilla-cli/pkg-plist | 37 ++++++++++++++++++++++++++++
> 
>  6 files changed, 86 insertions(+), 1 deletion(-)
> 
> diff --git a/MOVED b/MOVED
> 
> index 4adcc9ba4fa8..c6554df4bc48 100644
> 
> --- a/MOVED
> 
> +++ b/MOVED
> 
> @@ -3574,7 +3574,6 @@ misc/uk-postcodes||2024-10-31|Has expired: Obsolete, 20+ year old data
> 
>  misc/uk-phone||2024-10-31|Has expired: Obsolete, 20+ year old data
> 
>  textproc/ssddiff||2024-10-31|Has expired: Abandonware, unfetchable and upstream is gone
> 
>  sysutils/pydf||2024-11-02|Has expired: Inactive upstream. Does not properly work on FreeBSD
> 
> -ports-mgmt/freebsd-bugzilla-cli||2024-11-02|Has expired: Broken. Upstream unavailable
> 
>  sysutils/zap|filesystems/zap|2024-11-06|Moved to new category filesystems
> 
>  sysutils/fusefs-mergerfs|filesystems/mergerfs|2024-11-06|Moved to new category filesystems
> 
>  sysutils/squashfs-tools-ng|filesystems/squashfs-tools-ng|2024-11-06|Moved to new category filesystems
> 
> diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile
> 
> index 8f367ff7bc0b..2de6e02f145d 100644
> 
> --- a/ports-mgmt/Makefile
> 
> +++ b/ports-mgmt/Makefile
> 
> @@ -9,6 +9,7 @@
> 
>      SUBDIR += distilator
> 
>      SUBDIR += fallout
> 
>      SUBDIR += fastest_pkg
> 
> +    SUBDIR += freebsd-bugzilla-cli
> 
>      SUBDIR += genpatch
> 
>      SUBDIR += genplist
> 
>      SUBDIR += hs-cabal2tuple
> 
> diff --git a/ports-mgmt/freebsd-bugzilla-cli/Makefile b/ports-mgmt/freebsd-bugzilla-cli/Makefile
> 
> new file mode 100644
> 
> index 000000000000..1e0fbae1b8f8
> 
> --- /dev/null
> 
> +++ b/ports-mgmt/freebsd-bugzilla-cli/Makefile
> 
> @@ -0,0 +1,41 @@
> 
> +PORTNAME=    freebsd-bugzilla-cli
> 
> +PORTVERSION=    0.15.1
> 
> +PORTREVISION=    1
> 
> +CATEGORIES=    ports-mgmt
> 
> +
> 
> +MAINTAINER=    sunpoet@FreeBSD.org
> 
> +COMMENT=    Interact with the FreeBSD bugzilla instance
> 
> +WWW=        https://github.com/p6m7g8/p6-freebsd-bugzilla
> 
> +
> 
> +LICENSE=    APACHE20
> 
> +
> 
> +RUN_DEPENDS=    ca_root_nss&gt;=0:security/ca_root_nss
> 
> +
> 
> +NO_ARCH=    yes
> 
> +NO_BUILD=    yes
> 
> +
> 
> +DATADIR=    ${PREFIX}/share/bz
> 
> +
> 
> +USE_GITHUB=    yes
> 
> +GH_ACCOUNT=    p6m7g8
> 
> +GH_PROJECT=    p6-freebsd-bugzilla
> 
> +GH_TAGNAME=    e76c8b1
> 
> +
> 
> +OPTIONS_GROUP=    BACKEND
> 
> +OPTIONS_GROUP_BACKEND=    PYBUGZ
> 
> +OPTIONS_DEFAULT=PYBUGZ
> 
> +OPTIONS_SUB=    yes
> 
> +PYBUGZ_DESC=    Use devel/pybugz for bugzilla interface
> 
> +
> 
> +PYBUGZ_RUN_DEPENDS=    bugz:devel/pybugz
> 
> +
> 
> +do-install:
> 
> +    ${INSTALL_SCRIPT} ${WRKSRC}/bin/bz ${STAGEDIR}${PREFIX}/bin/
> 
> +    ${MKDIR} ${STAGEDIR}${DATADIR}/
> 
> +    ${INSTALL_SCRIPT} ${WRKSRC}/share/bz/*.sh ${STAGEDIR}${DATADIR}/
> 
> +
> 
> +do-install-PYBUGZ-on:
> 
> +    ${MKDIR} ${STAGEDIR}${DATADIR}/pybugz/
> 
> +    ${INSTALL_SCRIPT} ${WRKSRC}/share/bz/pybugz/*.sh ${STAGEDIR}${DATADIR}/pybugz/
> 
> +
> 
> +.include <bsd.port.mk> [http://bsd.port.mk>];
> 
> diff --git a/ports-mgmt/freebsd-bugzilla-cli/distinfo b/ports-mgmt/freebsd-bugzilla-cli/distinfo
> 
> new file mode 100644
> 
> index 000000000000..70ad13207493
> 
> --- /dev/null
> 
> +++ b/ports-mgmt/freebsd-bugzilla-cli/distinfo
> 
> @@ -0,0 +1,3 @@
> 
> +TIMESTAMP = 1730724822
> 
> +SHA256 (p6m7g8-p6-freebsd-bugzilla-0.15.1-e76c8b1_GH0.tar.gz) = b575c09921f7f0a8a4b0d0853f21aede76b024b1524937cf8879ad95c737553a
> 
> +SIZE (p6m7g8-p6-freebsd-bugzilla-0.15.1-e76c8b1_GH0.tar.gz) = 15769
> 
> diff --git a/ports-mgmt/freebsd-bugzilla-cli/pkg-descr b/ports-mgmt/freebsd-bugzilla-cli/pkg-descr
> 
> new file mode 100644
> 
> index 000000000000..bec958d1170f
> 
> --- /dev/null
> 
> +++ b/ports-mgmt/freebsd-bugzilla-cli/pkg-descr
> 
> @@ -0,0 +1,4 @@
> 
> +CLI utilities and wrappers for FreeBSD's bugzilla instance with emphasis on
> 
> +ports.
> 
> +
> 
> +Provides a consistent API which can have pluggable backends.
> 
> diff --git a/ports-mgmt/freebsd-bugzilla-cli/pkg-plist b/ports-mgmt/freebsd-bugzilla-cli/pkg-plist
> 
> new file mode 100644
> 
> index 000000000000..835fa01f373b
> 
> --- /dev/null
> 
> +++ b/ports-mgmt/freebsd-bugzilla-cli/pkg-plist
> 
> @@ -0,0 +1,37 @@
> 
> +bin/bz
> 
> +%%DATADIR%%/_util.sh [http://util.sh]
> 
> +%%DATADIR%%/_version.sh [http://version.sh]
> 
> +%%DATADIR%%/attach.sh [http://attach.sh]
> 
> +%%DATADIR%%/claim.sh [http://claim.sh]
> 
> +%%DATADIR%%/close.sh [http://close.sh]
> 
> +%%DATADIR%%/comment.sh [http://comment.sh]
> 
> +%%DATADIR%%/edit.sh [http://edit.sh]
> 
> +%%DATADIR%%/get.sh [http://get.sh]
> 
> +%%DATADIR%%/help.sh [http://help.sh]
> 
> +%%DATADIR%%/init.sh [http://init.sh]
> 
> +%%DATADIR%%/inprog.sh [http://inprog.sh]
> 
> +%%DATADIR%%/login.sh [http://login.sh]
> 
> +%%DATADIR%%/overto.sh [http://overto.sh]
> 
> +%%DATADIR%%/patch.sh [http://patch.sh]
> 
> +%%DATADIR%%/port_commit.sh [http://commit.sh]
> 
> +%%DATADIR%%/port_submit.sh [http://submit.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/close.sh [http://close.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/comment.sh [http://comment.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/edit.sh [http://edit.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/get.sh [http://get.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/init.sh [http://init.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/inprog.sh [http://inprog.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/login.sh [http://login.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/overto.sh [http://overto.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/search.sh [http://search.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/submit.sh [http://submit.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/take.sh [http://take.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/timeout.sh [http://timeout.sh]
> 
> +%%PYBUGZ%%%%DATADIR%%/pybugz/top.sh [http://top.sh]
> 
> +%%DATADIR%%/search.sh [http://search.sh]
> 
> +%%DATADIR%%/show.sh [http://show.sh]
> 
> +%%DATADIR%%/src_submit.sh [http://submit.sh]
> 
> +%%DATADIR%%/take.sh [http://take.sh]
> 
> +%%DATADIR%%/timeout.sh [http://timeout.sh]
> 
> +%%DATADIR%%/top.sh [http://top.sh]
> 
> +%%DATADIR%%/version.sh [http://version.sh]

Hi,

Can you elaborate on this? It's broken in mutliple ways, URL is wrong
(which causes more issues during installl) and checksum mismatches.
DId you runtime test it?

Best regards,

Daniel