Re: [update] sysutils/lf 22->27

2022-09-15 Thread Omar Polo
On 2022/09/14 23:42:27 +0200, "Thim Cederlund"  wrote:
> On Wed Sep 14, 2022 at 11:33 PM CEST, Thim Cederlund wrote:
> > On Wed Sep 14, 2022 at 10:41 PM CEST, Stuart Henderson wrote:
> > > This diff changes only the filename, nothing else
> > >
> > > It would also need to update MODGO_VERSION and the set of modules
> >
> > Sorry for the incomplete diff, please see below.
> >
> >
> 
> xclip isn't playing nice with me this evening, here's the _complete_ diff yet
> again. Third time's the charm. the previous diff didn't include the removal
> of the patch.

I had a very smililar diff here locally that I forgot to send.  If I'm
reading the MODGO_VERSION correctly you're fetching the latest commit
which is 14 commits ahead of the r27.  It probably isn't a big deal
(at least looking at the git log), but I'd prefer to use the correct
version.  Additionally, I don't think we want to remove the @sample'd
files.

I'm attaching a slightly revised diff with the MODGO_MODULES/MODFILES
moved to modules.inc too since we're here.

+cc maintainer, Chu-Kuan is it OK for you?

Index: Makefile
===
RCS file: /home/cvs/ports/sysutils/lf/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile11 Mar 2022 19:57:33 -  1.5
+++ Makefile15 Sep 2022 07:55:11 -
@@ -1,17 +1,17 @@
 COMMENT =  terminal file manager inspired by ranger written in Go
 
 MODGO_MODNAME =github.com/gokcehan/lf
-MODGO_VERSION =v0.0.0-20210413204849-4601e74d666e
+MODGO_VERSION =v0.0.0-20220402215443-50f11ad3dee6
 
-R =22
+R =27
 DISTNAME = lf-${R}
-WRKDIST =  ${WRKDIR}/github.com/gokcehan/lf@${MODGO_VERSION}
 
 CATEGORIES =   sysutils
 
 HOMEPAGE = https://github.com/gokcehan/lf
 
 MAINTAINER =   Chang, Chu-Kuan 
+
 # MIT
 PERMIT_PACKAGE =   Yes
 
@@ -21,21 +21,6 @@ MODULES =lang/go
 
 RUN_DEPENDS =  devel/desktop-file-utils
 
-MODGO_MODULES =\
-   github.com/gdamore/encoding  v1.0.0 \
-   github.com/gdamore/tcell/v2  v2.3.1 \
-   github.com/gokcehan/tcell/v2 
v2.2.1-0.20210329222449-4dd2d52e83ef \
-   github.com/lucasb-eyer/go-colorful   v1.0.3 \
-   github.com/mattn/go-runewidthv0.0.10 \
-   github.com/rivo/uniseg   v0.1.0 \
-   golang.org/x/sys 
v0.0.0-20201119102817-f84b799fce68 \
-   golang.org/x/term
v0.0.0-20210220032956-6a3ed077a48d \
-   golang.org/x/textv0.3.0 \
-   gopkg.in/djherbis/times.v1   v1.2.0
-
-MODGO_MODFILES =   \
-   golang.org/x/termv0.0.0-20201210144234-2321bbc49cbf
-
 do-install:
${INSTALL_PROGRAM} ${WRKDIR}/go/bin/lf ${PREFIX}/bin
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
@@ -45,4 +30,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/lfrc.example ${PREFIX}/share/examples/lf
${INSTALL_DATA} ${WRKSRC}/lf.desktop ${PREFIX}/share/applications
 
+.include "modules.inc"
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/sysutils/lf/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo25 May 2021 11:17:37 -  1.3
+++ distinfo15 Sep 2022 07:52:35 -
@@ -2,8 +2,6 @@ SHA256 (go_modules/github.com/gdamore/en
 SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 
Y4qYMuL2LRGNfFEdhr2uFiKlHzMd5IoB2Sn9JOvmoqY=
 SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.1.mod) = 
