Re: Wanted to make a quick suggestion

2018-02-07 Thread Anthony J. Bentley
Hi Boni,

Boni Satani writes:
> Thank you for your reply.
>
> I would still recommend adding our guide so that people can discover
> additional DNSCrypt alternative.

We're not going to add thinly-veiled advertisement to our ports tree.
Please take your marketing requests elsewhere.

-- 
Anthony J. Bentley



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2018/02/07 23:34:12

Modified files:
net: Makefile 

Log message:
+libtorrent-rasterbar, +deluge



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2018/02/07 23:32:10

Log message:
Import deluge-1.3.15.

Deluge is a lightweight, Free Software, cross-platform BitTorrent client.

Deluge contains the common features to BitTorrent clients such as Protocol
Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange (PEX), UPnP,
NAT-PMP, Proxy support, Web seeds, global and per-torrent speed limits.

Deluge has been designed to run as both a normal standalone desktop
application and as a client-server. In Thinclient mode a Deluge daemon
handles all the BitTorrent activity and is able to run on headless machines
with the user-interfaces connecting remotely from any other platform.

ok bcallah@

Status:

Vendor Tag: bentley
Release Tags:   bentley_20170207

N ports/net/deluge/Makefile
N ports/net/deluge/distinfo
N ports/net/deluge/patches/patch-setup_py
N ports/net/deluge/pkg/PLIST
N ports/net/deluge/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2018/02/07 23:30:34

Log message:
Import libtorrent-rasterbar-1.1.6.

libtorrent(-rasterbar) is a C++ library that aims to be a good
alternative to all the other bittorrent implementations around.

The main goals of libtorrent are to be cpu efficient, memory efficient
and very easy to use.

Note that this is NOT the same library as the libtorrent package!

Based on a port by dcoppa@
Tweaks + ok bcallah@

Status:

Vendor Tag: bentley
Release Tags:   bentley_20180207

N ports/net/libtorrent-rasterbar/Makefile
N ports/net/libtorrent-rasterbar/distinfo
N ports/net/libtorrent-rasterbar/patches/patch-include_libtorrent_config_hpp
N ports/net/libtorrent-rasterbar/pkg/DESCR
N ports/net/libtorrent-rasterbar/pkg/PLIST

No conflicts created by this import



UPDATE www/uriparser

2018-02-07 Thread Björn Ketelaars
uriparser 0.8.5 has been released. Changelog can be found at
https://github.com/uriparser/uriparser/blob/master/ChangeLog

The shared lib received a major number bump as a function has been
removed. While here set SEPARATE_BUILD=Yes.

Output Make test:

# TOTAL: 1
# # PASS:  1
# # SKIP:  0
# # XFAIL: 0
# # FAIL:  0
# # XPASS: 0
# # ERROR: 0

-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


diff --git Makefile Makefile
index 5da6c9af144..e4b66ad137d 100644
--- Makefile
+++ Makefile
@@ -2,9 +2,9 @@
 
 COMMENT =  URI parsing library
 
-DISTNAME = uriparser-0.8.4
+DISTNAME = uriparser-0.8.5
 
-SHARED_LIBS +=  uriparser 0.1 # 1.19
+SHARED_LIBS +=  uriparser 1.0 # 1.21
 
 CATEGORIES =   www
 
@@ -22,7 +22,7 @@ EXTRACT_SUFX =.tar.bz2
 BUILD_DEPENDS =devel/cpptest
 TEST_DEPENDS = devel/cpptest
 
-
+SEPARATE_BUILD =   Yes
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ARGS =   --disable-doc
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include"
diff --git distinfo distinfo
index 5f3f74cc57e..93fc4163f9f 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (uriparser-0.8.4.tar.bz2) = znzNpBNpdIiSMehCanhedXjmamKDAJz9E/GySl5leyM=
-SIZE (uriparser-0.8.4.tar.bz2) = 358408
+SHA256 (uriparser-0.8.5.tar.bz2) = WOrNXAPZ40HATrCzCDH67InztBWUn/jXIlTmNDI1LN0=
+SIZE (uriparser-0.8.5.tar.bz2) = 359469
diff --git patches/patch-tool_uriparse_c patches/patch-tool_uriparse_c
index 955a6bd7185..7aebd07b94f 100644
--- patches/patch-tool_uriparse_c
+++ patches/patch-tool_uriparse_c
@@ -1,7 +1,8 @@
 $OpenBSD: patch-tool_uriparse_c,v 1.1.1.1 2013/12/24 20:43:25 bentley Exp $
 tool/uriparse.c.orig   Mon Dec 23 08:36:39 2013
