Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2023 09:49:15 -0400
From:      Adam Weinberger <adamw@adamw.org>
To:        Guido Falsi <madpilot@freebsd.org>, gmarco@giovannelli.it
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: de841b40d24d - main - sysutils/xxd: New port
Message-ID:  <CAP7rwcgNOakiuywinuLQYqzC9diUXis9HZiA2nS=eP8XMEcHKQ@mail.gmail.com>
In-Reply-To: <202303302044.32UKiwSx087102@gitrepo.freebsd.org>
References:  <202303302044.32UKiwSx087102@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000087989705f8327a30
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 30, 2023 at 4:45=E2=80=AFPM Guido Falsi <madpilot@freebsd.org> =
wrote:

> The branch main has been updated by madpilot:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=3Dde841b40d24d22ab51ad05ed632e0=
25903fbb41f
>
> commit de841b40d24d22ab51ad05ed632e025903fbb41f
> Author:     Guido Falsi <madpilot@FreeBSD.org>
> AuthorDate: 2023-03-30 20:42:54 +0000
> Commit:     Guido Falsi <madpilot@FreeBSD.org>
> CommitDate: 2023-03-30 20:42:54 +0000
>
>     sysutils/xxd: New port
>
>     This is the standalone version of the xxd tool provided by vim.
>
>     Submitted by:   Gianmarco Giovannelli <gmarco@giovannelli.it>
>
> diff --git a/sysutils/xxd/Makefile b/sysutils/xxd/Makefile
> new file mode 100644
> index 000000000000..378f364cf4bf
> --- /dev/null
> +++ b/sysutils/xxd/Makefile
> @@ -0,0 +1,26 @@
> +PORTNAME=3D      xxd
> +DISTVERSIONPREFIX=3D     v
> +DISTVERSION=3D   9.0.1366
> +CATEGORIES=3D    sysutils
> +
> +MAINTAINER=3D    gmarco@giovannelli.it
> +COMMENT=3D       Hexdump and reverse hexdump utility
> +WWW=3D           https://github.com/mew-cx/xxd
> +
> +CONFLICTS_INSTALL=3D     vim-[0-9]* vim-gtk2 vim-gtk3 vim-motif vim-x11
> +
> +ALL_TARGET=3D    ${PORTNAME}
> +PORTSCOUT=3D     ignore:1
> +EXTRACT_AFTER_ARGS=3D    --include=3D'*/src/xxd*'
> +WRKSRC_SUBDIR=3D src/xxd
> +
> +PLIST_FILES=3D   bin/xxd
> +
> +USE_GITHUB=3D    yes
> +GH_ACCOUNT=3D    vim
> +GH_PROJECT=3D    vim
> +
> +do-install:
> +       ${INSTALL_PROGRAM} ${WRKSRC}/xxd ${STAGEDIR}${PREFIX}/bin
> +
> +.include <bsd.port.mk>
>

The WWW is odd here. The source files are coming from github.com/vim/vim,
but the WWW is for a related but unused project.

I update vim at the beginning of every month plus whenever new minors are
released, and whenever there are patches that it's important for us to
downstream. Rather than pinning xxd to a version that will be old literally
tomorrow, why not pull the DISTVERSION and distinfo from
editors/vim/Makefile?

# Adam


--=20
Adam Weinberger
adamw@adamw.org
https://www.adamw.org