rQRC7QKpjBhrhj0Ba0Q4tkLQo0JEsS3neTa6ebHtXbE=
 SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.3.1.zip) = 
aXsU0VYkzZX6KMPTS2kplTKfHjDPH2Cf98rMILp/awU=
-SHA256 
(go_modules/github.com/gokcehan/tcell/v2/@v/v2.2.1-0.20210329222449-4dd2d52e83ef.mod)
 = rQRC7QKpjBhrhj0Ba0Q4tkLQo0JEsS3neTa6ebHtXbE=
-SHA256 
(go_modules/github.com/gokcehan/tcell/v2/@v/v2.2.1-0.20210329222449-4dd2d52e83ef.zip)
 = TzWnxsl7act2XecePoNHyzZi8LvnYrn6bDaE7yPUMrw=
 SHA256 (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.0.3.mod) = 
hPnDjpiEqwE8g3yxau4TlQDT1cbMqwJDmIHbLs8o9mA=
 SHA256 (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.0.3.zip) = 
qobu50Rk+L3FrZp9TqRz5yxl5qPdVpLBBzbQY14+AF8=
 SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.10.mod) = 
QTaqoj/LMXaikoIvKoqYzMey/eOKWZIsFSsAb1nVlpU=
@@ -11,7 +9,8 @@ SHA256 (go_modules/github.com/mattn/go-r
 SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.1.0.mod) = 
bHMYonqNVHOo62YedfsAUoF24O/FkxDtJ3yhO9EqU/E=
 SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.1.0.zip) = 
y3Ad+B82rPuyYnp4Zi/cqhUO4awA0Hlqfz6vvbYhgSg=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod) 
= GBl56L1X0tngZBgtqGyaYRGqaXVeiI8IQx7OR0Kuw0M=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.zip) 
= JoHrUmd2g743YCWKr+E8kcHIOIhELpxlRTNK6XoCs4Y=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-2

Re: [new] www/freshrss-1.20.0 rss/atom feed aggregator

2022-09-15 Thread Omar Polo
On 2022/09/13 19:28:13 -0400, aisha  wrote:
> On 22/09/07 11:51AM, Omar Polo wrote:
> > On 2022/09/07 11:37:40 +0200, Mike Fischer  
> > wrote:
> > > 
> > > > Am 07.09.2022 um 11:26 schrieb Landry Breuil :
> > > > 
> > > > Le Wed, Sep 07, 2022 at 11:10:14AM +0200, Omar Polo a ??crit :
> > > >> 
> 
> updated to recently released 1.20.0.

works fine and ports looks fine, ok for me if someone wants to import it :)


Re: [update] security/vaultwarden to 1.25.2 and www/vaultwarden-web to 2022.9.0

2022-09-15 Thread Denis Fondras
Le Wed, Sep 14, 2022 at 07:31:38PM -0400, aisha a écrit :
> On 22/09/14 07:40PM, Denis Fondras wrote:
> > Le Tue, Sep 13, 2022 at 07:44:35PM -0400, aisha a ?crit :
> > > On 22/09/05 05:50PM, Denis Fondras wrote:
> > > > Le Mon, Sep 05, 2022 at 11:21:57AM -0400, aisha a ?crit :
> > > > > On 22/08/20 10:06PM, aisha wrote:
> > > > > > On 22/08/11 05:29PM, aisha wrote:
> > > > > > > attached updates
> > > > > > > - security/vaultwarden 1.25.0 to 1.25.2
> > > > > > >   no major changes between these two versions, 1.25.1 had a bug 
> > > > > > > with mobile uploads but we are not affected in ports
> > > > > > >   port side change - drop vendored distfile
> > > > > > > 
> > > > > > > - www/vaultwarden-web 2.28.1 to 2022.6.2
> > > > > > >   version scheme changed but am not updating epoch as its still 
> > > > > > > larger than current one
> > > > > > >   no other major changes
> > > > > > > 
> > > 
> > > ping
> > > updated vaultwarden-web to 2022.9.0
> > > 
> > 
> > Have you been able to create an organization ?
> > It worked with the previous port.
> > 
> > Denis
> > 
> 
> attached with patch for the org creation fix
> 