-+++ tool/uriparse.cMon Dec 23 08:36:41 2013
-@@ -41,6 +41,7 @@
+Index: tool/uriparse.c
+--- tool/uriparse.c.orig
 tool/uriparse.c
+@@ -42,6 +42,7 @@
  #include 
  #include 
  #include 



UPDATE devel/gpatch

2018-02-07 Thread Björn Ketelaars
devel/gpatch received a minor update to 2.7.6. From NEWS:

- Files specififed on the command line are no longer verified to be
  inside the current working directory, so commands like "patch -i
  foo.diff ../foo" will work again.
- Various fixes.

Output make test:

# TOTAL: 44
# PASS:  38
# SKIP:  4
# XFAIL: 2
# FAIL:  0
# XPASS: 0
# ERROR: 0

-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


diff --git Makefile Makefile
index 4e0677c16aa..1bd54ceda27 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
 
 COMMENT=   GNU patch
 
-VERSION=   2.7.5
+VERSION=   2.7.6
 DISTNAME=  patch-${VERSION}
 PKGNAME=   gpatch-${VERSION}
 CATEGORIES=devel
diff --git distinfo distinfo
index 3ef0c14604b..78402aa9b0a 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (patch-2.7.5.tar.xz) = /ZUVNlXWuVVn5iOEOg53uBYS1QLs94pImkrteGfKopk=
-SIZE (patch-2.7.5.tar.xz) = 727704
+SHA256 (patch-2.7.6.tar.xz) = rGEL2per4Nn2t8ljJVoR3LGWwl4zfGH5Tkd41jLx2P0=
+SIZE (patch-2.7.6.tar.xz) = 783756



UPDATE devel/libsigsegv

2018-02-07 Thread Björn Ketelaars
devel/libsigsegv received a minor update. Changelog an be found at
http://git.savannah.gnu.org/cgit/libsigsegv.git/tree/ChangeLog?id=841edd5e31e458d91e44bdd2218ade20fdaadf3e

Shared lib does not need a bump.

Output make test:

# TOTAL: 5
# # PASS:  5
# # SKIP:  0
# # XFAIL: 0
# # FAIL:  0
# # XPASS: 0
# # ERROR: 0

-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


diff --git Makefile Makefile
index 5a862401759..7a13dac75f9 100644
--- Makefile
+++ Makefile
@@ -2,20 +2,19 @@
 
 COMMENT =  library for handling page faults in user mode
 
-DISTNAME = libsigsegv-2.11
+DISTNAME = libsigsegv-2.12
 SHARED_LIBS =  sigsegv 1.0
 CATEGORIES =   devel
 
 HOMEPAGE = https://www.gnu.org/software/libsigsegv/
 
 # GPLv2
-PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_CDROM = Yes
 
 MASTER_SITES = ${MASTER_SITE_GNU:=libsigsegv/}
 
 SEPARATE_BUILD =   Yes
 
-
 CONFIGURE_STYLE =  gnu
 # We know these values, so don't run the configure tests for them which may
 # take hours to complete on certain OpenBSD platforms, such as mips64.
diff --git distinfo distinfo
index 52c4f9aeb3c..22269c5187c 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (libsigsegv-2.11.tar.gz) = 3Xwusu9sRxiUBtViwdwPlvL8gIA2g01ZYHXVg3fjehg=
-SIZE (libsigsegv-2.11.tar.gz) = 448744
+SHA256 (libsigsegv-2.12.tar.gz) = OuGvNZ7rqk/8WJahruNWjAUsmYeTFqGrV/j+F4nDkLY=
+SIZE (libsigsegv-2.12.tar.gz) = 451408



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Peter Hessler
CVSROOT:/cvs
Module name:ports
Changes by: phess...@cvs.openbsd.org2018/02/07 20:35:28

Modified files:
sysutils/atf-allwinner: Makefile distinfo 

Log message:
provide lcd power on pinebook before the pmic is enabled by u-boot

OK jsg@



shared llvm library

2018-02-07 Thread Jonathan Gray
Perhaps not something that would be desirable for ports due to added
runtime dependencies on llvm but it would be helpful to have a version
of llvm compiled as a single shared library for using with Mesa.

https://llvm.org/docs/CMake.html

Adding -DLLVM_BUILD_LLVM_DYLIB:Bool=True builds a mostly empty
shared library.

$ llvm-config --shared-mode 
static

$ ldd /usr/local/lib/libLLVM.so 
  
