Re: Wanted to make a quick suggestion

2018-02-02 Thread Anthony J. Bentley
Boni Satani writes:
> If you're interested in a replacement for that link, feel free to check out
> the DNSCrypt alternatives guide
>  that I've recently
> composed. I think it could be a beneficial resource for your audience, if
> you agree, feel free to replace the broken link. :)

That wouldn't be an appropriate replacement for a broken homepage link
of a package. Probably someone (namely someone who cares about dnscrypt
;) ) should update the package to the dnscrypt2 project that's a rewrite
in Go...



Wanted to make a quick suggestion

2018-02-02 Thread Boni Satani
 Hey Team Openbsd,

I hope you're doing well! I know that you were using DNSCrypt
 in the past since you're still linking to it from
here: openports.se/net/dnscrypt-proxy. It used to be such a great tool, but
sadly, it's no longer available.

If you're interested in a replacement for that link, feel free to check out
the DNSCrypt alternatives guide
 that I've recently
composed. I think it could be a beneficial resource for your audience, if
you agree, feel free to replace the broken link. :)

Either way, thank you for your time!

Cheers!
Boni
ᐧ


CVS: cvs.openbsd.org: ports

2018-02-02 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2018/02/02 22:53:21

Modified files:
security/py-artifacts: Makefile distinfo 

Log message:
update artifacts to 20180115.



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2018/02/02 14:08:09

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

Log message:
Update to gitsh 0.12.

>From Bjorn Ketelaars, ok Mike Burns (MAINTAINER)



UPDATE sysutils/parallel

2018-02-02 Thread Björn Ketelaars
parallel received a minor update, which fixes:
  - Fixed bug #52207: Exit status 0 when child job is killed, even with
"now,fail=1"
  - Fixed bug #52769: --lb puts stdout on stderr sometimes
  - Fixed bug #52740: Bash redirection with process substitution blocks

Maintainer responded with "Works fine for me, ok"

-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


diff --git Makefile Makefile
index dc34c707fa0..81827cf73a3 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
 
 COMMENT =  execute jobs in parallel
 
-DISTNAME = parallel-20171222
+DISTNAME = parallel-20180122
 
 CATEGORIES =   sysutils
 
diff --git distinfo distinfo
index 8e20b7cf872..f8a2b4bdc3c 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (parallel-20171222.tar.bz2) = 
m8jH/SQg7pxvTurxHQjHdoLbsC3GTWSIHzgRD2kzedw=
-SIZE (parallel-20171222.tar.bz2) = 1690077
+SHA256 (parallel-20180122.tar.bz2) = 
6QbCcd+g6XOp6hUf58qrp0Lg9ADoamlofqawSta9a/I=
+SIZE (parallel-20180122.tar.bz2) = 1717905



Re: [Patch] games/urbanterror doesn't rely on W|X

2018-02-02 Thread Ryan Freeman
On Fri, Feb 02, 2018 at 06:41:26AM +0200, mazocomp wrote:
> Hi!
> 
> By quickly grepping Urban Terror's code I've seen:
> 
> ./code/qcommon/vm_x86.c:if(mprotect(vm->codeBase, compiledOfs,
> PROT_READ|PROT_EXEC))
> ./code/qcommon/vm_x86_64.c: mem = mmap(NULL, stb.st_size,
> PROT_READ|PROT_EXEC, MAP_SHARED, fd, 0);
> ./code/qcommon/vm_x86_64.c: if(mprotect(vm->codeBase, compiledOfs,
> PROT_READ|PROT_EXEC))
> 
> After that I removed USE_WXNEEDED from port's Makefile and tested this
> game (my /usr/local is not mounted under wxallowed). I enjoyed playing
> this game, no W^X violations noticed.

Thank you very much for this!  I will give it a go, there is a small
hotfix update that needs to be done from upstream as well.

Unfortunately I am smack dab in the middle of a move, so I can't
jump on this just yet.

> Index: Makefile
> ===
> RCS file: /cvs/ports/games/urbanterror/Makefile,v
> retrieving revision 1.4
> diff -u -p -r1.4 Makefile
> --- Makefile  8 Feb 2017 12:55:18 -   1.4
> +++ Makefile  2 Feb 2018 04:26:18 -
> @@ -1,6 +1,5 @@
>  # $OpenBSD: Makefile,v 1.4 2017/02/08 12:55:18 sthen Exp $
>  
> -USE_WXNEEDED =   Yes
>  ONLY_FOR_ARCHS = amd64 i386
>  
>  COMMENT =fast-paced hollywood-tactical shooter: "fun over realism"



Re: UPDATE: sysutils/ranger 1.7.2 -> 1.8.1

