Re: [new] sysutils/p5-App-cpanminus

2018-11-21 Thread Andrew Hewus Fresh
On Sat, Nov 17, 2018 at 05:42:23PM +0100, Paco Esteban wrote:
> Find attached a port for cpanm
> cpanminus is a script to get, unpack, build and install modules from
> CPAN.

I fear that this would encourage folks to install and update more
modules from the CPAN that would then conflict with what the ports tree
does.   If we had a setup where ports installed into a vendor directory
and CPAN modules installed someplace else I might consider it so at
least it wouldn't easily break pkg_delete, but I would still worry that
someone would update a port and break something and not be able to
easily recover.


> It's great to test modules and install them on custom locations.

I use plenv for testing things and I have heard perlbrew works well too
and both of those install into a local perl instead of into the same
place that ports put modules.  That of course doesn't actually fix that
if you use system perl these tools will let you break things, but the
manual install here hopefully means that you know enough to fix it when
you shoot your foot.

https://github.com/tokuhirom/plenv

https://perlbrew.pl/

I use those with a Carton installed into the plenv-install'd perl to
test things in individual directories.

https://metacpan.org/pod/Carton


This has made me think about trying to figure out how to separate the
place we install ports from where cpanm or even the cpan tool that comes
with perl would install them.  If I figure that out, I might reconsider
an OK on this port.

> Also, it's dependency free (that makes me doubt a bit on the port
> itself, seems too simple, even for an easy perl module port).
> 
> Cheers,
> 
> -- 
> Paco Esteban
> https://onna.be/gpgkey.asc

-- 
andrew - http://afresh1.com

Life's unfair - but root password helps!



Re: converting m4a files

2018-11-21 Thread George Koehler
# pkg_add ffmpeg

Check if ffmpeg can play your file:

$ ffplay your-file.suffix

If so, try to convert it:

$ ffmpeg -i your-file.suffix your-file.ogg

-- 
George Koehler 



converting m4a files

2018-11-21 Thread Ed Ahlsen-Girard
Does anybody know of a solution that doesn't involve sending my files
(mine, I tell you, mine!) to a web site? These are not copyrighted: the
phone voice recorder app uses m4a by default, apparently.

-- 

Edward Ahlsen-Girard
Ft Walton Beach, FL




Re: lang/gprolog improvements: sparc64, PIE, system malloc(3)

2018-11-21 Thread Christian Weisgerber
On 2018-11-20, Christian Weisgerber  wrote:

> (Unfortunately, it still errors out with text relocations when built
> on i386 with lld, but that's a separate issue.)

There are text relocations deep in the runtime environment, somewhere
in a maze of Prolog, WAM, C and inline assembly.

That said, simply passing LDFLAGS=-Wl,-znotext to configure propagates
all the way through to the right places.  Can be done from the port
Makefile, or, if you still patch the configure script, added there.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: lang/gcc/6 can't build devel/cmake

2018-11-21 Thread Landry Breuil
On Tue, Nov 20, 2018 at 12:29:05PM +0100, Landry Breuil wrote:
> On Tue, Nov 20, 2018 at 08:47:14AM +0100, Landry Breuil wrote:
> > On Mon, Nov 19, 2018 at 11:44:28PM -0500, George Koehler wrote:
> > > On Mon, 19 Nov 2018 13:31:25 -0500
> > > George Koehler  wrote:
> > > 
> > > > My powerpc machine is using the gcc 6 diff from
> > > > https://marc.info/?l=openbsd-ports&m=154165621429861&w=2
> > > > 
> > > > This is using gcc-6.4.0p2 as ports-gcc, and has now failed to build
> > > > devel/cmake (It fails) because gcc 6 warns when linking any
> > > > C++ program:
> > > > 
> > > > $ eg++ -o simple simple.cc 
> > > > /usr/local/lib/gcc/powerpc-unknown-openbsd6.4/6.4.0/../../../libestdc++.so.18.0:
> > > >  warning: sprintf() is often misused, please use snprintf()
> > > 
> > > I now propose a patch for lang/gcc/6 that silences the above warning.
> > > With this patch, lang/gcc/6 builds devel/cmake successfully.  The
> > > patch removes sprintf() from libestdc++.so but doesn't touch other
> > > sprintf() calls in /usr/local/include/c++/6.4.0/ext/throw_allocator.h;
> > > I did use base-gcc's /usr/include/g++/ext/throw_allocator.h as an
> > > example of snprintf().
> > 
> > Sadly, even if i personally would like those warning messages to go away
> > as they never served any purpose in the ports land (and caused griefs
> > from upstream in the past, and issues like this one..) i dont think this
> > diff can be accepted. Iirc __builtin_xxx might do more things, and some
> > developers have a strong opinion about keeping the warnings; so cmake
> > might have to be adapted to ignore them ?
> 
> So, the warning comes from libestdc++, and we dont see it on amd64
> because it uses lld (which doesnt trigger the warning), and not on i386
> because it uses clang so libc++.
> 
> After discussing it with espie it might be better to use
> __builtin_snprintf instead of just snprintf - with that the warning msg
> should go away. That's what i'm testing in the current macppc bulk.

This diff allowed to build cmake in the current macppc bulk, so it's
definitely a step in the right direction. In the meantime upstream cmake
has decided to ignore the warning in
https://gitlab.kitware.com/brad.king/cmake/commit/2ca89b5a6969ce6b0bca44abf02a072e28e5c1cd
but that hasnt been merged yet, awaiting testing from our side per
https://gitlab.kitware.com/cmake/cmake/issues/18602#note_485588. I'm
already testing too many things so cant really do this testing right
now.

So which way should we go, fix libestdc++ ( as that fixes the annoying
warning for all its consumers ) and/or apply the cmake fix ?

Looking for eventual okays for the below patch for libestdc++.

> $OpenBSD$
> 
> Silence this linker warning:
> /usr/local/lib/gcc/powerpc-unknown-openbsd6.4/6.4.0/../../../libestdc++.so.18.0:
>  warning: sprintf() is often misused, please use snprintf()
> 
> Index: libstdc++-v3/src/c++11/debug.cc
> --- libstdc++-v3/src/c++11/debug.cc.orig
> +++ libstdc++-v3/src/c++11/debug.cc
> @@ -660,7 +660,7 @@ namespace
>  else if (__builtin_strcmp(name, "address") == 0)
>{
>   char buf[64];
> - int ret = __builtin_sprintf(buf, "%p", inst._M_address);
> + int ret = __builtin_snprintf(buf, sizeof buf, "%p", inst._M_address);
>   print_word(ctx, buf, ret);
>}
>  else
> @@ -712,7 +712,7 @@ namespace
>   else if (__builtin_strcmp(name, "sequence") == 0)
> {
>   assert(iterator._M_sequence);
> - int written = __builtin_sprintf(buf, "%p", iterator._M_sequence);
> + int written = __builtin_snprintf(buf, sizeof buf, "%p", 
> iterator._M_sequence);
>   print_word(ctx, buf, written);
> }
>   else if (__builtin_strcmp(name, "seq_type") == 0)
> @@ -797,7 +797,7 @@ namespace
>}
>  
>  int written
> -  = __builtin_sprintf(buf, "@ 0x%p {\n", inst._M_address);
> +  = __builtin_snprintf(buf, sizeof buf, "@ 0x%p {\n", inst._M_address);
>  print_word(ctx, buf, written);
>  
>  if (inst._M_type)
> @@ -853,7 +853,7 @@ namespace
>   }
>  
> int written
> - = __builtin_sprintf(buf, "@ 0x%p\n", ite._M_sequence);
> + = __builtin_snprintf(buf, sizeof buf, "@ 0x%p\n", 
> ite._M_sequence);
> print_word(ctx, buf, written);
>   }
>  
> @@ -951,8 +951,8 @@ namespace
>   if (param._M_kind == _Parameter::__integer)
> {
>   int written
> -   = __builtin_sprintf(buf, "%ld",
> -   param._M_variant._M_integer._M_value);
> +   = __builtin_snprintf(buf, sizeof buf, "%ld",
> +  param._M_variant._M_integer._M_value);
>   print_word(ctx, buf, written);
> }
>   else if (param._M_kind == _Parameter::__string)
> @@ -1012,7 +1012,7 @@ namespace __gnu_debug
>  if (_M_line > 0)
>{
>   char buf[64];
> - int written = __builtin_sprintf(buf, "%u:", _M_line);

Re: update: devel/subversion 1.11.0

2018-11-21 Thread Stefan Sperling
On Tue, Nov 20, 2018 at 11:15:59PM -0500, George Koehler wrote:
> Looks like GitHub's svn bridge is still broken:
> 
> $ svn co --depth empty https://github.com/OpenTTD/OpenTTD
> svn: E170013: Unable to connect to a repository at URL 
> 'https://github.com/OpenT
> TD/OpenTTD'
> svn: E175003: The server at 'https://github.com/OpenTTD/OpenTTD' does not 
> suppor
> t the HTTP/DAV protocol
> 

They're working on it: https://svn.haxx.se/users/archive-2018-11/0067.shtml



NEW: textproc/grammalecte - french grammar checker

2018-11-21 Thread Sebastien Marie
Hi,

I recently discover an open source french grammar checker, and as french
speaker, I am interesting to have such tool in ports.

It is initially a fork of Lightproof, it is written in python3, and comes with
two tools: one standalone cli program, and a HTTP server for REST usage.

The server part embedded bottle.py, so I removed the file and makes the port to
RUN_DEPENDS to py3-bottle to avoid duplicating code.

Thanks.
-- 
Sebastien Marie


grammalecte.tgz
Description: application/tar-gz


Re: update: devel/subversion 1.11.0

2018-11-21 Thread Aham Brahmasmi
Hello ports,

Apologies for removing the context, I joined the ports list recently and
do not have stsp's original mail.

I may be wrong here, but I was wondering whether we could change the
home of the _svnserve user to /var/svn from the current /nonexistent.

In other words, could we change from
@newuser _svnserve:777:_svnserve:daemon:SVN Daemon:/nonexistent:/sbin/nologin
to
@newuser _svnserve:777:_svnserve:daemon:SVN Daemon:/var/svn:/sbin/nologin

The idea is that post installation, one has to change the owner of the
/var/svn/reponame directory to _svnserve anyways.

Steps:
$ doas pkg_add subversion
$ cd /var
$ doas mkdir svn
$ cd /var/svn
$ doas svnadmin create reponame
$ doas chown -R _svnserve:_svnserve /var/svn/reponame
$ doas mkdir log
$ doas chown -R _svnserve:_svnserve /var/svn/log

For more context, could I please refer you to my recent mail on misc -
https://marc.info/?l=openbsd-misc&m=154221094309572&w=2.

In case I am missing something or doing something stupid, please feel
free to point it out.

Thanks.

Regards,
ab
-|-|-|-|-|-|-|--



boost diff

2018-11-21 Thread Otto Moerbeek
Hi,

I am playing with boost contexts which is configured out by the current port.
I am able to make execution_context and fcontext work on amd64. The first
using a simple test program and the second using a non-trival program.

The only actual change in boost itself is to use a mmap(...
MMAP_STACK ...) for stack allocation.  So I like to enable the
disabled parts. They are not extensivly tested and some other parts
might need a patch too (there are several classes creating stacks).

At the moment I just like to know if I am taking the right approach
port-wise. So, any comments or advise?

-Otto

Index: Makefile
===
RCS file: /cvs/ports/devel/boost/Makefile,v
retrieving revision 1.75
diff -u -p -r1.75 Makefile
--- Makefile11 Sep 2018 19:26:14 -  1.75
+++ Makefile21 Nov 2018 12:17:35 -
@@ -7,7 +7,7 @@ COMMENT=free peer-reviewed portable C++
 VERSION=   1.66.0
 DISTNAME=  boost_${VERSION:S/./_/g}
 PKGNAME=   boost-${VERSION}
-REVISION=  0
+REVISION=  2
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=boost/}
 EXTRACT_SUFX=  .tar.bz2