OK for me, tested on amd64.

I will commit tonight if nobody speak up against.
Thank you.



Re: mirror removal: games/teeworlds and security/shhlockout without MASTER_SITES

2022-09-15 Thread prx
* Brad Smith  le [12-09-2022 12:11:36 -0400]:
> On 9/12/2022 12:07 PM, Stuart Henderson wrote:
> 
> > There's a chicken-and-egg problem if those files ever got lost from
> > ftp.o.o though.
> > 
> > -- 
> >   Sent from a phone, apologies for poor formatting.
> > 
> > 
> > On 12 September 2022 16:47:13 Brad Smith  wrote:
> > 
> > > On 9/12/2022 11:02 AM, Solène Rapenne wrote:
> > > 
> > > > Le Mon, 12 Sep 2022 15:24:43 +0100,
> > > > Stuart Henderson  a écrit :
> > > > 
> > > > > On 2022/09/12 13:53, Solène Rapenne wrote:
> > > > > > Hello,
> > > > > > 
> > > > > > I was running distfiles-openbsd.perso.pw, but after a server 
> > > > > > migration
> > > > > > it's gone. My new server can't handle the new files because it's 
> > > > > > super
> > > > > > tight on disk space.
> > > > > > 
> > > > > > These two ports don't have a working MASTER_SITES anymore:
> > > > > > 
> > > > > > games/teeworlds
> > > > > > security/sshlockout
> > > > > > 
> > > > > > Someone should host the sources, or we should delete the ports.
> > > > > > 
> > > > > You can always add the distfiles to a repo on github and
> > > > > point at the raw
> > > > > url. See e.g. mail/greyscanner
> > > > > 
> > > > I've lost the tarballs when I migrated the server...
> > > 
> > > 
> > > There are copies of the distfiles mirrored at..
> > > 
> > > http://ftp.openbsd.org/pub/OpenBSD/distfiles/
> 
> I wasn't implying that ftp.o.o should be the primary. Just that the
> distfiles were lost
> and here are copies. Another primary should be setup.

I can keep a copy of the mentioned files here : 

https://si3t.ch/pub/openbsd/ports/

Below patches to updates the sshlockout and teeworlds ports.
Regards


Index: Makefile
===
RCS file: /cvs/ports/security/sshlockout/Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 Makefile
--- Makefile11 Mar 2022 19:54:05 -  1.7
+++ Makefile15 Sep 2022 10:19:06 -
@@ -15,7 +15,7 @@ WANTLIB += c

 # snapshot of
  # https://github.com/DragonFlyBSD/DragonFlyBSD/tree/master/usr.sbin/sshlockout
  -MASTER_SITES = http://distfiles-openbsd.perso.pw/
  +MASTER_SITES = http://si3t.ch/pub/openbsd/distfiles/

   FAKE_FLAGS =   BINDIR=${PREFIX}/sbin \
   MANDIR=${PREFIX}/man/man

Index: Makefile
===
RCS file: /cvs/ports/games/teeworlds/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile11 Mar 2022 19:05:00 -  1.30
+++ Makefile15 Sep 2022 10:21:15 -
@@ -13,7 +13,7 @@ MAINTAINER=   Stefan Hagen https://github.com/teeworlds/teeworlds/releases/download/${V}/
 # maps repo without tags/releases on 
https://github.com/teeworlds/teeworlds-maps
 # therefore hosted as archive on perso.pw
-MASTER_SITES0= http://distfiles-openbsd.perso.pw/
+MASTER_SITES0= http://si3t.ch/pub/openbsd/distfiles/

 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
teeworlds-${V}-data.tar.gz{teeworlds-data.tar.gz}:0



