Re: CVS: cvs.openbsd.org: ports

2024-03-28 Thread Gleydson Soares
> Failed to package.
> 
> 
> ===>  Faking installation for plan9port-20240109
> cd 
> /exopi-obj/pobj/plan9port-20240109/plan9port-be7c68f6954f7dcaa53403e0f600716f65a13d32
>  && sed -i 's#/usr/local#/usr/local#'  `cat lib/moveplan9.files`
> find 
> /exopi-obj/pobj/plan9port-20240109/plan9port-be7c68f6954f7dcaa53403e0f600716f65a13d32
>  \( -name .github -o -name .gitignore -o -name .gitkeep \)  -exec rm -rf {} \;
> find: 
> /exopi-obj/pobj/plan9port-20240109/plan9port-be7c68f6954f7dcaa53403e0f600716f65a13d32/.github:
>  No such file or directory
> *** Error 1 in plan9/plan9port (Makefile:45 'do-install')

fixed!



CVS: cvs.openbsd.org: ports

2024-03-28 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2024/03/28 05:37:54

Modified files:
plan9/plan9port: Makefile 

Log message:
skip .github directory and .git* files on pax instead of rm rf them on find(1)



Re: CVS: cvs.openbsd.org: ports

2024-03-26 Thread Gleydson Soares
On 26 Mar 20:11, Gleydson Soares wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   gsoa...@cvs.openbsd.org 2024/03/26 20:11:50
> 
> Modified files:
>   plan9/plan9port: Makefile distinfo 
>   plan9/plan9port/pkg: PLIST 
> 
> Log message:

update to plan9port-20240109
while here, turn on building on arm64

OK sthen@



CVS: cvs.openbsd.org: ports

2024-03-26 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2024/03/26 20:11:50

Modified files:
plan9/plan9port: Makefile distinfo 
plan9/plan9port/pkg: PLIST 

Log message:




Re: [update] enable plan9port on arm64

2024-03-26 Thread Gleydson Soares
it enables plan9port on arm64 and brings it to latest GH_ commit.  while
here noticed portcheck spots out some bits, so tidied up Makefile

tested / works for me on either amd64 or arm64

OK?

Index: Makefile
===
RCS file: /cvs/ports/plan9/plan9port/Makefile,v
retrieving revision 1.44
diff -u -p -u -p -r1.44 Makefile
--- Makefile13 Oct 2023 09:28:49 -  1.44
+++ Makefile26 Mar 2024 16:19:07 -
@@ -1,12 +1,12 @@
-ONLY_FOR_ARCHS =   amd64 i386 powerpc powerpc64
+ONLY_FOR_ARCHS =   aarch64 amd64 i386 powerpc powerpc64
 
 COMMENT =  Plan 9 from user space
 
-DISTNAME = plan9port-20230913
+DISTNAME = plan9port-20240109
 
 GH_ACCOUNT =   9fans
 GH_PROJECT =   plan9port
-GH_COMMIT =984c2824e3569479bace65bdaf9e78a2eb36dd58
+GH_COMMIT =be7c68f6954f7dcaa53403e0f600716f65a13d32
 
 CATEGORIES =   plan9
 
@@ -35,14 +35,14 @@ pre-configure:
bin/macedit
 
 do-build:
-   cd ${WRKSRC} && env CC9="${CC}" CCFLAGS="${CFLAGS}" NPROC=${MAKE_JOBS} 
./INSTALL -b
+   cd ${WRKSRC} && env CC9="${CC}" CCFLAGS="${CFLAGS}" NPROC=${MAKE_JOBS} \
+   ./INSTALL -b
 
 do-install:
-   rm -f ${WRKSRC}/.travis.yml
-   cd ${WRKSRC} && sed -i 's#/usr/local#${TRUEPREFIX}#' \
+   cd ${WRKSRC} && sed -i 's#${PREFIX}#${TRUEPREFIX}#' \
`cat lib/moveplan9.files`
-   find ${WRKSRC} \( -name .gitignore -o -name .gitkeep -o \
-   -name \*.orig -o -name \*.beforesubst \) -delete
+   find ${WRKSRC} \( -name .github -o -name .gitignore -o -name .gitkeep 
\) \
+   -exec rm -rf {} \;
${INSTALL_DATA_DIR} ${PLAN9}
cd ${WRKSRC} && pax -rw . ${PLAN9}
cd ${PREFIX} && ln -s ../plan9/bin/9 bin/9
Index: distinfo
===
RCS file: /cvs/ports/plan9/plan9port/distinfo,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 distinfo
--- distinfo13 Oct 2023 09:28:49 -  1.19
+++ distinfo26 Mar 2024 16:19:07 -
@@ -1,2 +1,2 @@
-SHA256 (plan9port-20230913-984c2824.tar.gz) = 
o8iQrQUw9WFwHDdyf6N5hUBSmRH4P6/ua5r2zBpB5uM=
-SIZE (plan9port-20230913-984c2824.tar.gz) = 23411044
+SHA256 (plan9port-20240109-be7c68f6.tar.gz) = 
MYqKoJMw9lUgmvN8fI0okvxzDclPq30W/wtD3e8XkW0=
+SIZE (plan9port-20240109-be7c68f6.tar.gz) = 23413541
Index: pkg/PLIST
===
RCS file: /cvs/ports/plan9/plan9port/pkg/PLIST,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 PLIST
--- pkg/PLIST   31 Jan 2023 10:26:17 -  1.18
+++ pkg/PLIST   26 Mar 2024 16:19:13 -
@@ -179,6 +179,7 @@ plan9/bin/man
 plan9/bin/mk9660
 @bin plan9/bin/mkdir
 @bin plan9/bin/mklatinkbd
+@bin plan9/bin/mntgen
 @comment plan9/bin/mount
 @bin plan9/bin/mtime
 @bin plan9/bin/namespace
@@ -4555,6 +4556,7 @@ plan9/man/man4/INDEX
 @man plan9/man/man4/fontsrv.4
 @man plan9/man/man4/fossil.4
 @man plan9/man/man4/import.4
+@man plan9/man/man4/mntgen.4
 @man plan9/man/man4/plumber.4
 @man plan9/man/man4/ramfs.4
 @man plan9/man/man4/smugfs.4
@@ -5971,6 +5973,7 @@ plan9/src/cmd/mnihongo/README
 plan9/src/cmd/mnihongo/mkfile
 plan9/src/cmd/mnihongo/mnihongo.c
 plan9/src/cmd/mnihongo/tmac.nihongo
+plan9/src/cmd/mntgen.c
 plan9/src/cmd/mpm/
 plan9/src/cmd/mpm/README
 plan9/src/cmd/mpm/misc.cc


update luasec to 1.3.2

2023-12-08 Thread Gleydson Soares
update luasec to 1.3.2
upstream moved to lunarmodules
ok?

Index: Makefile
===
RCS file: /cvs/ports/security/luasec/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile7 Sep 2023 21:19:16 -   1.27
+++ Makefile8 Dec 2023 18:52:06 -
@@ -1,12 +1,12 @@
 COMMENT=   lua binding to OpenSSL to provide TLS/SSL communication
 
-GH_ACCOUNT=brunoos
+GH_ACCOUNT=lunarmodules
 GH_PROJECT=luasec
-GH_TAGNAME=v1.2.0
+GH_TAGNAME=v1.3.2
 
 CATEGORIES=security
 
-HOMEPAGE=  https://github.com/brunoos/luasec/wiki
+HOMEPAGE=  https://github.com/lunarmodules/luasec/wiki
 
 MAINTAINER=Gleydson Soares 
 
Index: distinfo
===
RCS file: /cvs/ports/security/luasec/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo8 Jan 2023 20:50:30 -   1.10
+++ distinfo8 Dec 2023 18:52:06 -
@@ -1,2 +1,2 @@
-SHA256 (luasec-1.2.0.tar.gz) = LobvjzSG3Bu+zXUtFnQaWaAWMyefrN/lYx8ztu7Rowo=
-SIZE (luasec-1.2.0.tar.gz) = 53379
+SHA256 (luasec-1.3.2.tar.gz) = lykwkro4WrOQ3stmeLyMvv/ViZv7xJ6370qgD14xw9Q=
+SIZE (luasec-1.3.2.tar.gz) = 54925
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/luasec/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   11 Mar 2022 19:53:33 -  1.10
+++ pkg/PLIST   8 Dec 2023 18:52:06 -
@@ -67,6 +67,9 @@ share/examples/${FULLPKGNAME}/multicert/
 share/examples/${FULLPKGNAME}/oneshot/
 share/examples/${FULLPKGNAME}/oneshot/client.lua
 share/examples/${FULLPKGNAME}/oneshot/server.lua
+share/examples/${FULLPKGNAME}/psk/
+share/examples/${FULLPKGNAME}/psk/client.lua
+share/examples/${FULLPKGNAME}/psk/server.lua
 share/examples/${FULLPKGNAME}/sni/
 share/examples/${FULLPKGNAME}/sni/client.lua
 share/examples/${FULLPKGNAME}/sni/server.lua



Re: UPDATE x11/specctrwm-3.5.0

2023-10-22 Thread Gleydson Soares
Builds and runs fine.
OK gsoares@



Re: chromium display

2023-07-15 Thread Gleydson Soares
Hello Jon,
   
It seems to be a known issue and workaround would be purging the GPUCache
 
~/.config/chromium/Default/GPUCache
 
Relates to  
https://bugs.chromium.org/p/chromium/issues/detail?id=1442633

- gsoares

On Sat, Jul 15, 2023 at 08:37:49AM -0400, Jon Fineman wrote:
> I am having trouble with chromium-114.0.5735.198p2 displaying jpeg, etc for
> example in Instagram or Youtube the graphics are blank. Also when I click
> the three buttons in the top right the menu is corrupted.
> 
> If a view a jpeg from the filesystem it will display it. But when I x out of
> the tab and chromium reverts to displaying the prior tab it will show half
> of the pic on that tab.
> 
> If I click on a pdf and then go back half of the pdf is still displayed on
> the prior page.
> 
> I am also seeing some display flickering at times.
> 
> Any thoughts on how to debug this?
> 
> 
> kern.version=OpenBSD 7.3-current (GENERIC.MP) #1287: Fri Jul 14 13:18:53 MDT 
> 2023
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> 
> 
> ,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu2: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 8 (application processor)
> cpu3: AMD Ryzen 5 1600 Six-Core Processor, 3200.00 MHz, 17-01-01
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu3: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu3: smt 0, core 4, package 0
> cpu4 at mainbus0: apid 10 (application processor)
> cpu4: AMD Ryzen 5 1600 Six-Core Processor, 3200.00 MHz, 17-01-01
> cpu4: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu4: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu4: smt 0, core 5, package 0
> cpu5 at mainbus0: apid 12 (application processor)
> cpu5: AMD Ryzen 5 1600 Six-Core Processor, 3200.00 MHz, 17-01-01
> cpu5: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu5: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu5: smt 0, core 6, package 0
> cpu6 at mainbus0: apid 1 (application processor)
> cpu6: AMD Ryzen 5 1600 Six-Core Processor, 3200.00 MHz, 17-01-01
> cpu6: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu6: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu6: smt 1, core 0, package 0
> cpu7 at mainbus0: apid 3 (application processor)
> cpu7: AMD Ryzen 5 1600 Six-Core Processor, 3200.00 MHz, 17-01-01
> cpu7: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu7: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu7: smt 1, core 1, package 0
> cpu8 at mainbus0: apid 

Re: plan9/plan9port: honour MAKE_JOBS

2023-05-14 Thread Gleydson Soares
On Thu, May 11, 2023 at 02:26:11PM +, Klemens Nanni wrote:
> mk(1) says to set NPROC in the environment, INSTALL does that itself,
> but only on foreign platforms.
> 
> Now I see cascades of 'clang -DPLAN9PORT ...' procs in top(1).
> OK?

OK gsoares@



CVS: cvs.openbsd.org: ports

2023-05-07 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2023/05/07 09:27:21

Modified files:
x11/spectrwm   : Makefile distinfo 

Log message:
update to spectrwm-3.4.1.20230507

it includes a fix that addresses a crash found hardway while running 
ssh-askpass(1):
- Fix possible crash when a window claims to be transient for itself.

OK bket@ gonzalo@



update: spectrwm-3.4.1.20230507

2023-05-07 Thread Gleydson Soares
update spectrwm to latest commit which includes a fix that addresses a
crash found hardway while running ssh-askpass(1):

- Fix possible crash when a window claims to be transient for itself. 
Index: Makefile
===
RCS file: /cvs/ports/x11/spectrwm/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile23 Apr 2023 13:19:10 -  1.41
+++ Makefile7 May 2023 13:57:37 -
@@ -2,8 +2,8 @@ COMMENT=small tiling window manager
 
 GH_ACCOUNT=conformal
 GH_PROJECT=spectrwm
-GH_COMMIT= efc458efa5730680a5ff3805f6cf9d88dc88748b
-DISTNAME=  ${GH_PROJECT}-3.4.1.20230310
+GH_COMMIT= 06e3733175969c307a6fd47240a7a37b29d60513
+DISTNAME=  ${GH_PROJECT}-3.4.1.20230507
 
 SHARED_LIBS=   swmhack 1.0
 