2018-02-02 Thread Klemens Nanni
On Thu, Jan 25, 2018 at 04:07:21AM +0100, Klemens Nanni wrote:
> On Wed, Jan 24, 2018 at 10:10:55PM +0100, Rafael Sadowski wrote:
> > On Tue Jan 23, 2018 at 12:43:36AM +0100, Klemens Nanni wrote:
> > > +
> > >  # libarchive (bsdtar) used as an alternative to atool; see scope.sh patch
> > >  RUN_DEPENDS =archivers/libarchive \
> > > - textproc/py-chardet
> > > + devel/desktop-file-utils \
> > 
> > [...]
> > 
> > > +@exec %D/bin/update-desktop-database
> > > +@unexec-delete %D/bin/update-desktop-database
> > > 
> > 
> > Please don't pull that in for a console file manager.
> Those came in for completeness (portcheck also complains without them)
> but I can see why one would rather ignore it.
> 
> Updated diff below.
1.9.0 is out, updated diff below. Things keep working fine.

All tests except the new linting ones fail, this is because devel/pylint
and devel/py-astroid are (heavily) outdated. I have a proper, working
diff for astroid now pylint fails even harder.

I contacted the maintainer of those two ports, we'll see.

Since this is a temporary issue concerning only some of the tests,
here's ranger-1.9.0 I'd really like to get in.

Add bash as missing RDEP due to the scope.sh script using bashims.

patch-setup_py moved into simpler post-install.

We can drop the s,grep,ggrep, as it works without, I already contacted
upstream about the newly introduced issue with find(1)'s non-POSIX `-not'
usage.

Feedback? Any takers?

Index: Makefile
===
RCS file: /cvs/ports/sysutils/ranger/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile11 Jun 2017 09:02:43 -  1.6
+++ Makefile2 Feb 2018 17:37:22 -
@@ -2,13 +2,14 @@
 
 COMMENT =  minimalistic console file manager
 
-MODPY_EGG_VERSION = 1.7.2
+MODPY_EGG_VERSION =1.9.0
 DISTNAME = ranger-${MODPY_EGG_VERSION}
-REVISION = 0
 
 CATEGORIES =   sysutils misc
 
-HOMEPAGE = http://www.nongnu.org/ranger/
+HOMEPAGE = https://ranger.github.io/
+
+MAINTAINER =   Klemens Nanni 
 
 # GPLv3+
 PERMIT_PACKAGE_CDROM =  Yes
@@ -16,18 +17,32 @@ PERMIT_PACKAGE_CDROM =   Yes
 MASTER_SITES = ${HOMEPAGE}
 
 MODULES =  lang/python
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
+
 # libarchive (bsdtar) used as an alternative to atool; see scope.sh patch
 RUN_DEPENDS =  archivers/libarchive \
-   textproc/py-chardet
+   shells/bash \
+   textproc/py-chardet${MODPY_FLAVOR}
+TEST_DEPENDS = devel/flake8 \
+   devel/pylint${MODPY_FLAVOR} \
+   devel/py-test${MODPY_FLAVOR}
+
+TEST_ENV = PYTHON=${MODPY_BIN}
 
-TEST_DEPENDS = devel/gmake \
-   sysutils/ggrep
+# for tests only
+USE_GMAKE =Yes
 
 pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/doc/ranger.1 \
-   ${WRKSRC}/ranger/ext/img_display.py
+   ${SUBST_CMD} ${WRKSRC}/{doc/ranger.1,ranger/ext/img_display.py}
 
-do-test:
-   cd ${WRKSRC}; PYTHON=${MODPY_BIN} gmake test
+pre-test:
+.for _p in py.test pylint
+   ln -sf ${LOCALBASE}/bin/${_p}${MODPY_BIN_SUFFIX} \
+   ${WRKDIR}/bin/${_p}
+.endfor
+
+post-install:
+   mv ${PREFIX}/{share/man/man1,man}
+   mv ${PREFIX}/share/{doc/ranger/examples,examples/ranger}
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/ranger/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo19 Nov 2015 19:13:35 -  1.3
+++ distinfo2 Feb 2018 17:37:22 -
@@ -1,2 +1,2 @@
-SHA256 (ranger-1.7.2.tar.gz) = lPbjQtruREXxXbWnRAoRE4SHxJzCXaDEc7vxuJePW3k=
-SIZE (ranger-1.7.2.tar.gz) = 269713
+SHA256 (ranger-1.9.0.tar.gz) = ZLoe7O5U3OAmXDbrh+2vQhGkYtwMtsgxETojKCn+z9k=
+SIZE (ranger-1.9.0.tar.gz) = 245594
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/sysutils/ranger/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile  19 Nov 2015 19:13:35 -  1.2
+++ patches/patch-Makefile  2 Feb 2018 17:37:23 -
@@ -1,12 +1,17 @@
 $OpenBSD: patch-Makefile,v 1.2 2015/11/19 19:13:35 jasper Exp $
 Makefile.orig  Sun Oct  4 01:46:45 2015
-+++ Makefile   Thu Nov 19 20:09:28 2015
-@@ -61,7 +61,7 @@ doc: cleandoc
-   find . -name \*.html -exec sed -i 's|'"$(CWD)"'|../..|g' -- {} \;
+Index: Makefile
+--- Makefile.orig
 Makefile
