Re: games/openrct2: add a pkg/README

2017-12-09 Thread Brian Callahan


On 12/10/2017 2:40 AM, Anthony J. Bentley wrote:
> Brian Callahan writes:
>> Hi ports --
>>
>> I get asked fairly often how to set up OpenRCT2. I would like to add a 
>> pkg/README so that I don't have to keep answering the same question over 
>> and over.
>>
>> OK?
>>
>> ~Brian
>>
>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/games/openrct2/Makefile,v
>> retrieving revision 1.5
>> diff -u -p -u -p -r1.5 Makefile
>> --- Makefile 9 Sep 2017 20:03:15 -   1.5
>> +++ Makefile 10 Dec 2017 06:16:05 -
>> @@ -3,6 +3,7 @@
>>  V = 0.1.1
>>  COMMENT =   open source re-implementation of RollerCoaster Tycoon 2
>>  DISTNAME =  openrct2-${V}
>> +REVISION =  0
>>  CATEGORIES =games x11
>>  
>>  HOMEPAGE =  https://openrct2.org/
>> Index: pkg/PLIST
>> ===
>> RCS file: /cvs/ports/games/openrct2/pkg/PLIST,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 PLIST
>> --- pkg/PLIST9 Sep 2017 20:03:15 -   1.2
>> +++ pkg/PLIST10 Dec 2017 06:16:05 -
>> @@ -8,6 +8,7 @@ share/doc/openrct2/changelog.txt
>>  share/doc/openrct2/contributors.md
>>  share/doc/openrct2/licence.txt
>>  share/doc/openrct2/readme.txt
>> +share/doc/pkg-readmes/${FULLPKGNAME}
>>  share/icons/hicolor/128x128/apps/openrct2.png
>>  share/icons/hicolor/16x16/apps/openrct2.png
>>  share/icons/hicolor/256x256/apps/openrct2.png
>> Index: pkg/README
>> ===
>> RCS file: pkg/README
>> diff -N pkg/README
>> --- /dev/null1 Jan 1970 00:00:00 -
>> +++ pkg/README   10 Dec 2017 06:16:05 -
>> @@ -0,0 +1,25 @@
>> +$OpenBSD$
>> +
>> ++---
>> +| Running ${FULLPKGNAME} on OpenBSD
>> ++---
>> +
>> +OpenRCT2
>> +
>> +OpenRCT2 requires the original game files from RollerCoaster Tycoon 2
>> +to work properly.  These can come from an original CD or from GOG.com.
>> +
>> +If using the GOG.com version, you must extract the files from
>> +setup_rollercoaster_tycoon_2.exe using archivers/innoextract. The files
> I would refer to the package innoextract rather than the port here.
> Packages are still the primary way people should be getting software,
> not ports. With that change, ok with me.

I copied that line straight out of the CorsixTH pkg/README. I'll make
myself a note to change it there too.

~Brian



Re: games/openrct2: add a pkg/README

2017-12-09 Thread Anthony J. Bentley
Brian Callahan writes:
> Hi ports --
>
> I get asked fairly often how to set up OpenRCT2. I would like to add a 
> pkg/README so that I don't have to keep answering the same question over 
> and over.
>
> OK?
>
> ~Brian
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/openrct2/Makefile,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 Makefile
> --- Makefile  9 Sep 2017 20:03:15 -   1.5
> +++ Makefile  10 Dec 2017 06:16:05 -
> @@ -3,6 +3,7 @@
>  V =  0.1.1
>  COMMENT =open source re-implementation of RollerCoaster Tycoon 2
>  DISTNAME =   openrct2-${V}
> +REVISION =   0
>  CATEGORIES = games x11
>  
>  HOMEPAGE =   https://openrct2.org/
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/games/openrct2/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 PLIST
> --- pkg/PLIST 9 Sep 2017 20:03:15 -   1.2
> +++ pkg/PLIST 10 Dec 2017 06:16:05 -
> @@ -8,6 +8,7 @@ share/doc/openrct2/changelog.txt
>  share/doc/openrct2/contributors.md
>  share/doc/openrct2/licence.txt
>  share/doc/openrct2/readme.txt
> +share/doc/pkg-readmes/${FULLPKGNAME}
>  share/icons/hicolor/128x128/apps/openrct2.png
>  share/icons/hicolor/16x16/apps/openrct2.png
>  share/icons/hicolor/256x256/apps/openrct2.png
> Index: pkg/README
> ===
> RCS file: pkg/README
> diff -N pkg/README
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ pkg/README10 Dec 2017 06:16:05 -
> @@ -0,0 +1,25 @@
> +$OpenBSD$
> +
> ++---
> +| Running ${FULLPKGNAME} on OpenBSD
> ++---
> +
> +OpenRCT2
> +
> +OpenRCT2 requires the original game files from RollerCoaster Tycoon 2
> +to work properly.  These can come from an original CD or from GOG.com.
> +
> +If using the GOG.com version, you must extract the files from
> +setup_rollercoaster_tycoon_2.exe using archivers/innoextract. The files