Index: distinfo
===
RCS file: /cvs/ports/x11/spectrwm/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo23 Apr 2023 13:19:10 -  1.28
+++ distinfo7 May 2023 13:57:37 -
@@ -1,2 +1,2 @@
-SHA256 (spectrwm-3.4.1.20230310-efc458ef.tar.gz) = 
8hjhkgcC+mA+PlGZxDIRmNXAOMMWLPLCtPuGlF2ghyw=
-SIZE (spectrwm-3.4.1.20230310-efc458ef.tar.gz) = 172141
+SHA256 (spectrwm-3.4.1.20230507-06e37331.tar.gz) = 
1stB8RPoDDQYPHbg5BNgFYRdbqK8wvlyaKO8QMriJng=
+SIZE (spectrwm-3.4.1.20230507-06e37331.tar.gz) = 172202


Re: update plan9/plan9port

2023-01-31 Thread Gleydson Soares
builds and runs fine for me.
OK gsoares@



CVS: cvs.openbsd.org: ports

2023-01-08 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2023/01/08 13:50:30

Modified files:
security/luasec: Makefile distinfo 

Log message:
Update to 1.2.0
builds fine and slightly tested by op@ thanks!



Re: plan9port works on i386 and powerpc

2022-09-25 Thread Gleydson Soares
> > Unfortunately, building at least on sparc64 does not complete.
> > Curiously it also does not fail, it just stops after 'mk' is compiled.
> > So I think ONLY_FOR_ARCHES may need to be retained, with the platforms
> > we have tested.

sure, it fails on aarch64 as well, requires a couple of tweaks to make it
build, will check it afterwards as soon as I prepare a diff to bring it
to latest github commit.

> Thank you for trying multiple archs.  I have committed the below diff,
> which retains ONLY_FOR_ARCHES.

thanks!
- gsoares



CVS: cvs.openbsd.org: ports

2022-09-05 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2022/09/05 14:39:05

Modified files:
devel/cppcheck : Makefile distinfo 

Log message:
update to cppcheck-2.9



Re: UPDATE: mail/imapfilter

2022-07-15 Thread Gleydson Soares
> Update imapfilter to 2.7.5. OK?

builds fine on arm64 and amd64

The next imapfilter's update may get rid of patches/patch-src_auth_c
since upstream has deprecated CRAM-MD5 authentication mechanism
as per commit [1]

OK gsoares, thanks!

[1] 
https://github.com/lefcha/imapfilter/commit/20865804d12bfdbd3dc18d569a416d9b42708792



CVS: cvs.openbsd.org: ports

2022-05-24 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2022/05/24 07:00:25

Modified files:
security/stunnel: Makefile distinfo 

Log message:
update to stunnel-5.64



CVS: cvs.openbsd.org: ports

2022-05-24 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2022/05/24 06:35:38

Modified files:
devel/cppcheck : Makefile distinfo 

Log message:
update to cppcheck-2.8



CVS: cvs.openbsd.org: ports

2022-03-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2022/03/16 11:28:26

Modified files:
security/stunnel: Makefile distinfo 
security/stunnel/patches: patch-Makefile_in patch-src_ctx_c 
  patch-src_verify_c 
  patch-tools_stunnel_conf-sample_in 
security/stunnel/pkg: PLIST 
Added files:
security/stunnel/patches: patch-src_client_c patch-src_common_h 
  patch-src_options_c 
  patch-src_prototypes_h patch-src_ssl_c 
  patch-src_sthreads_c patch-src_tls_c 

Log message:
Update to 5.63
OK sthen

### Version 5.63, 2022.03.15, urgency: HIGH
* Security bugfixes
- OpenSSL DLLs updated to version 3.0.2.
* New features
- Updated stunnel.spec to support bash completion.
* Bugfixes
- Fixed a PRNG initialization crash (thx to Gleydson Soares).

... further changelogs
https://www.stunnel.org/NEWS.html



Re: [UPDATE] security/stunnel to 5.62

2022-03-03 Thread Gleydson Soares
> I think that may be an upstream bug, OpenSSL can return NULL for
> RAND_get_rand_method too.
>
> 351 NOEXPORT int prng_init(GLOBAL_OPTIONS *global) {
> 352 int totbytes=0;
> 353 char filename[256];
> 354 const RAND_METHOD *meth=RAND_get_rand_method();
> 355 
> 356 /* skip PRNG initialization when no seeding methods are available */
> 357 if(meth->status==NULL || meth->add==NULL) {
> 358 s_log(LOG_DEBUG, "No PRNG seeding methods");
> 359 return 0; /* success */
> 360 }
> 361 
> 362 if(RAND_status()) {
> 363 s_log(LOG_DEBUG, "No PRNG seeding was required");
> 364 return 0; /* success */
> 365 }

Makes sense, I agree, I have addressed it upstream.

> With stunnel it really feels like the dev is going out of his way to
> make the software as annoying as possible to build against LibreSSL.
> Which makes me definitely think we should keep building against LibreSSL! :)

Diff inline below updated including the RAND_get_rand_method() changes.

Thanks for your review,
gsoares
Index: Makefile
===
RCS file: /cvs/ports/security/stunnel/Makefile,v
retrieving revision 1.93
diff -u -p -r1.93 Makefile
--- Makefile12 Jul 2019 20:49:37 -  1.93
+++ Makefile3 Mar 2022 20:05:00 -
@@ -2,9 +2,8 @@
 
 COMMENT=   SSL encryption wrapper for standard network daemons
 
-DISTNAME=  stunnel-5.44
+DISTNAME=  stunnel-5.62
 CATEGORIES=security
-REVISION=  2
 
 MAINTAINER=Gleydson Soares 
 
@@ -13,12 +12,11 @@ PERMIT_PACKAGE= Yes
 
 WANTLIB += c crypto pthread ssl util
 
-HOMEPAGE=  http://www.stunnel.org/
+HOMEPAGE=  https://www.stunnel.org/
 
 MASTER_SITES=  https://www.stunnel.org/downloads/archive/5.x/ \
-   http://ftp.nluug.nl/pub/networking/stunnel/archive/5.x/ \
-   http://mirror.bit.nl/stunnel/archive/5.x/ \
-   ftp://ftp.stunnel.org/stunnel/archive/5.x/
+   https://ftp.nluug.nl/pub/networking/stunnel/ \
+   https://www.usenix.org.uk/mirrors/stunnel/
 
 SEPARATE_BUILD=Yes
 CONFIGURE_STYLE=   gnu
Index: distinfo
===
RCS file: /cvs/ports/security/stunnel/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo1 Dec 2017 00:08:44 -   1.45
+++ distinfo3 Mar 2022 20:05:00 -
@@ -1,2 +1,2 @@
-SHA256 (stunnel-5.44.tar.gz) = mQoyXbtH132Idy3QL7vSfZGx/qPs52yf9EYeypPxIpk=
-SIZE (stunnel-5.44.tar.gz) = 699117
+SHA256 (stunnel-5.62.tar.gz) = nPW7lJAiqmbHNsEyZVTMon0GQWBaY3AnTtxJUetb0zk=
+SIZE (stunnel-5.62.tar.gz) = 862456
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/security/stunnel/patches/patch-Makefile_in,v
retrieving revision 1.15
diff -u -p -r1.15 patch-Makefile_in
--- patches/patch-Makefile_in   1 Dec 2017 00:08:44 -   1.15
+++ patches/patch-Makefile_in   3 Mar 2022 20:05:00 -
@@ -1,13 +1,14 @@
-$OpenBSD: patch-Makefile_in,v 1.15 2017/12/01 00:08:44 gsoares Exp $
+$OpenBSD$
+
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -364,7 +364,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
+@@ -371,7 +371,7 @@ top_srcdir = @top_srcdir@
+ with_bashcompdir = @with_bashcompdir@
+ AM_DISTCHECK_CONFIGURE_FLAGS = 
--with-bashcompdir='$$(datarootdir)/bash-completion/completions'
  ACLOCAL_AMFLAGS = -I m4
 -SUBDIRS = src doc tools tests
 +SUBDIRS = src doc tests
- EXTRA_DIST = PORTS BUGS COPYRIGHT.GPL CREDITS INSTALL.W32 INSTALL.WCE \
-   INSTALL.FIPS build-android.sh .travis.yml
- doc_DATA = INSTALL README TODO COPYING AUTHORS ChangeLog PORTS BUGS \
+ doc_DATA = README.md TODO.md COPYING.md AUTHORS.md NEWS.md PORTS.md \
+   BUGS.md COPYRIGHT.md CREDITS.md INSTALL.W32.md INSTALL.WCE.md \
+   INSTALL.FIPS.md
Index: patches/patch-src_client_c
===
RCS file: patches/patch-src_client_c
diff -N patches/patch-src_client_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_client_c  3 Mar 2022 20:05:00 -
@@ -0,0 +1,30 @@
+Index: src/client.c
+--- src/client.c.orig
 src/client.c