--00000000000087989705f8327a30
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:arial,sans-serif">On Thu, Mar 30, 2023 at 4:45=E2=80=AFPM Guido Fa=
lsi &lt;<a href=3D"mailto:madpilot@freebsd.org">madpilot@freebsd.org</a>&gt=
; wrote:</div></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">The branch main has been updated by madpilot:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Dde841b40d24d22a=
b51ad05ed632e025903fbb41f" rel=3D"noreferrer" target=3D"_blank">https://cgi=
t.FreeBSD.org/ports/commit/?id=3Dde841b40d24d22ab51ad05ed632e025903fbb41f</=
a><br>
<br>
commit de841b40d24d22ab51ad05ed632e025903fbb41f<br>
Author:=C2=A0 =C2=A0 =C2=A0Guido Falsi &lt;madpilot@FreeBSD.org&gt;<br>
AuthorDate: 2023-03-30 20:42:54 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Guido Falsi &lt;madpilot@FreeBSD.org&gt;<br>
CommitDate: 2023-03-30 20:42:54 +0000<br>
<br>
=C2=A0 =C2=A0 sysutils/xxd: New port<br>
<br>
=C2=A0 =C2=A0 This is the standalone version of the xxd tool provided by vi=
m.<br>
<br>
=C2=A0 =C2=A0 Submitted by:=C2=A0 =C2=A0Gianmarco Giovannelli &lt;<a href=
=3D"mailto:gmarco@giovannelli.it" target=3D"_blank">gmarco@giovannelli.it</=
a>&gt;<br><br>
diff --git a/sysutils/xxd/Makefile b/sysutils/xxd/Makefile<br>
new file mode 100644<br>
index 000000000000..378f364cf4bf<br>
--- /dev/null<br>
+++ b/sysutils/xxd/Makefile<br>
@@ -0,0 +1,26 @@<br>
+PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 xxd<br>
+DISTVERSIONPREFIX=3D=C2=A0 =C2=A0 =C2=A0v<br>
+DISTVERSION=3D=C2=A0 =C2=A09.0.1366<br>
+CATEGORIES=3D=C2=A0 =C2=A0 sysutils<br>
+<br>
+MAINTAINER=3D=C2=A0 =C2=A0 <a href=3D"mailto:gmarco@giovannelli.it" target=
=3D"_blank">gmarco@giovannelli.it</a><br>
+COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Hexdump and reverse hexdump utility<b=
r>
+WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://github.c=
om/mew-cx/xxd" rel=3D"noreferrer" target=3D"_blank">https://github.com/mew-=
cx/xxd</a><br>
+<br>
+CONFLICTS_INSTALL=3D=C2=A0 =C2=A0 =C2=A0vim-[0-9]* vim-gtk2 vim-gtk3 vim-m=
otif vim-x11<br>
+<br>
+ALL_TARGET=3D=C2=A0 =C2=A0 ${PORTNAME}<br>
+PORTSCOUT=3D=C2=A0 =C2=A0 =C2=A0ignore:1<br>
+EXTRACT_AFTER_ARGS=3D=C2=A0 =C2=A0 --include=3D&#39;*/src/xxd*&#39;<br>
+WRKSRC_SUBDIR=3D src/xxd<br>
+<br>
+PLIST_FILES=3D=C2=A0 =C2=A0bin/xxd<br>
+<br>
+USE_GITHUB=3D=C2=A0 =C2=A0 yes<br>
+GH_ACCOUNT=3D=C2=A0 =C2=A0 vim<br>
+GH_PROJECT=3D=C2=A0 =C2=A0 vim<br>
+<br>
+do-install:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0${INSTALL_PROGRAM} ${WRKSRC}/xxd ${STAGEDIR}${P=
REFIX}/bin<br>
+<br>
+.include &lt;<a href=3D"http://bsd.port.mk" rel=3D"noreferrer" target=3D"_=
blank">bsd.port.mk</a>&gt;<br>
</blockquote></div><div><br></div><div><div style=3D"font-family:arial,sans=
-serif" class=3D"gmail_default">The WWW is odd here. The source files are c=
oming from <a href=3D"http://github.com/vim/vim">github.com/vim/vim</a>, bu=
t the WWW is for a related but unused project.</div><div style=3D"font-fami=
ly:arial,sans-serif" class=3D"gmail_default"><br></div><div style=3D"font-f=
amily:arial,sans-serif" class=3D"gmail_default">I update vim at the beginni=
ng of every month plus whenever new minors are released, and whenever there=
 are patches that it&#39;s important for us to downstream. Rather than pinn=
ing xxd to a version that will be old literally tomorrow, why not pull the =
DISTVERSION and distinfo from editors/vim/Makefile?</div><div style=3D"font=
-family:arial,sans-serif" class=3D"gmail_default"><br></div><div style=3D"f=
ont-family:arial,sans-serif" class=3D"gmail_default"># Adam<br></div><br></=
div><br><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"lt=
r" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Ad=
am Weinberger</div><div><a href=3D"mailto:adamw@adamw.org" target=3D"_blank=
">adamw@adamw.org</a></div><div><a href=3D"https://www.adamw.org" target=3D=
"_blank">https://www.adamw.org</a></div></div></div></div></div></div>;

--00000000000087989705f8327a30--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcgNOakiuywinuLQYqzC9diUXis9HZiA2nS=eP8XMEcHKQ>