UPDATE: SQLmap 1.2

2018-01-23 Thread Gonzalo L. Rodriguez
Hello,

Update for SQLmap to 1.2:

https://github.com/sqlmapproject/sqlmap/releases

OK? Comments?

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/security/sqlmap/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile20 Nov 2017 17:57:25 -  1.10
+++ Makefile23 Jan 2018 08:20:30 -
@@ -4,7 +4,7 @@ COMMENT =   penetration testing tool to d
 
 GH_ACCOUNT =   sqlmapproject
 GH_PROJECT =   sqlmap
-GH_TAGNAME =   1.1.11
+GH_TAGNAME =   1.2
 
 CATEGORIES =   security
 
Index: distinfo
===
RCS file: /cvs/ports/security/sqlmap/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo20 Nov 2017 17:57:25 -  1.8
+++ distinfo23 Jan 2018 08:20:30 -
@@ -1,2 +1,2 @@
-SHA256 (sqlmap-1.1.11.tar.gz) = yZ9ibzTpR9rhQki7anqYnshciQmu8D/3/5b+TLAhuOs=
-SIZE (sqlmap-1.1.11.tar.gz) = 7410884
+SHA256 (sqlmap-1.2.tar.gz) = OeDvWDZaWgQT2I38wNHCELRlZhy5fI5bQsH+unkdJFM=
+SIZE (sqlmap-1.2.tar.gz) = 7411946
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/sqlmap/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   20 Nov 2017 17:57:25 -  1.8
+++ pkg/PLIST   23 Jan 2018 08:20:30 -
@@ -522,14 +522,16 @@ share/sqlmap/procs/postgresql/
 share/sqlmap/procs/postgresql/dns_request.sql
 share/sqlmap/shell/
 share/sqlmap/shell/README.txt
-share/sqlmap/shell/backdoor.asp_
-share/sqlmap/shell/backdoor.aspx_
-share/sqlmap/shell/backdoor.jsp_
-share/sqlmap/shell/backdoor.php_
-share/sqlmap/shell/stager.asp_
-share/sqlmap/shell/stager.aspx_
-share/sqlmap/shell/stager.jsp_
-share/sqlmap/shell/stager.php_
+share/sqlmap/shell/backdoors/
+share/sqlmap/shell/backdoors/backdoor.asp_
+share/sqlmap/shell/backdoors/backdoor.aspx_
+share/sqlmap/shell/backdoors/backdoor.jsp_
+share/sqlmap/shell/backdoors/backdoor.php_
+share/sqlmap/shell/stagers/
+share/sqlmap/shell/stagers/stager.asp_
+share/sqlmap/shell/stagers/stager.aspx_
+share/sqlmap/shell/stagers/stager.jsp_
+share/sqlmap/shell/stagers/stager.php_
 share/sqlmap/sqlmap.conf
 share/sqlmap/sqlmap.py
 share/sqlmap/sqlmap.pyc
@@ -576,6 +578,8 @@ share/sqlmap/tamper/halfversionedmorekey
 share/sqlmap/tamper/halfversionedmorekeywords.pyc
 share/sqlmap/tamper/htmlencode.py
 share/sqlmap/tamper/htmlencode.pyc
+share/sqlmap/tamper/ifnull2casewhenisnull.py
+share/sqlmap/tamper/ifnull2casewhenisnull.pyc
 share/sqlmap/tamper/ifnull2ifisnull.py
 share/sqlmap/tamper/ifnull2ifisnull.pyc
 share/sqlmap/tamper/informationschemacomment.py
@@ -907,6 +911,8 @@ share/sqlmap/waf/anquanbao.py
 share/sqlmap/waf/anquanbao.pyc
 share/sqlmap/waf/armor.py
 share/sqlmap/waf/armor.pyc
+share/sqlmap/waf/asm.py
+share/sqlmap/waf/asm.pyc
 share/sqlmap/waf/aws.py
 share/sqlmap/waf/aws.pyc
 share/sqlmap/waf/baidu.py
@@ -1009,6 +1015,8 @@ share/sqlmap/waf/varnish.py
 share/sqlmap/waf/varnish.pyc
 share/sqlmap/waf/wallarm.py
 share/sqlmap/waf/wallarm.pyc
+share/sqlmap/waf/watchguard.py
+share/sqlmap/waf/watchguard.pyc
 share/sqlmap/waf/webappsecure.py
 share/sqlmap/waf/webappsecure.pyc
 share/sqlmap/waf/webknight.py
@@ -1019,6 +1027,8 @@ share/sqlmap/waf/yundun.py
 share/sqlmap/waf/yundun.pyc
 share/sqlmap/waf/yunsuo.py
 share/sqlmap/waf/yunsuo.pyc
+share/sqlmap/waf/zenedge.py
+share/sqlmap/waf/zenedge.pyc
 share/sqlmap/xml/
 share/sqlmap/xml/banner/
 share/sqlmap/xml/banner/generic.xml


Re: glib2: gio kqueue fixes

2018-01-23 Thread Martin Pieuchot
On 13/01/18(Sat) 16:13, Martin Pieuchot wrote:
> Diff below is a redesign of the kqueue(2) backend for GIO/glib.
> It fixes BZ #739424 and a couple of more bugs and races & reduces
> the size of the backend by 1K+ lines.
> 
> The backend is still not generating all the events it should, but
> that's a different problem.  More details about my work can be found
> in the git commit below.
> 
> I'd appreciate test reports before I push that upstream.