+@@ -750,7 +750,7 @@ NOEXPORT void print_cipher(CLI *c) { /* print negotiat
+ NOEXPORT void transfer(CLI *c) {
+ int timeout; /* s_poll_wait timeout in seconds */
+ int pending; /* either processed on unprocessed TLS data */
+-#if OPENSSL_VERSION_NUMBER >= 0x1010L
++#if OPENSSL_VERSION_NUMBER >= 0x1010L && !defined(LIBRESSL_VERSION_NUMBER)
+ int has_pending=0, prev_has_pending;
+ #endif
+ int watchdog=0; /* a counter to detect an infinite loop */
+@@ -797,7 +797,7 @@ NOEXPORT void transfer(CLI *c) {
+ 
+ /** 

Re: [UPDATE] security/stunnel to 5.62

2022-03-02 Thread Gleydson Soares
Hello,

I have managed to make stunnel build against libressl.

While working on it, i've triggered a segfault:

openbsd-arm64$ stunnel
Segmentation fault (core dumped)
openbsd-arm64$

...
So looked at the coredump to find clues:

Program received signal SIGSEGV, Segmentation fault.
prng_init (global=0xfb13b5ce8 )
at /usr/ports/pobj/stunnel-5.62/stunnel-5.62/src/ssl.c:357
357 if(meth->status==NULL || meth->add==NULL) {
(gdb)

Breakpoint 5, prng_init (global=0x8c4385ce8 )
at /usr/ports/pobj/stunnel-5.62/stunnel-5.62/src/ssl.c:354
354 const RAND_METHOD *meth=RAND_get_rand_method();

It has been fixed by wrapping the code path with
!defined(LIBRESSL_VERSION_NUMBER), RAND_*_rand_method() exist just for
ABI compatibility, the code fallback to "/dev/urandom" afterwards, but
would be great to use arc4random(3) instead, something like our
RAND_pseudo_bytes().

It builds and runs, been slighttly tested though, i don't have a fancy
setup so tests welcome.diff inline below
Index: Makefile
===
RCS file: /cvs/ports/security/stunnel/Makefile,v
retrieving revision 1.93
diff -u -p -u -p -r1.93 Makefile
--- Makefile12 Jul 2019 20:49:37 -  1.93
+++ Makefile2 Mar 2022 23:53:06 -
@@ -2,9 +2,8 @@
 
 COMMENT=   SSL encryption wrapper for standard network daemons
 
-DISTNAME=  stunnel-5.44
+DISTNAME=  stunnel-5.62
 CATEGORIES=security
-REVISION=  2
 
 MAINTAINER=    Gleydson Soares 
 
@@ -13,12 +12,11 @@ PERMIT_PACKAGE= Yes
 
 WANTLIB += c crypto pthread ssl util
 
-HOMEPAGE=  http://www.stunnel.org/
+HOMEPAGE=  https://www.stunnel.org/
 
 MASTER_SITES=  https://www.stunnel.org/downloads/archive/5.x/ \
-   http://ftp.nluug.nl/pub/networking/stunnel/archive/5.x/ \
-   http://mirror.bit.nl/stunnel/archive/5.x/ \
-   ftp://ftp.stunnel.org/stunnel/archive/5.x/
+   https://ftp.nluug.nl/pub/networking/stunnel/ \
+   https://www.usenix.org.uk/mirrors/stunnel/
 
 SEPARATE_BUILD=Yes
 CONFIGURE_STYLE=   gnu
Index: distinfo
===
RCS file: /cvs/ports/security/stunnel/distinfo,v
retrieving revision 1.45
diff -u -p -u -p -r1.45 distinfo
--- distinfo1 Dec 2017 00:08:44 -   1.45
+++ distinfo2 Mar 2022 23:53:06 -
@@ -1,2 +1,2 @@
-SHA256 (stunnel-5.44.tar.gz) = mQoyXbtH132Idy3QL7vSfZGx/qPs52yf9EYeypPxIpk=
-SIZE (stunnel-5.44.tar.gz) = 699117
+SHA256 (stunnel-5.62.tar.gz) = nPW7lJAiqmbHNsEyZVTMon0GQWBaY3AnTtxJUetb0zk=
+SIZE (stunnel-5.62.tar.gz) = 862456
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/security/stunnel/patches/patch-Makefile_in,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 patch-Makefile_in
--- patches/patch-Makefile_in   1 Dec 2017 00:08:44 -   1.15
+++ patches/patch-Makefile_in   2 Mar 2022 23:53:06 -
@@ -1,13 +1,14 @@
-$OpenBSD: patch-Makefile_in,v 1.15 2017/12/01 00:08:44 gsoares Exp $
+$OpenBSD$
+
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -364,7 +364,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
+@@ -371,7 +371,7 @@ top_srcdir = @top_srcdir@
+ with_bashcompdir = @with_bashcompdir@
+ AM_DISTCHECK_CONFIGURE_FLAGS = 
--with-bashcompdir='$$(datarootdir)/bash-completion/completions'
  ACLOCAL_AMFLAGS = -I m4
 -SUBDIRS = src doc tools tests
 +SUBDIRS = src doc tests
- EXTRA_DIST = PORTS BUGS COPYRIGHT.GPL CREDITS INSTALL.W32 INSTALL.WCE \
-   INSTALL.FIPS build-android.sh .travis.yml
- doc_DATA = INSTALL README TODO COPYING AUTHORS ChangeLog PORTS BUGS \
+ doc_DATA = README.md TODO.md COPYING.md AUTHORS.md NEWS.md PORTS.md \
+   BUGS.md COPYRIGHT.md CREDITS.md INSTALL.W32.md INSTALL.WCE.md \
+   INSTALL.FIPS.md
Index: patches/patch-src_client_c
===
RCS file: patches/patch-src_client_c
diff -N patches/patch-src_client_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_client_c  2 Mar 2022 23:53:06 -
@@ -0,0 +1,30 @@
+Index: src/client.c
+--- src/client.c.orig
 src/client.c
+@@ -750,7 +750,7 @@ NOEXPORT void print_cipher(CLI *c) { /* print negotiat
+ NOEXPORT void transfer(CLI *c) {
+ int timeout; /* s_poll_wait timeout in seconds */
+ int pending; /* either processed on unprocessed TLS data */
+-#if OPENSSL_VERSION_NUMBER >= 0x1010L
++#if OPENSSL_VERSION_NUMBER >= 0x1010L && !defined(LIBRESSL_VERSION_NUMBER)
+ int has_pending=0, prev_has_pending;
+ #endif
+ int watchdog=0; /* a counter to detect an infinite loop */
+@@ -797,7 +797,7 @@ NOEXPORT void transfer(CLI *c) {
+ 
+ /** wait for an event */
+ pending=SSL_pending(c->ssl);
+-#if OPENSSL_VERSION_NUMBER >= 0x10

Re: [UPDATE] security/stunnel to 5.62

2022-02-28 Thread Gleydson Soares
> Updates security/stunnel to 5.62
> 
> Lots of changes, some of which are marked with urgency 'HIGH' and which
> might affect OpenBSD users as well: https://www.stunnel.org/NEWS.html
> 
> Upstream seems to be opposed to having stunnel linked with LibreSSL, and the
> changes between 5.44 (currently in ports) and 5.62 would need a substantial
> amount of patches just to make it compile. Since I don't have the insight
> necessary not to introduce a bug by doing so, I built it against OpenSSL
> from ports, and thought I'd just throw it out there for discussion.

Yes, it's needed some LIBRESSL_VERSION_NUMBER dance to make it compile.

I have already a patch that makes it compile against libressl, slight
tested though, I will tidy up and provide here yet today or tomorrow.

> * Kept the sections for pop3s, imaps and ssmtp commented out in the default
> /etc/stunnel.conf, since I personally can't think of a reason why I'd want
> stunnel to listen on those ports by default

ok

> * Update mirror sites to those documented at
> https://www.stunnel.org/downloads.html
...
> 
> * Changed homepage and mirrors to use https
> 

fine for both.

Thanks for your work on it.
gsoares



CVS: cvs.openbsd.org: ports

2022-02-27 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2022/02/27 19:02:12

Modified files:
multimedia/mpv : Makefile 

Log message:
hook up www/yt-dlp to RUN_DEPENDS, unbreak mpv's ytdl_hook.lua script
ok sthen



Re: mpv: add youtube-dl to RUN_DEPENDS

2022-02-27 Thread Gleydson Soares
>yt-dlp would probably be a better choice (mpv prefers it over
>youtube-dl).

sure, i couldn't agree more about it.
diff updated, ok?

Index: Makefile
===
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.79
diff -u -p -u -p -r1.79 Makefile
--- Makefile29 Jan 2022 12:30:14 -  1.79
+++ Makefile27 Feb 2022 18:34:42 -
@@ -6,6 +6,8 @@ GH_ACCOUNT =mpv-player
 GH_PROJECT =   mpv
 GH_TAGNAME =   v0.34.1
 
+REVISION = 0
+
 SHARED_LIBS += mpv 0.2 # 1.109
 
 CATEGORIES =   multimedia x11
@@ -54,6 +56,7 @@ LIB_DEPENDS = archivers/libarchive \
 
 MODPY_RUNDEP = No
 RUN_DEPENDS =  devel/desktop-file-utils \
+   www/yt-dlp \
x11/gtk+3,-guic
 
 SEPARATE_BUILD =   Yes


mpv: add youtube-dl to RUN_DEPENDS

2022-02-27 Thread Gleydson Soares
the following patch adds youtube-dl to mpv's RUN_DEPENDS.

$ mpv --no-video https://www.youtube.com/watch?v=...
[ytdl_hook]
[ytdl_hook] youtube-dl failed: not found or not enough permissions
Failed to recognize file format.

OK?

Thanks,
gsoares
Index: Makefile
===
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.79
diff -u -p -u -p -r1.79 Makefile
--- Makefile29 Jan 2022 12:30:14 -  1.79
+++ Makefile27 Feb 2022 13:06:35 -
@@ -6,6 +6,8 @@ GH_ACCOUNT =mpv-player
 GH_PROJECT =   mpv
 GH_TAGNAME =   v0.34.1
 
+REVISION = 0
+
 SHARED_LIBS += mpv 0.2 # 1.109
 
 CATEGORIES =   multimedia x11
@@ -54,6 +56,7 @@ LIB_DEPENDS = archivers/libarchive \
 
 MODPY_RUNDEP = No
 RUN_DEPENDS =  devel/desktop-file-utils \
+   www/youtube-dl \
x11/gtk+3,-guic
 
 SEPARATE_BUILD =   Yes


CVS: cvs.openbsd.org: ports

2022-02-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2022/02/10 09:29:29

Modified files:
devel/cppcheck : Makefile distinfo 

Log message:
update to 2.7



CVS: cvs.openbsd.org: ports

2021-11-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2021/11/10 18:54:29

Modified files:
devel/cppcheck : Makefile distinfo 

Log message:
update to cppcheck-2.6



CVS: cvs.openbsd.org: ports

2021-07-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2021/07/16 21:33:14

Modified files:
security/luasec: Makefile distinfo 

Log message:
update to luasec-1.0.1

- Fix luaL_buffinit() can use the stack and broke buffer_meth_receive()
- Add cert:getsignaturename()



CVS: cvs.openbsd.org: ports

2021-07-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2021/07/16 21:12:30

Modified files:
devel/cppcheck : Makefile distinfo 
devel/cppcheck/pkg: PLIST 

Log message:
update to cppcheck-2.5



Re: lang/crystal: unbreak, update to 1.0.0

2021-06-07 Thread Gleydson Soares
On Mon, Jun 07, 2021 at 08:11:31AM -0500, joshua stein wrote:
> I sent an earlier version to the maintainer and pinged them on IRC 
> but got no response.

it seems that maintainer timeouts.
since it works for you, go for it, OK gsoares

> 
> 
> diff --git lang/crystal/Makefile lang/crystal/Makefile
> index 406341bee4a..99e0d5c4fc3 100644
> --- lang/crystal/Makefile
> +++ lang/crystal/Makefile
> @@ -1,12 +1,11 @@
>  # $OpenBSD: Makefile,v 1.10 2021/05/13 23:52:00 jca Exp $
>  
> -BROKEN = needs an update to support llvm-11
> -
>  # Hopefully ${CLANG_ARCHS} at some point.
>  ONLY_FOR_ARCHS=  amd64
>  
> -V =  0.30.1
> -V_SHARDS =   0.9.0
> +V =  1.0.0
> +V_SHARDS =   0.14.1
> +V_MOLINILLO =0.2.0
>  COMMENT =statically typed object oriented language
>  DISTNAME =   crystal-${V}
>  CATEGORIES = lang
> @@ -18,18 +17,27 @@ MAINTAINER =  Wesley Moxam 
>  PERMIT_PACKAGE = Yes
>  
>  WANTLIB += ${COMPILER_LIBCXX} c event_core event_extra gc iconv
> -WANTLIB += m pcre yaml
> +WANTLIB += m pcre crypto ssl yaml-0 z
> +
> +#
> +# crystal-X-OpenBSDX.X.tar.gz is an archive of a bootstrap compiler object
> +# (crystal.o) which can be cross-compiled on another platform by installing 
> the
> +# current version of Crystal there, then checking out the source for that
> +# version and running:
> +#
> +#make crystal FLAGS="--cross-compile --target amd64-unknown-openbsd6.9"
> +#
> +# The result will be built at .build/crystal.o
> +#
>  
> -# Requires a bootstrap compiler object (crystal.o) which can be built by:
> -# .build/crystal build --cross-compile \
> -#--target amd64-unknown-openbsd`uname -r` src/compiler/crystal.cr \
> -#-D i_know_what_im_doing
>  MASTER_SITES =   https://github.com/crystal-lang/crystal/archive/
> -MASTER_SITES0 =  https://wmoxam.com/public/
> +MASTER_SITES0 =  https://jcs.org/distfiles/
>  MASTER_SITES1 =  https://github.com/crystal-lang/shards/archive/
> +MASTER_SITES2 =  
> https://github.com/crystal-lang/crystal-molinillo/archive/
>  DISTFILES =  crystal-${V}{${V}}.tar.gz \
> - crystal-${V}-OpenBSD6.5.tar.gz:0 \
> - shards-${V}{v${V_SHARDS}}.tar.gz:1
> + crystal-${V}-OpenBSD6.9.tar.gz:0 \
> + shards-${V}{v${V_SHARDS}}.tar.gz:1 \
> + crystal-molinillo-${V}{v${V_MOLINILLO}}.tar.gz:2
>  
>  # Build requires llvm-config from ports, not from base
>  COMPILER =   ports-clang
> @@ -49,6 +57,10 @@ ALL_TARGET =   crystal release=1
>  
>  NO_TEST =Yes
>  
> +post-extract:
> + mv ${WRKDIR}/shards-${V_SHARDS} ${WRKSRC}/
> + mv ${WRKDIR}/crystal-molinillo-${V_MOLINILLO} ${WRKSRC}/
> +
>  do-build:
>   mkdir -p ${WRKSRC}/.build
>   # Link the compiler from the pre-built bootstrap object
> @@ -57,27 +69,21 @@ do-build:
>   cd ${WRKSRC} && ${CXX} -rdynamic -o ${WRKBUILD}/.build/crystal \
>   ${WRKSRC}/../crystal.o \
>   ${WRKSRC}/src/llvm/ext/llvm_ext.o \
> - ${WRKSRC}/src/ext/sigfault.o \
> + ${WRKSRC}/src/ext/libcrystal.a \
>   -L${LOCALBASE}/lib \
>   `(${LLVM_CONFIG} --libs --system-libs --ldflags 2> /dev/null)` \
>   -lz -lpcre -lgc -lpthread -levent_core -levent_extra -lssl \
> - -lcrypto -liconv
> - # Use the compiler to re-compile the compiler
> - touch ${WRKSRC}/src/compiler/crystal.cr
> - cd ${WRKSRC}; \
> - ulimit -s 5120 -d 4096000 && \
> - CRYSTAL_CONFIG_PATH="lib:${TRUEPREFIX}/lib/crystal" \
> - CXX=${CXX} LLVM_CONFIG=${LLVM_CONFIG} \
> - ${MAKE_PROGRAM} ${ALL_TARGET}
> - cd ${WRKSRC}/../shards-${V_SHARDS} && \
> - ${MAKE_PROGRAM} CRYSTAL=${WRKSRC}/.build/crystal \
> - CRYSTAL_PATH=${WRKSRC}/src CRFLAGS=--release
> + -lcrypto -liconv -lc++abi
> + cd ${WRKSRC}/shards-${V_SHARDS} && \
> + env CRYSTAL_PATH=lib:${WRKSRC}/src \
> + CRYSTAL=${WRKSRC}/.build/crystal \
> + ${MAKE_PROGRAM}
>  
>  do-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/lib/crystal
>   ${INSTALL_PROGRAM} ${WRKSRC}/.build/crystal ${PREFIX}/bin
>   cd ${WRKSRC}/src && pax -rw . ${PREFIX}/lib/crystal/
> - ${INSTALL_PROGRAM} ${WRKSRC}/../shards-${V_SHARDS}/bin/shards \
> + ${INSTALL_PROGRAM} ${WRKSRC}/shards-${V_SHARDS}/bin/shards \
>   ${PREFIX}/bin
>  
>  .include 
> diff --git lang/crystal/distinfo lang/crystal/distinfo
> index 5cf9a544801..3d3e9e90d8c 100644
> --- lang/crystal/distinfo
> +++ lang/crystal/distinfo
> @@ -1,6 +1,8 @@
> -SHA256 (crystal-0.30.1-OpenBSD6.5.tar.gz) = 
> xbFY8RkhoDFnsK++X5C3YFsSNS7arkwwu1yBsrCR6vY=
> -SHA256 (crystal-0.30.1.tar.gz) = D/wA+lSSnCUzvAvLieCwAd06vEcMzIfjV2BHpc2vwGI=
> -SHA256 (shards-0.30.1.tar.gz) = kPIwyHzHuUyoReb+NPJSPtyttWLXFdqvmGA+36KpTWU=
> -SIZE (crystal-0.30.1-OpenBSD6.5.tar.gz) = 7035204
> -SIZE (crystal-0.30.1.tar.gz) = 2153037
> -SIZE (shards-0.30.1.tar.gz) = 41280

Re: Remove devel/mk

2021-03-03 Thread Gleydson Soares
> > markus? gsoares?
> > 
> > Without objection, I'll remove those unversioned ports in favour of
> > plan9port soon.
> 
> markus mailed gsoares and myself but not the list
> 'they are replaced by plan9port and can be removed'.

no objection to this, please go ahead
OK gsoares@



Re: move games/ski to python3

2021-02-28 Thread Gleydson Soares
> your tree is out of date; this is a standalone port so FLAVOR isn't used here.

you are right, my tree is missing this commit:
https://marc.info/?l=openbsd-ports-cvs=161411788212618=2

OK gsoares@



Re: move games/ski to python3

2021-02-28 Thread Gleydson Soares
> According to NEWS, games/ski was ported to python3 as of version 6.10.
>
> Diff below updates to latest version and moves the port over to python3.
>
> ok?

`make install' still tries to pick up python 2

===> ski-6.13 depends on: python->=2.7,<2.8 - not found

Since you removed the MODPY_DEFAULT_VERSION_2 you should use FLAVOR
instead, it's is missing setting FLAVOR to python 3 by adding
the a following lines:

FLAVORS =   python3
FLAVOR =python3

Otherwise, OK gsoares@

- gsoares



Re: remove emulators/pcsxr

2021-02-27 Thread Gleydson Soares
> pcsxr has always been buggy on OpenBSD, and the upstream is dead and
> gone.

It seems a strong reason for removal. OK gsoares@



Re: update plan9/plan9port

2021-01-30 Thread Gleydson Soares
On Sat, Jan 30, 2021 at 03:29:16PM +1100, Jonathan Gray wrote:
> update plan9port to a newer snapshot
> 
> fixes clang 11 build by using -fcommon:
> https://github.com/9fans/plan9port/commit/69439fae6705a125047246c889384ed3aeb4d104

ok gsoares



UPDATE: mail/imapfilter to 2.7.5

2021-01-23 Thread Gleydson Soares
Find attached a diff that updates imapfilter to latest release 2.7.5.
Builds now with pcre2 and needs a patch for linking against libressl.

Nathanael, could you check it works for you?

feedback and OKs are welcome,

Thanks,
- gsoares
Index: Makefile
===
RCS file: /cvs/ports/mail/imapfilter/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile12 Jul 2019 20:47:28 -  1.24
+++ Makefile23 Jan 2021 11:17:52 -
@@ -2,7 +2,7 @@
 
 COMMENT=   remote IMAP filtering utility
 
-V= 2.6.11
+V= 2.7.5
 DISTNAME=  imapfilter-${V}
 
 GH_TAGNAME=v${V}
@@ -16,12 +16,12 @@ MAINTAINER= Gleydson Soares = 0x1010L
++#if OPENSSL_VERSION_NUMBER >= 0x1010L && !defined(LIBRESSL_VERSION_NUMBER)
+   SSL_set_hostflags(ssn->sslconn,
+   X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
+   if (!SSL_set1_host(ssn->sslconn, ssn->server)) {


Re: UPDATE: Nono-0.1.4

2020-11-20 Thread Gleydson Soares
On Fri, Nov 20, 2020 at 05:01:14PM +0100, Gonzalo L. Rodriguez wrote:
> Hello,
> 
> And yet another version of Nono with some fixes:
> 
> http://www.pastel-flower.jp/~isaki/nono/
> 
> OK? Comments?
> 
> Cheers.-

I think it should go in, it's a bugfix release.
OK gsoares@



CVS: cvs.openbsd.org: ports

2020-11-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/11/16 17:04:59

Modified files:
plan9/plan9port/pkg: PLIST 

Log message:
add proper log message, missing in previous commit

"update to latest github commit"



CVS: cvs.openbsd.org: ports

2020-11-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/11/16 16:56:37

Modified files:
plan9/plan9port: Makefile distinfo 

Log message:
add proper log message, missing in previous commit

"update to latest github commit"



Re: CVS: cvs.openbsd.org: ports

2020-11-16 Thread Gleydson Soares
On Mon, Nov 16, 2020 at 03:21:10PM -0700, Gleydson Soares wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   gsoa...@cvs.openbsd.org 2020/11/16 15:21:10
> 
> Modified files:
>   plan9/plan9port: Makefile distinfo 
>   plan9/plan9port/pkg: PLIST 
> 
> Log message:

update to latest github commit



CVS: cvs.openbsd.org: ports

2020-11-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/11/16 15:21:10

Modified files:
plan9/plan9port: Makefile distinfo 
plan9/plan9port/pkg: PLIST 

Log message:




CVS: cvs.openbsd.org: ports

2020-11-16 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/11/16 15:17:48

Modified files:
devel/cppcheck : Makefile distinfo 
devel/cppcheck/pkg: PLIST 

Log message:
update to cppcheck-2.2



Re: UPDATE net/profanity 0.9.3 and take MAINTAINER

2020-06-25 Thread Gleydson Soares
On Thu, Jun 25, 2020 at 03:01:47AM +, Lucas wrote:
> Hello ports,
> 
> This is a simple update to 0.9.3, with some bug fixes since 0.9.0.
> 
>   * Make legacy auth optional (0.9.1)
>   * Dont manipulate pointer from getenv (0.9.2)
>   * Fix reading/writing linked files (0.9.2)
>   * Use gnu99 C standard (0.9.2)
>   * Fix expansion in eval_password (0.9.3)
> 
> While there, take maintainership. Rafael asked privately to do it in
> the past and was my intention after 0.9.0 release, but he beated me to
> send the patch. ^^

looks fine, it's missing `make update-patches' though.

diff -u -p -r1.5 patch-configure_ac
--- patches/patch-configure_ac  18 Jun 2020 20:44:16 -  1.5
+++ patches/patch-configure_ac  25 Jun 2020 14:19:12 -



CVS: cvs.openbsd.org: ports

2020-06-23 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/06/23 06:43:57

Modified files:
net/prosody: Makefile 

Log message:
test suite fails, it depends on busted not yet in,
discussed with/OK Lucas maintainer



Re: UPDATE: security/luasec-0.9

2020-06-23 Thread Gleydson Soares
> Deployed this on my server and I don't see any issue so far. In fact,
> prosody is communicating over TLS without problems, so I'd it's OK
> from prosody side.

thanks for testing, i have just committed the luasec update.

> Regarding setting NO_TEST, bsd.port.mk(5) says it should be set to Yes
> "only for ports with no regression test", so I'm not sure if using Yes
> here would be an abuse.

yes, right. 
maybe we should add a comment showing that failure is kwown.
? prosofy.diff
Index: Makefile
===
RCS file: /cvs/ports/net/prosody/Makefile,v
retrieving revision 1.57
diff -u -p -r1.57 Makefile
--- Makefile2 Jun 2020 07:22:46 -   1.57
+++ Makefile23 Jun 2020 11:16:39 -
@@ -20,7 +20,10 @@ MODLUA_RUN_DEPENDS+= databases/luadbi \
devel/luafs \
security/luasec \
textproc/luaexpat>=1.3.0
+
+# fails, depends on busted not yet in
 TEST_DEPENDS = ${MODLUA_RUN_DEPENDS}
+
 WANTLIB+=  crypto idn
 
 CONFIGURE_STYLE=simple


CVS: cvs.openbsd.org: ports

2020-06-23 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/06/23 05:08:26

Modified files:
security/luasec: Makefile distinfo 
security/luasec/patches: patch-src_Makefile 
security/luasec/pkg: PLIST 

Log message:
update to luasec-0.9

thanks Lucas for testing



CVS: cvs.openbsd.org: ports

2020-06-21 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/06/21 16:08:55

Modified files:
devel/cppcheck : Makefile distinfo 

Log message:
update to cppcheck-2.1



UPDATE: security/luasec-0.9

2020-06-21 Thread Gleydson Soares
the following diff updates luasec to 0.9.

the only consumer of luasec on ports is net/prosody
looks like regress is broken though, see:

===>  Regression tests for prosody-0.11.5
busted --lua=lua51
/bin/sh: busted: not found

seems lua-busted is not in ports yet, so maybe we should
set NO_TEST until busted is in.
? luasec-0.9.diff
Index: Makefile
===
RCS file: /cvs/ports/security/luasec/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile12 Jul 2019 20:49:05 -  1.22
+++ Makefile21 Jun 2020 20:45:41 -
@@ -4,8 +4,7 @@ COMMENT=lua binding to OpenSSL to provi
 
 GH_ACCOUNT=brunoos
 GH_PROJECT=luasec
-GH_TAGNAME=luasec-0.7
-DISTNAME=  ${GH_TAGNAME}
+GH_TAGNAME=v0.9
 
 CATEGORIES=security
 
Index: distinfo
===
RCS file: /cvs/ports/security/luasec/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo8 Sep 2018 17:21:14 -   1.7
+++ distinfo21 Jun 2020 20:45:41 -
@@ -1,2 +1,2 @@
-SHA256 (luasec-0.7.tar.gz) = IXbpWx0qcqMjXt5dKqmDgFD+7lXa3o/b3kvn/cZvOjE=
-SIZE (luasec-0.7.tar.gz) = 47965
+SHA256 (luasec-0.9.tar.gz) = a2uU6FF79rr1RfrSmiES+ax5V62FtKro4HJ77HfXoyU=
+SIZE (luasec-0.9.tar.gz) = 52163
Index: patches/patch-src_Makefile
===
RCS file: /cvs/ports/security/luasec/patches/patch-src_Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 patch-src_Makefile
--- patches/patch-src_Makefile  8 Sep 2018 17:21:14 -   1.6
+++ patches/patch-src_Makefile  21 Jun 2020 20:45:41 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_Makefile,v 1.6 2018/
 Index: src/Makefile
 --- src/Makefile.orig
 +++ src/Makefile
-@@ -12,8 +12,8 @@ LIBS=-lssl -lcrypto -lluasocket
+@@ -13,8 +13,8 @@ LIBS=-lssl -lcrypto -lluasocket
  
  WARN=-Wall -pedantic
  
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/luasec/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   8 Sep 2018 17:21:14 -   1.8
+++ pkg/PLIST   21 Jun 2020 20:45:41 -
@@ -1,9 +1,13 @@
 @comment $OpenBSD: PLIST,v 1.8 2018/09/08 17:21:14 gsoares Exp $
-lib/lua/${MODLUA_VERSION}/ssl.so
+@so lib/lua/${MODLUA_VERSION}/ssl.so
 share/examples/${FULLPKGNAME}/
 share/examples/${FULLPKGNAME}/README
+share/examples/${FULLPKGNAME}/alpn/
+share/examples/${FULLPKGNAME}/alpn/client.lua
+share/examples/${FULLPKGNAME}/alpn/server.lua
 share/examples/${FULLPKGNAME}/certs/
 share/examples/${FULLPKGNAME}/certs/all.bat
+share/examples/${FULLPKGNAME}/certs/all.sh
 share/examples/${FULLPKGNAME}/certs/clientA.bat
 share/examples/${FULLPKGNAME}/certs/clientA.cnf
 share/examples/${FULLPKGNAME}/certs/clientA.sh
@@ -29,6 +33,8 @@ share/examples/${FULLPKGNAME}/chain/util
 share/examples/${FULLPKGNAME}/curve-negotiation/
 share/examples/${FULLPKGNAME}/curve-negotiation/client.lua
 share/examples/${FULLPKGNAME}/curve-negotiation/server.lua
+share/examples/${FULLPKGNAME}/dane/
+share/examples/${FULLPKGNAME}/dane/client.lua
 share/examples/${FULLPKGNAME}/dhparam/
 share/examples/${FULLPKGNAME}/dhparam/client.lua
 share/examples/${FULLPKGNAME}/dhparam/params.sh
@@ -54,6 +60,11 @@ share/examples/${FULLPKGNAME}/loop/serve
 share/examples/${FULLPKGNAME}/luaossl/
 share/examples/${FULLPKGNAME}/luaossl/client.lua
 share/examples/${FULLPKGNAME}/luaossl/server.lua
+share/examples/${FULLPKGNAME}/multicert/
+share/examples/${FULLPKGNAME}/multicert/client-ecdsa.lua
+share/examples/${FULLPKGNAME}/multicert/client-rsa.lua
+share/examples/${FULLPKGNAME}/multicert/gencerts.sh
+share/examples/${FULLPKGNAME}/multicert/server.lua
 share/examples/${FULLPKGNAME}/oneshot/
 share/examples/${FULLPKGNAME}/oneshot/client.lua
 share/examples/${FULLPKGNAME}/oneshot/server.lua


CVS: cvs.openbsd.org: ports

2020-06-21 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/06/21 14:37:21

Modified files:
plan9/plan9port: Makefile distinfo 
plan9/plan9port/patches: patch-INSTALL patch-bin_9c patch-bin_9l 
 patch-src_mkhdr 
plan9/plan9port/pkg: PLIST 
Removed files:
plan9/plan9port/patches: patch-src_libthread_Darwin-x86_64-asm_s 
 patch-src_libthread_FreeBSD-386-asm_s 
 patch-src_libthread_thread_c 
 patch-src_libthread_threadimpl_h 

Log message:
bring it to github commit 329831171dd6ef81c113f101093c7b4947381003

this update removes some heavy optional RUN_DEPENDS to slim
down it, since it does not affect the plan9port usability itself
if someone wants to read a .ps file for example or whatever,
just install the package like `pkg_add ghostscript' then hook up a
plumber(1) pattern accordingly. it removes also the following
extra files what are not part of plan9port:

pgw.tar.bz2, roget.tar.bz2, scat.tgz

while here:
- get rid of MAP_STACK patch has been merged upstream;
- remove no longer required patches
- tidy up Makefile

thanks abieber@ for giving some tests on previous diff I sent
on ports@



Re: UPDATE: net/castget 2.0.1

2020-06-21 Thread Gleydson Soares
Hi Caspar,

> Thanks for your feedback. I updated the HOMEPAGE, thanks. I would be
> fine with taking over maintainership. The updated diff below reflects
> that.

committed, thanks.



CVS: cvs.openbsd.org: ports

2020-06-21 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2020/06/21 09:57:16

Modified files:
net/castget: Makefile distinfo 
net/castget/patches: patch-configure 
net/castget/pkg: PLIST 

Log message:
update to castget-2.0.1

from Caspar Schutijser, who also is taking
over maintainership



Re: UPDATE: net/castget 2.0.1

2020-06-12 Thread Gleydson Soares
Hi Caspar,

At first glance it looks fine, just a slight tweak in your diff, HOMEPAGE= 
should be updated to https://castget.johndal.com/

I’m no longer using this port, Would you like to take over maintainership? 

Thanks for the patch.
gsoares 

> On 12 Jun 2020, at 16:19, Caspar Schutijser  wrote:
> 
> Hi,
> 
> Below is a diff that updates net/castget to 2.0.1. Briefly tested on
> amd64, seems to work fine here. This version accepts RSS URLs that start
> with "https://; (the old version thinks it should look for a file unless
> the URL starts with "http://;). The shared library is gone (proof at
> [1]).
> 
> Thanks,
> Caspar Schutijser
> 
> [1] 
> https://github.com/mlj/castget/commit/6241ea22ab4c8bad216eec1cf4d5605eb74839ad
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/castget/Makefile,v
> retrieving revision 1.25
> diff -u -p -r1.25 Makefile
> --- Makefile12 Jul 2019 20:48:23 -1.25
> +++ Makefile12 Jun 2020 19:06:44 -
> @@ -2,14 +2,14 @@
> 
> COMMENT=command-line podcast downloader
> 
> -DISTNAME=castget-1.0.1
> -REVISION=11
> -SHARED_LIBS +=castget  0.0  # .0.0
> +DISTNAME=castget-2.0.1
> CATEGORIES=net
> 
> HOMEPAGE=http://www.nongnu.org/castget
> 
> MASTER_SITES=      ${MASTER_SITE_SAVANNAH:=castget/}
> +
> +EXTRACT_SUFX=.tar.bz2
> 
> MAINTAINER=Gleydson Soares 
> 
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/castget/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- distinfo18 Jan 2015 03:14:37 -1.3
> +++ distinfo12 Jun 2020 19:06:44 -
> @@ -1,2 +1,2 @@
> -SHA256 (castget-1.0.1.tar.gz) = RKIB079vlaWA0qPERvNZXztdGpJ3AgbTEcroqwXmgOo=
> -SIZE (castget-1.0.1.tar.gz) = 355696
> +SHA256 (castget-2.0.1.tar.bz2) = Q4tffsfjGkXtN1ZjD+RH9CAVrNpT7AkgL0hihya16HU=
> +SIZE (castget-2.0.1.tar.bz2) = 320226
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/net/castget/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST16 Mar 2015 18:07:51 -1.3
> +++ pkg/PLIST12 Jun 2020 19:06:44 -
> @@ -1,9 +1,5 @@
> @comment $OpenBSD: PLIST,v 1.3 2015/03/16 18:07:51 naddy Exp $
> @bin bin/castget
> -include/libcastget.h
> -lib/libcastget.a
> -lib/libcastget.la
> -@lib lib/libcastget.so.${LIBcastget_VERSION}
> @man man/man1/castget.1
> @man man/man5/castgetrc.5
> share/examples/castget/


Re: UPDATE: plan9port-20200519

2020-06-12 Thread Gleydson Soares
On Sun, May 24, 2020 at 12:27:25PM -0300, Gleydson Soares wrote:
> Hi,
> 
> here is an update [1] for plan9port, bringing it to latest github commit.
> 
> i have removed some heavy optional run_dependencies to slim down it, since 
> it does not affect the plan9port usability itself. if one wants to read .ps 
> file or whatever you should just install pkg_add ghostscript/etc and use your
> plumber pattern to reach them ;-)
> 
> I have removed the following extra files what are not part of plan9port,
> it looks like out-of-date i doubt someone will note it is out:
> 
> - cd ${WRKSRC}/dict && tar xjf ${FULLDISTDIR}/pgw.tar.bz2
> - cd ${WRKSRC}/dict && tar xjf ${FULLDISTDIR}/roget.tar.bz2
> - cd ${WRKSRC}/sky && tar xzf ${FULLDISTDIR}/scat.tgz
> 
> while here get rid of MAP_STACK patch has been merged upstream [2]
> 
> i tidy up the port, it requires some additional cleanup i will do afterwards
> though,
> 
> works fine here, if you are a plan9port user please raise your hands
> 
> [1] https://trusted.com.br/gsoares/plan9port-20200519.diff
> [2] 
> https://github.com/9fans/plan9port/commit/8c573cab6819c69142389d36b978b3c683771afe

Neither feedback nor objetions. I'll commit it tomorrow unless 
someone objects until there.



UPDATE: plan9port-20200519

2020-05-24 Thread Gleydson Soares
Hi,

here is an update [1] for plan9port, bringing it to latest github commit.

i have removed some heavy optional run_dependencies to slim down it, since 
it does not affect the plan9port usability itself. if one wants to read .ps 
file or whatever you should just install pkg_add ghostscript/etc and use your
plumber pattern to reach them ;-)

I have removed the following extra files what are not part of plan9port,
it looks like out-of-date i doubt someone will note it is out:

- cd ${WRKSRC}/dict && tar xjf ${FULLDISTDIR}/pgw.tar.bz2
- cd ${WRKSRC}/dict && tar xjf ${FULLDISTDIR}/roget.tar.bz2
- cd ${WRKSRC}/sky && tar xzf ${FULLDISTDIR}/scat.tgz

while here get rid of MAP_STACK patch has been merged upstream [2]

i tidy up the port, it requires some additional cleanup i will do afterwards
though,

works fine here, if you are a plan9port user please raise your hands

[1] https://trusted.com.br/gsoares/plan9port-20200519.diff
[2] 
https://github.com/9fans/plan9port/commit/8c573cab6819c69142389d36b978b3c683771afe
? plan9port-20200519.diff
Index: Makefile
===
RCS file: /cvs/ports/plan9/plan9port/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile20 Mar 2020 16:44:27 -  1.32
+++ Makefile24 May 2020 15:02:53 -
@@ -5,12 +5,11 @@ BROKEN-powerpc =  threading issues
 
 COMMENT =  Plan 9 from user space
 
-DISTNAME = plan9port-20190619
-REVISION = 0
+DISTNAME = plan9port-20200519
 
 GH_ACCOUNT =   9fans
 GH_PROJECT =   plan9port
-GH_COMMIT =e995a0c101863688d5f14649ae3de45a7c43789c
+GH_COMMIT =bfe4377e409ce271c479665e6ef966a7b6008626
 
 CATEGORIES =   plan9
 
@@ -24,16 +23,6 @@ PERMIT_PACKAGE = Yes
 
 WANTLIB =  X11 Xext c m pthread util fontconfig freetype z
 
-DISTFILES =${GH_COMMIT}.tar.gz pgw.tar.bz2:1 \
-   roget.tar.bz2:0 scat.tgz:1
-DIST_SUBDIR =  plan9port
-MASTER_SITES0 =http://pdos.lcs.mit.edu/~rsc/software/plan9/
-MASTER_SITES1 =http://pdos.lcs.mit.edu/~rsc/
-
-BUILD_DEPENDS =archivers/bzip2
-RUN_DEPENDS =  print/ghostscript/gnu \
-   print/gv
-
 WRKDIST =  ${WRKDIR}/plan9port-${GH_COMMIT}
 
 PLAN9 =${PREFIX}/plan9
@@ -43,19 +32,15 @@ NO_TEST =   Yes
 SUBST_VARS +=  CC
 UPDATE_PLIST_ARGS += -i CC
 
-post-extract:
-   cd ${WRKSRC}/dict && tar xjf ${FULLDISTDIR}/pgw.tar.bz2
-   cd ${WRKSRC}/dict && tar xjf ${FULLDISTDIR}/roget.tar.bz2
-   cd ${WRKSRC}/sky && tar xzf ${FULLDISTDIR}/scat.tgz
-
 post-patch:
-   cd ${WRKSRC}/src/libthread && cp Darwin-x86_64-swapcontext.c \
-   OpenBSD-x86_64.c && cp Darwin-x86_64-asm.s \
+   cd ${WRKSRC}/src/libthread && cp Darwin-x86_64-asm.s \
OpenBSD-x86_64-asm.S && mv OpenBSD-386-asm.s \
OpenBSD-386-asm.S
 
 pre-configure:
${SUBST_CMD} ${WRKSRC}/INSTALL ${WRKSRC}/bin/{9c,9l}
+   cd ${WRKSRC} && sed -i 's,#!/bin/bash,#!/bin/sh,' \
+   bin/{macedit,wintext}
 
 do-build:
cd ${WRKSRC} && env CC9="${CC}" CCFLAGS="${CFLAGS}" ./INSTALL -b
@@ -66,6 +51,7 @@ do-install:
 .endfor
cd ${WRKSRC} && sed -i 's#/usr/local#${TRUEPREFIX}#' \
`cat lib/moveplan9.files`
+
${INSTALL_DATA_DIR} ${PLAN9}
cd ${WRKSRC} && pax -rw . ${PLAN9}
cd ${PREFIX} && ln -s ../plan9/bin/9 bin/9
Index: distinfo
===
RCS file: /cvs/ports/plan9/plan9port/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo11 Sep 2019 00:40:54 -  1.12
+++ distinfo24 May 2020 15:02:53 -
@@ -1,8 +1,2 @@
-SHA256 (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 
Y54LsBco/9fMF1Husb/HMUYV2I1vp/TN4hAzrZdiJiQ=
-SHA256 (plan9port/pgw.tar.bz2) = WMdWEelUjG7muSL6OsgnCmPsJMn88b1OPtEYQn8TVtw=
-SHA256 (plan9port/roget.tar.bz2) = sk8FE1Tavljx2CXinbOGCRyErsmBJdvkma3spRoyqDY=
-SHA256 (plan9port/scat.tgz) = qZX1JUSnEvK9uH9TFjjUyEYiT6khLQNOO9joCcuZvh4=
-SIZE (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 23439831
-SIZE (plan9port/pgw.tar.bz2) = 9404968
-SIZE (plan9port/roget.tar.bz2) = 482956
-SIZE (plan9port/scat.tgz) = 5145346
+SHA256 (plan9port-20200519-bfe4377e.tar.gz) = 
TvWs9bPicRSZYfAU3TwBs1a/iCe743v8BQEpotRyGjk=
+SIZE (plan9port-20200519-bfe4377e.tar.gz) = 23447210
Index: patches/patch-INSTALL
===
RCS file: /cvs/ports/plan9/plan9port/patches/patch-INSTALL,v
retrieving revision 1.7
diff -u -p -r1.7 patch-INSTALL
--- patches/patch-INSTALL   11 Sep 2019 00:40:54 -  1.7
+++ patches/patch-INSTALL   24 May 2020 15:02:53 -
@@ -3,33 +3,33 @@ $OpenBSD: patch-INSTALL,v 1.7 2019/09/11
 Index: INSTALL
 --- 

Re: slock 1.4 / bsd-auth

2020-05-24 Thread Gleydson Soares
On Sun, May 24, 2020 at 02:15:58AM +0200, Theo Buehler wrote:
> > Actually, i3 has a feature for dealing with it though, --release:
> > try better: bindsym --release $mod+Mod1+l exec "slock"
> 
> That works, thanks. I'm fine with this going in if the port's copy of
> explicit_bzero is disabled with "COMPATSRC=".

sthen@
You have my OK either way, with or w/o COMPATSRC stuff tweak
requested by tb@



Re: slock 1.4 / bsd-auth

2020-05-23 Thread Gleydson Soares
On Thu, May 21, 2020 at 01:49:36PM +0200, Theo Buehler wrote:
> On Thu, May 21, 2020 at 11:58:37AM +0100, Stuart Henderson wrote:
> > I've written a patch to add bsd-auth support back to slock 1.4 which
> > I've been using for a while. Tidied the make variable handling a bit
> > as well, no need to patch to use ?=, they can just be overridden with
> > MAKE_FLAGS. OK?
> 
> I would prefer if this used the libc version of explicit_bzero instead
> of the local copy. For this, set COMPATSRC to empty in compat.mk (why do
> you add a COPTSFLAG=-Os via a patch?).
> 
> While the updated slock seems to work fine from the command line, it
> doesn't lock at all if I use it from a i3 binding.  I have been using
> 
>   bindsym $mod+Mod1+l exec "slock"

It happens with some X11 apps that request the mouse pointer right away, 
but it is grabbed so it fails, 

You can fix it changing your bindkey to something like:
"bindsym --release $mod+Mod1+l exec "sleep 0.5 ; slock"

Actually, i3 has a feature for dealing with it though, --release:
try better: bindsym --release $mod+Mod1+l exec "slock"



Re: slock 1.4 / bsd-auth

2020-05-23 Thread Gleydson Soares
On Thu, May 21, 2020 at 11:58:37AM +0100, Stuart Henderson wrote:
> I've written a patch to add bsd-auth support back to slock 1.4 which
> I've been using for a while. Tidied the make variable handling a bit
> as well, no need to patch to use ?=, they can just be overridden with
> MAKE_FLAGS. OK?

OK gsoares@



Re: deluge: Remove obsolete x11/py-gtk2 dependency

2020-04-24 Thread Gleydson Soares
On Sat, Apr 25, 2020 at 03:28:53AM +0200, Klemens Nanni wrote:
> 
> rsadowski's last update of deluge moved it to Python 3.  GTK+2 is no
> longer in use, deluge-gtk uses GTK+3.
> 
> Builds and runs fine without x11/py-gtk2 installed, which is Python 2
> only and therefore kept pulling it in.
> 
> OK?

ok gsoares@



Re: Remove devel/py-iniparse ?

2020-04-23 Thread Gleydson Soares
On Thu, Apr 23, 2020 at 11:14:44PM -0400, Kurt Mosiejczuk wrote:
> This was originally imported because tortoisehg needed it. Well,
> tortoisehg is gone. Let it go as well? It hasn't been updated in
> 8 years and has no consumers.

kill it with fire!



Re: UPDATE: Nextcloud-18.0.3

2020-03-29 Thread Gleydson Soares



On Sun, Mar 29, 2020, at 5:50 AM, Gonzalo L. Rodriguez wrote:
> Hello,
> 
> Update for Nextcloud to 18.0.3:
> 
> https://nextcloud.com/changelog
> 
> OK? 

This is a bugfix release that includes a security update, please go ahead.
OK gsoares@

> 
> Cheers.-
> 
> -- 
> 
>   - gonzalo
> 
> Attachments:
> * nextcloud-18.0.3.diff



CVS: cvs.openbsd.org: ports

2019-12-28 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/12/28 07:45:14

Modified files:
devel/cppcheck : Makefile distinfo 
devel/cppcheck/pkg: PLIST 

Log message:
update to cppcheck-1.90



Re: [Update] net/wireguard-tools : Update to 1.0.20191226

2019-12-27 Thread Gleydson Soares
On Fri, Dec 27, 2019 at 06:46:47PM +0100, Klemens Nanni wrote:
> On Fri, Dec 27, 2019 at 05:38:20PM +0100, Jason A. Donenfeld wrote:
> > -V =0.0.20191212
> > -DISTNAME = WireGuard-$V
> > +V =1.0.20191226
> > +DISTNAME = wireguard-tools-$V
> >  PKGNAME =  wireguard-tools-$V
> Now they're the same, so PKGNAME can go as it defaults to DISTNAME.

good catch, with that tweak it is ok gsoares@ 



Re: [update] OfflineIMAP version 7.3.2

2019-12-26 Thread Gleydson Soares
On Thu, Dec 26, 2019 at 11:14:19AM +0100, Remi Locherer wrote:
> Hi,
> 
> this updates our OfflineIMAP package to version 7.3.2.
> This release doesn't contain many changes.
> 
> Changelog can be found here:
> https://github.com/OfflineIMAP/offlineimap/blob/v7.3.2/Changelog.md
> (see changes for 7.3.1 and 7.3.2)
> 
> OK?

change homepage/master_sites to https, otherwise OK gsoares@


> 
> Remi
> 
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/mail/offlineimap/Makefile,v
> retrieving revision 1.56
> diff -u -p -r1.56 Makefile
> --- Makefile  5 Sep 2019 20:22:41 -   1.56
> +++ Makefile  26 Dec 2019 09:58:53 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= powerful IMAP/Maildir synchronization and reader support
>  
> -MODPY_EGG_VERSION = 7.3.0
> +MODPY_EGG_VERSION = 7.3.2
>  DISTNAME =   offlineimap-v${MODPY_EGG_VERSION}
>  PKGNAME =offlineimap-${MODPY_EGG_VERSION}
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/mail/offlineimap/distinfo,v
> retrieving revision 1.42
> diff -u -p -r1.42 distinfo
> --- distinfo  5 Sep 2019 20:22:41 -   1.42
> +++ distinfo  26 Dec 2019 09:59:02 -
> @@ -1,2 +1,2 @@
> -SHA256 (offlineimap-v7.3.0.tar.gz) = 
> MKX+O9UkiW6u/pzTojQa2gUuzEnjN9dQ9Rla+YUjO28=
> -SIZE (offlineimap-v7.3.0.tar.gz) = 739413
> +SHA256 (offlineimap-v7.3.2.tar.gz) = 
> ZyCh2l04+24PKzwnvOdPzgv3FLXHDS8PC6xlT0uilCM=
> +SIZE (offlineimap-v7.3.2.tar.gz) = 740338
> 



Re: TEST_POD [was Re: [Update] net/p5-Net-BGP : Update to 0.17]

2019-09-18 Thread Gleydson Soares



> On 18 Sep 2019, at 12:26, Stuart Henderson  wrote:
> 
>> On 2019/09/18 05:48, Gleydson Soares wrote:
>> 
>> 
>>>> On 18 Sep 2019, at 04:40, Stuart Henderson  wrote:
>>>> 
>>>> On 2019/09/18 02:15, wen heping wrote:
>>>> Hi, ports@:
>>>> 
>>>>  Here is a patch for net/p5-Net-BGP:
>>>>  i) Update to 0.17
>>>>  ii) Add TEST_POD=yes
>>> 
>>> I've been wondering for a while... what's the point in using TEST_POD
>>> in ports? Isn't that more of an "author test" kind of thing?
>>> 
>> 
>> Some p5- ports fails on regress since it depends on p5- pod packages you 
>> mean disabling pod tests?
> 
> I mean, what's the point in enabling POD tests for things that don't
> normally do them?
> 

sure, adding no-op dependencies is wrong...



Re: TEST_POD [was Re: [Update] net/p5-Net-BGP : Update to 0.17]

2019-09-18 Thread Gleydson Soares



> On 18 Sep 2019, at 04:40, Stuart Henderson  wrote:
> 
>> On 2019/09/18 02:15, wen heping wrote:
>> Hi, ports@:
>> 
>>   Here is a patch for net/p5-Net-BGP:
>>   i) Update to 0.17
>>   ii) Add TEST_POD=yes
> 
> I've been wondering for a while... what's the point in using TEST_POD
> in ports? Isn't that more of an "author test" kind of thing?
> 

Some p5- ports fails on regress since it depends on p5- pod packages you mean 
disabling pod tests?



Re: NEW: net/doh

2019-09-14 Thread Gleydson Soares



> On 14 Sep 2019, at 20:28, Stuart Henderson  wrote:
> 
>> On 2019/09/13 12:57, Gleydson Soares wrote:
>> i have fixed the segfault by adding a patch and also i put the pkg-readme.
>> pull request done, upstream aware.
>> 
>> this one is OK gsoares@
> 
> I don't like hand-copying README.md to pkg/README at all.
> 
> README.md could be installed to PREFIX/share/doc/doh but it doesn't seem
> very useful as it's right there on HOMEPAGE anyway, plus it's such a
> simple utility ...
> 

Either as it turns out or removing readme from pkg/ OK gsoares@

Looks like upstream merged a fix addressing the segfault, the PR was closed 
such that GH_COMMIT should be updated + get rid of patch-doh-c.

BR,
Gleydson.





Re: NEW: net/doh

2019-09-13 Thread Gleydson Soares
i have fixed the segfault by adding a patch and also i put the pkg-readme.
pull request done, upstream aware.

this one is OK gsoares@


doh-revised.tgz
Description: application/tar-gz


Re: NEW: net/doh

2019-09-13 Thread Gleydson Soares
On Fri, Sep 13, 2019 at 02:48:22PM +0100, Stuart Henderson wrote:
> ---
> doh is a simple tool that uses libcurl to resolve a host name
> using a POST request to a DNS-over-HTTPS (DoH) server.
> ---
> 
> ok to import? (the syntax is friendlier than sdig for simple tests)
> 

buids and works fine here:

openbsd-dev$ doh trusted.com.br
trusted.com.br from https://dns.cloudflare.com/dns-query
TTL: 3064 seconds
A: 45.76.92.19

Noticed a bug though, seems argc is not well-handled:

openbsd-dev$ doh -t
Segmentation fault (core dumped)

Also, Would be useful installing the README as pkg-readme.


If DOH URL is left out, the Cloudflare DOH server will be used. See also
[list
of public
servers](https://github.com/curl/curl/wiki/DNS-over-HTTPS#publicly-available-servers)


:-)



Re: [Update] net/p5-Net-Frame : Update to 1.21

2019-09-10 Thread Gleydson Soares
On Mon, Aug 26, 2019 at 06:36:00AM +, wen heping wrote:
> Hi,
> 
>Here is a patch for net/p5-Net-Frame:
>i) Update to 1.21
>ii) Remove BUILD_DEPENDS which is not needed.
>iii) Add TEST_POD=yes to MAKE_ENV
> 
>It build well and passed all tests on amd64-head system.
> 
>Three ports depends on net/p5-Net-Frame:
>   net/p5-Net-Frame-Dump

it was missing regen the plist
+share/examples/p5-Net-Frame/resolv-ipv6.pl

committed !

>   net/p5-Net-Frame-Layer-ICMPv6

committed!

>   net/p5-Net-Frame-Layer-IPv6

fixed TEST_POD by passing it to MAKE_ENV= 
committed!



CVS: cvs.openbsd.org: ports

2019-09-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/09/10 20:18:52

Modified files:
net/p5-Net-Frame: Makefile distinfo 
net/p5-Net-Frame/pkg: PLIST 

Log message:
update to 1.21

from wen heping
with some tweaks



CVS: cvs.openbsd.org: ports

2019-09-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/09/10 20:14:08

Modified files:
net/p5-Net-Frame-Layer-IPv6: Makefile 

Log message:
fix TEST_POD



CVS: cvs.openbsd.org: ports

2019-09-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/09/10 20:03:33

Modified files:
net/p5-Net-Frame-Dump: Makefile distinfo 

Log message:
update to 1.17
OK afresh1@

from wen heping



CVS: cvs.openbsd.org: ports

2019-09-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/09/10 19:58:08

Modified files:
net/p5-Net-Frame-Layer-ICMPv6: Makefile distinfo 

Log message:
update to 1.11
OK afresh1@

from wen heping



Re: ????: [Update] net/p5-Net-Frame-Layer-IPv6 : Update to 1.08

2019-09-10 Thread Gleydson Soares
commited, thanks.



CVS: cvs.openbsd.org: ports

2019-09-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/09/10 19:37:57

Modified files:
net/p5-Net-Frame-Layer-IPv6: Makefile distinfo 
net/p5-Net-Frame-Layer-IPv6/pkg: PLIST 

Log message:
update to 1.08
OK afresh1@

from wen heping, thanks.



Re: UPDATE: devel/cppcheck 1.87 -> 1.88

2019-09-10 Thread Gleydson Soares
On Tue, Sep 03, 2019 at 06:00:15PM +1000, Jonathan Gray wrote:
> On Tue, Aug 27, 2019 at 06:53:16PM +0200, Hiltjo Posthuma wrote:
> > Hi,
> > 
> > The patch below updates cppcheck from 1.87 to 1.88.
> > 
> > Briefly tested on amd64.
> 
> here is 1.89
> 
> default output format changed, for previous style --template=cppcheck1

Testing Complete
Number of tests: 3438
Number of todos: 179
Tests failed: 0

OK gsoares@

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/cppcheck/Makefile,v
> retrieving revision 1.55
> diff -u -p -r1.55 Makefile
> --- Makefile  12 Jul 2019 20:44:06 -  1.55
> +++ Makefile  3 Sep 2019 07:13:22 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =C/C++ static checker
>  
> -DISTNAME =   cppcheck-1.87
> +DISTNAME =   cppcheck-1.89
>  
>  CATEGORIES = devel
>  
> @@ -27,10 +27,10 @@ TEST_TARGET = test
>  TEST_DEPENDS =   ${FULLPKGNAME}:${BUILD_PKGPATH}
>  
>  # -Ilib before PREFIX/include to avoid picking up header from devel/check
> -MAKE_FLAGS = BIN=${PREFIX}/bin SRCDIR=build \
> - CFGDIR=${PREFIX}/share/cppcheck/cfg \
> +MAKE_FLAGS = BIN=${PREFIX}/bin HAVE_RULES=yes \
> + FILESDIR=${PREFIX}/share/cppcheck \
>   CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++11" \
> - CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib 
> -I${PREFIX}/include" \
> + CPPFLAGS="-DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
>   LDFLAGS="-L${PREFIX}/lib -lpcre -lexecinfo"
>  
>  MODULES =lang/python
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/cppcheck/distinfo,v
> retrieving revision 1.41
> diff -u -p -r1.41 distinfo
> --- distinfo  5 Mar 2019 00:19:27 -   1.41
> +++ distinfo  3 Sep 2019 07:01:36 -
> @@ -1,2 +1,2 @@
> -SHA256 (cppcheck-1.87.tar.gz) = l3Kvafz4K6U0IZLHXh5hBXtHMlvS0veM6k49Np/QCDw=
> -SIZE (cppcheck-1.87.tar.gz) = 2243258
> +SHA256 (cppcheck-1.89.tar.gz) = 7GuJLyiPqIJr3aJUkSEhoFigZSYiKoErNibFpl2XMH4=
> +SIZE (cppcheck-1.89.tar.gz) = 2455141
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
> retrieving revision 1.13
> diff -u -p -r1.13 PLIST
> --- pkg/PLIST 5 Mar 2019 00:19:27 -   1.13
> +++ pkg/PLIST 3 Sep 2019 07:07:36 -
> @@ -8,18 +8,27 @@ share/cppcheck/cfg/boost.cfg
>  share/cppcheck/cfg/bsd.cfg
>  share/cppcheck/cfg/cppcheck-cfg.rng
>  share/cppcheck/cfg/cppcheck-lib.cfg
> +share/cppcheck/cfg/cppunit.cfg
> +share/cppcheck/cfg/daca.cfg
>  share/cppcheck/cfg/embedded_sql.cfg
>  share/cppcheck/cfg/gnu.cfg
>  share/cppcheck/cfg/googletest.cfg
>  share/cppcheck/cfg/gtk.cfg
> +share/cppcheck/cfg/libcerror.cfg
> +share/cppcheck/cfg/libcurl.cfg
> +share/cppcheck/cfg/lua.cfg
>  share/cppcheck/cfg/microsoft_sal.cfg
>  share/cppcheck/cfg/motif.cfg
> +share/cppcheck/cfg/nspr.cfg
> +share/cppcheck/cfg/opengl.cfg
> +share/cppcheck/cfg/openmp.cfg
>  share/cppcheck/cfg/posix.cfg
>  share/cppcheck/cfg/python.cfg
>  share/cppcheck/cfg/qt.cfg
>  share/cppcheck/cfg/ruby.cfg
>  share/cppcheck/cfg/sdl.cfg
>  share/cppcheck/cfg/sfml.cfg
> +share/cppcheck/cfg/sqlite3.cfg
>  share/cppcheck/cfg/std.cfg
>  share/cppcheck/cfg/tinyxml2.cfg
>  share/cppcheck/cfg/windows.cfg



Re: [update] plan9/plan9port 20180117 -> 20190619

2019-09-10 Thread Gleydson Soares
committed, thanks!



CVS: cvs.openbsd.org: ports

2019-09-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/09/10 18:40:54

Modified files:
plan9/plan9port: Makefile distinfo 
plan9/plan9port/patches: patch-INSTALL 
plan9/plan9port/pkg: PLIST 
Removed files:
plan9/plan9port/patches: patch-bin_web 

Log message:
update to the latest github commit
e995a0c101863688d5f14649ae3de45a7c43789c

zap patch-bin_web merged upstream

patch from Patrick Marchand , thanks!
with some tweaks by me.



Re: [update] plan9/plan9port 20180117 -> 20190619

2019-08-11 Thread Gleydson Soares
On Sun, Aug 11, 2019 at 03:42:09PM -0400, Patrick Marchand wrote:
> Hi Gleydson / ports,
> 
> Here is a revised patch for plan9port. I had messed up quite a few
> things in my first try, but I now think I understand the ports
> system much better.
> 
> Main changes I've seen include:
>  - Plumb allows @ in filenames
>  - Web patch was upstreamed
>  - Import of paint program from 9front
>  - Acme drops trailing spaces on Put when in auto-indent mode
>  - Various fixes
> 
> Let me know if I'm missing something or messed up the diff.

Hi Patrick,

makesum complais here, the extra stuff wasnt moved yet into
new MASTER_SITES, ill ask Russ Cox for providing it over 
there.


{x220} /usr/ports/plan9/plan9port $ make makesum
===>  Checking files for plan9port-20190619
`/usr/ports/distfiles/plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz'
is up to date.
>> Fetch https://swtch.com/~rsc/pgw.tar.bz2
ftp: Error retrieving file: 404 Not Found
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2993
'/usr/ports/distfiles/plan9port/pgw.tar.bz2': @lock=pgw.tar.bz2.dist;
/usr/...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2272
'_internal-fetch-all')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2447
'fetch-all')
*** Error 1 in /usr/ports/plan9/plan9port
(/usr/ports/infrastructure/mk/bsd.port.mk:2090 'makesum')


so,we should keep the following for now:

-MASTER_SITES0 = http://pdos.lcs.mit.edu/~rsc/software/plan9/
-MASTER_SITES1 =http://pdos.lcs.mit.edu/~rsc/

Thanks,
Gleydson.



Re: plan9port: win(1) hang on acme(1) window

2019-07-18 Thread Gleydson Soares
> Gleydson, could you take a look at my diff that updates the port
> to the latest git commit? I'ts my first time contributing to a port
> and I'd like to know if my diff is okay.

Your diff reads ok, but it didn't apply clearly here, could you work 
on fixing it and resend the patch ? 
also, since you are updating the port it doesn't require REVISION= bump, 
you can zap it.



CVS: cvs.openbsd.org: ports

2019-07-18 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/07/18 07:12:55

Modified files:
net: Makefile 

Log message:
hook up tacacs+



Re: plan9port: win(1) hang on acme(1) window

2019-07-16 Thread Gleydson Soares
Hi,

I will have a look at it tonight. Even though I’m running acme/win with no 
issues. Will try reproduce it on a newer snapshot.

> On 16 Jul 2019, at 04:25, a...@gmx.com wrote:
> 
> Hi
> 
>> I also opened up an issue on the github repository of the project:
>> https://github.com/9fans/plan9port/issues/275
> 
> Great, thanks! I'll follow it
> 
> Regards.
> 



CVS: cvs.openbsd.org: ports

2019-07-09 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/07/09 14:22:43

Modified files:
net/tacacs+: Makefile 
net/tacacs+/patches: patch-pwlib_c patch-tac_plus_c 
 patch-tac_plus_conf_5_in patch-tac_plus_h 
net/tacacs+/pkg: PLIST README tac_plus.rc 
Added files:
net/tacacs+/files: tac_plus.conf.sample 

Log message:
i let it slip through my fingers
no bump since it doesn't currently build/package



CVS: cvs.openbsd.org: ports

2019-07-09 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/07/09 11:29:39

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
renable net/tacacs+
no longer absolete,



CVS: cvs.openbsd.org: ports

2019-07-09 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/07/09 11:24:22

Added files:
net/tacacs+/patches: patch-pwlib_c patch-tac_plus_c 
 patch-tac_plus_conf_5_in patch-tac_plus_h 
net/tacacs+/pkg: DESCR PLIST README tac_plus.rc 

Log message:
tweaking previous



CVS: cvs.openbsd.org: ports

2019-07-09 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/07/09 11:13:32

Added files:
net/tacacs+: Makefile distinfo 

Log message:
Add tacacs+ by Shrubbery.net

TACACS+ is used for authentication, authorization, and accounting on
Cisco routers. This daemon provides a server for TACACS+ routers.

Tests done by Ampie Niemand, Jan Vlach(MAINTAINER) and myself. OK/tweaks sthen@



CVS: cvs.openbsd.org: ports

2019-07-09 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/07/09 10:39:55

Modified files:
infrastructure/db: user.list 

Log message:
reserve 511 for tacacs_



Re: NEW: Tacacs+ port - shrubbery.net version

2019-06-30 Thread Gleydson Soares
Hi sthen,

> Slightly tweaked version attached, this one's ok with me:
> 
> - https homepage
> - PERMIT_*_CDROM is not used for new ports
> - whitespace nit in Makefile
> - tweak comment in patch
> - place @extraunexec above the @sample line, that way pkg_delete -c doesn't
> complain about a missing dir. (pkg_delete without -c will complain about
> not being able to remove the dir, that is no problem).
> - regen plist to include pkg-readme
> - adjust pkg-readme to set uid/gid on the files
> - change group ownership of log dir to wheel, easier for admins

thanks for the review, gonna commit this one.



Re: NEW: Tacacs+ port - shrubbery.net version

2019-05-24 Thread Gleydson Soares
Try with the change below and Let us know if it works for you, 

Thank you 

sent from my mobile device

On Fri, May 24, 2019, at 7:43 AM, Gleydson Soares wrote:
> it requires _tacacs user due to privdrop, so you need to uncomment the 
> folllwing line:
> {x250} /usr/ports $ grep -rn tacacs /usr/ports/infrastructure/*
> /usr/ports/infrastructure/db/user.list:22:#511 _tacacs _tacacs net/tacacs+
> 
> i'm with limited internet access till tomorrow morning, i will take look at 
> this port and diffs tomorrow 
> 
> 
> 
> On Fri, May 24, 2019, at 7:37 AM, Ampie Niemand wrote:
> > Hi, all.
> > 
> > Thanks for reviving this awesome service.
> > 
> > I'm failing at the last hurdle with both macppc and amd64:
> > 
> > ..
> > ..
> > ===> Building package for tacacs+-4.0.4.28v0
> > Create /usr/ports/packages/powerpc/all/tacacs+-4.0.4.28v0.tgz
> > Creating package tacacs+-4.0.4.28v0
> > Error: newgroup _tacacs: not registered in
> > /usr/ports/infrastructure/db/user.list
> > Error: newuser _tacacs: not registered in
> > /usr/ports/infrastructure/db/user.list
> > Fatal error: can't continue
> > at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1675.
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2026
> > '/usr/ports/packages/powerpc/all/tacacs+-4.0.4.28v0.tgz')
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2487
> > '_internal-package')
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2466
> > 'package')
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2039
> > '/var/db/pkg/tacacs+-4.0.4.28v0/+CONTENTS')
> > *** Error 1 in /usr/ports/mystuff/net/tacacs+
> > (/usr/ports/infrastructure/mk/bsd.port.mk:2466
> > 'install')
> > 
> > .
> > 
> > On Mon, 20 May 2019 at 21:56, Gleydson Soares  
> > wrote:
> > >
> > > Hi Jan,
> > >
> > > thank you for your effort on this port.
> > > i've pushed it to openbsd-wip at
> > > https://github.com/jasperla/openbsd-wip/tree/master/net/tacacs%2B
> > > it addresses the joint work of you and sthen@
> > >
> > > are you still ok regarding of taking maintanership?
> > >
> > > i will give some extra tests and double review next days.
> > >
> > > Thank you,
> > > Gleydson.
> > >
> >
> 
> 


Re: NEW: Tacacs+ port - shrubbery.net version

2019-05-24 Thread Gleydson Soares
it requires _tacacs user due to privdrop, so you need to uncomment the 
folllwing line:
{x250} /usr/ports $ grep -rn tacacs /usr/ports/infrastructure/*
/usr/ports/infrastructure/db/user.list:22:#511 _tacacs  _tacacs 
net/tacacs+

i'm with limited internet access till tomorrow morning, i will take look at 
this port and diffs tomorrow 



On Fri, May 24, 2019, at 7:37 AM, Ampie Niemand wrote:
> Hi, all.
> 
> Thanks for reviving this awesome service.
> 
> I'm failing at the last hurdle with both macppc and amd64:
> 
> ..
> ..
> ===>  Building package for tacacs+-4.0.4.28v0
> Create /usr/ports/packages/powerpc/all/tacacs+-4.0.4.28v0.tgz
> Creating package tacacs+-4.0.4.28v0
> Error: newgroup _tacacs: not registered in
> /usr/ports/infrastructure/db/user.list
> Error: newuser _tacacs: not registered in
> /usr/ports/infrastructure/db/user.list
> Fatal error: can't continue
>  at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1675.
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2026
> '/usr/ports/packages/powerpc/all/tacacs+-4.0.4.28v0.tgz')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2487
> '_internal-package')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2466
> 'package')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2039
> '/var/db/pkg/tacacs+-4.0.4.28v0/+CONTENTS')
> *** Error 1 in /usr/ports/mystuff/net/tacacs+
> (/usr/ports/infrastructure/mk/bsd.port.mk:2466
> 'install')
> 
> .
> 
> On Mon, 20 May 2019 at 21:56, Gleydson Soares  wrote:
> >
> > Hi Jan,
> >
> > thank you for your effort on this port.
> > i've pushed it to openbsd-wip at
> > https://github.com/jasperla/openbsd-wip/tree/master/net/tacacs%2B
> > it addresses the joint work of you and sthen@
> >
> > are you still ok regarding of taking maintanership?
> >
> > i will give some extra tests and double review next days.
> >
> > Thank you,
> > Gleydson.
> >
>



Re: NEW: Tacacs+ port - shrubbery.net version

2019-05-23 Thread Gleydson Soares
> Can you use the standard locations for doc/examples please rather
> than /usr/local/share/tacacs?

Yep.

> Needs @extraunexec rm -f /var/log/tac_plus/* for pkg_delete -c.

Done.
Thanks for the feedback, i'm pushing it to openbsd-wip.

PS.: I'm running it and works just fine  It has a dozen of Cisco Nexus switches 
already connected. 
privdrop (_tacacs) fine.

I will add some changes to example files provided by  Jan Vlach, for pointing 
out how to use tac_plus on the fly on OpenBSD.(like features available with and 
without privdrop / etc).

Also should be nice sent patches upstream. Jan Vlach, what do you think about?

Cheers,



Re: NEW: Tacacs+ port - shrubbery.net version

2019-05-20 Thread Gleydson Soares
Hi Jan,

thank you for your effort on this port.
i've pushed it to openbsd-wip at
https://github.com/jasperla/openbsd-wip/tree/master/net/tacacs%2B
it addresses the joint work of you and sthen@

are you still ok regarding of taking maintanership?

i will give some extra tests and double review next days.

Thank you,
Gleydson.



Re: [hppa] FIX: devel/libowfat

2019-04-08 Thread Gleydson Soares
Hi Brian,
If it works for you on your hppa machine it should be OK on 
enabling it again, as you said after unlock. 

OK gsoares@ 

On Mon, Apr 08, 2019 at 12:35:14AM -0400, Brian Callahan wrote:
> Hi ports --
> 
> Obviously for after unlock. devel/libowfat is marked BROKEN-hppa. But it
> seems like this is no longer necessary; I just built/installed it no problem
> on my hppa machine with base-gcc. Doesn't seem to use atomics.
> 
> ~Brian
> 

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/libowfat/Makefile,v
> retrieving revision 1.7
> diff -u -p -r1.7 Makefile
> --- Makefile  17 May 2018 09:53:02 -  1.7
> +++ Makefile  8 Apr 2019 04:32:57 -
> @@ -1,7 +1,6 @@
>  # $OpenBSD: Makefile,v 1.7 2018/05/17 09:53:02 espie Exp $
>  
>  COMMENT =library of general purpose APIs
> -BROKEN-hppa =missing atomic ops
>  
>  SO_VERSION = 0.0
>  SHARED_LIBS +=   owfat ${SO_VERSION}



Re: NEW: x11/i3-gaps

2019-03-05 Thread Gleydson Soares
Builds and runs fine here, even though I’m not an i3 user so slight tested!
If it works for you please, put it in. ok with me.

On Sun, Mar 3, 2019, at 7:40 AM, Rafael Sadowski wrote:
> Hi ports@
> 
> Inserted by x11/i3-mousedrag, please find attached a i3 fork port with
> gaps support. I use it over 2 weeks without issues. I added a README
> with an imported hint.
> 
> Feedback / OK?!
> 
> RS
> 
> $ pkg_info i3-gaps
> 
> Information for inst:i3-gaps-4.16.1
> 
> Comment:
> improved dynamic tiling window manager, fork with gaps
> 
> Description:
> i3 is an improved dynamic, tiling window manager originally inspired by wmii.
> 
> This fork adds support for gaps, smart gaps, smart borders and hide edge
> borders.
> 
> Maintainer: The OpenBSD ports mailing-list 
> 
> WWW: https://i3wm.org/
> 
> 
> 
> *Attachments:*
>  * i3-gaps.tar.gz


CVS: cvs.openbsd.org: ports

2019-03-04 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/03/04 17:19:27

Modified files:
devel/cppcheck : Makefile distinfo 
devel/cppcheck/pkg: PLIST 

Log message:
update to 1.87



Re: [update] www/luakit to 2.1

2019-02-08 Thread Gleydson Soares
On Thu, Jan 31, 2019 at 07:31:48PM -0700, Aaron Bieber wrote:
> Hello!
> 
> This diff does a few things:
> 
> - Bump epoch because upstream has actual releases now.
> - Regen WANTLIB.
> - Stop trying to run tests that don't exist.
> - Fix MAKE_FLAGS and include html docs.
> 
> Tests fine for me on amd64. OK?

builds and runs fine here. OK gsoares@



CVS: cvs.openbsd.org: ports

2019-01-10 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2019/01/10 15:21:17

Modified files:
devel/cppcheck : Makefile distinfo 
devel/cppcheck/pkg: PLIST 

Log message:
update cppcheck to 1.86



UPDATE: net/ii-1.8

2018-09-21 Thread Gleydson Soares
Attached is a diff for updating net/ii to 1.8.

I've removed support for (ssl and ucspi) patches, I think We should not maintain
those suckless patches on ports, if one wants to add extra features then should
get the source, apply the customizations and build it oneself, that's the
philosophy of the suckless project. the patches just add complexity and makes
things tough to maintain up-to-date.  there're dozen patches at:
https://tools.suckless.org/ii/patches

While here, i've patched net/ii for using unveil(2).

also: 
- remove query.sh script, since it's no longer maintained upstream; 
- switch master_sites/homepage to https; 
- added pkg/README file with instructions on how setup ii/tls by using relayd(8)
take from upstream: https://git.suckless.org/ii/file/README.html

btw since i'm removing the ucspi FLAVOR, dunno if there's someone here using
ii-ucspi for handling IPv6, ii-1.8 release has native IPv6 support in, also
supports to connect directly to a UNIX domain socket, useful for tunneling
connections.
Index: Makefile
===
RCS file: /cvs/ports/net/ii/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile8 Dec 2017 12:19:41 -   1.15
+++ Makefile22 Sep 2018 03:20:32 -
@@ -2,15 +2,12 @@
 
 COMMENT=   minimalist IRC client
 
-DISTNAME=  ii-1.7
-REVISION=  3
+DISTNAME=  ii-1.8
 CATEGORIES=net
 FIX_EXTRACT_PERMISSIONS=Yes
 
-
-HOMEPAGE=  http://tools.suckless.org/ii
-MASTER_SITES=  http://dl.suckless.org/tools/
-MASTER_SITES0= ${HOMEPAGE}/patches/
+HOMEPAGE=  https://tools.suckless.org/ii/
+MASTER_SITES=  https://dl.suckless.org/tools/
 
 MAINTAINER=Gleydson Soares 
 
@@ -22,32 +19,11 @@ WANTLIB=c
 
 NO_TEST=   Yes
 
-FLAVORS=   ucspi
-FLAVOR?=
-
-# patches from http://tools.suckless.org/ii/patches
-PATCH_DIST_STRIP=  -p1
-
-.if ${FLAVOR} == "ucspi"
-# adds unix client server programming interface support
-PATCHFILES+=   ${DISTNAME}-ucspi.diff:0
-PATCH_LIST=patch-* ucspipatch-*
-RUN_DEPENDS=   net/ucspi-tools
-.else
-# adds ssl encryption support
-PATCHFILES+=   ${DISTNAME}-ssl.diff:0
-PATCH_LIST=patch-* sslpatch-*
-WANTLIB+=  crypto ssl
-.endif
-
-SUPDISTFILES+= ${DISTNAME}-ssl.diff:0
-SUPDISTFILES+= ${DISTNAME}-ucspi.diff:0
-
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ii ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/ii.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ii
-   ${INSTALL_DATA} ${WRKSRC}/{README,FAQ,query.sh} ${PREFIX}/share/doc/ii
+   ${INSTALL_DATA} ${WRKSRC}/{README,FAQ} ${PREFIX}/share/doc/ii
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/ii/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo21 May 2016 05:31:38 -  1.6
+++ distinfo22 Sep 2018 03:20:32 -
@@ -1,6 +1,2 @@
-SHA256 (ii-1.7-ssl.diff) = 8arZ/XrHGLHsiIrg5aj/z/fmb0mRScdj5yvIZjrN448=
-SHA256 (ii-1.7-ucspi.diff) = +teAZTglx5YRD+OX6noPVewnwlnJQAIRfbSJdK3xqyY=
-SHA256 (ii-1.7.tar.gz) = OnKsZgbVVgtiXAYscfE1gg4iFP7QmObWJPxAYy3HzJw=
-SIZE (ii-1.7-ssl.diff) = 7631
-SIZE (ii-1.7-ucspi.diff) = 5161
-SIZE (ii-1.7.tar.gz) = 10174
+SHA256 (ii-1.8.tar.gz) = udnh6uJeYwcZYOkhr4sherGr5kIQvSkJlKyheKjcaNI=
+SIZE (ii-1.8.tar.gz) = 12326
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile  2 Mar 2011 15:06:04 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.1 2011/03/02 15:06:04 jasper Exp $
-
-Don't do "silent builds".
-
 Makefile.orig  Wed Mar  2 16:04:54 2011
-+++ Makefile   Wed Mar  2 16:05:05 2011
-@@ -20,7 +20,7 @@ options:
- 
- .c.o:
-   @echo CC $<
--  @${CC} -c ${CFLAGS} $<
-+  ${CC} -c ${CFLAGS} $<
- 
- dist: clean
-   @mkdir -p ii-${VERSION}
-@@ -32,7 +32,7 @@ dist: clean
- 
- ii: ${OBJ}
-   @echo LD $@
--  @${CC} -o $@ ${OBJ} ${LDFLAGS}
-+  ${CC} -o $@ ${OBJ} ${LDFLAGS}
- 
- install: all
-   @mkdir -p ${DESTDIR}${DOCDIR}
Index: patches/patch-config_mk
===
RCS file: patches/patch-config_mk
diff -N patches/patch-config_mk
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-config_mk 22 Sep 2018 03:20:32 -
@@ -0,0 +1,27 @@
+$OpenBSD$
+
+Index: config.mk
+--- config.mk.orig
 config.mk
+@@ -9,11 +9,11 @@ MAN1DIR  = ${MANDIR}/man1
+ DOCDIR   = ${PREFIX}/share/doc/ii
+ 
+ # includes and libs
+-INCLUDES = -I. -I/usr/include
++INCLUDES += -I. -I/usr/include
+ LI

Re: UPDATE: Spectrwm-3.2.0

2018-09-08 Thread Gleydson Soares
On Sat, Sep 08, 2018 at 11:50:54PM +0200, Gonzalo L. Rodriguez wrote:
> Hello,
> 
> Update for Spectrwm to 3.2.0:
> 
> https://github.com/conformal/spectrwm/releases
> 
> OK? Comments?

works fine here. 
the patch-Makefile is missing rcs id.
otherwise, OK gsoares@
? 1.patch
Index: Makefile
===
RCS file: /cvs/ports/x11/spectrwm/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile5 Oct 2017 14:14:48 -   1.24
+++ Makefile9 Sep 2018 01:03:30 -
@@ -4,7 +4,7 @@ COMMENT=small tiling window manager
 
 SHARED_LIBS=   swmhack 1.0
 
-V= 3.1.0
+V= 3.2.0
 GH_TAGNAME=SPECTRWM_${V:S/./_/g}
 GH_ACCOUNT=conformal
 GH_PROJECT=spectrwm
Index: distinfo
===
RCS file: /cvs/ports/x11/spectrwm/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo5 Oct 2017 14:14:48 -   1.21
+++ distinfo9 Sep 2018 01:03:30 -
@@ -1,2 +1,2 @@
-SHA256 (spectrwm-3.1.0.tar.gz) = t6XiT+bZI6rauUfTVP9ErXQrch2q8zRYTo7qnhVknZo=
-SIZE (spectrwm-3.1.0.tar.gz) = 147206
+SHA256 (spectrwm-3.2.0.tar.gz) = +4AEQmIPdi3miiNu+acnjYuO9tpcG27bwMibHm6V73w=
+SIZE (spectrwm-3.2.0.tar.gz) = 150691
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/x11/spectrwm/patches/patch-Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 patch-Makefile
--- patches/patch-Makefile  16 Apr 2017 19:42:28 -  1.7
+++ patches/patch-Makefile  9 Sep 2018 01:03:30 -
@@ -1,5 +1,8 @@
 Makefile.orig  Mon May 23 17:45:08 2016
-+++ Makefile   Sun Apr 16 20:41:24 2017
+$OpenBSD$
+
+Index: Makefile
+--- Makefile.orig
 Makefile
 @@ -12,7 +12,7 @@ CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -W
  # Uncomment define below to disallow user settable clock format string
  #CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
Index: patches/patch-spectrwm_c
===
RCS file: /cvs/ports/x11/spectrwm/patches/patch-spectrwm_c,v
retrieving revision 1.8
diff -u -p -r1.8 patch-spectrwm_c
--- patches/patch-spectrwm_c5 Oct 2017 14:14:48 -   1.8
+++ patches/patch-spectrwm_c9 Sep 2018 01:03:30 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-spectrwm_c,v 1.8 2017/10
 Index: spectrwm.c
 --- spectrwm.c.orig
 +++ spectrwm.c
-@@ -275,7 +275,7 @@ uint32_t   swm_debug = 0
+@@ -291,7 +291,7 @@ uint32_t   swm_debug = 0
  #define SWM_CONF_KEYMAPPING   (1)
  
  #ifndef SWM_LIB


CVS: cvs.openbsd.org: ports

2018-09-08 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2018/09/08 11:21:14

Modified files:
security/luasec: Makefile distinfo 
security/luasec/patches: patch-src_Makefile 
security/luasec/pkg: PLIST 

Log message:
update to 0.7

feedback,tweaks from sthen+danj thanks
OK sthen@



  1   2   3   4   5   6   >