Re: mirror removal: games/teeworlds and security/shhlockout without MASTER_SITES

2022-09-15 Thread prx
* prx  le [15-09-2022 12:43:06 +0200]:
> * Brad Smith  le [12-09-2022 12:11:36 -0400]:
> > On 9/12/2022 12:07 PM, Stuart Henderson wrote:
> > 
> > > There's a chicken-and-egg problem if those files ever got lost from
> > > ftp.o.o though.
> > > 
> > > -- 
> > >   Sent from a phone, apologies for poor formatting.
> > > 
> > > 
> > > On 12 September 2022 16:47:13 Brad Smith  wrote:
> > > 
> > > > On 9/12/2022 11:02 AM, Solène Rapenne wrote:
> > > > 
> > > > > Le Mon, 12 Sep 2022 15:24:43 +0100,
> > > > > Stuart Henderson  a écrit :
> > > > > 
> > > > > > On 2022/09/12 13:53, Solène Rapenne wrote:
> > > > > > > Hello,
> > > > > > > 
> > > > > > > I was running distfiles-openbsd.perso.pw, but after a server 
> > > > > > > migration
> > > > > > > it's gone. My new server can't handle the new files because it's 
> > > > > > > super
> > > > > > > tight on disk space.
> > > > > > > 
> > > > > > > These two ports don't have a working MASTER_SITES anymore:
> > > > > > > 
> > > > > > > games/teeworlds
> > > > > > > security/sshlockout
> > > > > > > 
> > > > > > > Someone should host the sources, or we should delete the ports.
> > > > > > > 
> > > > > > You can always add the distfiles to a repo on github and
> > > > > > point at the raw
> > > > > > url. See e.g. mail/greyscanner
> > > > > > 
> > > > > I've lost the tarballs when I migrated the server...
> > > > 
> > > > 
> > > > There are copies of the distfiles mirrored at..
> > > > 
> > > > http://ftp.openbsd.org/pub/OpenBSD/distfiles/
> > 
> > I wasn't implying that ftp.o.o should be the primary. Just that the
> > distfiles were lost
> > and here are copies. Another primary should be setup.
> 
> I can keep a copy of the mentioned files here : 
> 
> https://si3t.ch/pub/openbsd/ports/
> 
> Below patches to updates the sshlockout and teeworlds ports.
> Regards
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/sshlockout/Makefile,v
> retrieving revision 1.7
> diff -u -p -u -r1.7 Makefile
> --- Makefile11 Mar 2022 19:54:05 -  1.7
> +++ Makefile15 Sep 2022 10:19:06 -
> @@ -15,7 +15,7 @@ WANTLIB += c
> 
>  # snapshot of
>   # 
> https://github.com/DragonFlyBSD/DragonFlyBSD/tree/master/usr.sbin/sshlockout
>   -MASTER_SITES = http://distfiles-openbsd.perso.pw/
>   +MASTER_SITES = http://si3t.ch/pub/openbsd/distfiles/
> 
>FAKE_FLAGS =   BINDIR=${PREFIX}/sbin \
>  MANDIR=${PREFIX}/man/man
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/teeworlds/Makefile,v
> retrieving revision 1.30
> diff -u -p -u -r1.30 Makefile
> --- Makefile11 Mar 2022 19:05:00 -  1.30
> +++ Makefile15 Sep 2022 10:21:15 -
> @@ -13,7 +13,7 @@ MAINTAINER=   Stefan Hagen   MASTER_SITES=  https://github.com/teeworlds/teeworlds/releases/download/${V}/
>  # maps repo without tags/releases on 
> https://github.com/teeworlds/teeworlds-maps
>  # therefore hosted as archive on perso.pw
> -MASTER_SITES0= http://distfiles-openbsd.perso.pw/
> +MASTER_SITES0= http://si3t.ch/pub/openbsd/distfiles/
> 
>  DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
> teeworlds-${V}-data.tar.gz{teeworlds-data.tar.gz}:0
> 