@@ -45,11 +45,7 @@ BOOST_LIBS=  boost_atomic-mt \
boost_unit_test_framework-mt boost_unit_test_framework \
boost_wserialization-mt boost_wserialization \
boost_wave-mt \
-   boost_type_erasure-mt boost_type_erasure \
-
-.for _lib in ${BOOST_LIBS}
-SHARED_LIBS+=  ${_lib} ${SO_VERSION}
-.endfor
+   boost_type_erasure-mt boost_type_erasure
 
 HOMEPAGE=  http://www.boost.org/
 
@@ -63,6 +59,12 @@ WANTLIB += ${COMPILER_LIBCXX} bz2 c icud
 
 COMPILER= base-clang ports-gcc
 
+.if ${MACHINE_ARCH} == "amd64"
+PKG_ARGS+=-Damd64=1
+.else
+PKG_ARGS+=-Damd64=0
+.endif
+
 MODULES=   lang/python
 MODPY_RUNDEP=  No
 
@@ -102,7 +104,24 @@ BOOTSTRAP= --with-bjam=${WRKSRC}/bjam \
 # 'context' and 'coroutine' use MD bits and miss support for Alpha,
 # PA-RISC, SPARC and SuperH. The author does not care
 # about adding support for Alpha and PA-RISC.