+@@ -67,9 +67,9 @@ doc: cleandoc
  
- test:
--  @for FILE in $(shell grep -IHm 1 doctest -r ranger | grep $(FILTER) | 
cut -d: -f1); do \
-+  @for FILE in $(shell ggrep -IHm 1 doctest -r ranger | grep $(FILTER) | 
cut -d: -f1); do \
-   echo "Testing $$FILE..."; \
-   RANGER_DOCTEST=1 PYTHONPATH=".:"$$PYTHONPATH ${PYTHON} $$FILE; \
-   done
+ TEST_PATHS_MAIN = \
+   $(shell find ./ranger -mindepth 1 -maxdepth 1 -type d \
+- 

CVS: cvs.openbsd.org: ports

2018-02-02 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2018/02/02 10:16:29

Modified files:
www/chromium   : Makefile distinfo 

Log message:
update to 64.0.3282.140



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2018/02/02 09:20:46

Modified files:
www/libmicrohttpd: Makefile distinfo 

Log message:
Bugfix update to libmicrohttpd-0.9.59



Re: NEW: games/openfodder

2018-02-02 Thread Brian Callahan


On 01/29/18 00:17, Brian Callahan wrote:

Hi ports --

Attached is a new port, games/openfodder. OpenFodder is an open source 
port of Cannon Fodder game.


---
pkg/DESCR:
Cannon Fodder is an action-strategy shoot 'em up game developed by
Sensible Software and published by Virgin Interactive.

The game is military-themed and based on shooting action but with a
strategy game-style control system. The player directs troops through
numerous missions, battling enemy infantry, vehicles and installations.

Open Fodder is an open source version of the Cannon Fodder engine, for
modern operating systems.
---

I am hosting a modified tarball for the distfile. This is because 
upstream's repo has the game's copyrighted audio in it! As well as 
some freeware demo games. My tarball removes all the copyrighted bits. 
The downside is that the GOG.com version (aka the DOS version) of the 
game has no music, but it does have sound effects. Of course, one 
could manually add back these copyrighted bits, and we can't stop a 
person from doing that, but I also don't think we should advertise it 
either, so I don't mention it in the pkg/README installation 
instructions.


It plays well on amd64 with the GOG.com version.

OK?

~Brian



Upstream released version 1.4.0 -- so here's a new port using that version.

~Brian



openfodder.tgz
Description: Binary data


CVS: cvs.openbsd.org: ports

2018-02-02 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2018/02/02 08:08:09

Modified files:
graphics/zint  : Makefile 
Added files:
graphics/zint/patches: patch-backend_render_c 

Log message:
Make EAN and UPC symbols resizable in glabels in accordance with EN 797:1996
Reported by Sebastien Marie, thanks!
Fix from upstream (3aeb1ea70a5f5b7c9a235ee29bdd708663f4d1f6)



Re: UPDATE: graphics/feh 2.20 -> 2.23.1

2018-02-02 Thread Klemens Nanni
On Wed, Jan 31, 2018 at 08:06:54PM +, Stuart Henderson wrote:
> On 2018/01/31 20:54, Klemens Nanni wrote:
> > * The Makefile no longer honors CPPFLAGS and instead consistently uses 
> > CFLAGS for user-provided include paths
> 
> CPPFLAGS would usually be the better place for include paths ...
Same goes for `-D_VAR=1' but you'll find inconsistent usage in nearly
all projects.

Is this a blocker for you? I'd like to get this update in.



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2018/02/02 06:33:11

Modified files:
devel/llvm : Makefile 
devel/llvm/patches: 
patch-tools_clang_lib_Driver_ToolChains_Gnu_cpp 

Log message:
Don't use the integrated assembler on sparc64, as per upstream default

Brings us in line with clang in base, and should fix the builds errors
due to membar instructions used in libestdc++ headers.  ok kettenis@,
maintainer timeout.



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Peter Hessler
CVSROOT:/cvs
Module name:ports
Changes by: phess...@cvs.openbsd.org2018/02/02 03:39:54

Modified files:
mail/bogofilter: Makefile 

Log message:
BROKEN-aarch64 = configure stuck on testing if BDB supports shared environments



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/02 02:01:02

Removed files:
net/powerdns/pkg: DESCR-ldap 

Log message:
remove DESCR-ldap, spotted by otto@



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2018/02/02 01:38:05

Modified files:
emulators/retroarch: Makefile 

Log message:
Strip out one missed byte order mark, to fix the build on gcc archs.



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/02 01:05:58

Modified files:
sysutils/salt  : Makefile distinfo 
sysutils/salt/pkg: PLIST 

Log message:
Update to salt-2017.7.3.



CVS: cvs.openbsd.org: ports

2018-02-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/02 01:02:56

Modified files:
x11/gnome/power-manager: Makefile distinfo 
x11/gnome/power-manager/pkg: PLIST 
Added files:
x11/gnome/power-manager/patches: patch-man_meson_build 

Log message:
Update to gnome-power-manager-3.26.0.