Patches were mangled apparently.
I attach them to this mail.
Index: security/sshlockout/Makefile
===
RCS file: /cvs/ports/security/sshlockout/Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 Makefile
--- security/sshlockout/Makefile11 Mar 2022 19:54:05 -  1.7
+++ security/sshlockout/Makefile15 Sep 2022 11:51:04 -
@@ -15,7 +15,7 @@ WANTLIB += c
 
 # snapshot of
 # https://github.com/DragonFlyBSD/DragonFlyBSD/tree/master/usr.sbin/sshlockout
-MASTER_SITES = http://distfiles-openbsd.perso.pw/
+MASTER_SITES = http://si3t.ch/pub/openbsd/distfiles/
 
 FAKE_FLAGS =   BINDIR=${PREFIX}/sbin \
MANDIR=${PREFIX}/man/man
Index: games/teeworlds/Makefile
===
RCS file: /cvs/ports/games/teeworlds/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- games/teeworlds/Makefile11 Mar 2022 19:05:00 -  1.30
+++ games/teeworlds/Makefile15 Sep 2022 11:51:15 -
@@ -13,7 +13,7 @@ MAINTAINER=   Stefan Hagen https://github.com/teeworlds/teeworlds/releases/download/${V}/
 # maps repo without tags/releases on 
https://github.com/teeworlds/teeworlds-maps
 # therefore hosted as archive on perso.pw
-MASTER_SITES0= http://distfiles-openbsd.perso.pw/
+MASTER_SITES0= http://si3t.ch/pub/openbsd/distfiles/
 
 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
teeworlds-${V}-data.tar.gz{teeworlds-data.tar.gz}:0


aarch64 bulk build report

2022-09-15 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Tue Sep 13 03:32:00 MDT 2022
finished at Thu Sep 15 10:16:25 MDT 2022
lasted 2D06h44m
done with kern.version=OpenBSD 7.2 (GENERIC.MP) #1818: Sun Sep 11 19:24:47 MDT 
2022

built packages:11332
Sep 13:4219
Sep 14:1955
Sep 15:5157


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2022-09-13/summary.log

build failures: 1
http://build-failures.rhaalovely.net/aarch64/2022-09-13/audio/solfege.log

recurrent failures
new failures
+++ ls-failures Thu Sep 15 10:16:37 2022
+failures/audio/solfege.log
resolved failures
--- ../old/aarch64/last//ls-failuresMon Sep 12 12:07:04 2022
-failures/audio/py-eyed3.log
-failures/devel/riscv-elf/newlib.log
-failures/security/step-ca.log



Re: [new] archivers/7zip

2022-09-15 Thread Josh Grosse
A corrected tarball is attached -- pkg/DESCR was accidently empty.


7zip.tgz
Description: application/tar-gz


[new] archivers/7zip

2022-09-15 Thread Josh Grosse
The 7zip project was originally Windows-only.  It is now directly
buildable on open systems. Attached is a port for its standalone
command-line executable.

My expectation is that this should eventually replace archivers/p7zip,
as that portable version of 7zip is both a defunct project and it
has a number of unaddressed CVEs.


7zip.tgz
Description: application/tar-gz


UPDATE math/py-datedelta -1.4

2022-09-15 Thread George Rosamond

Just adding me as MAINTAINER, bumped to REVISION = 0

Thanks

g

(sent from diff address earlier)Index: py-datedelta//Makefile
===
RCS file: /cvs/ports/math/py-datedelta/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- py-datedelta//Makefile	13 Sep 2022 20:56:21 -	1.2
+++ py-datedelta//Makefile	15 Sep 2022 19:20:53 -
@@ -8,6 +8,8 @@ PKGNAME =		py-${DISTNAME}
 CATEGORIES =		math
 
 HOMEPAGE =		https://github.com/aaugustin/datedelta/
+MAINTAINER =		George Rosamond 
+REVISION =		0
 
 # BSD3
 PERMIT_PACKAGE =	Yes