+
+.if ${MACHINE_ARCH} == "amd64"
+BOOST_LIBS+=   boost_context-mt \
+   boost_coroutine boost_coroutine-mt \
+   boost_fiber-mt \
+   boost_stacktrace_basic \
+   boost_stacktrace_basic-mt \
+   boost_stacktrace_addr2line \
+   boost_stacktrace_addr2line-mt \
+   boost_stacktrace_noop \
+   boost_stacktrace_noop-mt
+.else
 BOOTSTRAP+=--without-libraries=context,coroutine,fiber,stacktrace
+.endif
+
+.for _lib in ${BOOST_LIBS}
+SHARED_LIBS+=  ${_lib} ${SO_VERSION}
+.endfor
 
 PY2_BOOTSTRAP= --with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_2} 
\
--with-python-version=${MODPY_DEFAULT_VERSION_2} \
Index: patches/patch-boost_context_fixedsize_stack_hpp
===
RCS file: patches/patch-boost_context_fixedsize_stack_hpp
diff -N patches/patch-boost_context_fixedsize_stack_hpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-boost_context_fixedsize_stack_hpp 21 Nov 2018 12:17:35 
-
@@ -0,0 +1,34 @@
+$OpenBSD$
+
+Index: boost/context/fixedsize_stack.hpp
+--- boost/context/fixedsize_stack.hpp.orig
 boost/context/fixedsize_stack.hpp