Anyone?

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/glib2/Makefile,v
> retrieving revision 1.268
> diff -u -p -r1.268 Makefile
> --- Makefile  9 Jan 2018 12:31:54 -   1.268
> +++ Makefile  13 Jan 2018 14:55:24 -
> @@ -9,6 +9,7 @@ COMMENT=  general-purpose utility librar
>  GNOME_PROJECT=   glib
>  GNOME_VERSION=   2.54.3
>  PKGNAME= ${DISTNAME:S/glib/glib2/}
> +REVISION=0
>  
>  CATEGORIES=  devel
>  
> @@ -54,6 +55,12 @@ CONFIGURE_ARGS=--enable-static \
>   --with-pcre=system \
>   --disable-fam
>  
> +AUTOCONF_VERSION=2.69
> +AUTOMAKE_VERSION=1.15
> +BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
> + ${MODGNU_AUTOMAKE_DEPENDS} \
> + devel/libtool
> +
>  .include 
>  .if ${PROPERTIES:Mgcc3}
>  PATCH_LIST=  patch-* gcc3-*
> @@ -71,5 +78,9 @@ pre-configure:
>   sed -i "s,/usr/share,${PREFIX}/share,g" \
>   ${WRKSRC}/docs/reference/gio/html/glib-compile-schemas.html \
>   ${WRKSRC}/docs/reference/gio/glib-compile-schemas.xml
> + cd ${WRKSRC} && env -i \
> + AUTOCONF_VERSION=${AUTOCONF_VERSION} \
> + AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
> + autoreconf -fi
>  
>  .include 
> Index: patches/patch-gio_kqueue_gkqueuefilemonitor_c
> ===
> RCS file: patches/patch-gio_kqueue_gkqueuefilemonitor_c
> diff -N patches/patch-gio_kqueue_gkqueuefilemonitor_c
> --- patches/patch-gio_kqueue_gkqueuefilemonitor_c 8 May 2017 16:57:08 
> -   1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,50 +0,0 @@
> -$OpenBSD: patch-gio_kqueue_gkqueuefilemonitor_c,v 1.2 2017/05/08 16:57:08 
> ajacoutot Exp $
> -
> -Prevent a use-after-free resulting in a crash of all apps depending
> -on glib/GIO mostly at "pkg_add -u" time.
> -https://bugzilla.gnome.org/show_bug.cgi?id=739424
> -
> -Index: gio/kqueue/gkqueuefilemonitor.c
>  gio/kqueue/gkqueuefilemonitor.c.orig
> -+++ gio/kqueue/gkqueuefilemonitor.c
> -@@ -30,6 +30,16 @@
> - #include 
> - 
> - 
> -+/*
> -+ * Because `kqueue_sub'' are not refcounted, we need
> -+ * ensure no other thread is getting a reference to
> -+ * the element we want to free.
> -+ *
> -+ * That's why _kh_cancel_sub() must be called with
> -+ * this lock held to prevent a race.
> -+ */
> -+G_LOCK_EXTERN (hash_lock);
> -+
> - struct _GKqueueFileMonitor
> - {
> -   GLocalFileMonitor parent_instance;
> -@@ -80,9 +90,11 @@ g_kqueue_file_monitor_finalize (GObject *object)
> - 
> -   if (kqueue_monitor->sub)
> - {
> -+  G_LOCK (hash_lock);
> -   _kh_cancel_sub (kqueue_monitor->sub);
> -   _kh_sub_free (kqueue_monitor->sub);
> -   kqueue_monitor->sub = NULL;
> -+  G_UNLOCK (hash_lock);
> - }
> - 
> -   if (kqueue_monitor->fallback)
> -@@ -181,9 +193,11 @@ g_kqueue_file_monitor_cancel (GFileMonitor *monitor)
> - 
> -   if (kqueue_monitor->sub)
> - {
> -+  G_LOCK (hash_lock);
> -   _kh_cancel_sub (kqueue_monitor->sub);
> -   _kh_sub_free (kqueue_monitor->sub);
> -   kqueue_monitor->sub = NULL;
> -+  G_UNLOCK (hash_lock);
> - }
> -   else if (kqueue_monitor->fallback)
> - {
> Index: patches/patch-gio_kqueue_kqueue-helper_c
> ===
> RCS file: patches/patch-gio_kqueue_kqueue-helper_c
> diff -N patches/patch-gio_kqueue_kqueue-helper_c
> --- patches/patch-gio_kqueue_kqueue-helper_c  9 Jan 2018 12:31:54 -   
> 1.4
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,64 +0,0 @@
> -$OpenBSD: patch-gio_kqueue_kqueue-helper_c,v 1.4 2018/01/09 12:31:54 
> ajacoutot Exp $
> -
> -Prevent a use-after-free resulting in a crash of all apps depending
> -on glib/GIO mostly at "pkg_add -u" time.
> -https://bugzilla.gnome.org/show_bug.cgi?id=739424
> -
> -Index: gio/kqueue/kqueue-helper.c
>  gio/kqueue/kqueue-helper.c.orig
> -+++ gio/kqueue/kqueue-helper.c
> -@@ -43,7 +43,7 @@ static gboolean kh_debug_enabled = FALSE;
> - #define KH_W if (kh_debug_enabled) g_warning
> - 
> - static GHashTable *subs_hash_table = NULL;
> --G_LOCK_DEFINE_STATIC (hash_lock);
> -+G_LOCK_DEFINE (hash_lock);
> - 
> - static int kqueue_descriptor = -1;
> - static int kqueue_socket_pair[] = {-1, -1};
> -@@ -293,10 +293,10 @@ process_kqueue_notifications (GIOChannel   *gioc,
> - 
> -   G_LOCK (hash_l

Re: webmail

2018-01-23 Thread Solène Rapenne

Le 2018-01-22 17:33, Jan Stary a écrit :

What do people use as a light-weight webmail above smtpd?
Does smptd need to store in Maildirs as opposed to mbox?

Thanks,

Jan


Hello,

You can try https://www.mailpile.is/ it's a webmail
intended to be used by only one person, it gather mails
from different places and doesn't synchronize. It aims
security by encrypting every mail on the disk and manage
easily PGP keys and signed mails, but I'm not able to say
if the security is done well.

I made a port I never commited if you want to try, it works
well on OpenBSD. It can also be easily installed using
virtual-env as it's a python software.



Re: webmail

2018-01-23 Thread Gilles Chehade
On Tue, Jan 23, 2018 at 11:29:25AM +0100, Sol??ne Rapenne wrote:
> Le 2018-01-22 17:33, Jan Stary a ??crit??:
> > What do people use as a light-weight webmail above smtpd?
> > Does smptd need to store in Maildirs as opposed to mbox?
> > 
> > Thanks,
> > 
> > Jan
> 
> Hello,
> 
> You can try https://www.mailpile.is/ it's a webmail
> intended to be used by only one person, it gather mails
> from different places and doesn't synchronize. It aims
> security by encrypting every mail on the disk and manage
> easily PGP keys and signed mails, but I'm not able to say
> if the security is done well.
> 
> I made a port I never commited if you want to try, it works
> well on OpenBSD. It can also be easily installed using
> virtual-env as it's a python software.
> 

I never managed to get mailpile working :-/

I'd be happy if you committed your port !


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: webmail

2018-01-23 Thread Bruno Flueckiger

On 22.01.2018 17:33, Jan Stary wrote:

What do people use as a light-weight webmail above smtpd?
Does smptd need to store in Maildirs as opposed to mbox?

Thanks,

Jan


I use RoundCube as the web interface to the Dovecot IMAP server. 
OpenSMTPD delivers the mails using LMTP to Dovecot and the Pigeonhole 
plugin provides filtering of incomming mails using Sieve. There is a 
plugin for RoundCube which allows me to manage the Sieve filters from 
the web interface.


Cheers,
Bruno



UPDATE: net/cgo

2018-01-23 Thread Nils Reuße
Here's an update to the latest cgo, a gopher CLI client written in C.

This version allows three characters that can be used for links (up to zzz), 
and as a consequence of this, the commands b, g and h are now uppercased.

Any comments?

NilsIndex: Makefile
===
RCS file: /cvs/ports/net/cgo/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile	24 Mar 2017 12:59:40 -	1.8
+++ Makefile	23 Jan 2018 12:19:42 -
@@ -1,13 +1,13 @@
 # $OpenBSD: Makefile,v 1.8 2017/03/24 12:59:40 abieber Exp $
 
 COMMENT =	simple terminal based gopher client
-DISTNAME =	cgo-20170313
+DISTNAME = 	cgo-20180123
 
 CATEGORIES =	net
 
 GH_ACCOUNT =	kieselsteini
 GH_PROJECT =	cgo
-GH_COMMIT =	c1ed33645f4c2ee1d731258d8a2dc6cedb35eb90
+GH_COMMIT =	ca69bbb7183e45f6ef67b86931b65ae4c8dde6f9
 
 # ISC
 PERMIT_PACKAGE_CDROM =	Yes
Index: distinfo
===
RCS file: /cvs/ports/net/cgo/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	6 May 2017 15:10:18 -	1.6
+++ distinfo	23 Jan 2018 12:19:42 -
@@ -1,2 +1,2 @@
-SHA256 (cgo-20170313-c1ed3364.tar.gz) = CPwyNcebx8BsBqAFsXZJG4jAOoJIZWtV3o4oYlbmLWc=
-SIZE (cgo-20170313-c1ed3364.tar.gz) = 8553
+SHA256 (cgo-20180123-ca69bbb7.tar.gz) = /aaOmeWqpyGYGDwZJk1hz6o+kKFvYMAVDh95CDSZ0XA=
+SIZE (cgo-20180123-ca69bbb7.tar.gz) = 8672


Can't build python 3.6.4 on 6.2-current.

2018-01-23 Thread Karel Gardas

Hello,

while attempting to build lang/swi-prolog using dpb I've hit issue building 
python 3.6.4. The log
of python 3.6.4 build looks fine up to the moment of fake installation which 
fails with:

===> lang/python/3.6
===>  Faking installation for Python-3.6.4
install -d -m 755 /usr/ports/pobj/Python-3.6.4/fake-amd64
cd /usr/ports/lang/python/3.6 && umask 022 && PKGPATH=lang/python/3.6 exec  
/usr/bin/make _pre-fake-modules 
PATH='/usr/ports/pobj/Python-3.6.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 TRUEPREFIX=/usr/local  
PREFIX=/usr/ports/pobj/Python-3.6.4/fake-amd64/usr/local 
DESTDIR=/usr/ports/pobj/Python-3.6.4/fake-amd64
Error: The source directory (/usr/ports/pobj/Python-3.6.4/Python-3.6.4) is not 
clean
Building Python out of the source tree (in 
/usr/local/ports/pobj/Python-3.6.4/Python-3.6.4) requires a clean source tree 
(/usr/ports/pobj/Python-3.6.4/Python-3.6.4)
Try to run: make -C "/usr/ports/pobj/Python-3.6.4/Python-3.6.4" clean
*** Error 1 in /usr/local/ports/pobj/Python-3.6.4/Python-3.6.4 (Makefile:467 
'check-clean-src')
*** Error 1 in /usr/ports/lang/python/3.6 
(/usr/ports/infrastructure/mk/bsd.port.mk:2837 
'/usr/ports/pobj/Python-3.6.4/fake-amd64/.fake_done')
*** Error 1 in /usr/ports/lang/python/3.6 
(/usr/ports/infrastructure/mk/bsd.port.mk:2419 'fake')
===> Exiting lang/python/3.6 with an error
*** Error 1 in /usr/local/ports 
(/usr/ports/infrastructure/mk/bsd.port.subdir.mk:147 'fake')
Error: job failed with 256 on localhost


Is it a known issue or am I doing anything stupid? Dpb was invoked as root from 
/usr/ports with:

./infrastructure/bin/dpb /home/karel/src/swi-prolog.txt

where cat /home/karel/src/swi-prolog.txt shows:

fujitsu# cat /home/karel/src/swi-prolog.txt   
lang/swi-prolog
fujitsu# 

I'm just curious since I'd like to be able to have reference ports builder here 
to detect any issues while hacking on OpenBSD header files...

6.2-current is from yesterday, ports tree is fresh from today.

Thanks!
Karel



Re: UPDATE: net/cgo

2018-01-23 Thread Brian Callahan


On 01/23/18 07:26, Nils Reuße wrote:

Here's an update to the latest cgo, a gopher CLI client written in C.

This version allows three characters that can be used for links (up to zzz), 
and as a consequence of this, the commands b, g and h are now uppercased.

Any comments?

Nils


Committed, thanks.

~Brian



[new] DBD:XBase & dbfdump

2018-01-23 Thread Landry Breuil
Hi,

new quick port thanks to portgen, for DBD:XBase
(http://search.cpan.org/~janpaz/DBD-XBase-1.08/) - i needed it for
dbfdump as dbf is often used along shapefiles..

feedback on the port itself welcome. Only added DBI as RDEP, i doubt it
needs much more from cpan, all the other dependencies seem to be in perl
base.

Landry


p5-DBD-XBase.tgz
Description: application/tar-gz


Re: webmail

2018-01-23 Thread Craig Skinner
On Mon, 22 Jan 2018 17:33:30 +0100 Jan Stary wrote:
> What do people use as a light-weight webmail

Base ssh & packaged mutt. (Works fine with PuTTY on Widows, etc.)

Cheers,
-- 
Craig Skinner | http://linkd.in/yGqkv7



UPDATE: net/pmacct

2018-01-23 Thread Job Snijders
Dear all,

This upgrades pmacct to 1.7.0, the latest stable version. I've only very
lightly tested this. patches/patch-src_network_h can be deleted.

Kind regards,

Job

---
 net/pmacct/Makefile|  5 ++---
 net/pmacct/distinfo|  4 ++--
 net/pmacct/patches/patch-configure_in  | 36 +++---
 net/pmacct/patches/patch-src_network_h | 12 
 net/pmacct/pkg/PFRAG.mysql |  1 -
 net/pmacct/pkg/PFRAG.postgresql|  1 -
 net/pmacct/pkg/PLIST   |  3 +--
 7 files changed, 21 insertions(+), 41 deletions(-)
 delete mode 100644 net/pmacct/patches/patch-src_network_h

diff --git net/pmacct/Makefile net/pmacct/Makefile
index ae9cc69b5d5..d5d887f3ec0 100644
--- net/pmacct/Makefile
+++ net/pmacct/Makefile
@@ -2,8 +2,7 @@
 
 COMMENT=   IP accounting software
 
-DISTNAME=  pmacct-1.5.3
-REVISION=  1
+DISTNAME=  pmacct-1.7.0
 CATEGORIES=net
 
 HOMEPAGE=  http://www.pmacct.net/
@@ -17,7 +16,7 @@ MASTER_SITES= ${HOMEPAGE}
 
 NO_TEST=   Yes
 CONFIGURE_STYLE= autoconf no-autoheader
-AUTOCONF_VERSION= 2.13
+AUTOCONF_VERSION= 2.69
 USE_GMAKE= Yes
 CONFIGURE_ARGS= --enable-ipv6 \
--enable-sqlite3 \
diff --git net/pmacct/distinfo net/pmacct/distinfo
index 98d957f139e..6ef9f0baee4 100644
--- net/pmacct/distinfo
+++ net/pmacct/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pmacct-1.5.3.tar.gz) = LvdkaCgWjrXlzBxct20guajKBergvzT8Jr6++/ksM6Q=
-SIZE (pmacct-1.5.3.tar.gz) = 920563
+SHA256 (pmacct-1.7.0.tar.gz) = 
19c3795db452191c2b1b9533fecaf69c6767c9fb7b4ae60ae3f28e24eb2ee9c8
+SIZE (pmacct-1.7.0.tar.gz) = 1351888
diff --git net/pmacct/patches/patch-configure_in 
net/pmacct/patches/patch-configure_in
index a9ff5d7ca7c..dd5e37cb47c 100644
--- net/pmacct/patches/patch-configure_in
+++ net/pmacct/patches/patch-configure_in
@@ -1,21 +1,17 @@
-$OpenBSD: patch-configure_in,v 1.2 2016/06/02 11:52:32 sthen Exp $
 configure.in.orig  Thu Jan 14 11:55:01 2016
-+++ configure.in   Sat May 21 11:35:39 2016
-@@ -25,7 +25,6 @@ AC_PROG_RANLIB
- dnl initial checks; tweakings to CFLAGS and LDFLAGS
- dnl see final checks for tweakings to LIBS
- if test "x$ac_cv_prog_gcc" = xyes ; then
--  CFLAGS="-O2 ${CFLAGS}"
-   case "$host_os" in
- IRIX*)
-   CFLAGS="-mabi=n32 -fno-builtins"
-@@ -542,9 +541,6 @@ AC_ARG_ENABLE(mysql,
- # Adding these as prerequisite for MySQL 5.6 
- AC_CHECK_LIB([stdc++], [main], [LIBS="${LIBS} -lstdc++"], [AC_MSG_ERROR([
-   ERROR: missing libstdc++ devel. Requirement for building MySQL.
--])])
--AC_CHECK_LIB([rt], [clock_gettime], [LIBS="${LIBS} -lrt"], [AC_MSG_ERROR([
--  ERROR: missing librt devel. Requirement for building MySQL.
- ])])
+diff --git configure.ac configure.ac
+index c22d91e..aacb5b1 100644
+--- configure.ac
 configure.ac
+@@ -26,12 +26,6 @@ AC_MSG_RESULT($host_os)
+ AC_MSG_CHECKING(hardware)
+ AC_MSG_RESULT($host_cpu)
  
- AC_ARG_WITH(mysql-includes,
+-dnl initial checks; tweakings to CFLAGS and LDFLAGS
+-dnl see final checks for tweakings to LIBS
+-if test "x$ac_cv_prog_gcc" = xyes ; then
+-  CFLAGS="-O2 ${CFLAGS}"
+-fi
+-
+ dnl set debug level
+ AC_MSG_CHECKING([whether to enable debugging compiler options])
+ AC_ARG_ENABLE(debug,
diff --git net/pmacct/patches/patch-src_network_h 
net/pmacct/patches/patch-src_network_h
deleted file mode 100644
index 37e67b65953..000
--- net/pmacct/patches/patch-src_network_h
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_network_h,v 1.1 2014/03/22 23:05:43 sthen Exp $
 src/network.h.orig Sun Mar 16 01:45:27 2014
-+++ src/network.h  Sun Mar 16 01:45:44 2014
-@@ -230,7 +230,7 @@ struct my_icmphdr
- u_int32_t   gateway;/* gateway address */
- struct
- {
--  u_int16_t __unused;
-+  u_int16_t __dummy;
-   u_int16_t mtu;
- } frag; /* path mtu discovery */
-   } un;
diff --git net/pmacct/pkg/PFRAG.mysql net/pmacct/pkg/PFRAG.mysql
index bddc47587fe..64928128cf4 100644
--- net/pmacct/pkg/PFRAG.mysql
+++ net/pmacct/pkg/PFRAG.mysql
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.mysql,v 1.4 2016/06/02 11:52:32 sthen Exp $
-@bin bin/pmmyplay
 share/doc/pmacct/README.mysql
 share/examples/pmacct/sql/pmacct-create-db_bgp_v1.mysql
 share/examples/pmacct/sql/pmacct-create-db_v1.mysql
diff --git net/pmacct/pkg/PFRAG.postgresql net/pmacct/pkg/PFRAG.postgresql
index 45ff0a31dde..ff62d9edbb4 100644
--- net/pmacct/pkg/PFRAG.postgresql
+++ net/pmacct/pkg/PFRAG.postgresql
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.postgresql,v 1.4 2016/06/02 11:52:32 sthen Exp $
-@bin bin/pmpgplay
 share/doc/pmacct/README.pgsql
 share/examples/pmacct/sql/pmacct-create-db.pgsql
 share/examples/pmacct/sql/pmacct-create-table_bgp_v1.pgsql
diff --git net/pmacct/pkg/PLIST net/pmacct/pkg/PLIST
index 8b0c1ec7dd7..d8983083585 100644
--- net/pmacct/pkg/PLIST
+++ net/pmacct/pkg/PLIST
@@ -6,7 +6,6 @@
 @bin sbin/sfacctd
 %%mysql%%
 %%postgresql%%
-@bin sbin/uacctd
 share/doc/pma

gradio 7.1

2018-01-23 Thread Landry Breuil
Hi,

simple update to gradio 7.1, see changes on
https://github.com/haecker-felix/gradio/releases

ok ?
Index: Makefile
===
RCS file: /cvs/ports/audio/gradio/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile18 Nov 2017 11:40:20 -  1.9
+++ Makefile23 Jan 2018 19:11:56 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.9 2017/11/18 11:40:20 jasper Exp $
 
 COMMENT =  internet radio browser and player
-GH_TAGNAME =   v6.0.2
+GH_TAGNAME =   v7.1
 GH_ACCOUNT =   haecker-felix
 GH_PROJECT =   gradio
 EPOCH =0
Index: distinfo
===
RCS file: /cvs/ports/audio/gradio/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo18 Nov 2017 11:40:20 -  1.4
+++ distinfo23 Jan 2018 19:11:56 -
@@ -1,2 +1,2 @@
-SHA256 (gradio-6.0.2.tar.gz) = lBuKvqkBaZ8xEIlK2jTHSlHfUYxrg+ps0jf/ysGOIJI=
-SIZE (gradio-6.0.2.tar.gz) = 412603
+SHA256 (gradio-7.1.tar.gz) = siOzcb/IKDH8vzaZu0v6cohDjQLpNRtwex8y236l9+M=
+SIZE (gradio-7.1.tar.gz) = 435461
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/gradio/pkg/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- pkg/PLIST   19 Nov 2017 02:03:08 -  1.5
+++ pkg/PLIST   23 Jan 2018 19:11:56 -
@@ -16,17 +16,22 @@
 share/icons/hicolor/512x512/apps/de.haeckerfelix.gradio.png
 share/icons/hicolor/scalable/apps/de.haeckerfelix.gradio.svg
 share/icons/hicolor/symbolic/apps/de.haeckerfelix.gradio-symbolic.svg
+share/locale/cs/LC_MESSAGES/gradio.mo
 share/locale/de/LC_MESSAGES/gradio.mo
+share/locale/es/LC_MESSAGES/gradio.mo
 share/locale/fr/LC_MESSAGES/gradio.mo
 share/locale/hr/LC_MESSAGES/gradio.mo
 share/locale/it/LC_MESSAGES/gradio.mo
 share/locale/ka/LC_MESSAGES/gradio.mo
 share/locale/nb/LC_MESSAGES/gradio.mo
+share/locale/nl/LC_MESSAGES/gradio.mo
 share/locale/pl/LC_MESSAGES/gradio.mo
 share/locale/pt_BR/LC_MESSAGES/gradio.mo
 share/locale/sk/LC_MESSAGES/gradio.mo
 share/locale/sr/LC_MESSAGES/gradio.mo
+share/locale/sr@latin/LC_MESSAGES/gradio.mo
 share/locale/sv/LC_MESSAGES/gradio.mo
+share/locale/tr/LC_MESSAGES/gradio.mo
 @exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
 @unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
 @exec %D/bin/update-desktop-database


Re: NEW: devel/catch2

2018-01-23 Thread Rafael Sadowski
ping, anyone?

On Thu Jan 11, 2018 at 10:32:23PM +0100, Rafael Sadowski wrote:
> On Tue Jan 02, 2018 at 10:22:19PM +0100, Rafael Sadowski wrote:
> > Please find attached catch2. 
> > 
> > https://github.com/catchorg/Catch2
> > 
> > $ pkg/DESCR
> > Catch2 stands for C++ Automated Test Cases in a Header and is a 
> > multi-paradigm
> > test framework for C++. which also supports Objective-C (and maybe C). It is
> > primarily distributed as a single header file, although certain extensions 
> > may
> > require additional headers.
> > 
> > Test results:
> > 
> > Test project /usr/ports/pobj/catch2-2.0.1/build-amd64
> > Start 1: RunTests
> > 1/4 Test #1: RunTests .   Passed0.02 sec
> > Start 2: ListTests
> > 2/4 Test #2: ListTests    Passed0.01 sec
> > Start 3: ListTags
> > 3/4 Test #3: ListTags .   Passed0.00 sec
> > Start 4: ApprovalTests
> > 4/4 Test #4: ApprovalTests ***Failed  Error regular 
> > expression found in output. Regex=[Results differed]  0.55 sec
> > 
> > 75% tests passed, 1 tests failed out of 4
> > 
> > 
> > Ok to import?
> 
> New version 2.1.0 attached as a tarball.
> 
> Test project /usr/ports/pobj/catch2-2.1.0/build-amd64
> Start 1: RunTests
> 1/6 Test #1: RunTests .   Passed0.02 sec
> Start 2: ListTests
> 2/6 Test #2: ListTests    Passed0.01 sec
> Start 3: ListTags
> 3/6 Test #3: ListTags .   Passed0.01 sec
> Start 4: ListReporters
> 4/6 Test #4: ListReporters    Passed0.00 sec
> Start 5: ListTestNamesOnly
> 5/6 Test #5: ListTestNamesOnly    Passed0.01 sec
> Start 6: ApprovalTests
> 6/6 Test #6: ApprovalTests ***Failed  Error regular 
> expression found in output. Regex=[Results differed]  0.68 sec
> 
> 83% tests passed, 1 tests failed out of 6
> 
> Any objections to import?
> 
> Rafael




Re: NEW: devel/catch2

2018-01-23 Thread Klemens Nanni
On Thu, Jan 11, 2018 at 10:32:23PM +0100, Rafael Sadowski wrote:
> On Tue Jan 02, 2018 at 10:22:19PM +0100, Rafael Sadowski wrote:
> > Please find attached catch2. 
> > 
> > https://github.com/catchorg/Catch2
> > 
> > $ pkg/DESCR
> > Catch2 stands for C++ Automated Test Cases in a Header and is a 
> > multi-paradigm
> > test framework for C++. which also supports Objective-C (and maybe C). It is
> > primarily distributed as a single header file, although certain extensions 
> > may
> > require additional headers.

> New version 2.1.0 attached as a tarball.
> 
> Test project /usr/ports/pobj/catch2-2.1.0/build-amd64
> Start 1: RunTests
> 1/6 Test #1: RunTests .   Passed0.02 sec
> Start 2: ListTests
> 2/6 Test #2: ListTests    Passed0.01 sec
> Start 3: ListTags
> 3/6 Test #3: ListTags .   Passed0.01 sec
> Start 4: ListReporters
> 4/6 Test #4: ListReporters    Passed0.00 sec
> Start 5: ListTestNamesOnly
> 5/6 Test #5: ListTestNamesOnly    Passed0.01 sec
> Start 6: ApprovalTests
> 6/6 Test #6: ApprovalTests ***Failed  Error regular 
> expression found in output. Regex=[Results differed]  0.68 sec
> 
> 83% tests passed, 1 tests failed out of 6
> 
> Any objections to import?
Same test results here. I don't use Catch2 but here's an updated port
with the following fixes:

Drop DISTNAME as it's autogenerated by GH_* and stick to "Catch2" (with
capital C) as that's the project's proper name.

Add missing license version (see http://www.boost.org/users/history/).

Fixing hardcoded `python' invocations with sed in pre-configure always
seems dirty to me, we have patches and SUBST_CMD for that. But since
all scripts use `#!/usr/bin/env python' as shebang just symlink
MODPY_BIN into PORTPATH here.

Python 3 works fine so use that (afaik the policy is to not import
further Python 2 ports). As Python is used for tests only, drop it from
BDEP and RDEP as well.

Looks good to me otherwise.


Catch2.tgz
Description: Binary data


Re: NEW: devel/catch2

2018-01-23 Thread Brian Callahan


On 1/23/2018 6:31 PM, Klemens Nanni wrote:
> On Thu, Jan 11, 2018 at 10:32:23PM +0100, Rafael Sadowski wrote:
>> On Tue Jan 02, 2018 at 10:22:19PM +0100, Rafael Sadowski wrote:
>>> Please find attached catch2. 
>>>
>>> https://github.com/catchorg/Catch2
>>>
>>> $ pkg/DESCR
>>> Catch2 stands for C++ Automated Test Cases in a Header and is a 
>>> multi-paradigm
>>> test framework for C++. which also supports Objective-C (and maybe C). It is
>>> primarily distributed as a single header file, although certain extensions 
>>> may
>>> require additional headers.
>> New version 2.1.0 attached as a tarball.
>>
>> Test project /usr/ports/pobj/catch2-2.1.0/build-amd64
>> Start 1: RunTests
>> 1/6 Test #1: RunTests .   Passed0.02 sec
>> Start 2: ListTests
>> 2/6 Test #2: ListTests    Passed0.01 sec
>> Start 3: ListTags
>> 3/6 Test #3: ListTags .   Passed0.01 sec
>> Start 4: ListReporters
>> 4/6 Test #4: ListReporters    Passed0.00 sec
>> Start 5: ListTestNamesOnly
>> 5/6 Test #5: ListTestNamesOnly    Passed0.01 sec
>> Start 6: ApprovalTests
>> 6/6 Test #6: ApprovalTests ***Failed  Error regular 
>> expression found in output. Regex=[Results differed]  0.68 sec
>>
>> 83% tests passed, 1 tests failed out of 6
>>
>> Any objections to import?
> Same test results here. I don't use Catch2 but here's an updated port
> with the following fixes:
>
> Drop DISTNAME as it's autogenerated by GH_* and stick to "Catch2" (with
> capital C) as that's the project's proper name.

Why capitalize this, outside of GH_PROJECT? Just to take one random
example, Python's proper name is Python and yet it's lowercase in
ports/packages. The same is true for thousands of ports, so I don't see
why this one needs to be special. There are also no capital letters in
pkg/PLIST (catch.hpp and catch.pc, for example).

~Brian

> Add missing license version (see http://www.boost.org/users/history/).
>
> Fixing hardcoded `python' invocations with sed in pre-configure always
> seems dirty to me, we have patches and SUBST_CMD for that. But since
> all scripts use `#!/usr/bin/env python' as shebang just symlink
> MODPY_BIN into PORTPATH here.
>
> Python 3 works fine so use that (afaik the policy is to not import
> further Python 2 ports). As Python is used for tests only, drop it from
> BDEP and RDEP as well.
>
> Looks good to me otherwise.



Re: NEW: devel/catch2

2018-01-23 Thread Klemens Nanni
On Tue, Jan 23, 2018 at 06:39:12PM -0500, Brian Callahan wrote:
> On 1/23/2018 6:31 PM, Klemens Nanni wrote:
> > Drop DISTNAME as it's autogenerated by GH_* and stick to "Catch2" (with
> > capital C) as that's the project's proper name.
> 
> Why capitalize this, outside of GH_PROJECT? Just to take one random
> example, Python's proper name is Python and yet it's lowercase in
> ports/packages. The same is true for thousands of ports, so I don't see
> why this one needs to be special. There are also no capital letters in
> pkg/PLIST (catch.hpp and catch.pc, for example).
Not renaming the port's name seems cleaner to me unless really necessary
or desired, such as for highly popular ports like Python. It's a
personal preference in the end, I left it as is to keep the port simple.



Re: NEW: games/openjk

2018-01-23 Thread Brian Callahan


On 01/12/18 12:50, Brian Callahan wrote:


On 12/29/17 22:21, Brian Callahan wrote:


On 12/22/17 10:27, Brian Callahan wrote:

Hi ports --

Attached is a new port, games/openjk. OpenJK is an open source 
reimplementation of the Jedi Academy game from LucasArts. I've had 
this sitting in my tree for a while, finally got it to play for the 
first time today.


---
pkg/DESCR:
As a new student of Luke Skywalker's Jedi Academy, follow an ancient
tradition and learn the powers - and dangers - of the Force.

As a Dark Jedi Cult knows as the Disciples of Ragnos threaten the
galaxy, Jaden Korr, a student of Luke Skywalker's Jedi Academy must
learn the ways of the jedi in order to defend it. On the path to
becoming a Jedi Master Jaden must fight through various missions taking
place accross the galaxy, from Hoth to Tattoine. Upon each victory,
Jaden's powers grow until eventually becoming an apprentice to Kyle
Katarn, and must fight the temptation of turning to the dark side.

Interact with famous classic Star Wars locations and characters while
facing the ultimate choice: fight for good and freedom in the light 
side

or follow the path of power and evil to the dark side. Create your own
characters by defining various characteristics, such as species, 
gender,
clothing and physical attributes allowing for a more personal 
experience

before entering the academy to learn the powers - and dangers - of the
Force. Construct your own lightsaber from handle to blade color. Unique
tiered level selection allows you to choose you adventure and the
missions you take based on the skills you need to become the ultimate
Jedi Knight.
---

It's another game that's available on GOG.com -- and on pretty good 
sale too: https://www.gog.com/game/star_wars_jedi_knight_jedi_academy


Upstream says that the multiplayer is in a better state than the 
single player. I was able to start up both, play both, and watch the 
opening cinematics of the single player game. The binaries have 
different names depending on if you want to play multiplayer or 
single player. As always, follow the pkg/README for setup instructions.


I had the tiniest of audio glitches with the Lucas Arts logo when 
starting the single player binary, but the in-game audio was fine.


Fullscreen mode does not appear to work in the single player binary, 
but works fine in the multiplayer binary. Go figure.


OK?

~Brian



Ping. Attached is a new tarball updating to the latest code and 
addressing all comments.


OK?

~Brian



New tarball. Still works well.

~Brian



Ping.



Re: [NEW] emulators/mame

2018-01-23 Thread Anthony J. Bentley
Frederic Cambus writes:
> On Fri, Jan 05, 2018 at 11:47:19AM +0100, Frederic Cambus wrote:
> > We have sdlmame and sdlmess in ports, but I decided to go with a new
> > port for several reasons:
> > 
> > - The sdlmame and sdlmess projects do not exist anymore (since several
> >   years now), there is now a single code base building on several
> >   operating systems
> > - The latest sdlmame and sdlmess versions we have in ports are in fact
> >   MAME
> > - MAME and MESS merged in 2015, and although it's still possible to
> >   build a separate executable for MESS, I'm not sure if it makes sense
> >   from a package size and build time perspective
> > 
> > So the idea is to import this new port with conflict markers, and to
> > remove sdlmame and sdlmess when we are confident this new version
> > works well enough.

The port looks and plays fine, and I agree with keeping it to a single
package. ok bentley@



Re: NEW: news/nzbget

2018-01-23 Thread Björn Ketelaars
On Sat 20/01/2018 21:39, Klemens Nanni wrote:
> On Sat, Jan 20, 2018 at 08:05:04PM +0100, Björn Ketelaars wrote:
> > New port for NZBGet
> > 
> > pkg/DESCR:
> > NZBGet is a binary newsgrabber, which downloads files from usenet based on
> > information given in nzb-files. NZBGet is written in C++ and is known for 
> > its
> > extraordinary performance and efficiency.
> > 
> > 
> > This port does the same thing as news/sabnzbd but is faster, lighter on
> > resources, and has less dependencies.
> > 
> > I used the first free id from infrastructure/db/user.list.
> > 
> > Comments?
> Looks good to me portwise except for:
> 
> DISTNAME is not needed as it's generated by GH_* already. But since
> upstream provides proper release tarballs, please use DISTNAME and
> MASTER_SITES without GH_* here.
> 
> HOMEPAGE has HTTPS.
> 
> The example nzbget.conf should probably be installed under
> share/examples/nzget/ instead of share/nzget/ as per our porting guide.

Enclosed a new tarball which addresses, amongst others, the comments above.
I only tested on amd64 as this platform is available to me. Is there someone
interested in this port, and could give it a spin on a different platform?

-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


nzbget.tgz
Description: application/tar-gz


Re: UPDATE devel/gitsh

2018-01-23 Thread Björn Ketelaars
On Thu 18/01/2018 22:00, Björn Ketelaars wrote:
> An update for gitsh is available which fixes some bugs, and adds some features
> [0]. Diff has been sent to maintainer who responded with "Yes, that looks
> right".
> 
> [0] https://github.com/thoughtbot/gitsh/releases/tag/v0.12
> 
> Comments?

Ping!