[UPDATE] mail/s-postgray: v0.8.0

2022-09-15 Thread Steffen Nurpmeso
Hello ports@!

  - New --startup mode to allow it to be driven as a standalone daemon.

  - Client no longer exits after five unsuccessful connection attempts.
Instead try as long as postfix is willing to let it.

  - "Fixes a miss": if on server startup the socket yet existed (no
proper shutdown on last run), startup failed and the missing policy
server would cause postfix to refuse acting.
Whereas "rm -f PG-SOCKET" in a postfix-startup-script avoids this,
it was never announced to be necessary, so henceforth automatize this.

  - Robustness against MFILE,NFILE,NOBUF,NOMEM in file/socket open paths.

  - Fixes some oddities, and clarifies documentation.

The port now actually runs the tests.

Except for the intermediate self-knitted build system (and bitrot)
i really do not expect any further release now.

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Re: [new] archivers/7zip

2022-09-15 Thread George Koehler
On Thu, 15 Sep 2022 13:55:35 -0400
Josh Grosse  wrote:

> A corrected tarball is attached -- pkg/DESCR was accidently empty.

I can't install p7zip with 7zip,

| Collision in p7zip-16.02p6: the following files already exist
| /usr/local/bin/7za (7zip-22.01 and p7zip-16.02p6)
| Couldn't install p7zip-16.02p6

Should we declare a conflict?  See @conflict in pkg_create(8)

Also, I need one more patch.  I attach patch-C_7zCrcOpt_c; please add
it to your patches, so I can build 7zip on my big-endian macppc.  The
patch prevents the errors at the end of this mail.  After I added
patch-C_7zCrcOpt_c, I also built 7zip on powerpc64.

I might not need patch-C_7zCrcOpt_c if we would delete -Werror from the
flags.

--George

===>  Building for 7zip-22.01
clang  -O2 -c -Wall -Werror -Wextra -Wno-reserved-id-macro 
-Wno-old-style-cast -Wno-c++11-long-long -Wno-unused-macros  -Weverything 
-Wno-extra-semi -Wno-sign-conversion -Wno-language-extension-token 
-Wno-global-constructors -Wno-non-virtual-dtor -Wno-switch-enum 
-Wno-covered-switch-default -Wno-cast-qual -Wno-padded 
-Wno-exit-time-destructors -Wno-weak-vtables  -Wno-extra-semi-stmt 
-Wno-zero-as-null-pointer-constant -Wno-deprecated-dynamic-exception-spec 
-Wno-c++98-compat-pedantic -Wno-atomic-implicit-seq-cst -Wconversion 
-Wno-sign-conversion -Wno-reserved-identifier -Wno-suggest-override 
-Wno-suggest-destructor-override -Wno-unused-but-set-variable  
-Wno-deprecated-copy-dtor  -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -fPIC  -o b/c/7zCrcOpt.o ../../../../C/7zCrcOpt.c
../../../../C/7zCrcOpt.c:68:21: error: no previous prototype for function 
'CrcUpdateT1_BeT4' [-Werror,-Wmissing-prototypes]
UInt32 MY_FAST_CALL CrcUpdateT1_BeT4(UInt32 v, const void *data, size_t size, 
const UInt32 *table)
^
../../../../C/7zCrcOpt.c:68:1: note: declare 'static' if the function is not 
intended to be used outside of this translation unit
UInt32 MY_FAST_CALL CrcUpdateT1_BeT4(UInt32 v, const void *data, size_t size, 
const UInt32 *table)
^
static 
../../../../C/7zCrcOpt.c:89:21: error: no previous prototype for function 
'CrcUpdateT1_BeT8' [-Werror,-Wmissing-prototypes]
UInt32 MY_FAST_CALL CrcUpdateT1_BeT8(UInt32 v, const void *data, size_t size, 
const UInt32 *table)
^
../../../../C/7zCrcOpt.c:89:1: note: declare 'static' if the function is not 
intended to be used outside of this translation unit
UInt32 MY_FAST_CALL CrcUpdateT1_BeT8(UInt32 v, const void *data, size_t size, 
const UInt32 *table)
^
static 
2 errors generated.
gmake: *** [../../7zip_gcc.mak:1181: b/c/7zCrcOpt.o] Error 1
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2971 
'/usr/ports/pobj/7zip-22.01/CPP/7zip/Bundles/Alone/.build_done': @cd /usr/po...)
*** Error 2 in /usr/ports/mystuff/archivers/7zip 
(/usr/ports/infrastructure/mk/bsd.port.mk:2611 'all': @lock=7zip-22.01;  export 
_LOCKS_HELD...)