+@@ -26,6 +26,8 @@
+ #  include BOOST_ABI_PREFIX
+ #endif
+ 
++#include 
++
+ namespace boost {
+ namespace context {
+ 
+@@ -42,8 +44,8 @@ class basic_fixedsize_stack { (public)
+ }
+ 
+ stack_context allocate() {
+-void * vp = std::malloc( size_);
+-if ( ! vp) {
++void * vp = mmap(NULL, size_, PROT_READ | PROT_WRITE, MAP_PRIVATE | 
MAP_ANON | MAP_STACK, -1, 0);
++if ( vp == MAP_FAILED ) {
+ throw std::bad_alloc();
+ }
+ stack_context sctx;
+@@ -62,7 +64,7 @@ class basic_fixedsize_stack { (public)
+ VALGRIND_STACK_DEREGISTER( sctx.valgrind_stack_id);
+ #endif
+ void * vp = static_cast< char * >( sctx.sp) - sctx.size;
+-std::free( vp);
++munmap(vp, sctx.size);
+ }
+ };
+ 
Index: pkg/PFRAG.amd64
===
RCS file: pkg/PFRAG.amd64
diff -N pkg/PFRAG.amd64
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/PFRAG.amd64 21 Nov 2018 12:17:35 -
@@ -0,0 +1,20 @@
+lib/libboost_context-mt.a
+@lib lib/libboost_context-mt.so.${LIBboost_context-mt_VERSION}
+lib/libboost_coroutine-mt.a
+@lib lib/libboost_coroutine-mt.so.${LIBboost_coroutine-mt_VERSION}
+lib/libboost_coroutine.a
+@lib lib/libboost_coroutine.so.${LIBboost_coroutine_VERSION}
+lib/libboost_fiber-mt.a
+@lib lib/libboost_fiber-mt.so.${LIBboost_fiber-mt_VERSION}
+lib/libboost_stacktrace_addr2line-mt.a
+@lib 
lib/libboost_stacktrace_addr2line-mt.so.${LIBboost_stacktrace_addr2line-mt_VERSION}
+lib/libboost_stacktrace_addr2line.a
+@lib 
lib/libboost_stacktrace_addr2line.so.${LIBboost_stacktrace_addr2line_VERSION

Re: UPDATE: security/sshguard, 1.5-->2.1.0 (2nd try)

2018-11-21 Thread Gonzalo L. Rodriguez
On Sun, 22 Apr 2018 at 16:03:23 +0200, Andreas Kusalananda Kähäri wrote:
> 
> Please find the diffs for an updated port of sshguard attached.
> 
> This updates sshguard from version 1.5 to 2.1.0.  One of the main
> reasons to update to this version is that sshguard now seems to
> correctly parse the OpenBSD sshd logs.  One can now also block an entire
> subnet rather than individual IP addresses, if one is so inclined.
> 
> I have been running this port for a few weeks, and it seems to work as
> advertised.
> 
> Note that the /etc/sshguard.conf file now is required (I modified the
> sample file so that it hopefully fits a vanilla OpenBSD system).
> 
> I posted about this update in late March when I had issues getting the
> sshguard service to properly shut down, but that issue has since been
> resolved (rc_stop() needs to send it the HUP signal).
> 
> Release announcements for sshguard are available at
> https://www.sshguard.net/litenewz/feeds/
> 
> Regards,
> 
> -- 
> Andreas Kusalananda Kähäri,
> National Bioinformatics Infrastructure Sweden (NBIS),
> Uppsala University, Sweden.
> 

Update to 2.2.0.

OK? Comments?


-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/security/sshguard/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile4 Sep 2018 12:46:21 -   1.13
+++ Makefile21 Nov 2018 11:19:32 -
@@ -2,8 +2,7 @@
 
 COMMENT=   protect against brute force attacks on sshd and others
 
-DISTNAME=  sshguard-1.5
-REVISION=  6
+DISTNAME=  sshguard-2.2.0
 CATEGORIES=security
 
 # BSD
@@ -13,11 +12,18 @@ WANTLIB+=   c pthread
 
 HOMEPAGE=  https://www.sshguard.net/
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sshguard/}
-EXTRACT_SUFX=  .tar.bz2
 
 CONFIGURE_STYLE=gnu
-CONFIGURE_ARGS=--with-firewall=pf
 
 NO_TEST=   Yes
+
+post-patch:
+   ${SUBST_CMD} ${WRKSRC}/doc/sshguard.8 \
+   ${WRKSRC}/examples/sshguard.conf.sample
+
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sshguard/
+   ${INSTALL_DATA} ${WRKSRC}/examples/*.{example,sample} \
+   ${PREFIX}/share/examples/sshguard/
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/sshguard/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo27 Jan 2014 15:49:15 -  1.3
+++ distinfo21 Nov 2018 11:19:32 -
@@ -1,2 +1,2 @@
-SHA256 (sshguard-1.5.tar.bz2) = tTf4dlRV/fhCT4fUvWleW2dbiOXRZIZUUhN5Rwk+fhk=
-SIZE (sshguard-1.5.tar.bz2) = 303767
+SHA256 (sshguard-2.2.0.tar.gz) = Kv8H/ubsM+T/1UEZFrdRiZd68dd7htrF84NN06o2VsI=
+SIZE (sshguard-2.2.0.tar.gz) = 737612
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 24 Jun 2018 10:54:19 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-$OpenBSD: patch-configure,v 1.1 2018/06/24 10:54:19 kn Exp $
-
-Index: configure
 configure.orig
-+++ configure
-@@ -5949,7 +5949,6 @@ then
- STD99_CFLAGS="-xc99"
- else
- # other compiler (assume gcc-compatibile :( )
--OPTIMIZER_CFLAGS="-O2"
- WARNING_CFLAGS="-Wall"
- STD99_CFLAGS="-std=c99"
- fi
Index: patches/patch-doc_sshguard_8
===
RCS file: patches/patch-doc_sshguard_8
diff -N patches/patch-doc_sshguard_8
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-doc_sshguard_821 Nov 2018 11:19:32 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: doc/sshguard.8
+--- doc/sshguard.8.orig
 doc/sshguard.8
+@@ -119,7 +119,7 @@ Set to enable verbose output from sshg\-blocker.
+ .SH FILES
+ .INDENT 0.0
+ .TP
+-.B %PREFIX%/etc/sshguard.conf
++.B ${SYSCONFDIR}/sshguard.conf
+ See sample configuration file.
+ .UNINDENT
+ .SH WHITELISTING
Index: patches/patch-examples_sshguard_conf_sample
===
RCS file: patches/patch-examples_sshguard_conf_sample
diff -N patches/patch-examples_sshguard_conf_sample
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-examples_sshguard_conf_sample 21 Nov 2018 11:19:32 -
@@ -0,0 +1,31 @@
+$OpenBSD$
+
+Index: examples/sshguard.conf.sample
+--- examples/sshguard.conf.sample.orig
 examples/sshguard.conf.sample
+@@ -7,9 +7,11 @@
+  REQUIRED CONFIGURATION 
+ # Full path to backend executable (required, no default)
+ #BACKEND="/usr/local/libexec/sshg-fw-iptables"
++BACKEND="${TRUEPREFIX}/libexec/sshg-fw-pf"
+ 
+ # Space-separated list of log files to monitor. (optional, no default)
+ #FILES="/var/log/auth.log /var/log/authlog /var/log/maillog"
++FILES="/var/log/authlog"
+ 
+ # Shell command that provides logs on standard output. (optional, no default)
+ # Example 1: ssh and sendmail from systemd journal:
+@@ -40,11 +42,11 @@

UPDATE: databases/strigi

2018-11-21 Thread Rafael Sadowski
Hi All!

update strigi to the latest stable version. Changelog:

0.7.8 (2013-02-05)
 - Fix xpm and xbm index. (Weng Xuetian)
 - Extract tracknumber and track count from a value like "03/16". (Sebastian 
Trueg)
 - Fixed indexing of m3u files. (Sebastian Trueg)
 - Fix FLAC Files: Remove addtional 'db' in replaygain (Vishesh Handa)
 - Fix: flac analizer was importing only one artist tag. (Ignacio Serantes)
 - Fix: non numeric genres in id3 v2 mp3 are ignored. (Ignacio Serantes)
 - Fix parsing of genre field in id3v2 tags(Sune Vuorela)
 - Change: TPE2 tag it's used as nmm:albumArtist instead as nmm:performer in 
ID3 analyzer. (Ignacio Serantes)
 - Change: added support to TRACKTOTAL tag as an equivalent to TRACKCOUNT in 
FLAC analyzer. (Ignacio Serantes)
 - C++11 fixes (Raphael Kubo da Costa)
 - Let the strigi ffmpeg plugin compile on modern ffmpeg versions. (Simeon Bird)
 - Simeon Bird (Let the ffmpeg analyser deal with files with have track numbers 
with a / in them)
 - Remove dependency on boost. (Jos van den Oever)
 - Use GNUInstallDirs in order to install into lib64 automatically (David Faure)
 - Install a version file for the CMake config module (Christophe Giboudeaux)
 - Allow the Strigi submodules to be installed in custom prefixes. (Christophe 
Giboudeaux)

No dynamic export changes found by check_sym.

kn@: ffmpeg patches needed.

OK or objections?

Rafael

Index: Makefile
===
RCS file: /cvs/ports/databases/strigi/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile24 Oct 2018 14:27:59 -  1.26
+++ Makefile21 Nov 2018 09:32:34 -
@@ -1,20 +1,11 @@
 # $OpenBSD: Makefile,v 1.26 2018/10/24 14:27:59 sthen Exp $
 
 COMMENT =  document indexer
-CATEGORIES =   databases devel textproc sysutils
-
-HOMEPAGE = https://projects.kde.org/projects/kdesupport/strigi/
+DISTNAME = strigi-0.7.8
 
-# hand-rolled from strigi* submodules at quickgit.kde.org
-DISTNAME = strigi-0.7.7pl1
-REVISION = 3
-
-MASTER_SITES = https://spacehopper.org/mirrors/ \
-   ftp://3ps.if.ua/pub/OpenBSD/distfiles/ \
-   http://www.ohvost.ru/dnl/kde/src/
+CATEGORIES =   databases devel textproc sysutils
 
-# LGPLv2+
-PERMIT_PACKAGE_CDROM = Yes
+HOMEPAGE = https://www.vandenoever.info/software/strigi/
 
 SHARED_LIBS +=  searchclient   2.0
 SHARED_LIBS +=  streamanalyzer 2.0
@@ -22,6 +13,21 @@ SHARED_LIBS +=  streams2.0
 SHARED_LIBS +=  strigihtmlgui  2.0
 SHARED_LIBS +=  strigiqtdbusclient 2.0
 
+# LGPLv2+
+PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB += ${COMPILER_LIBCXX} lib/qt4/QtDBus lib/qt4/QtGui avcodec
+WANTLIB += avformat avutil bz2 c clucene-core clucene-shared dbus-1
+WANTLIB += exiv2 fam iconv m swscale xml2
+
+MASTER_SITES = https://www.vandenoever.info/software/strigi/
+EXTRACT_SUFX = .tar.bz2
+
+COMPILER = base-clang ports-gcc base-gcc
+
+MODULES =  devel/cmake \
+   x11/qt4
+
 BUILD_DEPENDS =devel/cppunit \
devel/boost
 
@@ -34,20 +40,11 @@ LIB_DEPENDS =   archivers/bzip2 \
textproc/libxml \
x11/dbus
 
-WANTLIB =  lib/qt4/QtDBus lib/qt4/QtGui
-WANTLIB += bz2 c clucene-core clucene-shared dbus-1 exiv2 fam iconv m pthread
-WANTLIB += ${COMPILER_LIBCXX} xml2 z avcodec avformat avutil swscale
-
-COMPILER = base-clang ports-gcc base-gcc
-
-MODULES =  devel/cmake \
-   x11/qt4
-
 # Not ported
-CONFIGURE_ARGS =   -DENABLE_LOG4CXX:Bool=No
+CONFIGURE_ARGS =   -DENABLE_LOG4CXX=No
 
 # Depends on Java
-CONFIGURE_ARGS +=  -DENABLE_REGENERATEXSD:Bool=No
+CONFIGURE_ARGS +=  -DENABLE_REGENERATEXSD=No
 
 .include 
 .if ${PROPERTIES:Mclang}
Index: distinfo
===
RCS file: /cvs/ports/databases/strigi/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo15 Nov 2012 00:04:30 -  1.7
+++ distinfo21 Nov 2018 09:32:34 -
@@ -1,2 +1,2 @@
-SHA256 (strigi-0.7.7pl1.tar.gz) = eLltb5+Jw4xu5iBdYv4MPyjYyS0gRCAZOvFK8Rq7IaM=
-SIZE (strigi-0.7.7pl1.tar.gz) = 908466
+SHA256 (strigi-0.7.8.tar.bz2) = Q+RhpiWs3vpZv1jMnRCuvanrqSDfvoAPx35ty/Hv+Yk=
+SIZE (strigi-0.7.8.tar.bz2) = 810574
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/strigi/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 PLIST
--- pkg/PLIST   7 Nov 2014 10:05:29 -   1.9
+++ pkg/PLIST   21 Nov 2018 09:32:34 -
@@ -73,23 +73,27 @@ include/strigi/tarinputstream.h
 include/strigi/textutils.h
 include/strigi/variant.h
 include/strigi/zipinputstream.h
-lib/libsearchclient/
+lib/cmake/LibSearchClient/
+lib/cmake/LibSearchClient/LibSearchClientConfig.cmake
+lib/cmake/LibStreamAnalyzer/
+lib/cmake/LibStreamAnalyzer/LibStreamAnalyzerConfig.cmake
+lib/cmake/LibStreamAnalyzer/LibStr

UPDATE: SQLmap-1.2.11

2018-11-21 Thread Gonzalo L. Rodriguez
Hello,

Update for SQLMap to 1.2.11.

OK? Comments?

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/security/sqlmap/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile17 Oct 2018 08:18:24 -  1.12
+++ Makefile21 Nov 2018 09:00:55 -
@@ -4,7 +4,7 @@ COMMENT =   penetration testing tool to d
 
 GH_ACCOUNT =   sqlmapproject
 GH_PROJECT =   sqlmap
-GH_TAGNAME =   1.2.10
+GH_TAGNAME =   1.2.11
 
 CATEGORIES =   security
 
Index: distinfo
===
RCS file: /cvs/ports/security/sqlmap/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo17 Oct 2018 08:18:24 -  1.10
+++ distinfo21 Nov 2018 09:00:55 -
@@ -1,2 +1,2 @@
-SHA256 (sqlmap-1.2.10.tar.gz) = fjpsOEPs3ZWi06a/TYY+Qy7QQ5Ce1cPbLd3yHipHxHs=
-SIZE (sqlmap-1.2.10.tar.gz) = 7421497
+SHA256 (sqlmap-1.2.11.tar.gz) = qde/qvkvGcHtYLlaCGBVh9fImKTUF6+T3OU67zexSuA=
+SIZE (sqlmap-1.2.11.tar.gz) = 7426205
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/sqlmap/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   17 Oct 2018 08:18:24 -  1.10
+++ pkg/PLIST   21 Nov 2018 09:00:55 -
@@ -346,6 +346,21 @@ share/sqlmap/plugins/dbms/firebird/synta
 share/sqlmap/plugins/dbms/firebird/syntax.pyc
 share/sqlmap/plugins/dbms/firebird/takeover.py
 share/sqlmap/plugins/dbms/firebird/takeover.pyc
+share/sqlmap/plugins/dbms/h2/
+share/sqlmap/plugins/dbms/h2/__init__.py
+share/sqlmap/plugins/dbms/h2/__init__.pyc
+share/sqlmap/plugins/dbms/h2/connector.py
+share/sqlmap/plugins/dbms/h2/connector.pyc
+share/sqlmap/plugins/dbms/h2/enumeration.py
+share/sqlmap/plugins/dbms/h2/enumeration.pyc
+share/sqlmap/plugins/dbms/h2/filesystem.py
+share/sqlmap/plugins/dbms/h2/filesystem.pyc
+share/sqlmap/plugins/dbms/h2/fingerprint.py
+share/sqlmap/plugins/dbms/h2/fingerprint.pyc
+share/sqlmap/plugins/dbms/h2/syntax.py
+share/sqlmap/plugins/dbms/h2/syntax.pyc
+share/sqlmap/plugins/dbms/h2/takeover.py
+share/sqlmap/plugins/dbms/h2/takeover.pyc
 share/sqlmap/plugins/dbms/hsqldb/
 share/sqlmap/plugins/dbms/hsqldb/__init__.py
 share/sqlmap/plugins/dbms/hsqldb/__init__.pyc
@@ -596,14 +611,14 @@ share/sqlmap/tamper/least.py
 share/sqlmap/tamper/least.pyc
 share/sqlmap/tamper/lowercase.py
 share/sqlmap/tamper/lowercase.pyc
+share/sqlmap/tamper/luanginx.py
+share/sqlmap/tamper/luanginx.pyc
 share/sqlmap/tamper/modsecurityversioned.py
 share/sqlmap/tamper/modsecurityversioned.pyc
 share/sqlmap/tamper/modsecurityzeroversioned.py
 share/sqlmap/tamper/modsecurityzeroversioned.pyc
 share/sqlmap/tamper/multiplespaces.py
 share/sqlmap/tamper/multiplespaces.pyc
-share/sqlmap/tamper/nonrecursivereplacement.py
-share/sqlmap/tamper/nonrecursivereplacement.pyc
 share/sqlmap/tamper/overlongutf8.py
 share/sqlmap/tamper/overlongutf8.pyc
 share/sqlmap/tamper/overlongutf8more.py
@@ -618,8 +633,6 @@ share/sqlmap/tamper/randomcase.py
 share/sqlmap/tamper/randomcase.pyc
 share/sqlmap/tamper/randomcomments.py
 share/sqlmap/tamper/randomcomments.pyc
-share/sqlmap/tamper/securesphere.py
-share/sqlmap/tamper/securesphere.pyc
 share/sqlmap/tamper/sp_password.py
 share/sqlmap/tamper/sp_password.pyc
 share/sqlmap/tamper/space2comment.py
@@ -937,6 +950,8 @@ share/sqlmap/waf/binarysec.py
 share/sqlmap/waf/binarysec.pyc
 share/sqlmap/waf/blockdos.py
 share/sqlmap/waf/blockdos.pyc
+share/sqlmap/waf/chinacache.py
+share/sqlmap/waf/chinacache.pyc
 share/sqlmap/waf/ciscoacexml.py
 share/sqlmap/waf/ciscoacexml.pyc
 share/sqlmap/waf/cloudbric.py