I would refer to the package innoextract rather than the port here.
Packages are still the primary way people should be getting software,
not ports. With that change, ok with me.



games/openrct2: add a pkg/README

2017-12-09 Thread Brian Callahan

Hi ports --

I get asked fairly often how to set up OpenRCT2. I would like to add a 
pkg/README so that I don't have to keep answering the same question over 
and over.


OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/games/openrct2/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile	9 Sep 2017 20:03:15 -	1.5
+++ Makefile	10 Dec 2017 06:16:05 -
@@ -3,6 +3,7 @@
 V =		0.1.1
 COMMENT =	open source re-implementation of RollerCoaster Tycoon 2
 DISTNAME =	openrct2-${V}
+REVISION =	0
 CATEGORIES =	games x11
 
 HOMEPAGE =	https://openrct2.org/
Index: pkg/PLIST
===
RCS file: /cvs/ports/games/openrct2/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST	9 Sep 2017 20:03:15 -	1.2
+++ pkg/PLIST	10 Dec 2017 06:16:05 -
@@ -8,6 +8,7 @@ share/doc/openrct2/changelog.txt
 share/doc/openrct2/contributors.md
 share/doc/openrct2/licence.txt
 share/doc/openrct2/readme.txt
+share/doc/pkg-readmes/${FULLPKGNAME}
 share/icons/hicolor/128x128/apps/openrct2.png
 share/icons/hicolor/16x16/apps/openrct2.png
 share/icons/hicolor/256x256/apps/openrct2.png
Index: pkg/README
===
RCS file: pkg/README
diff -N pkg/README
--- /dev/null	1 Jan 1970 00:00:00 -
+++ pkg/README	10 Dec 2017 06:16:05 -
@@ -0,0 +1,25 @@
+$OpenBSD$
+
++---
+| Running ${FULLPKGNAME} on OpenBSD
++---
+
+OpenRCT2
+
+OpenRCT2 requires the original game files from RollerCoaster Tycoon 2
+to work properly.  These can come from an original CD or from GOG.com.
+
+If using the GOG.com version, you must extract the files from
+setup_rollercoaster_tycoon_2.exe using archivers/innoextract. The files
+will be in a directory named app. You must keep this directory, though
+it can be renamed and moved to a location of your choosing, and you can
+delete everything else that is extracted from the exe, such as the tmp
+directory. You must edit the game_path variable in
+~/.config/OpenRCT2/config.ini to point to this directory. You must use
+the full path.
+
+If you have a copy of the original RollerCoaster Tycoon, use can use
+its data files as well to play the original game. If using the GOG.com
+version, RollerCoaster Tycoon Deluxe, follow the same steps as above
+with setup_rollercoaster_tycoon_deluxe.exe and edit rct1_path in
+~/.config/OpenRCT2/config.ini to point to this directory.


UPDATE: CorsixTH 0.61rc1

2017-12-09 Thread Brian Callahan

Hi ports --

Attached is a diff to update games/corsixth to 0.61rc1 (being called 
0.60.9 in the ports tree to avoid any version silliness).
I would like to commit this now, and then update to 0.61 whenever that 
is released, because the rc1 fixes the strange lua segfault on first run 
that happens with 0.60.


Where are my Theme Hospital players?

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/games/corsixth/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile	16 Nov 2017 23:20:38 -	1.2
+++ Makefile	10 Dec 2017 05:14:48 -
@@ -2,7 +2,7 @@
 
 ONLY_FOR_ARCHS =	${CXX11_ARCHS}
 
-V =		0.60.1
+V =		0.60.9
 COMMENT =	open source clone of Theme Hospital
 DISTNAME =	corsixth-${V}
 CATEGORIES =	games x11
@@ -11,7 +11,7 @@ CATEGORIES =	games x11
 GH_ACCOUNT =	CorsixTH
 GH_PROJECT =	CorsixTH
 #GH_TAGNAME =	v${V}
-GH_COMMIT =	6a079fd02bc456be7410e4394d7661308e86b3bf
+GH_COMMIT =	63afae1554a2abeba225d5865f5ea77b18e73c78
 
 # https site is a little broken.
 HOMEPAGE =	http://corsixth.com/