/usr/local/lib/libLLVM.so:
StartEnd  Type Open Ref GrpRef Name
05c846e6c000 05c84706e000 dlib 20   0  
/usr/local/lib/libLLVM-5.0.so
05c815519000 05c815722000 rlib 01   0  
/usr/lib/libpthread.so.25.1
05c9094d6000 05c9096ed000 rlib 01   0  
/usr/lib/libz.so.5.0
05c8c6b91000 05c8c6db7000 rlib 01   0  
/usr/lib/libm.so.10.0
05c8e50ca000 05c8e538a000 rlib 01   0  
/usr/lib/libc++.so.1.0
05c8a444e000 05c8a46ae000 rlib 01   0  
/usr/lib/libc++abi.so.0.0

$ nm /usr/local/lib/libLLVM.so  
  
 F 
/usr/ports/pobj/llvm-5.0.1/llvm-5.0.1.src/tools/llvm-shlib/libllvm.cpp
00200df0 a _DYNAMIC
00200fb0 a _GLOBAL_OFFSET_TABLE_
 W _Jv_RegisterClasses
00201008 A __bss_start
 W __cxa_atexit
 W __cxa_finalize
00201000 D __data_start
00201000 d __dso_handle
00200de0 r __guard_local
00201008 A _edata
00201010 A _end
0490 T _fini
02e0 T _init
 W _thread_atfork
0340 t atexit
0360 t pthread_atfork

Adding -DLLVM_LINK_LLVM_DYLIB:Bool=True is apparently required as well
but this errors out at the end of the build.

I changed -DLLVM_REQUIRES_RTTI:Bool=True which is intended to be used
internally in the build system with the documented
-DLLVM_ENABLE_RTTI:Bool=True but that doesn't noticably change any
behaviour.

Anyone have an idea how to get the llvm port to build a useable
libLLVM.so?

[3097/3167] : && /usr/ports/pobj/llvm-5.0.1/bin/c++  -O2 -pipe -fPIC 
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics 
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-Wno-nested-anon-types -DNDEBUG  -Wl,-allow-shlib-undefined-Wl,-O3 
tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o  -o 
bin/arcmt-test -L/usr/ports/pobj/llvm-5.0.1/build-amd64/lib 
-Wl,-rpath,"\$ORIGIN/../lib" -lpthread lib/libclangARCMigrate.a 
lib/libclangBasic.a lib/libclangFrontend.a lib/libclangLex.a 
lib/libclangDriver.a lib/libclangParse.a lib/libclangSerialization.a 
lib/libclangSema.a lib/libclangEdit.a lib/libclangStaticAnalyzerCheckers.a 
lib/libclangASTMatchers.a lib/libclangStaticAnalyzerCore.a 
lib/libclangAnalysis.a lib/libclangAST.a lib/libclangRewrite.a 
lib/libclangLex.a lib/libclangBasic.a -lLLVM-5.0 
-Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && :
FAILED: bin/arcmt-test 
: && /usr/ports/pobj/llvm-5.0.1/bin/c++  -O2 -pipe -fPIC 
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics 
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-Wno-nested-anon-types -DNDEBUG  -Wl,-allow-shlib-undefined-Wl,-O3 
tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o  -o 
bin/arcmt-test -L/usr/ports/pobj/llvm-5.0.1/build-amd64/lib 
-Wl,-rpath,"\$ORIGIN/../lib" -lpthread lib/libclangARCMigrate.a 
lib/libclangBasic.a lib/libclangFrontend.a lib/libclangLex.a 
lib/libclangDriver.a lib/libclangParse.a lib/libclangSerialization.a 
lib/libclangSema.a lib/libclangEdit.a lib/libclangStaticAnalyzerCheckers.a 
lib/libclangASTMatchers.a lib/libclangStaticAnalyzerCore.a 
lib/libclangAnalysis.a lib/libclangAST.a lib/libclangRewrite.a 
lib/libclangLex.a lib/libclangBasic.a -lLLVM-5.0 
-Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && :
tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o: In 
function `llvm::cl::Option::~Option()':
/usr/ports/pobj/llvm-5.0.1/llvm-5.0.1.src/tools/clang/tools/arcmt-test/arcmt-test.cpp:(.text._ZN4llvm2cl6OptionD2Ev[_ZN4llvm2cl6OptionD2Ev]+0xa):
 undefined reference to `vtable for llvm::cl::Option'
tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o: In 
function `llvm::cl::opt, false, 
llvm::cl::parser > >::~opt()':

CVS: cvs.openbsd.org: ports

2018-02-07 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2018/02/07 14:30:12

Modified files:
archivers/lzip/pdlzip: Makefile distinfo 

Log message:
Update to pdlzip 1.9.



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2018/02/07 14:03:17

Modified files:
graphics/libgexiv2/pkg: PLIST 

Log message:
Some pyyhon2.7 snagged in during the last update.
Use ${MODPY_VERSION} instead of 2.7 to let it build with/for
other python versions.

looks fine to jasper@.



Re: PHP rename fastcgi to cgi

2018-02-07 Thread Martijn van Duren
This has been lying still since November.
Does anyone want to comment on, or OK this?

martijn@

Index: devel/quirks//Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.563
diff -u -p -a -u -r1.563 Makefile
--- devel/quirks//Makefile  6 Feb 2018 22:09:28 -   1.563
+++ devel/quirks//Makefile  7 Feb 2018 19:02:35 -
@@ -5,7 +5,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-2.408
+PKGNAME =  quirks-2.409
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: devel/quirks//files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.576
diff -u -p -a -u -r1.576 Quirks.pm
--- devel/quirks//files/Quirks.pm   6 Feb 2018 22:09:28 -   1.576
+++ devel/quirks//files/Quirks.pm   7 Feb 2018 19:02:35 -
@@ -498,6 +498,7 @@ my $stem_extensions = {
'arm' => 'nyx',
'luabitop' => 'lua-bitop',
'livestreamer' => 'streamlink',
+   'php-fastcgi' => 'php-cgi',
 };
 
 my $obsolete_reason = {
Index: lang/php/Makefile.inc
===
RCS file: /cvs/ports/lang/php/Makefile.inc,v
retrieving revision 1.100
diff -u -p -a -u -r1.100 Makefile.inc
--- lang/php/Makefile.inc   23 Nov 2017 18:57:13 -  1.100
+++ lang/php/Makefile.inc   7 Feb 2018 19:02:35 -
@@ -3,10 +3,10 @@
 BROKEN-hppa=   no __sync_bool_compare_and_swap support nor asm fallback
 
 COMMENT-main=  server-side HTML-embedded scripting language
-COMMENT-fastcgi=   stand-alone FastCGI version of PHP
+COMMENT-cgi=   cgi sapi for php
 
 PKGNAME-main?= php-${V}
-PKGNAME-fastcgi?=  php-fastcgi-${V}
+PKGNAME-cgi?=  php-cgi-${V}
 
 DISTFILES+=php-${V}.tar.bz2
 
@@ -97,6 +97,7 @@ CONFIGURE_ARGS+=  --with-openssl \
--enable-sysvshm \
--enable-mbstring \
--enable-exif \
+   --enable-cgi \
--enable-fpm \
--with-fpm-user=www \
--with-fpm-group=www
@@ -104,7 +105,7 @@ CONFIGURE_ARGS+=--with-openssl \
 TEST_TARGET=   test
 TEST_FLAGS=NO_INTERACTION=1
 
-MULTI_PACKAGES+=   -main -fastcgi
+MULTI_PACKAGES+=   -main -cgi
 
 #
 # Loadable php extensions by name that are included in all versions
@@ -304,12 +305,12 @@ PHPXS_SUBST+= -e 's,${i},${${i}},'
 WANTLIB-main+= c crypto iconv intl lzma m pthread ssl xml2>=8 z
 WANTLIB-main+= ncurses readline ${COMPILER_LIBCXX}
 
-WANTLIB-fastcgi=   ${WANTLIB-main}
+WANTLIB-cgi=   ${WANTLIB-main}
 LIB_DEPENDS-main=  devel/gettext \
textproc/libxml
 RUN_DEPENDS-main=  mail/femail,-chroot
-LIB_DEPENDS-fastcgi=   ${LIB_DEPENDS-main}
-RUN_DEPENDS-fastcgi=
+LIB_DEPENDS-cgi=   ${LIB_DEPENDS-main}
+RUN_DEPENDS-cgi=   php-${V}:lang/php/${PV}
 
 pre-fake:
${INSTALL_DATA_DIR} ${PREFIX}/${APACHE_MODULE_SUBDIR}/modules
@@ -324,7 +325,7 @@ pre-configure:
${WRKSRC}/scripts/phpize.in \
${WRKSRC}/scripts/php-config.in
 
-.for i in ${MULTI_PACKAGES:N-main:N-fastcgi:S/-//g}
+.for i in ${MULTI_PACKAGES:N-main:N-cgi:S/-//g}
 MODULE_NAME-${i}=  ${i}
 DESCR-${i}=${.CURDIR}/../files/DESCR-${i}
 PKGNAME-${i}=  php-${i}-${V}
@@ -337,7 +338,7 @@ RUN_DEPENDS-${i}+=  php-${V}:lang/php/${P
 .endfor
 
 DESCR-main=${.CURDIR}/../files/DESCR-main
-DESCR-fastcgi= ${.CURDIR}/../files/DESCR-fastcgi
+DESCR-cgi= ${.CURDIR}/../files/DESCR-cgi
 
 post-install:
${SUBST_DATA} ${.CURDIR}/../files/README-main \
@@ -347,7 +348,9 @@ post-install:
${INSTALL_DATA_DIR} ${WRKINST}/${CHROOT_DIR}/conf/php-${PV}.sample
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/php-${PV}
${INSTALL_PROGRAM} ${WRKBUILD}/sapi/cli/php ${PREFIX}/bin/php-${PV}
-   ${INSTALL_PROGRAM} ${WRKBUILD}/sapi/cgi/php-cgi 
${PREFIX}/bin/php-fastcgi-${PV}
+   ${INSTALL_PROGRAM} ${WRKBUILD}/sapi/cgi/php-cgi 
${PREFIX}/bin/php-cgi-${PV}
+# Make sure that php-cgi.1 still just sources php.1 when importing a new major 
version.
+   ${INSTALL_MAN} ${WRKSRC}/sapi/cli/php.1 
${PREFIX}/man/man1/php-cgi-${PV}.1
${INSTALL_PROGRAM} ${WRKBUILD}/sapi/fpm/php-fpm 
${PREFIX}/sbin/php-fpm-${PV}
${INSTALL_MAN} ${WRKBUILD}/sapi/fpm/php-fpm.8 
${PREFIX}/man/man8/php-fpm-${PV}.8
${INSTALL_DATA} ${WRKBUILD}/sapi/fpm/php-fpm.conf \
@@ -362,7 +365,7 @@ post-install:
@perl -pi -e 
"s,!!PREFIX!!,${TRUEPREFIX},g;s,!!PV!!,${PV},g;s,!!MV!!,${PV:R},g" \
${PREFIX}/share/examples/php-${PV}/php.conf
 
-.for m in ${MULTI_PACKAGES:N-main:N-fastcgi:S/-//g}
+.for m in 

Syslog-ng OpenBSD system source driver pull request

2018-02-07 Thread csszep
FYI:

https://github.com/balabit/syslog-ng/pull/1875

csszep


NEW: net/p5-IP-Country-DB_File

2018-02-07 Thread Giovanni Bechis
pkg/DESCR:
IP::Country::DB_File is a light-weight module for fast IP address
to country translation based on DB_File. The country code database
is stored in a Berkeley DB file. You have to build the database
using build_ipcc.pl or IP::Country::DB_File::Builder before you can
lookup country codes.

This module tries to be API compatible with the other IP::Country
modules.



Other than that generating the database does not need 3G ram as with 
IP::Country::Fast and
it's in standard Berkeley DB format.
Comments ? Ok ?
 Cheers
  Giovanni


p5-IP-Country-DB_File-3.03.tar.gz
Description: application/gzip


[NEW] devel/p5-System-Info

2018-02-07 Thread James E Keenan


Hello ports@,

Here is a new port, for Perl extension System-Info (version 0.56) 
(http://search.cpan.org/dist/System-Info/).


From pkg/DESCR:

System::Info is a Perl extension aimed at presenting system-related
information (such as number of CPUs, architecture, operating system,
release data) in a system-independent way.

System::Info is not shipped with the Perl 5 core distribution.

Please review.

Thank you very much.
Jim Keenan


p5-System-Info.tar.gz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2018-02-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/07 10:34:08

Modified files:
textproc/gxml  : Makefile distinfo 

Log message:
Update to gxml-0.16.1.



Re: [NEW] devel/p5-Time-Local

2018-02-07 Thread Nigel Taylor
On 02/07/18 16:23, James E Keenan wrote:
> Hello ports@,
> 
> Here is a new port, for Perl extension Time-Local (version 1.25).
> 
> From pkg/DESCR:
> 
> Time::Local is a Perl module which efficiently computes time from local
> and GMT time.
> 
> The module provides two functions, timelocal() and timegm(), which are
> the inverse of the Perl 5 built-in functions localtime() and gmtime(),
> respectively.
> 
> Please review.
> 
> Thank you very much.
> Jim Keenan

I am rejecting this.

$ corelist Time::Local

Data for 2017-09-22
Time::Local was first released with perl 5

$ corelist -v v5.24.3 Time::Local
Time::Local 1.2300

Version 1.25 is for Perl 5.26 and later. Don't mix what's in base with
packages.

$ locate Time/Local.
/usr/libdata/perl5/Time/Local.pm
$ locate Time::Local.
/usr/share/man/man3p/Time::Local.3p

So did you test every package using the base Time::Local, and I don't
see any updates to force use of package Time::Local over the base
version for all the packages...



Re: UPDATE: games/urbanterror

2018-02-07 Thread Ryan Freeman
On Wed, Feb 07, 2018 at 07:22:04AM +, Mikolaj Kucharski wrote:
> On Tue, Feb 06, 2018 at 08:58:29AM -0800, Ryan Freeman wrote:
> > -DISTNAME = urbanterror-4.3.2
> > +DISTNAME = urbanterror-4.3.2p1
> 
> I think `p` marker is reserved for REVISION, so why not useing
> revision directly?

Woops, thanks.  That 'p' should be 'pl' for patch level.  Unless
I am wrong, the REVISION marker is more for updating a package
that itself hasn't changed, but a dependency of it has?  Or
some other small tweak to the port that doesn't actually change
the src of the program in question.

As this is a hotfix update from upstream, I meant to use 'pl' for
patchlevel.

Thank you,
-ryan


? urt.diff
Index: Makefile
===
RCS file: /cvs/ports/games/urbanterror/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile8 Feb 2017 12:55:18 -   1.4
+++ Makefile7 Feb 2018 16:11:26 -
@@ -1,14 +1,13 @@
 # $OpenBSD: Makefile,v 1.4 2017/02/08 12:55:18 sthen Exp $
 
-USE_WXNEEDED = Yes
 ONLY_FOR_ARCHS = amd64 i386
 
 COMMENT =  fast-paced hollywood-tactical shooter: "fun over realism"
-DISTNAME = urbanterror-4.3.2
+DISTNAME = urbanterror-4.3.2pl1
 
 GH_ACCOUNT =   Barbatos
 GH_PROJECT =   ioq3-for-UrbanTerror-4
-GH_TAGNAME =   release-4.3.2
+GH_TAGNAME =   release-4.3.2-hotfix
 
 CATEGORIES =   games x11
 
Index: distinfo
===
RCS file: /cvs/ports/games/urbanterror/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo7 Feb 2017 06:12:27 -   1.3
+++ distinfo7 Feb 2018 16:11:26 -
@@ -1,2 +1,2 @@
-SHA256 (urbanterror-4.3.2.tar.gz) = 
gRrLDcuQNQnFbNwFaz0qZuQ1myO6Smj1bw6hRSEJzvs=
-SIZE (urbanterror-4.3.2.tar.gz) = 11775787
+SHA256 (urbanterror-4.3.2pl1.tar.gz) = 
kyvOLKLR+uSd9mLoUQmf1kmNV8VuDE+dXMOg+NtAhNI=
+SIZE (urbanterror-4.3.2pl1.tar.gz) = 3326324



Re: [NEW] devel/p5-Time-Local

2018-02-07 Thread James E Keenan

On 02/07/2018 11:47 AM, Nigel Taylor wrote:

On 02/07/18 16:23, James E Keenan wrote:

Hello ports@,

Here is a new port, for Perl extension Time-Local (version 1.25).

 From pkg/DESCR:

Time::Local is a Perl module which efficiently computes time from local
and GMT time.

The module provides two functions, timelocal() and timegm(), which are
the inverse of the Perl 5 built-in functions localtime() and gmtime(),
respectively.

Please review.

Thank you very much.
Jim Keenan


I am rejecting this.

$ corelist Time::Local

Data for 2017-09-22
Time::Local was first released with perl 5

$ corelist -v v5.24.3 Time::Local
Time::Local 1.2300

Version 1.25 is for Perl 5.26 and later. Don't mix what's in base with
packages.

$ locate Time/Local.
/usr/libdata/perl5/Time/Local.pm
$ locate Time::Local.
/usr/share/man/man3p/Time::Local.3p

So did you test every package using the base Time::Local, and I don't
see any updates to force use of package Time::Local over the base
version for all the packages...



My apologies: I did not realize that Time::Local is shipped with the 
Perl 5 core distribution.  Submission withdrawn.


Thank you very much.
Jim Keenan



[patch] i3status volume display

2018-02-07 Thread Carlin Bingham
Hi,

i3status doesn't display the volume on some hardware, specifically
auich(4), and I think anything else in the ac97(4) family possibly has
the same problem.

On auich at least the AUDIO_MIXER_READ ioctl fails if num_channels isn't
specified. Also i3status reads the mute status from the wrong device as
there's an "outputs.mono.mute" that has a higher index than
"outputs.master.mute", and i3status just ends up using the last one
it finds that's called "mute" in the outputs group.

If this patch is okay I'll try and submit it upstream.


-- 
Carlin


Index: Makefile
===
RCS file: /cvs/ports/x11/i3status/Makefile,v
retrieving revision 1.47
diff -u -p -u -r1.47 Makefile
--- Makefile14 Aug 2017 22:32:17 -  1.47
+++ Makefile7 Feb 2018 14:16:13 -
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= ${APM_ARCHS}
 COMMENT=   generate a statusbar for use with i3/xmobar/dzen2
 
 DISTNAME=  i3status-2.11
-REVISION=  5
+REVISION=  6
 CATEGORIES=x11 sysutils
 
 HOMEPAGE=  http://i3wm.org/i3status/
Index: patches/patch-src_print_volume_c
===
RCS file: patches/patch-src_print_volume_c
diff -N patches/patch-src_print_volume_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_print_volume_c7 Feb 2018 14:16:13 -
@@ -0,0 +1,44 @@
+$OpenBSD$
+
+Fix volume display on some hardware by selecting the right mute device 
+and specifying the current channel count
+
+Index: src/print_volume.c
+--- src/print_volume.c.orig
 src/print_volume.c
+@@ -211,6 +211,7 @@ void print_volume(yajl_gen json_gen, char *buffer, con
+ 
+ #if defined(__OpenBSD__)
+ int oclass_idx = -1, master_idx = -1, master_mute_idx = -1;
++int master_next = AUDIO_MIXER_LAST;
+ mixer_devinfo_t devinfo, devinfo2;
+ mixer_ctrl_t vinfo;
+ 
+@@ -228,12 +229,17 @@ void print_volume(yajl_gen json_gen, char *buffer, con
+ 
+ devinfo2.index = 0;
+ while (ioctl(mixfd, AUDIO_MIXER_DEVINFO, ) >= 0) {
+-if ((devinfo2.type == AUDIO_MIXER_VALUE) && (devinfo2.mixer_class == 
oclass_idx) && (strncmp(devinfo2.label.name, AudioNmaster, MAX_AUDIO_DEV_LEN) 
== 0))
++if ((devinfo2.type == AUDIO_MIXER_VALUE) && (devinfo2.mixer_class == 
oclass_idx) && (strncmp(devinfo2.label.name, AudioNmaster, MAX_AUDIO_DEV_LEN) 
== 0)) {
+ master_idx = devinfo2.index;
++master_next = devinfo2.next;
++}
+ 
+ if ((devinfo2.type == AUDIO_MIXER_ENUM) && (devinfo2.mixer_class == 
oclass_idx) && (strncmp(devinfo2.label.name, AudioNmute, MAX_AUDIO_DEV_LEN) == 
0))
+-master_mute_idx = devinfo2.index;
++if (master_next == devinfo2.index)
++master_mute_idx = devinfo2.index;
+ 
++if (master_next != AUDIO_MIXER_LAST)
++master_next = devinfo2.next;
+ devinfo2.index++;
+ }
+ 
+@@ -246,6 +252,7 @@ void print_volume(yajl_gen json_gen, char *buffer, con
+ 
+ vinfo.dev = master_idx;
+ vinfo.type = AUDIO_MIXER_VALUE;
++vinfo.un.value.num_channels = devinfo.un.v.num_channels;
+ if (ioctl(mixfd, AUDIO_MIXER_READ, ) == -1)
+ goto out;
+ 


[NEW] devel/p5-Time-Local

2018-02-07 Thread James E Keenan

Hello ports@,

Here is a new port, for Perl extension Time-Local (version 1.25).

From pkg/DESCR:

Time::Local is a Perl module which efficiently computes time from local
and GMT time.

The module provides two functions, timelocal() and timegm(), which are
the inverse of the Perl 5 built-in functions localtime() and gmtime(),
respectively.

Please review.

Thank you very much.
Jim Keenan


p5-Time-Local.tar.gz
Description: application/gzip


Re: [NEW] net/onionshare

2018-02-07 Thread attila
attila wrote:
> Klemens Nanni wrote:
> > On Tue, Dec 12, 2017 at 10:45:21AM -0600, attila wrote:
> > > Klemens Nanni  wrote:
> > > > You should zap V and PKGNAME, set GH_TAGNAME=v1.1 and move GH_* right
> > > > beneath COMMENT; see infrastructure/templates/Makefile.template.
> > > >
> > > > RUN_DEPENDS lacks net/tor.
> > > > onionshare-gui still starts but python will dump core when
> > > > /usr/local/bin/tor is missing. It also mentions our net/tor package as
> > > > "Tor that is bundled with OpenShare" which is misleading.
> > > >
> > > > TEST_DEPENDS lacks net/py-stem and www/py-frozen-flask.
> > >
> > > Attached is an updated port that addresses all of these comments.
> > > Thanks a lot for the feedback!
> > Looks good to me except for the bundle bits. Optimally this should be
> > clarified upstream.
> 
> There has been a new release in the interim and my patches for the old
> release were discussed a bit on GH.  Attached is a new attempt that is
> for the latest release (1.2) and that takes into account some of the
> suggestions from other contributors.

After I sent this I modified my patches slightly to accomodate another
suggestion by upstream and the pull request has now been merged, so
all these patches can go in the next update:
https://github.com/micahflee/onionshare/pull/585

This is also in FreeBSD ports now (thanks to fellow torbsd.org member
Egypcio):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225539

> I changed TEST_DEPENDS for 1.2 but the tests fail now for me and I
> have not had time to investigate, thus NO_TEST=Yes.  I'd like this to
> be critiqued regardless, I don't see this as fatal to getting in if it
> passes muster otherwise...

Still have not had time to suss this out.

Updated port attached with the actual patches that got upstream.

> Feedback welcome.
> 
> Pax, -A
--
https://haqistan.net/~attila | attila@{stalphonsos.com,haqistan.net}
pgp: 0x62A729CF | C2CE 2487 03AC 4C2F 101D  09C1 4068 D5D5 62A7 29CF



onionshare-1.2-3.tgz
Description: Binary data


CVS: cvs.openbsd.org: ports

2018-02-07 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2018/02/07 07:18:23

Modified files:
www/hiawatha   : Makefile 
www/hiawatha/pkg: PLIST 

Log message:
Workaround for mbedtls 2.7 until I find a better fix.



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2018/02/07 07:04:48

Modified files:
sysutils/bitrot: Makefile distinfo 

Log message:
Update to bitrot-0.9.2.

0.9.2

bugfix: one place in the code incorrectly hardcoded UTF-8 as the
filesystem encoding

0.9.1

bugfix: print the path that failed to decode with FSENCODING
bugfix: when using -q, don't hide warnings about files that can't be
statted or read
bugfix: -s is no longer broken on Python 3

>From Bryan Vyhmeister, who also takes maintainership. Thanks!



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/07 06:52:23

Modified files:
graphics/py-cairo: Makefile distinfo 
graphics/py-cairo/pkg: PFRAG.no-python3 PFRAG.python3 PLIST 

Log message:
Update to py-cairo-1.16.1.
- unfuck PLIST to unbreak pkgconfig (reported by naddy@)



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2018/02/07 04:39:47

Modified files:
games/freeciv  : Makefile distinfo 

Log message:
bugfix update to freeciv-2.5.10



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2018/02/07 02:58:48

Modified files:
sysutils/shelldap: Makefile distinfo 

Log message:
Update to shelldap 1.4.0.



Re: [UPDATE] textproc/py-podcastparser for net/gpodder update

2018-02-07 Thread Daniel Jakots
On Tue, 30 Jan 2018 18:37:13 -0500, trondd 
wrote:

> Daniel Jakots  wrote:
> 
> > On Thu, 25 Jan 2018 20:06:29 -0500, trondd 
> > wrote:
> >   
> > > +MODPY_VERSION=   ${MODPY_DEFAULT_VERSION_3}  
> > 
> > As it's a library and the ports name is py- prefixed, we can easily
> > go with a flavour which is what our policy is :)
> > Any comment?  
> 
> Thanks.  That was one of my questions.  This is good, except for
> disambiguating the man page filename.

Indeed nice catch! I've committed your diff, thanks!



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2018/02/07 02:07:57

Modified files:
textproc/py-podcastparser: Makefile distinfo 
textproc/py-podcastparser/pkg: PLIST 

Log message:
Update to py-podcastparser-0.6.2 and add a py3 flavor

>From Tim Meunier with tweaks by me



CVS: cvs.openbsd.org: ports

2018-02-07 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2018/02/07 02:08:32

Modified files:
textproc   : Makefile 

Log message:
+ py-podcastparser,python3