Re: UPDATE: databases/p5-DBD-mysql

2019-01-28 Thread Giovanni Bechis
On Mon, Jan 28, 2019 at 07:56:02PM -0700, Andrew Hewus Fresh wrote:
> On Fri, Jan 18, 2019 at 08:36:45AM +0100, Giovanni Bechis wrote:
> > On Wed, Jan 09, 2019 at 09:16:51AM +0100, Giovanni Bechis wrote:
> > > Update to latest version with a fix to handle
> > > type conversions in amavisd.
> > > Comments ? ok ?
> > >  Cheers
> > >   Giovanni
> > New diff to update to 4.050
> >  Cheers
> >   Giovanni
> 
> This looks OK afresh1@ but to get tests to pass I need this patch since
> we don't enforce passwords in our test mariadb instance.  Not sure if
> there's a better workaround.
> 
I will commit with your patch added, if there is a better workaround
it will be meat for a later commit.
 Cheers & Thanks
  Giovanni


> $OpenBSD$
> 
> Index: t/10connect.t
> --- t/10connect.t.orig
> +++ t/10connect.t
> @@ -71,7 +70,9 @@ ok($dbh->disconnect(), 'Disconnected');
>  eval {$dbh= DBI->connect($test_dsn, $test_user, $test_password,
> { RaiseError => 1, PrintError => 1, AutoCommit => 0,
>   Username => '4yZ73s9qeECdWi', Password => '64heUGwAsVoNqo' });};
> +SKIP: { skip "Our mariadb test runs with --skip-grant-tables", 1;
>  ok($@, 'Username and Password attributes override');
> +}
>  
>  eval {$dbh= DBI->connect($test_dsn, '4yZ73s9qeECdWi', '64heUGwAsVoNqo',
> { RaiseError => 1, PrintError => 1, AutoCommit => 0,



signature.asc
Description: PGP signature


Re: UPDATE: databases/p5-DBD-mysql

2019-01-28 Thread Andrew Hewus Fresh
On Fri, Jan 18, 2019 at 08:36:45AM +0100, Giovanni Bechis wrote:
> On Wed, Jan 09, 2019 at 09:16:51AM +0100, Giovanni Bechis wrote:
> > Update to latest version with a fix to handle
> > type conversions in amavisd.
> > Comments ? ok ?
> >  Cheers
> >   Giovanni
> New diff to update to 4.050
>  Cheers
>   Giovanni

This looks OK afresh1@ but to get tests to pass I need this patch since
we don't enforce passwords in our test mariadb instance.  Not sure if
there's a better workaround.

$OpenBSD$

Index: t/10connect.t
--- t/10connect.t.orig
+++ t/10connect.t
@@ -71,7 +70,9 @@ ok($dbh->disconnect(), 'Disconnected');
 eval {$dbh= DBI->connect($test_dsn, $test_user, $test_password,
{ RaiseError => 1, PrintError => 1, AutoCommit => 0,
  Username => '4yZ73s9qeECdWi', Password => '64heUGwAsVoNqo' });};
+SKIP: { skip "Our mariadb test runs with --skip-grant-tables", 1;
 ok($@, 'Username and Password attributes override');
+}
 
 eval {$dbh= DBI->connect($test_dsn, '4yZ73s9qeECdWi', '64heUGwAsVoNqo',
{ RaiseError => 1, PrintError => 1, AutoCommit => 0,


Re: [ports-gcc] Unbreak x11/grantlee

2019-01-28 Thread George Koehler
Cc Rafael Sadowksi, who replied to my earlier mail about grantlee.

On Mon, 28 Jan 2019 19:16:24 +0100
Charlene Wendling  wrote:

> Hi ports! 
> 
> > http://build-failures.rhaalovely.net/sparc64/2018-12-19/x11/grantlee.log
> > http://build-failures.rhaalovely.net/powerpc/2018-12-14/x11/grantlee.log
> 
> With ports-gcc, it needs additional CFLAGS and LDFLAGS.
> 
> It has been tested successfully on macppc [1]. 
> 
> Charlène. 
> 
> 
> [1] http://ix.io/1zr6
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/grantlee/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile  24 Oct 2018 14:28:12 -  1.13
> +++ Makefile  28 Jan 2019 17:50:57 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =template and text document library for Qt4
>  PKG_VERSION =0.5.1
> -REVISION =   4
> +REVISION =   5
>  PLIST_VERSION =  ${PKG_VERSION:R}
>  DISTNAME =   grantlee-${PKG_VERSION}
>  CATEGORIES = devel x11
> @@ -36,3 +36,8 @@ CONFIGURE_ARGS =-DCMAKE_DISABLE_FIND_PA
>  SUBST_VARS = PLIST_VERSION
>  
>  .include 
> +
> +.if ${CHOSEN_COMPILER} == "ports-gcc"
> +CXXFLAGS += -pthread
> +LDFLAGS += -lpthread
> +.endif
> 

Earlier this month, I offered a different diff for x11/grantlee:
https://marc.info/?l=openbsd-ports=154715527204197=2

The error is "undefined reference to `pthread_cancel'" when building
a shared object (.so).  My diff removed -Wl,--no-undefined from flags
(in patch-CMakeLists_txt), so the undefined symbol isn't an error.
The above diff instead links to libpthread, so the symbol is defined.

For comparison, x11/grantlee-qt5/patch*CMake* is now linking .so files
to both libc and libpthread.

Most .so files in OpenBSD have some undefined symbols because they
don't link to libc.  The flag -Wl,--no-undefined works in some
systems, but causes errors in OpenBSD with libc symbols like memcpy.
I know less about pthread_cancel; the call to pthread_cancel seems to
be in libgcc, but pthread_cancel might be a symbol in libpthread, a
weak symbol in libestdc++, or a weak symbol in libgcc itself.

My diff (removing -Wl,--no-undefined) might not be correct.  When I
sent my diff, some dependencies of x11/grantlee were broken (on
platforms like macppc), so there was no way to test my diff.  I only
know that my diff worked with my modified ports tree.

-- 
George Koehler 



Re: NEW: p5-Rex dependency p5-Test-UseAllModules

2019-01-28 Thread Stuart Henderson
On 2019/01/28 23:08, Olivier Cherrier wrote:
>   Hi Andrew,
> 
> On Sun, Jan 27, 2019 at 08:24:59PM -0700, and...@afresh1.com wrote:
> > On Sun, Dec 09, 2018 at 01:57:58PM +, Olivier Cherrier wrote:
> > > Following https://marc.info/?l=openbsd-ports=146753658609587=2,
> > > here is a port for p5-Rex.
> > 
> > I see an empty share/examples/p5-Rex directory in the PLIST but don't
> > see anything in the distribution that seems like it should live there,
> > and I'm not actually sure what's creating it.  Probably it should be
> > @comment'ed out.
>  
> Here is a small update … with an example included :)
> 
> > It looks like it needs a TEST_DEPENDS on devel/p5-Test-Deep as well as a
> > new port (attached) of p5-Test-UseAllModules to pass tests.  
>  
> Thanks !
> I added them. It is still failing for me because I have Hash::Merge in
> version 0.300:
> ---8<---
> #   Failed test 'use Rex::CMDB::YAML;'   
> #   at /usr/local/libdata/perl5/site_perl/Test/UseAllModules.pm line 71. 
> # Tried to use 'Rex::CMDB::YAML'.
> # Error:  Can't locate Clone/Choose.pm in @INC ……
> ---8<---
> 
> It comes from:
> $ grep Choose /usr/local/libdata/perl5/site_perl/Hash/Merge.pm
> use Clone::Choose 0.008;
> $
> 
> With Clone::Choose installed, it ends up successfully.
> This new port is attached and an update of Hash::Merge as well.

Clone::Choose and Hash::Merge read OK but untested.

For Rex, here's a diff to conform better to standard Makefile layout etc.


diff --git Makefile Makefile
index 14439e8..0ba0622 100644
--- Makefile
+++ Makefile
@@ -1,44 +1,42 @@
 # $OpenBSD:$
 
-COMMENT=   (R)?ex Deployment & Configuration Management
+COMMENT=   perl-based deployment and configuration management
 
-HOMEPAGE=  https://www.rexify.org/
+CPAN_AUTHOR=   JFRIED
+DISTNAME=  Rex-1.6.0
 
-CPAN_AUTHOR=   JFRIED
-MODULES=   cpan
+CATEGORIES=sysutils
 
-DISTNAME = Rex-1.6.0
-CATEGORIES=sysutils
+HOMEPAGE=  https://www.rexify.org/
+
+MODULES=   cpan
 
 # Apache 2.0
 PERMIT_PACKAGE_CDROM=   Yes
-MODCPAN_EXAMPLES=  Yes
-
-RUN_DEPENDS=converters/p5-JSON-XS \
-   converters/p5-JSON-MaybeXS \
-   devel/p5-Data-Validate-IP \
-   devel/p5-Devel-Caller \
-   devel/p5-Hash-Merge \
-   devel/p5-IO-String \
-   devel/p5-List-MoreUtils \
-   devel/p5-Sort-Naturally \
-   devel/p5-Test-Pod \
-   devel/p5-YAML \
-   net/p5-Net-OpenSSH \
-   net/p5-Net-SFTP-Foreign \
-   net/p5-Net-SSH2 \
-   security/p5-Digest-HMAC \
-   textproc/p5-Text-Glob \
-   textproc/p5-XML-Simple \
-   www/p5-LWP-UserAgent-Determined
-
-TEST_DEPENDS=  devel/p5-Test-Deep \
-   devel/p5-Test-UseAllModules
 
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Rex
-   ${INSTALL_DATA} ${FILESDIR}/example1.pl \
-   ${PREFIX}/share/examples/p5-Rex/
+RUN_DEPENDS=   converters/p5-JSON-XS \
+   converters/p5-JSON-MaybeXS \
+   devel/p5-Data-Validate-IP \
+   devel/p5-Devel-Caller \
+   devel/p5-Hash-Merge \
+   devel/p5-IO-String \
+   devel/p5-List-MoreUtils \
+   devel/p5-Sort-Naturally \
+   devel/p5-Test-Pod \
+   devel/p5-YAML \
+   net/p5-Net-OpenSSH \
+   net/p5-Net-SFTP-Foreign \
+   net/p5-Net-SSH2 \
+   security/p5-Digest-HMAC \
+   textproc/p5-Text-Glob \
+   textproc/p5-XML-Simple \
+   www/p5-LWP-UserAgent-Determined
+
+TEST_DEPENDS=  devel/p5-Test-Deep \
+   devel/p5-Test-UseAllModules
 
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Rex
+   ${INSTALL_DATA} ${FILESDIR}/example1.pl ${PREFIX}/share/examples/p5-Rex/
 
 .include 



Re: NEW: p5-Rex dependency p5-Test-UseAllModules

2019-01-28 Thread Olivier Cherrier
Hi Andrew,

On Sun, Jan 27, 2019 at 08:24:59PM -0700, and...@afresh1.com wrote:
> On Sun, Dec 09, 2018 at 01:57:58PM +, Olivier Cherrier wrote:
> > Following https://marc.info/?l=openbsd-ports=146753658609587=2,
> > here is a port for p5-Rex.
> 
> I see an empty share/examples/p5-Rex directory in the PLIST but don't
> see anything in the distribution that seems like it should live there,
> and I'm not actually sure what's creating it.  Probably it should be
> @comment'ed out.
 
Here is a small update … with an example included :)

> It looks like it needs a TEST_DEPENDS on devel/p5-Test-Deep as well as a
> new port (attached) of p5-Test-UseAllModules to pass tests.  
 
Thanks !
I added them. It is still failing for me because I have Hash::Merge in
version 0.300:
---8<---
#   Failed test 'use Rex::CMDB::YAML;'   
#   at /usr/local/libdata/perl5/site_perl/Test/UseAllModules.pm line 71. 
# Tried to use 'Rex::CMDB::YAML'.
# Error:  Can't locate Clone/Choose.pm in @INC ……
---8<---

It comes from:
$ grep Choose /usr/local/libdata/perl5/site_perl/Hash/Merge.pm
use Clone::Choose 0.008;
$

With Clone::Choose installed, it ends up successfully.
This new port is attached and an update of Hash::Merge as well.

> Other than that it looks OK afresh1@
> 
> > $ cat pkg/DESCR 
> > a command line tool which executes commands on remote servers. Define
> > tasks in Perl and execute them on remote servers or groups of servers.
> > Rex can be used to:
> > _ Deploy web applications to servers sequentially or in parallel.
> > _ Automate common tasks.
> > _ Provision servers using Rex's builtin tools.
> > 
> > 
> > It works great for me.
> > 
> > I created some patches for the Pkg and the User module. I'll see to send
> > them upstream.
> 
> Thanks!  I didn't look too closely at the patches, but a quick scan
> seemed mostly sane although I don't know a lot about Rex.

I submitted the patches to the Rex project and they have been integrated.
They will be in the the next release. So i think they can go in this port
for now.


Thanks,
Best

-- 
Olivier Cherrier
mailto:o...@symacx.com


p5-Clone-Choose.tgz
Description: application/tar-gz
Index: devel/p5-Hash-Merge/Makefile
===
RCS file: /data/OpenBSD_CVSROOT/ports/devel/p5-Hash-Merge/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- devel/p5-Hash-Merge/Makefile20 Mar 2016 19:56:25 -  1.13
+++ devel/p5-Hash-Merge/Makefile28 Jan 2019 23:00:13 -
@@ -4,7 +4,7 @@
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = Hash-Merge-0.200
+DISTNAME = Hash-Merge-0.300
 CATEGORIES =   devel
 
 MAINTAINER =   Andrew Fresh 
@@ -12,6 +12,7 @@
 # Perl
 PERMIT_PACKAGE_CDROM = Yes
 
-RUN_DEPENDS =  devel/p5-Clone>=0
+RUN_DEPENDS =  devel/p5-Clone>=0 \
+   devel/p5-Clone-Choose
 
 .include 


p5-Rex.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2019-01-28 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2019/01/28 15:58:11

Modified files:
net/etherape   : Makefile 

Log message:
Ancient autoconf macros fail to recognize our shared libraries.
This causes the gettext configure test to weirdly mix shared and
static libraries with pthread dependencies, and lld 7 errors out.

Fix by grabbing updated macros and re-generating the configure script.



Re: UPDATE: security/aircrack-ng to 1.5.2

2019-01-28 Thread Sebastian Reitenbach
Hi Stuart, Jeremie,

thanks for your input, I'll look into all of it a.s.a.p. and send updated patch.

cheers,
Sebastian



Am Montag, Januar 28, 2019 17:56 CET, Stuart Henderson  
schrieb:

> On 2019/01/28 16:27, Jeremie Courreges-Anglas wrote:
> > On Mon, Jan 28 2019, "Sebastian Reitenbach"  
> > wrote:
> > > Hi,
> > >
> > > this updates the quite outdated aircrack-ng to currrent 1.5.2 release.
> > > Tested on i386 with rum(4) interface, save captures with airodump,
> > > deauth a couple of clients, wordlist cracking with aircrack-ng.
>
> This could use tests on a wider range of interfaces.
>
> > >  USE_GMAKE=   Yes
> > > +USE_LIBTOOL= gnu
>
> I'd like to see an explanatory comment next to any USE_LIBTOOL=gnu ..
> (or even better a fix to avoid the need).
>
> If this is *only* needed for libtoolize/libtool.m4 then just use
> BUILD_DEPENDS=devel/libtool instead.
>
> > >  pre-configure:
> > > - ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h
> > > + cd ${WRKSRC} &&  AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
> > > + AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -i
>
> use something like this instead: (from memory, needs checking :)
>
> do-gen:
>   cd ${WRKSRC} && ${AUTOCONF_ENV} autoreconf -i
>
> > > RCS file: patches/patch-scripts_airodump-ng-oui-update
> > > diff -N patches/patch-scripts_airodump-ng-oui-update
> > > --- /dev/null 1 Jan 1970 00:00:00 -
> > > +++ patches/patch-scripts_airodump-ng-oui-update  28 Jan 2019 15:04:26 
> > > -
> > > @@ -0,0 +1,17 @@
> > > +$OpenBSD$
> > > +
> > > +The Windows line breaks break the terminal output
> > > +requires dos2unix installed,
> > > +sed -i 's/\r$//'
> > > +didn't cut it
> > > +
> > > +Index: scripts/airodump-ng-oui-update
> > > +--- scripts/airodump-ng-oui-update.orig
> > >  scripts/airodump-ng-oui-update
> > > +@@ -90,4 +90,6 @@ else
> > > + exit 1
> > > + fi
> > > +
> > > ++dos2unix ${AIRODUMP_NG_OUI}
> > > ++
>
> Looking at 
> https://github.com/aircrack-ng/aircrack-ng/blob/master/scripts/airodump-ng-oui-update
> it seems there are some hardcoded paths (/etc, /usr/local/etc, /usr/share).
>
> But... We already have the OUI database in a couple of formats in
> ports/net/arp-scan,-mac - with the update I just committed I've added a
> new output file that should be in the format aircrack-ng expects.
>
> So if you add a dependency on that and patch the program to use
> ${LOCALBASE}/share/mac-vendor/aircrack-oui.txt instead, users will
> get a reasonably frequently updated file (and then you can drop
> airodump-ng-oui-update with its unnecessary "run wget/curl/dos2unix
> as root" and the step in pkg/README).
>
> > > -@man man/man1/airbase-ng.1
> > > +@bin bin/wpaclean
> > > +lib/libaircrack-crypto-1.3.0.so
> >
> > I guess those are dlopened modules, not shared libs?
> >
> > > +lib/libaircrack-crypto-x86-avx-1.3.0.so
> > > +lib/libaircrack-crypto-x86-avx.a
> > > +lib/libaircrack-crypto-x86-avx.la
> > > +lib/libaircrack-crypto-x86-avx.so
> > > +lib/libaircrack-crypto-x86-avx2-1.3.0.so
> > > +lib/libaircrack-crypto-x86-avx2.a
> > > +lib/libaircrack-crypto-x86-avx2.la
> > > +lib/libaircrack-crypto-x86-avx2.so
> > > +lib/libaircrack-crypto-x86-sse2-1.3.0.so
> > > +lib/libaircrack-crypto-x86-sse2.a
> > > +lib/libaircrack-crypto-x86-sse2.la
> > > +lib/libaircrack-crypto-x86-sse2.so
> >
> > Aren't those x86/amd64 only files?
> >
> > > +lib/libaircrack-crypto.a
> > > +lib/libaircrack-crypto.la
> > > +lib/libaircrack-crypto.so
> > > +lib/libaircrack-osdep-1.3.0.so
> > > +lib/libaircrack-osdep.a
> > > +lib/libaircrack-osdep.la
> > > +lib/libaircrack-osdep.so
>
> Looks like it. And the .a's are probably useless - see if you can
> avoid building them with "LIBTOOL_FLAGS = --tag=disable-static"
>
> Is there a configure flag to use a subdirectory for them?
>



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 13:49:26

Modified files:
devel/libgit2/libgit2-glib: Makefile distinfo 
Removed files:
devel/libgit2/libgit2-glib/patches: 
patch-libgit2-glib_ggit-config_c 

Log message:
update to libgit2-glib-0.27.7



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 13:47:44

Modified files:
sysutils/ansible-lint: Makefile distinfo 
sysutils/ansible-lint/pkg: PLIST 

Log message:
update to ansible-lint-4.0.1



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 13:44:21

Modified files:
devel/rebar: Makefile distinfo 

Log message:
update to rebar-2.6.4



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 13:39:15

Modified files:
devel/libgit2/libgit2: Makefile distinfo 

Log message:
update to libgit2-0.27.8



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 13:36:58

Modified files:
devel/libgit2/py-git2: Makefile distinfo 

Log message:
update to py-git2-0.27.4



Re: [ports-gcc] Unbreak x11/grantlee

2019-01-28 Thread Charlene Wendling
On Mon, 28 Jan 2019 19:50:11 +0100
Jeremie Courreges-Anglas wrote:

> On Mon, Jan 28 2019, Charlene Wendling  wrote:
> > Hi ports! 
> >
> >> http://build-failures.rhaalovely.net/sparc64/2018-12-19/x11/grantlee.log
> >> http://build-failures.rhaalovely.net/powerpc/2018-12-14/x11/grantlee.log
> >
> > With ports-gcc, it needs additional CFLAGS and LDFLAGS.
> 
> Well there is something rather wrong here, and it's been plaguing
> sparc64/powerpc since some time already.  It would be nice to
> understand the root cause and see whether we could fix it in a more
> generic way. Don't get me wrong, we've seen this error for months if
> not years so your fix is better than nothing. :)

I feel always bad when i have to resort to this kind of hack. But there
are too many parts involved that are black boxes for me to be able to
fix this globally :(

> > It has been tested successfully on macppc [1]. 
> 
> gcc-4.9 or gcc-8?

This has been tested with gcc-4.9. The issue is similar with gcc-8.2,
and indeed that diff solves the issue as well.

> > Charlène. 
> >
> >
> > [1] http://ix.io/1zr6
> >
> >
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/x11/grantlee/Makefile,v
> > retrieving revision 1.13
> > diff -u -p -r1.13 Makefile
> > --- Makefile24 Oct 2018 14:28:12 -  1.13
> > +++ Makefile28 Jan 2019 17:50:57 -
> > @@ -2,7 +2,7 @@
> >  
> >  COMMENT =  template and text document library for Qt4
> >  PKG_VERSION =  0.5.1
> > -REVISION = 4
> > +REVISION = 5
> >  PLIST_VERSION =${PKG_VERSION:R}
> >  DISTNAME = grantlee-${PKG_VERSION}
> >  CATEGORIES =   devel x11
> > @@ -36,3 +36,8 @@ CONFIGURE_ARGS =  -DCMAKE_DISABLE_FIND_PA
> >  SUBST_VARS =   PLIST_VERSION
> >  
> >  .include 
> > +
> > +.if ${CHOSEN_COMPILER} == "ports-gcc"
> > +CXXFLAGS += -pthread
> > +LDFLAGS += -lpthread
> > +.endif
> >
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE
> 1524 E7EE
> 



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2019/01/28 13:22:43

Modified files:
astro/wcslib   : Makefile 
astro/wcslib/patches: patch-makedefs_in 
astro/wcslib/pkg: PLIST 

Log message:
install static library instead of a symlink pointing nowhere



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 12:43:24

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

Log message:
update to borgmatic-1.2.15



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 12:39:30

Modified files:
net/zeromq : Makefile distinfo 
net/zeromq/pkg : PLIST 
Removed files:
net/zeromq/patches: patch-Makefile_in 

Log message:
update to zeromq-4.3.1



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 12:25:27

Modified files:
sysutils/salt  : Makefile distinfo 
sysutils/salt/pkg: PLIST 
Removed files:
sysutils/salt/patches: patch-salt_grains_core_py 

Log message:
update to salt-2018.3.3



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 12:25:11

Modified files:
security/py-M2Crypto: Makefile distinfo 
security/py-M2Crypto/patches: patch-SWIG__lib_i 
security/py-M2Crypto/pkg: PLIST 

Log message:
update to py-M2Crypto-0.31.0



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 12:10:57

Modified files:
devel  : Makefile 

Log message:
+py-send2trash,python3



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 12:10:12

Modified files:
devel/py-send2trash: Makefile distinfo 
devel/py-send2trash/pkg: PLIST 

Log message:
- update to py-send2trash-1.5.0
- add python3 flavor



Re: [ports-gcc] Unbreak x11/grantlee

2019-01-28 Thread Jeremie Courreges-Anglas
On Mon, Jan 28 2019, Charlene Wendling  wrote:
> Hi ports! 
>
>> http://build-failures.rhaalovely.net/sparc64/2018-12-19/x11/grantlee.log
>> http://build-failures.rhaalovely.net/powerpc/2018-12-14/x11/grantlee.log
>
> With ports-gcc, it needs additional CFLAGS and LDFLAGS.

Well there is something rather wrong here, and it's been plaguing
sparc64/powerpc since some time already.  It would be nice to understand
the root cause and see whether we could fix it in a more generic way.
Don't get me wrong, we've seen this error for months if not years so
your fix is better than nothing. :)

> It has been tested successfully on macppc [1]. 

gcc-4.9 or gcc-8?

> Charlène. 
>
>
> [1] http://ix.io/1zr6
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/grantlee/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile  24 Oct 2018 14:28:12 -  1.13
> +++ Makefile  28 Jan 2019 17:50:57 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =template and text document library for Qt4
>  PKG_VERSION =0.5.1
> -REVISION =   4
> +REVISION =   5
>  PLIST_VERSION =  ${PKG_VERSION:R}
>  DISTNAME =   grantlee-${PKG_VERSION}
>  CATEGORIES = devel x11
> @@ -36,3 +36,8 @@ CONFIGURE_ARGS =-DCMAKE_DISABLE_FIND_PA
>  SUBST_VARS = PLIST_VERSION
>  
>  .include 
> +
> +.if ${CHOSEN_COMPILER} == "ports-gcc"
> +CXXFLAGS += -pthread
> +LDFLAGS += -lpthread
> +.endif
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: UPDATE: www/links+

2019-01-28 Thread trondd
On Mon, January 21, 2019 11:02 am, trondd wrote:
> On Sun, January 20, 2019 8:50 am, Edd Barrett wrote:
>> Hi,
>>
>> I found myself on the links+ website today, and noticed that there was a
>> newer version. Here's a diff for that.
>>
>> Thanks
>>
>
> Thanks.  I was planning to check my ports for updates this weekend but you
> beat me to it.
>
> The update looks good to me.
>
> Tim.
>

Ping.  Been using the new version daily for a week now.

Tim.


>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/www/links+/Makefile,v
>> retrieving revision 1.63
>> diff -u -p -u -r1.63 Makefile
>> --- Makefile 23 Sep 2018 20:12:32 -  1.63
>> +++ Makefile 20 Jan 2019 13:16:23 -
>> @@ -1,7 +1,7 @@
>>  # $OpenBSD: Makefile,v 1.63 2018/09/23 20:12:32 sthen Exp $
>>
>>  COMMENT=graphics and text browser
>> -VER=2.17
>> +VER=2.18
>>  DISTNAME=   links-${VER}
>>  PKGNAME=links+-${VER}
>>  CATEGORIES= www
>> @@ -32,9 +32,9 @@ LIB_DEPENDS+=  graphics/jpeg \
>>  x11/gnome/librsvg \
>>  graphics/tiff
>>  CONFIGURE_ARGS+= --with-x --enable-graphics
>> -WANTLIB+=   X11 jpeg>=62 m png>=2 tiff>=35
>> +WANTLIB+=   X11 jpeg>=62 m tiff>=35
>>  WANTLIB+=   cairo event fontconfig gdk_pixbuf-2.0 gio-2.0 glib-2.0
>> -WANTLIB+=   gobject-2.0 intl rsvg-2
>> +WANTLIB+=   gobject-2.0 intl png16 rsvg-2
>>
>>  MESSAGE=${PKGDIR}/MESSAGE.x11
>>  .endif
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/www/links+/distinfo,v
>> retrieving revision 1.34
>> diff -u -p -u -r1.34 distinfo
>> --- distinfo 23 Sep 2018 20:12:32 -  1.34
>> +++ distinfo 20 Jan 2019 12:20:14 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (links-2.17.tar.gz) =
>> GA73DGASm1pZGjmj6jOSC6fRgagxCct1sXcuVM0367w=
>> -SIZE (links-2.17.tar.gz) = 7277344
>> +SHA256 (links-2.18.tar.gz) =
>> rTPQq/7JYnpd3DR0DsafHb7EV1KFgb8j/uT9yqkPIzI=
>> +SIZE (links-2.18.tar.gz) = 7287356
>>
>> --
>> Best Regards
>> Edd Barrett
>>
>> http://www.theunixzoo.co.uk
>>
>




CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/01/28 11:34:23

Modified files:
sysutils/py-croniter: Makefile distinfo 

Log message:
update to py-croniter-0.3.27



[ports-gcc] Unbreak x11/grantlee

2019-01-28 Thread Charlene Wendling
Hi ports! 

> http://build-failures.rhaalovely.net/sparc64/2018-12-19/x11/grantlee.log
> http://build-failures.rhaalovely.net/powerpc/2018-12-14/x11/grantlee.log

With ports-gcc, it needs additional CFLAGS and LDFLAGS.

It has been tested successfully on macppc [1]. 

Charlène. 


[1] http://ix.io/1zr6


Index: Makefile
===
RCS file: /cvs/ports/x11/grantlee/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile24 Oct 2018 14:28:12 -  1.13
+++ Makefile28 Jan 2019 17:50:57 -
@@ -2,7 +2,7 @@
 
 COMMENT =  template and text document library for Qt4
 PKG_VERSION =  0.5.1
-REVISION = 4
+REVISION = 5
 PLIST_VERSION =${PKG_VERSION:R}
 DISTNAME = grantlee-${PKG_VERSION}
 CATEGORIES =   devel x11
@@ -36,3 +36,8 @@ CONFIGURE_ARGS =  -DCMAKE_DISABLE_FIND_PA
 SUBST_VARS =   PLIST_VERSION
 
 .include 
+
+.if ${CHOSEN_COMPILER} == "ports-gcc"
+CXXFLAGS += -pthread
+LDFLAGS += -lpthread
+.endif



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2019/01/28 10:49:06

Modified files:
infrastructure/mk: arch-defines.mk 

Log message:
i386 now uses lld as the default linker



Re: UPDATE: security/aircrack-ng to 1.5.2

2019-01-28 Thread Stuart Henderson
On 2019/01/28 16:27, Jeremie Courreges-Anglas wrote:
> On Mon, Jan 28 2019, "Sebastian Reitenbach"  
> wrote:
> > Hi,
> >
> > this updates the quite outdated aircrack-ng to currrent 1.5.2 release.
> > Tested on i386 with rum(4) interface, save captures with airodump,
> > deauth a couple of clients, wordlist cracking with aircrack-ng.

This could use tests on a wider range of interfaces.

> >  USE_GMAKE= Yes
> > +USE_LIBTOOL=   gnu

I'd like to see an explanatory comment next to any USE_LIBTOOL=gnu ..
(or even better a fix to avoid the need).

If this is *only* needed for libtoolize/libtool.m4 then just use
BUILD_DEPENDS=devel/libtool instead.

> >  pre-configure:
> > -   ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h
> > +   cd ${WRKSRC} &&  AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
> > +   AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -i

use something like this instead: (from memory, needs checking :)

do-gen:
cd ${WRKSRC} && ${AUTOCONF_ENV} autoreconf -i

> > RCS file: patches/patch-scripts_airodump-ng-oui-update
> > diff -N patches/patch-scripts_airodump-ng-oui-update
> > --- /dev/null   1 Jan 1970 00:00:00 -
> > +++ patches/patch-scripts_airodump-ng-oui-update28 Jan 2019 15:04:26 
> > -
> > @@ -0,0 +1,17 @@
> > +$OpenBSD$
> > +
> > +The Windows line breaks break the terminal output
> > +requires dos2unix installed,
> > +sed -i 's/\r$//'
> > +didn't cut it
> > +
> > +Index: scripts/airodump-ng-oui-update
> > +--- scripts/airodump-ng-oui-update.orig
> >  scripts/airodump-ng-oui-update
> > +@@ -90,4 +90,6 @@ else
> > +   exit 1
> > + fi
> > +
> > ++dos2unix ${AIRODUMP_NG_OUI}
> > ++

Looking at 
https://github.com/aircrack-ng/aircrack-ng/blob/master/scripts/airodump-ng-oui-update
it seems there are some hardcoded paths (/etc, /usr/local/etc, /usr/share).

But... We already have the OUI database in a couple of formats in
ports/net/arp-scan,-mac - with the update I just committed I've added a
new output file that should be in the format aircrack-ng expects.

So if you add a dependency on that and patch the program to use
${LOCALBASE}/share/mac-vendor/aircrack-oui.txt instead, users will
get a reasonably frequently updated file (and then you can drop
airodump-ng-oui-update with its unnecessary "run wget/curl/dos2unix
as root" and the step in pkg/README).

> > -@man man/man1/airbase-ng.1
> > +@bin bin/wpaclean
> > +lib/libaircrack-crypto-1.3.0.so
> 
> I guess those are dlopened modules, not shared libs?
> 
> > +lib/libaircrack-crypto-x86-avx-1.3.0.so
> > +lib/libaircrack-crypto-x86-avx.a
> > +lib/libaircrack-crypto-x86-avx.la
> > +lib/libaircrack-crypto-x86-avx.so
> > +lib/libaircrack-crypto-x86-avx2-1.3.0.so
> > +lib/libaircrack-crypto-x86-avx2.a
> > +lib/libaircrack-crypto-x86-avx2.la
> > +lib/libaircrack-crypto-x86-avx2.so
> > +lib/libaircrack-crypto-x86-sse2-1.3.0.so
> > +lib/libaircrack-crypto-x86-sse2.a
> > +lib/libaircrack-crypto-x86-sse2.la
> > +lib/libaircrack-crypto-x86-sse2.so
> 
> Aren't those x86/amd64 only files?
> 
> > +lib/libaircrack-crypto.a
> > +lib/libaircrack-crypto.la
> > +lib/libaircrack-crypto.so
> > +lib/libaircrack-osdep-1.3.0.so
> > +lib/libaircrack-osdep.a
> > +lib/libaircrack-osdep.la
> > +lib/libaircrack-osdep.so

Looks like it. And the .a's are probably useless - see if you can
avoid building them with "LIBTOOL_FLAGS = --tag=disable-static"

Is there a configure flag to use a subdirectory for them?



Re: NEW: p5-Rex dependency p5-Test-UseAllModules

2019-01-28 Thread Andrew Hewus Fresh
On Mon, Jan 28, 2019 at 03:21:34PM +, Stuart Henderson wrote:
> On 2019/01/27 20:24, Andrew Hewus Fresh wrote:
> > a new port (attached) of p5-Test-UseAllModules
> 
> DESCR is empty.

Boo!   I just added a line to run portcheck before mailing to try to
avoid that silly mistake again.

https://github.com/afresh1/openbsd-module-ports/commit/dbd9fd808e6d1c59b8493ab85fb27fe4750b159a


Attached is an updated tgz with this DESCR:

This module reads MANIFEST to find modules to be tested and does
use_ok() for each of them. Now all you have to do is update MANIFEST.
You don't have to modify the test any more (hopefully).


p5-Test-UseAllModules-0.17.tar.gz
Description: application/tar-gz


[UPDATE]: shells/yash 2.44 (2017-01-17) -> 2.48 (2018-12-22)

2019-01-28 Thread Andreas Kusalananda Kähäri

Hi,

You'll find a patch for an update to the shells/yash port attached.  It
brings the shell up to version 2.48, which was released last month.
I was trying to debug something in the shell and needed the latest
release, which is why I'm sending this.

I regenerated the single patch (BTW, there's an earlier srand()
call in the same file, but maybe this should not be changed to
srand_deterministic()?) as the lines are slightly offset now.


Regards,

-- 
Andreas Kusalananda Kähäri,
National Bioinformatics Infrastructure Sweden (NBIS),
Uppsala University, Sweden.
Index: Makefile
===
RCS file: /extra/cvs/ports/shells/yash/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile24 Feb 2017 21:23:38 -  1.5
+++ Makefile28 Jan 2019 16:26:06 -
@@ -2,9 +2,8 @@
 
 COMMENT=   POSIX-compliant command line shell
 
-DISTNAME=  yash-2.44
-RELEASE=   66984
-REVISION=  0
+DISTNAME=  yash-2.48
+RELEASE=   70439
 CATEGORIES=shells
 HOMEPAGE=  https://yash.osdn.jp/index.html.en
 
Index: distinfo
===
RCS file: /extra/cvs/ports/shells/yash/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo18 Jan 2017 23:10:42 -  1.2
+++ distinfo28 Jan 2019 16:26:34 -
@@ -1,2 +1,2 @@
-SHA256 (yash-2.44.tar.xz) = 8TUrSRlaOHkoTjq2CvSzDTqH1pbIOLJG4gaMy9/PLmY=
-SIZE (yash-2.44.tar.xz) = 712272
+SHA256 (yash-2.48.tar.xz) = 9GKU13xaZGQF2yCm3D0WvB7RCbBhsqUICBzkgxU8Ho0=
+SIZE (yash-2.48.tar.xz) = 736280
Index: patches/patch-variable_c
===
RCS file: /extra/cvs/ports/shells/yash/patches/patch-variable_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-variable_c
--- patches/patch-variable_c18 Jan 2017 23:10:42 -  1.2
+++ patches/patch-variable_c28 Jan 2019 16:29:49 -
@@ -1,11 +1,13 @@
 $OpenBSD: patch-variable_c,v 1.2 2017/01/18 23:10:42 naddy Exp $
 variable.c.origMon Jan 16 14:01:12 2017
-+++ variable.c Wed Jan 18 23:59:15 2017
-@@ -1094,7 +1094,7 @@ void variable_set(const wchar_t *name, variable_T *var
+Index: variable.c
+--- variable.c.orig
 variable.c
+@@ -1096,7 +1096,8 @@ void variable_set(const wchar_t *name, variable_T *var
&& var->v_value != NULL) {
unsigned long seed;
if (xwcstoul(var->v_value, 0, )) {
 -  srand((unsigned) seed);
++  /* srand((unsigned) seed); */
 +  srand_deterministic((unsigned) seed);
var->v_getter = random_getter;
random_active = true;
Index: pkg/PLIST
===
RCS file: /extra/cvs/ports/shells/yash/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   24 Feb 2017 21:23:38 -  1.3
+++ pkg/PLIST   28 Jan 2019 16:33:22 -
@@ -4,8 +4,15 @@ man/ja/
 man/ja/man1/
 @man man/ja/man1/yash.1
 @man man/man1/yash.1
+share/locale/
+share/locale/en@boldquot/
+share/locale/en@boldquot/LC_MESSAGES/
 share/locale/en@boldquot/LC_MESSAGES/yash.mo
+share/locale/en@quot/
+share/locale/en@quot/LC_MESSAGES/
 share/locale/en@quot/LC_MESSAGES/yash.mo
+share/locale/ja/
+share/locale/ja/LC_MESSAGES/
 share/locale/ja/LC_MESSAGES/yash.mo
 share/yash/
 share/yash/completion/
@@ -139,6 +146,7 @@ share/yash/completion/kill
 share/yash/completion/ksh
 share/yash/completion/less
 share/yash/completion/ln
+share/yash/completion/local
 share/yash/completion/locale
 share/yash/completion/ls
 share/yash/completion/make
@@ -160,6 +168,7 @@ share/yash/completion/paste
 share/yash/completion/patch
 share/yash/completion/pathchk
 share/yash/completion/pgawk
+share/yash/completion/ping
 share/yash/completion/popd
 share/yash/completion/pr
 share/yash/completion/printf


CVS: cvs.openbsd.org: ports

2019-01-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/01/28 09:36:37

Modified files:
net/arp-scan   : Makefile distinfo 
net/arp-scan/files: format-ma 
net/arp-scan/pkg: PLIST-mac 

Log message:
update mac-vendor database
tweak generation (revert mistaken commit in last update, read in as utf-8,
additional output format)



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/01/28 08:44:30

Modified files:
net/etherape   : Makefile 

Log message:
Needs devel/gettext-tools.



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/01/28 08:34:22

Modified files:
devel/llvm : Makefile 
devel/llvm/patches: patch-lib_MC_MCParser_AsmParser_cpp 
patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 
patch-tools_lld_ELF_Driver_cpp 
patch-tools_lld_ELF_Options_td 
patch-tools_lld_ELF_Symbols_h 
patch-tools_lld_ELF_SyntheticSections_cpp 
patch-tools_lld_ELF_Writer_cpp 
Added files:
devel/llvm/patches: 
patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp 
patch-tools_lld_ELF_Config_h 
patch-tools_lld_ELF_LinkerScript_cpp 

Log message:
Simplify patch, add lld -z interpose, more fixes from patrick@

from Brad, thanks



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/01/28 08:30:56

Added files:
games/supertuxkart/patches: patch-lib_glew_include_GL_glew_h 

Log message:
modify embedded copy of glew.h for recent Mesa versions

Mesa >= 18.2.5 has newer OpenGL headers from Khronos which change the
include guards.



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/01/28 08:30:27

Modified files:
devel/p5-MooseX-POE: Makefile distinfo 

Log message:
Update p5-MooseX-POE to 0.215
Changelog:
https://metacpan.org/changes/distribution/MooseX-POE
OK afresh1@



Re: UPDATE: security/aircrack-ng to 1.5.2

2019-01-28 Thread Jeremie Courreges-Anglas
On Mon, Jan 28 2019, "Sebastian Reitenbach"  
wrote:
> Hi,
>
> this updates the quite outdated aircrack-ng to currrent 1.5.2 release.
> Tested on i386 with rum(4) interface, save captures with airodump,
> deauth a couple of clients, wordlist cracking with aircrack-ng.
>
> Also installed airodump-ng-oui-update script that fetches the oui
> data. It's using wget or curl to fetch it, however I didn't put these
> into the RUN_DEPS, since one of them is most likely installed already
> as well as the script tells you if it can't find it.
>
> Any comments, tests or even OK?

The patch doesn't apply here.

--8<--
[...]
Patching file patches/patch-common_mak using Plan A...
Empty context always matches.
Hunk #1 failed at 0.
1 out of 1 hunks failed--saving rejects to patches/patch-common_mak.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: patches/patch-manpages_airodump-ng_1
|===
|RCS file: patches/patch-manpages_airodump-ng_1
|diff -N patches/patch-manpages_airodump-ng_1
|--- patches/patch-manpages_airodump-ng_1   17 Feb 2015 19:47:01 -  
1.1
|+++ /dev/null  1 Jan 1970 00:00:00 -
--
Patching file patches/patch-manpages_airodump-ng_1 using Plan A...
patch:  malformed patch at line 145: format (it is a shortcut for --ivs). 
'csv' will create an airodump-ng
-->8--

You're using dos2unix but it's not listed in BUILD_DEPENDS. sed(1) won't
recognize s/\r$// but perl -pi -e can handle it.

Looks like both HOMEPAGE and MASTER_SITES can be moved to https.

> Index: Makefile
> ===
> RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
> retrieving revision 1.21
> diff -u -r1.21 Makefile
> --- Makefile  4 Sep 2018 12:46:20 -   1.21
> +++ Makefile  28 Jan 2019 15:04:26 -
> @@ -1,8 +1,7 @@
>  # $OpenBSD: Makefile,v 1.21 2018/09/04 12:46:20 espie Exp $
>
>  COMMENT= 802.11 WEP and WPA-PSK keys cracking program
> -DISTNAME=aircrack-ng-1.1
> -REVISION=15
> +DISTNAME=aircrack-ng-1.5.2
>  CATEGORIES=  security
>
>  HOMEPAGE=http://www.aircrack-ng.org/
> @@ -12,23 +11,31 @@
>  # GPLv2
>  PERMIT_PACKAGE_CDROM=   Yes
>
> -WANTLIB= c pthread crypto ssl z
> +WANTLIB+=c pthread crypto z pcre
> +WANTLIB+=${COMPILER_LIBCXX} m sqlite3
>
>  MASTER_SITES=http://download.aircrack-ng.org/
>
> -WANTLIB +=   sqlite3
> -LIB_DEPENDS= databases/sqlite3
> +BUILD_DEPENDS=   devel/shtool \
> + devel/pkgconf
> +LIB_DEPENDS= databases/sqlite3 \
> + devel/pcre
>
>  USE_GMAKE=   Yes
> +USE_LIBTOOL= gnu
> +AUTOCONF_VERSION=2.69
> +AUTOMAKE_VERSION=1.16
> +CONFIGURE_STYLE= gnu
> +
>  MAKE_ENV+=   SQLITE=true UNSTABLE=true
>  MAKE_FLAGS+= CC=${CC}
>
> -NO_TEST= Yes
> -
> -post-extract:
> - perl -i -pe 's/\r\n/\n/' ${WRKSRC}/src/osdep/byteorder.h
> -
>  pre-configure:
> - ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h
> + cd ${WRKSRC} &&  AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
> + AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -i
> +
> +post-install:
> + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/airodump-ng-oui-update \
> + ${PREFIX}/bin/airodump-ng-oui-update
>
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/aircrack-ng/distinfo,v
> retrieving revision 1.3
> diff -u -r1.3 distinfo
> --- distinfo  1 Jul 2014 12:15:10 -   1.3
> +++ distinfo  28 Jan 2019 15:04:26 -
> @@ -1,2 +1,2 @@
> -SHA256 (aircrack-ng-1.1.tar.gz) = 
> sTa1SbfSonUcIXkxAAdepDso3pr0wZaVCLuVvMkiJK0=
> -SIZE (aircrack-ng-1.1.tar.gz) = 1453272
> +SHA256 (aircrack-ng-1.5.2.tar.gz) = 
> nlkv52WARiIOCsCm0FxAJpA/MHeySIk+AFbMvk7ogkE=
> +SIZE (aircrack-ng-1.5.2.tar.gz) = 7138360
> Index: patches/patch-common_mak
> ===
> RCS file: patches/patch-common_mak
> diff -N patches/patch-common_mak
> --- patches/patch-common_mak  6 May 2009 20:39:29 -   1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,32 +0,0 @@
>  common.mak.orig  Thu Mar 26 22:01:02 2009
> -+++ common.mak   Wed Apr 15 18:36:48 2009
> -@@ -31,16 +31,16 @@ COMMON_CFLAGS   += -DCYGWIN
> - endif
> -
> - ifeq ($(SQLITE), true)
> --COMMON_CFLAGS   += -I/usr/local/include -DHAVE_SQLITE
> -+COMMON_CFLAGS   += -I${LOCALBASE}/include -DHAVE_SQLITE
> - else
> - ifeq ($(sqlite), true)
> --COMMON_CFLAGS   += -I/usr/local/include -DHAVE_SQLITE
> -+COMMON_CFLAGS   += -I${LOCALBASE}/include -DHAVE_SQLITE
> - else
> - ifeq ($(SQLITE), TRUE)
> --COMMON_CFLAGS   += 

Re: NEW: p5-Rex dependency p5-Test-UseAllModules

2019-01-28 Thread Stuart Henderson
On 2019/01/27 20:24, Andrew Hewus Fresh wrote:
> On Sun, Dec 09, 2018 at 01:57:58PM +, Olivier Cherrier wrote:
> > Following https://marc.info/?l=openbsd-ports=146753658609587=2,
> > here is a port for p5-Rex.
> 
> I see an empty share/examples/p5-Rex directory in the PLIST but don't
> see anything in the distribution that seems like it should live there,
> and I'm not actually sure what's creating it.  Probably it should be
> @comment'ed out.
> 
> It looks like it needs a TEST_DEPENDS on devel/p5-Test-Deep as well as a
> new port (attached) of p5-Test-UseAllModules to pass tests.  
> 
> Other than that it looks OK afresh1@
> 
> > $ cat pkg/DESCR 
> > a command line tool which executes commands on remote servers. Define
> > tasks in Perl and execute them on remote servers or groups of servers.
> > Rex can be used to:
> > _ Deploy web applications to servers sequentially or in parallel.
> > _ Automate common tasks.
> > _ Provision servers using Rex's builtin tools.
> > 
> > 
> > It works great for me.
> > 
> > I created some patches for the Pkg and the User module. I'll see to send
> > them upstream.
> 
> Thanks!  I didn't look too closely at the patches, but a quick scan
> seemed mostly sane although I don't know a lot about Rex.
> 
> > Feel free to test, comment, commit.
> > 
> > Thanks,
> > Best.
> > 
> > -- 
> > Olivier Cherrier
> > Phone: +352691754777
> > mailto:o...@symacx.com
> 



DESCR is empty.



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/01/28 08:19:09

Modified files:
devel/p5-MooseX-Types-Path-Class: Makefile distinfo 

Log message:
Update p5-MooseX-Types-Path-Class to 0.09
Changelog:
https://metacpan.org/changes/distribution/MooseX-Types-Path-Class
OK afresh1@



UPDATE: security/aircrack-ng to 1.5.2

2019-01-28 Thread Sebastian Reitenbach
Hi,

this updates the quite outdated aircrack-ng to currrent 1.5.2 release.
Tested on i386 with rum(4) interface, save captures with airodump,
deauth a couple of clients, wordlist cracking with aircrack-ng.

Also installed airodump-ng-oui-update script that fetches the oui
data. It's using wget or curl to fetch it, however I didn't put these
into the RUN_DEPS, since one of them is most likely installed already
as well as the script tells you if it can't find it.

Any comments, tests or even OK?

Index: Makefile
===
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile4 Sep 2018 12:46:20 -   1.21
+++ Makefile28 Jan 2019 15:04:26 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.21 2018/09/04 12:46:20 espie Exp $

 COMMENT=   802.11 WEP and WPA-PSK keys cracking program
-DISTNAME=  aircrack-ng-1.1
-REVISION=  15
+DISTNAME=  aircrack-ng-1.5.2
 CATEGORIES=security

 HOMEPAGE=  http://www.aircrack-ng.org/
@@ -12,23 +11,31 @@
 # GPLv2
 PERMIT_PACKAGE_CDROM=   Yes

-WANTLIB=   c pthread crypto ssl z
+WANTLIB+=  c pthread crypto z pcre
+WANTLIB+=  ${COMPILER_LIBCXX} m sqlite3

 MASTER_SITES=  http://download.aircrack-ng.org/

-WANTLIB += sqlite3
-LIB_DEPENDS=   databases/sqlite3
+BUILD_DEPENDS= devel/shtool \
+   devel/pkgconf
+LIB_DEPENDS=   databases/sqlite3 \
+   devel/pcre

 USE_GMAKE= Yes
+USE_LIBTOOL=   gnu
+AUTOCONF_VERSION=  2.69
+AUTOMAKE_VERSION=  1.16
+CONFIGURE_STYLE=   gnu
+
 MAKE_ENV+= SQLITE=true UNSTABLE=true
 MAKE_FLAGS+=   CC=${CC}

-NO_TEST=   Yes
-
-post-extract:
-   perl -i -pe 's/\r\n/\n/' ${WRKSRC}/src/osdep/byteorder.h
-
 pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h
+   cd ${WRKSRC} &&  AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
+   AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -i
+
+post-install:
+   ${INSTALL_SCRIPT} ${WRKSRC}/scripts/airodump-ng-oui-update \
+   ${PREFIX}/bin/airodump-ng-oui-update

 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/aircrack-ng/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo1 Jul 2014 12:15:10 -   1.3
+++ distinfo28 Jan 2019 15:04:26 -
@@ -1,2 +1,2 @@
-SHA256 (aircrack-ng-1.1.tar.gz) = sTa1SbfSonUcIXkxAAdepDso3pr0wZaVCLuVvMkiJK0=
-SIZE (aircrack-ng-1.1.tar.gz) = 1453272
+SHA256 (aircrack-ng-1.5.2.tar.gz) = 
nlkv52WARiIOCsCm0FxAJpA/MHeySIk+AFbMvk7ogkE=
+SIZE (aircrack-ng-1.5.2.tar.gz) = 7138360
Index: patches/patch-common_mak
===
RCS file: patches/patch-common_mak
diff -N patches/patch-common_mak
--- patches/patch-common_mak6 May 2009 20:39:29 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,32 +0,0 @@
 common.mak.origThu Mar 26 22:01:02 2009
-+++ common.mak Wed Apr 15 18:36:48 2009
-@@ -31,16 +31,16 @@ COMMON_CFLAGS   += -DCYGWIN
- endif
-
- ifeq ($(SQLITE), true)
--COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
-+COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
- else
- ifeq ($(sqlite), true)
--COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
-+COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
- else
- ifeq ($(SQLITE), TRUE)
--COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
-+COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
- else
- ifeq ($(sqlite), TRUE)
--COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
-+COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
- endif
- endif
- endif
-@@ -70,7 +70,7 @@ OPTFLAGS= -D_FILE_OFFSET_BITS=64
- CFLAGS  ?= -g -W -Wall -Werror -O3
- CFLAGS  += $(OPTFLAGS) $(REVFLAGS) $(COMMON_CFLAGS)
-
--prefix  = /usr/local
-+prefix  = ${LOCALBASE}
- bindir  = $(prefix)/bin
- sbindir = $(prefix)/sbin
- mandir  = $(prefix)/man/man1
Index: patches/patch-manpages_airodump-ng_1
===
RCS file: patches/patch-manpages_airodump-ng_1
diff -N patches/patch-manpages_airodump-ng_1
--- patches/patch-manpages_airodump-ng_117 Feb 2015 19:47:01 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-manpages_airodump-ng_1,v 1.1 2015/02/17 19:47:01 naddy Exp $
 manpages/airodump-ng.1.origSat Apr 24 22:06:16 2010
-+++ manpages/airodump-ng.1 Tue Feb 17 19:32:19 2015
-@@ -55,7 +55,7 @@ Active Scanning Simulation (send probe 

CVS: cvs.openbsd.org: ports

2019-01-28 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/01/28 08:08:58

Modified files:
net/p5-POE-Component-IRC-Plugin-RSS-Headlines: Makefile distinfo 

Log message:
Update p5-POE-Component-IRC-Plugin-RSS-Headlines to 1.10
Changelog:
https://metacpan.org/changes/distribution/POE-Component-IRC-Plugin-RSS-Headlines
OK afresh1@



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/01/28 07:48:18

Modified files:
www/urlwatch   : Makefile distinfo 
Removed files:
www/urlwatch/patches: patch-lib_urlwatch_storage_py 

Log message:
update to urlwatch-2.16
adds CSS and XPath selectors



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/01/28 07:38:21

Modified files:
net: Makefile 

Log message:
+dnsperf



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/01/28 07:35:41

Log message:
Import net/dnsperf 2.2.0
Many tweaks and OK sthen@, OK solene@ bcallah@

dnsperf and resperf are free tools that make it simple to gather
accurate latency and throughput metrics for Domain Name Service (DNS).
They read input files describing DNS queries, and send those queries
to DNS servers to measure performance.

resperf-report is a script allowing to generate a report in HTML
format, with graphs.  You will need to install the gnuplot package
to use it.

Status:

Vendor Tag: cwen
Release Tags:   cwen_20190128

N ports/net/dnsperf/Makefile
N ports/net/dnsperf/distinfo
N ports/net/dnsperf/pkg/DESCR
N ports/net/dnsperf/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/01/28 06:42:52

Modified files:
x11/cool-retro-term: Makefile distinfo 
x11/cool-retro-term/patches: patch-app_app_pro 

Log message:
update to cool-retro-term-1.10, from Sascha Paunovic

- while there, regen patches, and use mv instead of ln -s for the dir
from the additional distfile so that update-patches handles it better



Re: UPDATE: LLVM

2019-01-28 Thread Jeremie Courreges-Anglas
On Mon, Jan 28 2019, Brad Smith  wrote:
> On Mon, Jan 28, 2019 at 03:38:38AM -0500, Brad Smith wrote:
>> Merge in the other bits I had in the last diff I posted.
>> 
>> - Simplify a patch
>> - Add -z interpose
>> - 4 patches from patrick's tree for Clang/lld
>
> And the i386 lld fix.

Thanks, will test and commit.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2019/01/28 04:46:26

Modified files:
www/gitea  : Makefile distinfo 
www/gitea/patches: patch-custom_conf_app_ini_sample 
   patch-main_go 
www/gitea/pkg  : PLIST 

Log message:
Update gitea 1.5.3 -> 1.7.0
ok abieber@ kn@



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2019/01/28 04:45:48

Modified files:
net/mattermost-server: Makefile distinfo 
net/mattermost-server/pkg: DESCR PLIST 

Log message:
Update mattermost-server 5.6.1 -> 5.7.0
ok abieber@ kn@



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2019/01/28 04:31:46

Modified files:
net/owncloudclient: Makefile distinfo 
net/owncloudclient/patches: patch-src_gui_application_cpp 

Log message:
update to owncloudclient-2.5.2.11383



Re: UPDATE: LLVM

2019-01-28 Thread Brad Smith
On Mon, Jan 28, 2019 at 03:38:38AM -0500, Brad Smith wrote:
> Merge in the other bits I had in the last diff I posted.
> 
> - Simplify a patch
> - Add -z interpose
> - 4 patches from patrick's tree for Clang/lld

And the i386 lld fix.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/llvm/Makefile,v
retrieving revision 1.206
diff -u -p -u -p -r1.206 Makefile
--- Makefile28 Jan 2019 06:27:28 -  1.206
+++ Makefile28 Jan 2019 08:15:46 -
@@ -20,6 +20,7 @@ PKGSPEC-main =llvm-=${LLVM_V}
 PKGNAME-main = llvm-${LLVM_V}
 PKGNAME-python =   py-llvm-${LLVM_V}
 PKGNAME-lldb = lldb-${LLVM_V}
+REVISION-main =0
 CATEGORIES =   devel
 DISTFILES =llvm-${LLVM_V}.src${EXTRACT_SUFX} \
cfe-${LLVM_V}.src${EXTRACT_SUFX} \
Index: patches/patch-lib_MC_MCParser_AsmParser_cpp
===
RCS file: 
/home/cvs/ports/devel/llvm/patches/patch-lib_MC_MCParser_AsmParser_cpp,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-lib_MC_MCParser_AsmParser_cpp
--- patches/patch-lib_MC_MCParser_AsmParser_cpp 28 Jan 2019 06:27:28 -  
1.5
+++ patches/patch-lib_MC_MCParser_AsmParser_cpp 28 Jan 2019 08:08:50 -
@@ -11,22 +11,14 @@ a file directive.
 Index: lib/MC/MCParser/AsmParser.cpp
 --- lib/MC/MCParser/AsmParser.cpp.orig
 +++ lib/MC/MCParser/AsmParser.cpp
-@@ -858,6 +858,8 @@ bool AsmParser::Run(bool NoInitialTextSection, bool No
-   AsmCond StartingCondState = TheCondState;
-   SmallVector AsmStrRewrites;
- 
-+  StringRef Filename = getContext().getMainFileName();
-+
-   // If we are generating dwarf for assembly source files save the initial 
text
-   // section.  (Don't use enabledGenDwarfForAssembly() here, as we aren't
-   // emitting any actual debug info yet and haven't had a chance to parse any
-@@ -873,6 +875,9 @@ bool AsmParser::Run(bool NoInitialTextSection, bool No
- assert(InsertResult && ".text section should not have debug info yet");
+@@ -874,6 +874,10 @@ bool AsmParser::Run(bool NoInitialTextSection, bool No
  (void)InsertResult;
}
-+
+ 
++  StringRef Filename = getContext().getMainFileName();
 +  if (!Filename.empty() && (Filename.compare(StringRef("-")) != 0))
 +Out.EmitFileDirective(Filename);
- 
++
// While we have input, parse each statement.
while (Lexer.isNot(AsmToken::Eof)) {
+ ParseStatementInfo Info();
Index: patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp
===
RCS file: 
/home/cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp
--- patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 28 Jan 2019 
06:27:28 -  1.7
+++ patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 28 Jan 2019 
08:09:12 -
@@ -162,7 +162,7 @@ Index: tools/clang/lib/Driver/ToolChains
 +  case ToolChain::CST_Libcxx:
 +CmdArgs.push_back(Profiling ? "-lc++_p" : "-lc++");
 +CmdArgs.push_back(Profiling ? "-lc++abi_p" : "-lc++abi");
-+CmdArgs.push_back("-lpthread");
++CmdArgs.push_back(Profiling ? "-lpthread_p" : "-lpthread");
 +break;
 +  case ToolChain::CST_Libstdcxx:
 +CmdArgs.push_back("-lestdc++");
Index: patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
===
RCS file: patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
diff -N patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp 28 Jan 2019 
08:06:37 -
@@ -0,0 +1,20 @@
+$OpenBSD$
+
+Index: tools/clang/lib/Frontend/InitHeaderSearch.cpp
+--- tools/clang/lib/Frontend/InitHeaderSearch.cpp.orig
 tools/clang/lib/Frontend/InitHeaderSearch.cpp
+@@ -431,14 +431,6 @@ void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths
+   case llvm::Triple::DragonFly:
+ AddPath("/usr/include/c++/5.0", CXXSystem, false);
+ break;
+-  case llvm::Triple::OpenBSD: {
+-std::string t = triple.getTriple();
+-if (t.substr(0, 6) == "x86_64")
+-  t.replace(0, 6, "amd64");
+-AddGnuCPlusPlusIncludePaths("/usr/include/g++",
+-t, "", "", triple);
+-break;
+-  }
+   case llvm::Triple::Minix:
+ AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
+ "", "", "", triple);
Index: patches/patch-tools_lld_ELF_Config_h
===
RCS file: patches/patch-tools_lld_ELF_Config_h
diff -N patches/patch-tools_lld_ELF_Config_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-tools_lld_ELF_Config_h28 Jan 2019 08:09:41 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+lld: add -z interpose support
+
+Index: 

CVS: cvs.openbsd.org: ports

2019-01-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/01/28 03:49:10

Modified files:
sysutils/terraform/provider-alicloud: Makefile distinfo 
sysutils/terraform/provider-aws: Makefile distinfo 
sysutils/terraform/provider-heroku: Makefile distinfo 

Log message:
Update terraform providers.



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/01/28 03:40:42

Modified files:
sysutils/nomad : Makefile distinfo 

Log message:
Update to nomad-0.8.7.



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/01/28 03:40:22

Modified files:
sysutils/consul: Makefile distinfo 

Log message:
Update to consul-1.4.1.



CVS: cvs.openbsd.org: ports

2019-01-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/01/28 03:38:02

Modified files:
security/vault : Makefile distinfo 

Log message:
Update to vault-1.0.2.



Re: x11/cool-retro-term 1.1.0 -> 1.1.1

2019-01-28 Thread Sascha Paunovic
Whoops. Forgot to list the changes (from Github):

* Fix rame rendering issues on Nvidia GPUs
* Fix High DPI issues
* Make burnin optimization optional (was introducing timing artifacts under 
macOS)
* Fix issue with font scaling slider.

On Mon, 28 Jan 2019 11:28:05 +0100
Sascha Paunovic  wrote:

> Hi,
> 
> attached is an update of cool-retro-term to 1.1.1.
> "cool-retro-term --version" now actually outputs 1.1.1 thanks to pinging
> upstream :)
> 
> Builds and runs fine for me on amd64.
> 
> diff --git Makefile Makefile
> index d99d5756d4f..0eb702a8505 100644
> --- Makefile
> +++ Makefile
> @@ -6,7 +6,7 @@ CATEGORIES =  x11
>  
>  GH_ACCOUNT = Swordfish90
>  GH_PROJECT = cool-retro-term
> -GH_TAGNAME = 1.1.0
> +GH_TAGNAME = 1.1.1
>  
>  QMLTERMWIDGET =  48274c75660e28d44af7c195e79accdf1bd44963
>  MASTER_SITES0 =  https://github.com/Swordfish90/qmltermwidget/archive/
> diff --git distinfo distinfo
> index 64a923b68cd..cfd868da88c 100644
> --- distinfo
> +++ distinfo
> @@ -1,4 +1,4 @@
> -SHA256 (cool-retro-term-1.1.0.tar.gz) = 
> 9XNK79/C6TQ7aiTuKX9UOjai4N8NoPmslLANkwAYX4o=
> +SHA256 (cool-retro-term-1.1.1.tar.gz) = 
> ElK6+jPIvvu4ZSjtdduYZ3zcEphwTbco4yb/0ljV7RM=
>  SHA256 (qmltermwidget-48274c75660e28d44af7c195e79accdf1bd44963.tar.gz) = 
> oU1pZMHuvpKELoJK+GBr4ilbYbsmCUWl1eh2lDxGjiY=
> -SIZE (cool-retro-term-1.1.0.tar.gz) = 1973348
> +SIZE (cool-retro-term-1.1.1.tar.gz) = 1975853
>  SIZE (qmltermwidget-48274c75660e28d44af7c195e79accdf1bd44963.tar.gz) = 219645


-- 
Sascha Paunovic 



x11/cool-retro-term 1.1.0 -> 1.1.1

2019-01-28 Thread Sascha Paunovic
Hi,

attached is an update of cool-retro-term to 1.1.1.
"cool-retro-term --version" now actually outputs 1.1.1 thanks to pinging
upstream :)

Builds and runs fine for me on amd64.

diff --git Makefile Makefile
index d99d5756d4f..0eb702a8505 100644
--- Makefile
+++ Makefile
@@ -6,7 +6,7 @@ CATEGORIES =x11
 
 GH_ACCOUNT =   Swordfish90
 GH_PROJECT =   cool-retro-term
-GH_TAGNAME =   1.1.0
+GH_TAGNAME =   1.1.1
 
 QMLTERMWIDGET =48274c75660e28d44af7c195e79accdf1bd44963
 MASTER_SITES0 =https://github.com/Swordfish90/qmltermwidget/archive/
diff --git distinfo distinfo
index 64a923b68cd..cfd868da88c 100644
--- distinfo
+++ distinfo
@@ -1,4 +1,4 @@
-SHA256 (cool-retro-term-1.1.0.tar.gz) = 
9XNK79/C6TQ7aiTuKX9UOjai4N8NoPmslLANkwAYX4o=
+SHA256 (cool-retro-term-1.1.1.tar.gz) = 
ElK6+jPIvvu4ZSjtdduYZ3zcEphwTbco4yb/0ljV7RM=
 SHA256 (qmltermwidget-48274c75660e28d44af7c195e79accdf1bd44963.tar.gz) = 
oU1pZMHuvpKELoJK+GBr4ilbYbsmCUWl1eh2lDxGjiY=
-SIZE (cool-retro-term-1.1.0.tar.gz) = 1973348
+SIZE (cool-retro-term-1.1.1.tar.gz) = 1975853
 SIZE (qmltermwidget-48274c75660e28d44af7c195e79accdf1bd44963.tar.gz) = 219645



UPDATE: LLVM

2019-01-28 Thread Brad Smith
Merge in the other bits I had in the last diff I posted.

- Simplify a patch
- Add -z interpose
- 4 patches from patrick's tree for Clang/lld


Index: Makefile
===
RCS file: /home/cvs/ports/devel/llvm/Makefile,v
retrieving revision 1.206
diff -u -p -u -p -r1.206 Makefile
--- Makefile28 Jan 2019 06:27:28 -  1.206
+++ Makefile28 Jan 2019 08:01:05 -
@@ -20,6 +20,7 @@ PKGSPEC-main =llvm-=${LLVM_V}
 PKGNAME-main = llvm-${LLVM_V}
 PKGNAME-python =   py-llvm-${LLVM_V}
 PKGNAME-lldb = lldb-${LLVM_V}
+REVISION-main =0
 CATEGORIES =   devel
 DISTFILES =llvm-${LLVM_V}.src${EXTRACT_SUFX} \
cfe-${LLVM_V}.src${EXTRACT_SUFX} \
Index: patches/patch-lib_MC_MCParser_AsmParser_cpp
===
RCS file: 
/home/cvs/ports/devel/llvm/patches/patch-lib_MC_MCParser_AsmParser_cpp,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-lib_MC_MCParser_AsmParser_cpp
--- patches/patch-lib_MC_MCParser_AsmParser_cpp 28 Jan 2019 06:27:28 -  
1.5
+++ patches/patch-lib_MC_MCParser_AsmParser_cpp 28 Jan 2019 08:08:50 -
@@ -11,22 +11,14 @@ a file directive.
 Index: lib/MC/MCParser/AsmParser.cpp
 --- lib/MC/MCParser/AsmParser.cpp.orig
 +++ lib/MC/MCParser/AsmParser.cpp
-@@ -858,6 +858,8 @@ bool AsmParser::Run(bool NoInitialTextSection, bool No
-   AsmCond StartingCondState = TheCondState;
-   SmallVector AsmStrRewrites;
- 
-+  StringRef Filename = getContext().getMainFileName();
-+
-   // If we are generating dwarf for assembly source files save the initial 
text
-   // section.  (Don't use enabledGenDwarfForAssembly() here, as we aren't
-   // emitting any actual debug info yet and haven't had a chance to parse any
-@@ -873,6 +875,9 @@ bool AsmParser::Run(bool NoInitialTextSection, bool No
- assert(InsertResult && ".text section should not have debug info yet");
+@@ -874,6 +874,10 @@ bool AsmParser::Run(bool NoInitialTextSection, bool No
  (void)InsertResult;
}
-+
+ 
++  StringRef Filename = getContext().getMainFileName();
 +  if (!Filename.empty() && (Filename.compare(StringRef("-")) != 0))
 +Out.EmitFileDirective(Filename);
- 
++
// While we have input, parse each statement.
while (Lexer.isNot(AsmToken::Eof)) {
+ ParseStatementInfo Info();
Index: patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp
===
RCS file: 
/home/cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp
--- patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 28 Jan 2019 
06:27:28 -  1.7
+++ patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 28 Jan 2019 
08:09:12 -
@@ -162,7 +162,7 @@ Index: tools/clang/lib/Driver/ToolChains
 +  case ToolChain::CST_Libcxx:
 +CmdArgs.push_back(Profiling ? "-lc++_p" : "-lc++");
 +CmdArgs.push_back(Profiling ? "-lc++abi_p" : "-lc++abi");
-+CmdArgs.push_back("-lpthread");
++CmdArgs.push_back(Profiling ? "-lpthread_p" : "-lpthread");
 +break;
 +  case ToolChain::CST_Libstdcxx:
 +CmdArgs.push_back("-lestdc++");
Index: patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
===
RCS file: patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
diff -N patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp 28 Jan 2019 
08:06:37 -
@@ -0,0 +1,20 @@
+$OpenBSD$
+
+Index: tools/clang/lib/Frontend/InitHeaderSearch.cpp
+--- tools/clang/lib/Frontend/InitHeaderSearch.cpp.orig
 tools/clang/lib/Frontend/InitHeaderSearch.cpp
+@@ -431,14 +431,6 @@ void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths
+   case llvm::Triple::DragonFly:
+ AddPath("/usr/include/c++/5.0", CXXSystem, false);
+ break;
+-  case llvm::Triple::OpenBSD: {
+-std::string t = triple.getTriple();
+-if (t.substr(0, 6) == "x86_64")
+-  t.replace(0, 6, "amd64");
+-AddGnuCPlusPlusIncludePaths("/usr/include/g++",
+-t, "", "", triple);
+-break;
+-  }
+   case llvm::Triple::Minix:
+ AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
+ "", "", "", triple);
Index: patches/patch-tools_lld_ELF_Config_h
===
RCS file: patches/patch-tools_lld_ELF_Config_h
diff -N patches/patch-tools_lld_ELF_Config_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-tools_lld_ELF_Config_h28 Jan 2019 08:09:41 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+lld: add -z interpose support
+
+Index: tools/lld/ELF/Config.h
+--- tools/lld/ELF/Config.h.orig
 tools/lld/ELF/Config.h
+@@ -182,6 +182,7 @@ 

CVS: cvs.openbsd.org: ports

2019-01-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/01/28 01:26:17

Modified files:
graphics/glew  : Makefile 
Added files:
graphics/glew/patches: patch-include_GL_glew_h 

Log message:
modify glew.h for recent Mesa versions

Mesa >= 18.2.5 has newer OpenGL headers from Khronos which change the
include guards.

ok brad (MAINTAINER)