patch-C_7zCrcOpt_c
Description: Binary data


Re: [new] archivers/7zip

2022-09-15 Thread Josh Grosse
On Thu, Sep 15, 2022 at 10:23:00PM -0400, George Koehler wrote:
> On Thu, 15 Sep 2022 13:55:35 -0400
> Josh Grosse  wrote:
> 
> > A corrected tarball is attached -- pkg/DESCR was accidently empty.
> 
> I can't install p7zip with 7zip,
> 
> | Collision in p7zip-16.02p6: the following files already exist
> | /usr/local/bin/7za (7zip-22.01 and p7zip-16.02p6)
> | Couldn't install p7zip-16.02p6
> 
> Should we declare a conflict?  See @conflict in pkg_create(8)

I've added a @conflict to the PLIST.  Thanks for catching that!
 
> Also, I need one more patch.  I attach patch-C_7zCrcOpt_c; please add
> it to your patches, so I can build 7zip on my big-endian macppc.  The
> patch prevents the errors at the end of this mail.  After I added
> patch-C_7zCrcOpt_c, I also built 7zip on powerpc64.
> 
> I might not need patch-C_7zCrcOpt_c if we would delete -Werror from the
> flags.

I've added your patch without carriage returns, and added it to
the FIX_CRLF_FILES list.

I am unsure if we should remove -Werror.  I've added several -Wno-[blah]
flags to CPP/7zip/warn_clang.mak so this would build on amd64.

Thank you for reviewing this port!



Re: [new] archivers/7zip

2022-09-15 Thread Josh Grosse
Oops.  V2 tarball attached, now.

On Thu, Sep 15, 2022 at 11:37:43PM -0400, Josh Grosse wrote:
> On Thu, Sep 15, 2022 at 10:23:00PM -0400, George Koehler wrote:
> > On Thu, 15 Sep 2022 13:55:35 -0400
> > Josh Grosse  wrote:
> > 
> > > A corrected tarball is attached -- pkg/DESCR was accidently empty.
> > 
> > I can't install p7zip with 7zip,
> > 
> > | Collision in p7zip-16.02p6: the following files already exist
> > | /usr/local/bin/7za (7zip-22.01 and p7zip-16.02p6)
> > | Couldn't install p7zip-16.02p6
> > 
> > Should we declare a conflict?  See @conflict in pkg_create(8)
> 
> I've added a @conflict to the PLIST.  Thanks for catching that!
>  
> > Also, I need one more patch.  I attach patch-C_7zCrcOpt_c; please add
> > it to your patches, so I can build 7zip on my big-endian macppc.  The
> > patch prevents the errors at the end of this mail.  After I added
> > patch-C_7zCrcOpt_c, I also built 7zip on powerpc64.
> > 
> > I might not need patch-C_7zCrcOpt_c if we would delete -Werror from the
> > flags.
> 
> I've added your patch without carriage returns, and added it to
> the FIX_CRLF_FILES list.
> 
> I am unsure if we should remove -Werror.  I've added several -Wno-[blah]
> flags to CPP/7zip/warn_clang.mak so this would build on amd64.
> 
> Thank you for reviewing this port!


7zip.v2.tgz
Description: application/tar-gz