Index: distinfo
===
RCS file: /cvs/ports/games/corsixth/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo	31 Jul 2017 22:14:44 -	1.1.1.1
+++ distinfo	10 Dec 2017 05:14:48 -
@@ -1,2 +1,2 @@
-SHA256 (corsixth-0.60.1-6a079fd0.tar.gz) = YcR3CCB7sUK4YGoTyeI0qlO9iD6vbJ1KAcvA3Ti8IIQ=
-SIZE (corsixth-0.60.1-6a079fd0.tar.gz) = 3508854
+SHA256 (corsixth-0.60.9-63afae15.tar.gz) = f+35H1OXCot261ZvB3Llw6fgcIMdvJ8THxl/vHeKU2U=
+SIZE (corsixth-0.60.9-63afae15.tar.gz) = 3515645
Index: patches/patch-CorsixTH_CMakeLists_txt
===
RCS file: /cvs/ports/games/corsixth/patches/patch-CorsixTH_CMakeLists_txt,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-CorsixTH_CMakeLists_txt
--- patches/patch-CorsixTH_CMakeLists_txt	31 Jul 2017 22:14:44 -	1.1.1.1
+++ patches/patch-CorsixTH_CMakeLists_txt	10 Dec 2017 05:14:48 -
@@ -5,7 +5,7 @@ Install to the correct location.
 Index: CorsixTH/CMakeLists.txt
 --- CorsixTH/CMakeLists.txt.orig
 +++ CorsixTH/CMakeLists.txt
-@@ -212,10 +212,10 @@ IF(APPLE)
+@@ -222,10 +222,10 @@ IF(APPLE)
  FIXUP_BUNDLE(${CMAKE_INSTALL_PREFIX}/CorsixTH.app \"\" \"\")
  ")
  ELSE()


Re: [NEW] lang/spin

2017-12-09 Thread Brian Callahan
This is still looking for an ok for me to import (or free commits for 
you! just go ahead and import with my ok if you want).


~Brian

On 11/25/17 16:33, Brian Callahan wrote:

Hi Ori --

This is much better. There's a bonus newline at the end of your new 
pkg/DESCR but that's no reason to have you resubmit.

I'd be happy to import this with an ok.

~Brian

On 11/25/17 00:46, Ori Bernstein wrote:
On Fri, 24 Nov 2017 21:28:04 -0800, Ori Bernstein 
 wrote:


On Fri, 24 Nov 2017 12:38:30 -0800, Ori Bernstein 
 wrote:



I'll rewrite it. Stay tuned for an updated tarball.

  And, here's a new version. The only change from your fixes
is the rewrite of the DESCR.


Realized it's probably a good idea to inline the new
description:

$ pkg_info spin
Information for inst:spin-6.4.7p0

Comment:
Spin is a tool for formal verification of parallel software.

Description:
Spin is a popular open-source software verification tool, used by 
thousands of

people worldwide. The tool can be used for the formal verification of
multi-threaded software applications. The tool was developed at Bell 
Labs in
the Unix group of the Computing Sciences Research Center, starting in 
1980. The
software has been available freely since 1991, and continues to 
evolve to keep

pace with new developments.

Maintainer: Ori Bernstein 

WWW: http://spinroot.com







Re: NEW: mail/rss2email3

2017-12-09 Thread Kaashif Hymabaccus
On Sat, Dec 09, 2017 at 10:32:26PM +, Stuart Henderson wrote:
> 
> MODPY_EGG_VERSION = 3.9
> 
> - please move this up in the block with DISTNAME
> 
> ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${DISTNAME}
> 
> - usually we don't use the full version number in such directories,
> ${PREFIX}/share/doc/rss2email3 would probably be the most appropriate
> 
> (pkg/MESSAGE) 
> 
> - please convert to a pkg-readme

Incorporated these suggestions. Tarball attached.

Also I moved everything around so it's in the same order as the
infrastructure Makefile template.

-- 
Kaashif Hymabaccus
GPG: 3E810B04


rss2email3.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-12-09 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/09 16:04:51

Modified files:
lang/rust  : Makefile 

Log message:
Don't try to build on i386, no success after 6 attempts in a bulk build.
Even if it can be made to build eventually after multiple tries (we
occasionally got lucky with chromium before that was disabled, but it
was rare), this isn't sustainable.

In short: you'll need to use amd64 if you want to use one of the more
common web browsers on OpenBSD.



Re: NEW: mail/rss2email3

2017-12-09 Thread Stuart Henderson
On 2017/12/09 19:40, Kaashif Hymabaccus wrote:
> Hello ports@
> 
> This is a port of the new version of rss2email, 3.9. Since it makes a
> number of breaking changes from the version of rss2email we have now,
> I'm making this an entirely new port.
> 
> This is heavily based on the port Thomas Levine submitted a while ago,
> most of the credit goes to him.
> 
> Note: I install the script as r2e3 (not r2e) so as to avoid conflict
> with rss2email-2.7. There were some ideas floating around about how to
> rename ports or scripts to avoid confusion, but I think the best thing
> to do is to avoid breaking people's scripts altogether and treat this
> as a new, unrelated program. It almost is, since we have different
> authors, a different version of Python and a different config file
> format.
> 
> Comments? I think this is a fairly inoffensive and non-disruptive way
> of handling this potential conflict.
> 
> -- 
> Kaashif Hymabaccus
> GPG: 3E810B04

I think that's the right way to handle it. Couple of comments,

MODPY_EGG_VERSION = 3.9

- please move this up in the block with DISTNAME

${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${DISTNAME}

- usually we don't use the full version number in such directories,
${PREFIX}/share/doc/rss2email3 would probably be the most appropriate

(pkg/MESSAGE) 

- please convert to a pkg-readme



[new] minio server/client

2017-12-09 Thread Landry Breuil
Hi,

here's a quick & easy port for https://minio.io/, an 'open source object
storage server with Amazon S3 compatible API.'. Two ports, the server
side and the cli, builds easily and works surprisingly fine.

start it with minio server /path/to/dir, it outputs the credz on stdout
then listens on all ifaces:

$minio server /usr/obj/ports
Endpoint:  http://10.0.3.254:9000  http://10.0.2.2:9000 http://127.0.0.1:9000
AccessKey: 
SecretKey: 

there's a web iface at localhost:9000 which allows you to browse files,
you connect with an access key and the secret token.

for the cli, i renamed it from mc to minioc to avoid conflicts.
https://github.com/minio/mc#add-a-cloud-storage-service
You can list files from your server once configured in the client, or
list the files in the test instance provided by minio and configured by
default, well do all kind of usual file operations:

$minioc ls play/test-bucket
[2017-12-08 21:25:08 CET]87B test.txt

$minioc config host add myminio http://10.0.3.254:9000 x yyy
$minioc ls myminio/bouquet  
[2017-12-09 23:08:21 CET]   378B home.desktop

And on the server filesystem:
378 Dec  9 23:08 /usr/obj/ports/bouquet/home.desktop

$minioc find myminio -name *.desktop
myminio/bouquet/home.desktop

$minioc share download myminio/bouquet/home.desktop
URL: http://10.0.3.254:9000/bouquet/home.desktop
Expire: 7 days 0 hours 0 minutes 0 seconds
Share:
http://10.0.3.254:9000/bouquet/home.desktop?X-Amz-Algorithm=AWS4-HMAC-SHA256=yyy%2Fus-east-1%2Fs3%2Faws4_request=20171209T222035Z=604800=host=x

Dead simple. Just works. minioc claims to be compatible with S3/GCS like
aws-cli and s3cmd but i have no accounts there to test.

Feedback on the ports welcome :) I havent done an rc script for the
server, since i wouldnt know what to share by default... and it can run
as whatever user. Does it even need a README ? joe user could set it
up..

Landry


minio.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-12-09 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2017/12/09 14:28:58

Modified files:
lang/erlang: Makefile.inc 
lang/erlang/16 : Makefile 
lang/erlang/17 : Makefile 
lang/erlang/18 : Makefile 
lang/erlang/19 : Makefile 

Log message:
Erlang fails to build on arm when smp is enable. Remove --enable-smp
from configure and disable explicitly it on arm and hppa. The 4
versions build fine on amd64 with and without smp enabled. The port
will also add a symlink to the erlang interpreter on those
architectures to avoid the use of a PFRAG file.

Based on a patch from phessler@. OK phessler@.



NEW: mail/rss2email3

2017-12-09 Thread Kaashif Hymabaccus
Hello ports@

This is a port of the new version of rss2email, 3.9. Since it makes a
number of breaking changes from the version of rss2email we have now,
I'm making this an entirely new port.

This is heavily based on the port Thomas Levine submitted a while ago,
most of the credit goes to him.

Note: I install the script as r2e3 (not r2e) so as to avoid conflict
with rss2email-2.7. There were some ideas floating around about how to
rename ports or scripts to avoid confusion, but I think the best thing
to do is to avoid breaking people's scripts altogether and treat this
as a new, unrelated program. It almost is, since we have different
authors, a different version of Python and a different config file
format.

Comments? I think this is a fairly inoffensive and non-disruptive way
of handling this potential conflict.

-- 
Kaashif Hymabaccus
GPG: 3E810B04


rss2email3.tgz
Description: application/tar-gz


NEW: www/vimb

2017-12-09 Thread MazoComp
Hi!

Vimb is modal webkit-based browser inspired by vim

This is latest 3.0-alpha release which depends on www/webkitgtk4


vimb.tar.gz
Description: application/tar-gz


[New] DiffUtilTcl

2017-12-09 Thread Stuart Cassoff
Comment:
diff functions for Tcl

Description:
A Tcl extension that provides utilities for comparisons of strings, lists and 
files.

The base comparison is a Longest Common Substring algorithm based on
J. W. Hunt and M. D. McIlroy, "An algorithm for differential file comparison,"
Comp. Sci. Tech. Rep. #41, Bell Telephone Laboratories (1976).
Available on the Web at the second author's personal site:
http://www.cs.dartmouth.edu/~doug/

It is basically an LCS diff algorithm implemented in C on top of Tcl's API,
thus giving full Unicode and VFS support.


OK?

diffutiltcl-0.4.0-port.tar.gz
Description: application/gzip


Re: UPDATE: par2cmdline 0.7.4

2017-12-09 Thread Mikolaj Kucharski
On Thu, Dec 07, 2017 at 11:12:29PM +0100, Jeremie Courreges-Anglas wrote:
> On Wed, Nov 29 2017, Mikolaj Kucharski  wrote:
> > Hi,
> >
> > Update to the latest release on GitHub. Ports changes:
> >
> > - drop patches included by upstream
> > - adapt pledge(2) patches after files moved into src/ subdir
> > - use GitHub variables
> > - drop uneeded variables after previous
> >
> > The biggest change which I'm aware from user perspective is author
> > inversed the behaviour of -N option in version 0.7.0. If you are
> > using par2cmdline with that option, you should drop it after attached
> > update. If you want to bring back behaviour of par2cmdline from before
> > version 0.7.0, then you need to add -N to your scripts or apps. I
> > personally was relaying on -N, so now I can remove it.
> >
> > Changes between versions by upstream can be seen at:
> >
> > https://github.com/Parchive/par2cmdline/releases
> >
> > I personally didn't had a chance to test this release properly yet, but
> > posting if someone else is using par2cmdline too.
> >
> > Regress tests pass on amd64:
> >
> > # TOTAL: 28
> > # PASS:  28
> > # SKIP:  0
> > # XFAIL: 0
> > # FAIL:  0
> > # XPASS: 0
> > # ERROR: 0
> 
> This update looks good, just one question: why switch to
> github-generated tarballs?  Upstream still provides tarballs as usual.

It looks like a mistake. I don't remember why I did it. Thanks for
catching this. Updated diff below, switching back to a release
tarball.



Index: Makefile
===
RCS file: /cvs/ports/archivers/par2cmdline/Makefile,v
retrieving revision 1.16
diff -u -p -u -r1.16 Makefile
--- Makefile26 Jul 2017 22:45:14 -  1.16
+++ Makefile9 Dec 2017 16:40:01 -
@@ -2,10 +2,8 @@
 
 COMMENT =  command line implementation of the PAR v2.0 specification
 
-V =0.6.14
+V =0.7.4
 DISTNAME = par2cmdline-$V
-DISTFILES =${DISTNAME}{v$V}.tar.gz
-REVISION = 2
 
 CATEGORIES =   archivers
 
@@ -19,7 +17,7 @@ WANTLIB = c m ${COMPILER_LIBCXX}
 
 MAINTAINER =   Mikolaj Kucharski 
 
-MASTER_SITES = ${HOMEPAGE}archive/
+MASTER_SITES = ${HOMEPAGE}releases/download/v$V/
 
 BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
@@ -41,8 +39,5 @@ post-patch:
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par2cmdline
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par2cmdline
-
-pre-test:
-   sed -i -e 's,^tar -xf,tar -xzf,' ${WRKSRC}/tests/test*
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/archivers/par2cmdline/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo5 Oct 2015 16:50:14 -   1.6
+++ distinfo9 Dec 2017 16:40:01 -
@@ -1,2 +1,2 @@
-SHA256 (par2cmdline-0.6.14.tar.gz) = 
L9gxupJNnw7NkkLKRVUbaZXt4e0oGveaow50kNVZbno=
-SIZE (par2cmdline-0.6.14.tar.gz) = 3539262
+SHA256 (par2cmdline-0.7.4.tar.gz) = 
uPHju+cs0pgigzLmfTU3BsPaFsxFI8Yvb9BT9JxUsdA=
+SIZE (par2cmdline-0.7.4.tar.gz) = 3617577
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/archivers/par2cmdline/patches/patch-configure_ac,v
retrieving revision 1.1
diff -u -p -u -r1.1 patch-configure_ac
--- patches/patch-configure_ac  13 Jun 2016 17:32:27 -  1.1
+++ patches/patch-configure_ac  9 Dec 2017 16:40:01 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-configure_ac,v 1.1 2016/06/13 17:32:27 semarie Exp $
 configure.ac.orig  Wed Jun  8 23:30:46 2016
-+++ configure.ac   Wed Jun  8 23:31:20 2016
-@@ -56,6 +56,7 @@ dnl Checks for library functions.
+Index: configure.ac
+--- configure.ac.orig
 configure.ac
+@@ -60,6 +60,7 @@ dnl Checks for library functions.
  AC_FUNC_MEMCMP
  AC_CHECK_FUNCS([stricmp] [strcasecmp])
  AC_CHECK_FUNCS([strchr] [memcpy])
Index: patches/patch-par1repairer_cpp
===
RCS file: patches/patch-par1repairer_cpp
diff -N patches/patch-par1repairer_cpp
--- patches/patch-par1repairer_cpp  13 Jun 2016 17:32:27 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,25 +0,0 @@
-$OpenBSD: patch-par1repairer_cpp,v 1.3 2016/06/13 17:32:27 semarie Exp $
-
-pledge:
-'par2 repair' with par1 files - stdio rpath cpath
-once the target files have been opened for writing, wpath is no
-longer required, cpath must be kept to delete partial files in
-case of an error
-
 par1repairer.cpp.orig  Wed Jun  8 23:41:11 2016
-+++ par1repairer.cpp   Wed Jun  8 23:42:01 2016
-@@ -157,6 +157,14 @@ Result Par1Repairer::Process(const CommandLine 
- if (!CreateTargetFiles())
-   return eFileIOError;
- 
-+#ifdef HAVE_PLEDGE
-+if (pledge("stdio rpath cpath", NULL) == -1)
-+{
-+  cerr << "pledge failed" << endl;

Re: PDF and PS viewers

2017-12-09 Thread Marc Peters
On Thu, Dec 07, 2017 at 10:30:55PM +0100, Solène Rapenne wrote:
> Hi, mupdf is fine. Why do you want to change ?
> 

What do you use for printing pdfs?

mutools are great. I like especially the "clean" to clean pdfs from known 
passwords.



[update] security/keybase to 1.0.36

2017-12-09 Thread Aaron Bieber
Hola,

This diff brings keybase to the latest version.

https://deftly.net/patches/keybase-1.0.36.diff
https://deftly.net/patches/keybase-1.0.36.diff.sig (Keybase sig)

Full set of changes here: 
https://github.com/keybase/client/compare/v1.0.33...v1.0.36

If anyone wants to test and is lacking a keybase invite, let me
know!

OK?

Index: Makefile
===
RCS file: /cvs/ports/security/keybase/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile11 Oct 2017 14:00:05 -  1.6
+++ Makefile9 Dec 2017 13:54:09 -
@@ -7,7 +7,7 @@ ONLY_FOR_ARCHS = amd64

 COMMENT =  client for keybase.io

-V =1.0.33
+V =1.0.36
 GH_ACCOUNT =   keybase
 GH_PROJECT =   client
 GH_TAGNAME =   v${V}
Index: distinfo
===
RCS file: /cvs/ports/security/keybase/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo11 Oct 2017 14:00:05 -  1.4
+++ distinfo9 Dec 2017 13:54:09 -
@@ -1,2 +1,2 @@
-SHA256 (keybase-1.0.33.tar.gz) = yBNdVyiZsL8CBffdvjDUv6ifNY9kZ46yXa38Dg+g2+A=
-SIZE (keybase-1.0.33.tar.gz) = 29170354
+SHA256 (keybase-1.0.36.tar.gz) = 3bmp1qDp7hsn7yRss5xQMrDYvP9nIB/Yqd1p3VVYUfo=
+SIZE (keybase-1.0.36.tar.gz) = 30043919

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



CVS: cvs.openbsd.org: ports

2017-12-09 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2017/12/09 07:08:18

Log message:
Import lxappearance. Citing DESCR:

LXAppearance is LXDE's GTK+ v2 and v3 theme switcher. Users are able
to change the theme, icons, fonts used by applications, and enable
accessibility features.

From maintainer Victor Kukshiev; tweaks & okay sthen@.

Status:

Vendor Tag: zhuk
Release Tags:   zhuk_20171209

N ports/x11/lxappearance/Makefile
N ports/x11/lxappearance/distinfo
N ports/x11/lxappearance/pkg/PLIST
N ports/x11/lxappearance/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2017-12-09 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2017/12/09 06:52:26

Modified files:
devel/py-futures: Makefile distinfo 

Log message:
Simple update to py-futures-3.2.0



Re: ZoneMinder

2017-12-09 Thread Michael Plura
Am Fri, 8 Dec 2017 16:28:00 -0800
schrieb "Stephen Graf" :

> Thank you all for your comments.
> I am experimenting with an IP surveillance camera and plan to put a
> number of such cameras around the exterior of my house.

Some time ago I used "motion" with linux. Not that easy to set up, but
worked flawless and didn't use much cpu. OpenBSD has a port i haven't
tested yet: multimedia/motion

#--

motion-3.4.1p3 – motion detection software for video
Description

Motion is a C program that monitors the video signal from one or
more V4L2/video(4) cameras or network-based webcams, and is able to
detect whether a significant part of the picture has changed. Or in
other words, it can detect motion.

Motion is a command line based tool. It has absolutely no graphical
user interface. Everything is setup either via the command line or
via a set of configuration files (simple ASCII files that can be
edited by any ASCII editor).

Motion can output JPEG/PPM images and MPEG video sequences, call
external programs, log to a database, etc.

Motion hasn't had an official release for some time; at present,
this package uses the forked code at https://github.com/Mr-Dave/motion/

Flavours:
bktr - build with bktr(4) support instead of video(4)
mysql - build with MySQL/MariaDB database support
pgsql - build with PostgreSQL database support




NEW: Tox

2017-12-09 Thread MazoComp
Hi!

Tox is secure distributed messaging protocol with audio and video chat
capabilities.

The attached ports are:
 * net/toxcore  Tox client library
 * net/toxicAn ncurses-based Tox client

I have to warn you: don't compile the "sound" flavor, it depends on
openal which causes segmentation faults, but 1.16.0 version of openal
port doesn't cause segmentation faults, also openal doesn't support
sndio backend, so you won't be able to speak, but you'll be able to
listen.



tox.tar.gz
Description: application/tar-gz


UPDATE: powerdns 4.1.0

2017-12-09 Thread Florian Obser
jca pointed out that I send an update for an older version (4.0.5)
before, so please disregard that. This jumps directly to the 4.1.x
series.

- our local patch to json11.cpp is no longer needed, upstream
  picked it up
- two more local patches are needed, mplexer.hh is already fixed by
  upstream and nproxy.cc is reported so they should go away with
  the next update
- jca pointed out that the master side does https now, so switched it,
  same for the home page
- otto@ pointed out that we install the man pages for the tools but
  don't build tools. This is enabled now as per his request.
- enabling the ldap module introduces a hard dependency on kerberos,
  (configure aborts) since I have no experience with kerberos,
  don't use ldap and never heard of anyone using ldap I chose to
  drop ldap support. It is hard enough to get OKs - let alone
  tests for powerdns, so I will focus on the things *I* need.
  If you need other things, please step up.

I assume the ldap removal needs some black magic somewhere in quirks?
Cluebats?

This runs in production and works for me[tm]
Tests, OKs?

diff --git Makefile Makefile
index c96c9a9b108..1a323cde121 100644
--- Makefile
+++ Makefile
@@ -5,25 +5,19 @@ BROKEN-hppa = undefined reference to 
'__sync_fetch_and_add_4'
 COMMENT-main=  modular authoritative nameserver (with database support)
 COMMENT-mysql= MySQL database access module for PowerDNS
 COMMENT-pgsql= PGSQL database access module for PowerDNS
-COMMENT-ldap=  LDAP module for PowerDNS
 
-V= 4.0.4
+V= 4.1.0
 DISTNAME=  pdns-${V}
 EXTRACT_SUFX = .tar.bz2
 PKGNAME=   powerdns-${V}
 PKGNAME-main=  powerdns-${V}
 PKGNAME-mysql= powerdns-mysql-${V}
 PKGNAME-pgsql= powerdns-pgsql-${V}
-PKGNAME-ldap=  powerdns-ldap-${V}
 CATEGORIES=net
-HOMEPAGE=  http://www.powerdns.com/
+HOMEPAGE=  https://www.powerdns.com/
 MAINTAINER=Florian Obser 
-REVISION-ldap= 0
-REVISION-main= 0
-REVISION-mysql=0
-REVISION-pgsql=0
 
-MULTI_PACKAGES=-main -mysql -pgsql -ldap
+MULTI_PACKAGES=-main -mysql -pgsql
 
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
@@ -37,7 +31,7 @@ WANTLIB-main += ${WANTLIB}
 WANTLIB-main += boost_program_options-mt boost_serialization-mt
 WANTLIB-main += bz2 c crypto gmp sqlite3 z
 
-MASTER_SITES=  http://downloads.powerdns.com/releases/
+MASTER_SITES=  https://downloads.powerdns.com/releases/
 
 NO_TEST=   Yes
 
@@ -46,7 +40,7 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \
devel/boost \
devel/gmp
 
-PSEUDO_FLAVORS+=   no_mysql no_pgsql no_ldap
+PSEUDO_FLAVORS+=   no_mysql no_pgsql
 FLAVOR?=
 
 BACKENDS=  gsqlite3
@@ -60,7 +54,9 @@ CONFIGURE_ARGS+=  --disable-shared \
--with-dynmodules="${BACKENDS}" \
--without-lua \
--disable-hardening \
-   --without-protobuf
+   --without-protobuf \
+   --enable-tools
+CONFIGURE_ARGS+=   --without-ldap
 
 CONFIGURE_ENV+=CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -93,17 +89,6 @@ LIB_DEPENDS-pgsql=   ${LIB_DEPENDS} \
 RUN_DEPENDS-pgsql= ${FULLPKGNAME-main}:net/powerdns
 WANTLIB-pgsql= crypto pq>=2 ssl ${WANTLIB}
 
-# LDAP
-.if ${BUILD_PACKAGES:M-ldap}
-BACKENDS+= ldap
-.else
-CONFIGURE_ARGS+=   --without-ldap
-.endif
-LIB_DEPENDS-ldap=  ${LIB_DEPENDS} \
-   databases/openldap
-RUN_DEPENDS-ldap=  ${FULLPKGNAME-main}:net/powerdns
-WANTLIB-ldap+= ${WANTLIB} crypto lber-2.4 ldap_r-2.4 sasl2 ssl
-
 EXAMPLE_DIR=   ${PREFIX}/share/examples/pdns/
 post-install:
rm -f ${PREFIX}/lib/pdns/*.la
diff --git distinfo distinfo
index 0b14f5ac821..7ba47e175d1 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (pdns-4.0.4.tar.bz2) = 2XSrid5pR3x/WBoyM7xzHqy7Q9R5KR5HKyxTHIO212M=
-SIZE (pdns-4.0.4.tar.bz2) = 1320327
+SHA256 (pdns-4.1.0.tar.bz2) = 25GTsPAlXCTfv8Mez/i9OeIf7AX/dSblrqljq8UX8PM=
+SIZE (pdns-4.1.0.tar.bz2) = 1116905
diff --git patches/patch-ext_json11_json11_cpp 
patches/patch-ext_json11_json11_cpp
deleted file mode 100644
index caf69e13d07..000
--- patches/patch-ext_json11_json11_cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-$OpenBSD: patch-ext_json11_json11_cpp,v 1.1 2017/05/27 06:21:43 espie Exp $
-nullptrs are non-comparable.
-patch from freebsd
-
-Index: ext/json11/json11.cpp
 ext/json11/json11.cpp.orig
-+++ ext/json11/json11.cpp
-@@ -37,11 +37,21 @@ using std::make_shared;
- using std::initializer_list;
- using std::move;
- 
-+/* Helper for representing null - just a do-nothing struct, plus comparison
-+ * operators so the 

CVS: cvs.openbsd.org: ports

2017-12-09 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/09 01:24:43

Modified files:
security/heimdal: Tag: OPENBSD_6_2 Makefile 
Added files:
security/heimdal/patches: Tag: OPENBSD_6_2 patch-kdc_kerberos5_c 

Log message:
Fix CVE-2017-17439: In Heimdal 7.1 through 7.4, remote unauthenticated
attackers are able to crash the KDC by sending a crafted UDP packet
containing empty data fields for client name or realm.



CVS: cvs.openbsd.org: ports

2017-12-09 Thread Ingo Feinerer
CVSROOT:/cvs
Module name:ports
Changes by: feine...@cvs.openbsd.org2017/12/09 01:09:14

Modified files:
multimedia/libv4l: Makefile distinfo 

Log message:
Update to libv4l 1.12.6