UPDATE: lua 5.3.3

2016-06-06 Thread Jonathan Gray
http://marc.info/?l=lua-l=146524872110215=2

Index: Makefile
===
RCS file: /cvs/ports/lang/lua/5.3/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile4 Dec 2015 00:41:03 -   1.5
+++ Makefile7 Jun 2016 05:01:29 -
@@ -2,7 +2,7 @@
 
 PORTROACH= limit:^5\.3
 
-VERSION=   5.3.2
+VERSION=   5.3.3
 PKGSPEC=   lua->=5.3,<5.4
 
 SHARED_LIBS=   lua5.3 ${VERSION:R}
Index: distinfo
===
RCS file: /cvs/ports/lang/lua/5.3/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo4 Dec 2015 00:41:03 -   1.3
+++ distinfo7 Jun 2016 05:01:50 -
@@ -1,2 +1,2 @@
-SHA256 (lua-5.3.2.tar.gz) = x0DHuyOpNpROHMY7fDxTUaiXbXhnxSUsiFT3sq+dpo8=
-SIZE (lua-5.3.2.tar.gz) = 288235
+SHA256 (lua-5.3.3.tar.gz) = URPAaIT33kU85XcCq6rB1hgwfzP2eJ+ocOh6WddyrKI=
+SIZE (lua-5.3.3.tar.gz) = 294290



Re: UPDATE: Aria2-1.23.0

2016-06-06 Thread Gonzalo L. Rodriguez
Yup, The man need a diff.


On 07/06, Gonzalo L. Rodriguez wrote:
; Update for Aria2 to 1.23.0:
; 
; https://github.com/aria2/aria2/releases/tag/release-1.23.0
; 
; Ok? Comments?
; 
; Cheers.-
; 
; -- 
; Sending from my toaster.
; 

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/www/aria2/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile29 Apr 2016 04:00:54 -  1.39
+++ Makefile7 Jun 2016 04:31:30 -
@@ -3,7 +3,7 @@
 BROKEN-alpha = MetalinkParserStateV4Impl.cc:219:1: internal compiler error: 
Segmentation fault
 
 COMMENT =  lightweight multi-protocol & multi-source download 
utility
-V =1.22.0
+V =1.23.0
 DISTNAME = aria2-${V}
 CATEGORIES =   www
 HOMEPAGE = http://aria2.sourceforge.net/
Index: distinfo
===
RCS file: /cvs/ports/www/aria2/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo29 Apr 2016 04:00:54 -  1.25
+++ distinfo7 Jun 2016 04:31:30 -
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.22.0.tar.gz) = PrKTAnk5uZ1lx4ikPGFT5UxlF+7e2XAKy26fmFhKNs4=
-SIZE (aria2-1.22.0.tar.gz) = 3686221
+SHA256 (aria2-1.23.0.tar.gz) = MBdM9H9/3VLR/gfmb/W/aNxF545dZC8DYWTzs2LP9Bk=
+SIZE (aria2-1.23.0.tar.gz) = 3738439


UPDATE: Aria2-1.23.0

2016-06-06 Thread Gonzalo L. Rodriguez
Update for Aria2 to 1.23.0:

https://github.com/aria2/aria2/releases/tag/release-1.23.0

Ok? Comments?

Cheers.-

-- 
Sending from my toaster.



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2016/06/06 21:28:47

Modified files:
x11/smtube : Makefile distinfo 

Log message:
Update for SMTubt to 16.6.0

* Add support for high DPI screens.
* Packages are built with Qt 5.

OK benoit@



Re: UPDATE: SMTube-16.6.0

2016-06-06 Thread Josh Grosse
On Sun, Jun 05, 2016 at 01:03:05PM -0300, Gonzalo L. Rodriguez wrote:
> Hi,
> 
> Update SMTube to 16.6.0:
> 
> * Add support for high DPI screens.
> * Packages are built with Qt 5.
> 
> Ok? comments?

Working fine on amd64, thank you!



sysutils/apcupsd with USB cable broken in latest snap

2016-06-06 Thread Johan Huldtgren

hello,

I have an APC Smart-UPS-2200 which is connected via USB, as long as
I've followed the instructions in pkg-readme about disabling uhidev
and upd it's always worked fine. When I updated to the latest snap
(June 4th) however I am now always seeing "COMMLOST" in the output of
'apcaccess status' I tried booting the previous kernel (May 19th,
#1709), but that did not resolve it, it seems the breakage occurred
when apcupsd went from 3.14.13p1 to 3.14.13p2 which seems to have been
because the removal of USB_GET_STRING_DESC. I did try the newly
committed (but as yet unpackaged) 3.14.14 but no more luck there.

I tried to build 3.14.13p1 to see if I can confirm what broke it, but
I've been unable to succeed. I backed out the USB_GET_STRING_DESC
changes and built a new kernel based on sources from around
2016-05-20, I tried to do the same thing with the ports tree but
clearly I've missed something, because I never make it further than:

make[5]: Entering directory 
'/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src/drivers/usb/bsd'

  CXX   src/drivers/usb/bsd/hidutils.c
if test ! -d .obj; then mkdir -p .obj; fi
c++ -x c++ -I/usr/local/include 
-I/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src/libusbhid 
-I/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/include  -O2 -pipe 
-fno-exceptions -fno-rtti -Wall -pthread -c -o .obj/hidutils.o hidutils.c

hidutils.c: In function 'const char* hidu_get_string(int, int)':
hidutils.c:354: error: 'USB_GET_STRING_DESC' was not declared in this scope
../../../../autoconf/targets.mak:141: recipe for target 
'.obj/hidutils.o' failed

gmake[5]: *** [.obj/hidutils.o] Error 1
gmake[5]: Leaving directory 
'/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src/drivers/usb/bsd'

../../../../autoconf/targets.mak:55: recipe for target 'all' failed
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory 
'/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src/drivers/usb/bsd'

../../../autoconf/targets.mak:105: recipe for target 'bsd_DIR' failed
gmake[3]: *** [bsd_DIR] Error 2
gmake[3]: Leaving directory 
'/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src/drivers/usb'

../../autoconf/targets.mak:105: recipe for target 'usb_DIR' failed
gmake[2]: *** [usb_DIR] Error 2
gmake[2]: Leaving directory 
'/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src/drivers'

../autoconf/targets.mak:105: recipe for target 'drivers_DIR' failed
gmake[1]: *** [drivers_DIR] Error 2
gmake[1]: Leaving directory 
'/usr/ports/pobj/apcupsd-3.14.13/apcupsd-3.14.13/src'

autoconf/targets.mak:105: recipe for target 'src_DIR' failed
gmake: *** [src_DIR] Error 2
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2675 
'/usr/ports/pobj/apcupsd-3.14.13/.build_done')
*** Error 1 in /usr/ports/sysutils/apcupsd 
(/usr/ports/infrastructure/mk/bsd.port.mk:2397 'all')


any clues?

Below is a dmesg from current, as well as output from usbdevs
and apcaccess.

thanks,

.jh



# dmesg
OpenBSD 6.0-beta (GENERIC) #1783: Sat Jun  4 20:02:48 MDT 2016
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz ("GenuineIntel" 
686-class) 1.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PERF

real mem  = 536240128 (511MB)
avail mem = 513286144 (489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 01/07/04, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 
2.3 @ 0xf76b0 (62 entries)

bios0: vendor Dell Computer Corporation version "A11" date 01/07/2004
bios0: Dell Computer Corporation Inspiron 8200
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP
acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) UAR1(S3) USB0(S1) 
USB1(S1) USB2(S1) MODM(S3) PCIE(S3) MPCI(S3)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (PCIE)
acpiprt3 at acpi0: bus -1 (MPCI)
acpicpu0 at acpi0acpicpu0: struck PSS entry, core frequency equals  last
acpicpu0: struck PSS entry, core frequency equals  last
acpicpu0: invalid _PSS length
: !C2(@50 io@0x8e4), C1(@1 halt!)
acpipwrres0 at acpi0: PADA, resource for ADPT
acpitz0 at acpi0: critical temperature is 94 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 model "LIP8120DLP" serial 20216 type LION oem 
"Sony Corp."

acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
"PNP0F13" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0700" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0401" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
bios0: ROM list: 0xc/0xf800 0xcf800/0x800!
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
intelagp0 at pchb0

CVS: cvs.openbsd.org: ports

2016-06-06 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2016/06/06 16:30:19

Modified files:
net: Makefile 

Log message:
hook up ii,ucspi
OK sthen



Re: go seems to use sys_o58_kill

2016-06-06 Thread Joel Sing
On 6 Jun 2016 7:16 PM, Ray Lai  wrote:
>
> On Mon, 06 Jun 2016 10:43:28 -0400
> "Ted Unangst"  wrote:
> > I think the first of each of these should be thrkill instead.
>
> Yup. But I don't know asm asm so I left it as kill(2) for now, which is
> arguably better than leaving it as a non-existent syscall.

No, not really - sys_kill and sys_thrkill have different behavior than
sys_o58_kill, so you just swap one problem for another.

Comments inline - the go-bootstrap port will also need patching. Does
this pass make regress?

> Beware: I was not an assembly coder 24 hours ago.
>
> Ray
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/go/Makefile,v
> retrieving revision 1.34
> diff -u -p -r1.34 Makefile
> --- Makefile 20 May 2016 16:03:24 - 1.34
> +++ Makefile 6 Jun 2016 18:03:22 -
> @@ -5,6 +5,7 @@ ONLY_FOR_ARCHS = ${GO_ARCHS}
> COMMENT = Go programming language
>
> VERSION = 1.6.2
> +REVISION = 0
> EXTRACT_SUFX = .src.tar.gz
> DISTNAME = go${VERSION}
> PKGNAME = go-${VERSION}
> Index: patches/patch-src_runtime_sys_openbsd_386_s
> ===
> RCS file:
/cvs/ports/lang/go/patches/patch-src_runtime_sys_openbsd_386_s,v
> retrieving revision 1.1
> diff -u -p -r1.1 patch-src_runtime_sys_openbsd_386_s
> --- patches/patch-src_runtime_sys_openbsd_386_s 13 May 2016 13:49:26
- 1.1
> +++ patches/patch-src_runtime_sys_openbsd_386_s 6 Jun 2016 18:03:22
-
> @@ -1,7 +1,29 @@
> $OpenBSD: patch-src_runtime_sys_openbsd_386_s,v 1.1 2016/05/13 13:49:26
jsing Exp $
>  src/runtime/sys_openbsd_386.s.orig Thu May  5 01:27:04 2016
> -+++ src/runtime/sys_openbsd_386.s Thu May  5 01:27:41 2016
> -@@ -214,14 +214,6 @@ TEXT runtime�sigtramp(SB),NOSPLIT,$12
> +--- src/runtime/sys_openbsd_386.s.orig Wed Apr 20 07:50:09 2016
>  src/runtime/sys_openbsd_386.s Tue Jun  7 02:02:23 2016
> +@@ -86,8 +86,11 @@ TEXT runtime�raise(SB),NOSPLIT,$12
> + MOVL AX, 4(SP) // arg 1 - pid

This is now tid, not pid.

> + MOVL sig+0(FP), AX
> + MOVL AX, 8(SP) // arg 2 - signum
> +- MOVL $37, AX // sys_kill
> ++ MOVL $330, AX // sys___get_tcb
> + INT $0x80
> ++ MOVQ AX, DX // arg 3 - tcb

TCB is optional, just pass NULL here instead.

> ++ MOVL $119, AX // sys_thrkill
> ++ INT $0x80
> + RET
> +
> + TEXT runtime�raiseproc(SB),NOSPLIT,$12
> +@@ -97,7 +100,7 @@ TEXT runtime�raiseproc(SB),NOSPLIT,$12
> + MOVL AX, 4(SP) // arg 1 - pid
> + MOVL sig+0(FP), AX
> + MOVL AX, 8(SP) // arg 2 - signum
> +- MOVL $37, AX // sys_kill
> ++ MOVL $122, AX // sys_kill
> + INT $0x80
> + RET
> +
> +@@ -214,14 +217,6 @@ TEXT runtime�sigtramp(SB),NOSPLIT,$12
> MOVL context+8(FP), BX
> MOVL BX, 8(SP)
> CALL runtime�sigtrampgo(SB)
> Index: patches/patch-src_runtime_sys_openbsd_amd64_s
> ===
> RCS file: patches/patch-src_runtime_sys_openbsd_amd64_s
> diff -N patches/patch-src_runtime_sys_openbsd_amd64_s
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_runtime_sys_openbsd_amd64_s 6 Jun 2016 18:03:22
-
> @@ -0,0 +1,25 @@
> +$OpenBSD$
> +--- src/runtime/sys_openbsd_amd64.s.orig Wed Apr 20 07:50:09 2016
>  src/runtime/sys_openbsd_amd64.s Tue Jun  7 01:19:53 2016
> +@@ -158,8 +158,11 @@ TEXT runtime�raise(SB),NOSPLIT,$16
> + SYSCALL
> + MOVQ AX, DI // arg 1 - pid

As above.

> + MOVL sig+0(FP), SI // arg 2 - signum
> +- MOVL $37, AX // sys_kill
> ++ MOVL $330, AX // sys___get_tcb
> + SYSCALL
> ++ MOVQ AX, DX // arg 3 - tcb

As above.

> ++ MOVL $119, AX // sys_thrkill
> ++ SYSCALL
> + RET
> +
> + TEXT runtime�raiseproc(SB),NOSPLIT,$16
> +@@ -167,7 +170,7 @@ TEXT runtime�raiseproc(SB),NOSPLIT,$16
> + SYSCALL
> + MOVQ AX, DI // arg 1 - pid
> + MOVL sig+0(FP), SI // arg 2 - signum
> +- MOVL $37, AX // sys_kill
> ++ MOVL $122, AX // sys_kill
> + SYSCALL
> + RET
> +
> Index: patches/patch-src_runtime_sys_openbsd_arm_s
> ===
> RCS file: patches/patch-src_runtime_sys_openbsd_arm_s
> diff -N patches/patch-src_runtime_sys_openbsd_arm_s
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_runtime_sys_openbsd_arm_s 6 Jun 2016 18:03:22
-
> @@ -0,0 +1,21 @@
> +$OpenBSD$
> +--- src/runtime/sys_openbsd_arm.s.orig Mon Jun  6 14:00:06 2016
>  src/runtime/sys_openbsd_arm.s Mon Jun  6 14:00:25 2016
> +@@ -89,7 +89,7 @@ TEXT runtime�raise(SB),NOSPLIT,$12
> + SWI $0 // sys_getthrid
> + // arg 1 - pid, already in R0
> + MOVW sig+0(FP), R1 // arg 2 - signum
> +- MOVW $37, R12 // sys_kill
> ++ MOVW $122, R12 // sys_kill

This needs to be sys_thrkill.

> + SWI $0
> + RET
> +
> +@@ -98,7 +98,7 @@ TEXT runtime�raiseproc(SB),NOSPLIT,$12
> + SWI $0 // sys_getpid
> + // arg 1 - pid, already in R0
> + MOVW sig+0(FP), R1 // arg 2 - signum
> +- MOVW $37, R12 // sys_kill
> ++ MOVW $122, R12 // sys_kill
> + SWI $0
> + RET
> +


CVS: cvs.openbsd.org: ports

2016-06-06 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2016/06/06 16:27:37

Modified files:
devel/cppcheck : Makefile distinfo 
Removed files:
devel/cppcheck/patches: patch-cli_cppcheckexecutor_cpp 

Log message:
update to 1.74
zap patch merged upstream



[pretest] mosh-1.2.5.95rc1

2016-06-06 Thread Jeremie Courreges-Anglas

Upstream would like some feedback.  Lightly tested so far.

Index: Makefile
===
RCS file: /cvs/ports/net/mosh/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile11 Sep 2015 17:57:13 -  1.7
+++ Makefile6 Jun 2016 18:20:42 -
@@ -2,7 +2,10 @@
 
 COMMENT =  mobile shell
 
-DISTNAME = mosh-1.2.5
+GH_ACCOUNT =   mobile-shell
+GH_PROJECT =   mosh
+GH_COMMIT =mosh-1.2.5.95rc1
+DISTNAME = mosh-1.2.5.95rc1
 
 CATEGORIES =   net
 
@@ -16,15 +19,25 @@ PERMIT_PACKAGE_CDROM =  Yes
 WANTLIB += c crypto m ncursesw protobuf pthread ssl stdc++ util
 WANTLIB += z
 
-MASTER_SITES = ${HOMEPAGE}
+#MASTER_SITES =${HOMEPAGE}
 
 LIB_DEPENDS =  devel/protobuf
 
 SEPARATE_BUILD =   Yes
-CONFIGURE_STYLE =  gnu
+CONFIGURE_STYLE =  autoconf automake
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.14
 # --enable-hardening forces PIE on, which doesn't work on all arches
 # pick only ld(1) -z now to match upstream
 CONFIGURE_ARGS =   --disable-hardening
 CONFIGURE_ENV =LDFLAGS="-Wl,-z,now ${LDFLAGS}"
+
+WRKDIST =  ${WRKDIR}/mosh-${DISTNAME}
+
+post-patch:
+   cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+   AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+   AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
+   ./autogen.sh
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/mosh/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo11 Sep 2015 17:57:13 -  1.3
+++ distinfo6 Jun 2016 18:18:39 -
@@ -1,2 +1,2 @@
-SHA256 (mosh-1.2.5.tar.gz) = GvgJ5ddHwzOoUvv3rNv001TcS7woOeOv5c95gZAHS+M=
-SIZE (mosh-1.2.5.tar.gz) = 308857
+SHA256 (mosh-1.2.5.95rc1.tar.gz) = +qChoH4eUNctPl0p9T9ixef/GjqW/LOuoKF0REQ90gM=
+SIZE (mosh-1.2.5.95rc1.tar.gz) = 194022
Index: patches/patch-src_crypto_ocb_cc
===
RCS file: /cvs/ports/net/mosh/patches/patch-src_crypto_ocb_cc,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_crypto_ocb_cc
--- patches/patch-src_crypto_ocb_cc 11 Sep 2015 11:47:41 -  1.2
+++ patches/patch-src_crypto_ocb_cc 6 Jun 2016 18:27:10 -
@@ -2,9 +2,9 @@ $OpenBSD: patch-src_crypto_ocb_cc,v 1.2 
 Use generic code on ARM instead of asm because of some unsupported
 instructions.
 Introduced by https://github.com/keithw/mosh/issues/86
 src/crypto/ocb.cc.orig Sat Jun 27 00:28:46 2015
-+++ src/crypto/ocb.cc  Mon Jun 29 23:20:32 2015
-@@ -298,7 +298,7 @@
+--- src/crypto/ocb.cc.orig Wed May 25 06:13:12 2016
 src/crypto/ocb.cc  Mon Jun  6 18:20:54 2016
+@@ -320,7 +320,7 @@
  return swap_if_le(rval);
}
  


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



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2016/06/06 16:15:05

Modified files:
editors/emacs21: Makefile 

Log message:
Missing bump.



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2016/06/06 16:14:20

Modified files:
infrastructure/bin: proot 

Log message:
keep going even after warnings during the copy process
they happen so often...



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2016/06/06 15:52:15

Modified files:
x11/gnustep/make: Makefile 
Added files:
x11/gnustep/make/patches: patch-common_make 

Log message:
CVS tricked me to forget to add this file on the update.

Do not pass an unused argument to compilation, unbreaks GNUstep ports with
-Werror, namely -gui and -dbuskit.

pointed out by sthen@, ajacoutot@, naddy@



Re: i386 build failure: net/owncloudclient,qt5

2016-06-06 Thread Stuart Henderson
On 2016/06/06 12:40, Stuart Henderson wrote:
> FAILED: shell_integration/dolphin/libownclouddolphinpluginhelper.so 

oh...it didn't attempt to build this file in the previous build.
It picks it up because the (fairly recently added) kf5 was present
during configure:

-- Found KF5KIO: /usr/local/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version 
"5.21.0") 
-- Found KF5: success (found suitable version "5.21.0", minimum required is 
"5.16") found components:  KIO 
-- Found KF5CoreAddons: 
/usr/local/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version 
"5.21.0") 
-- Found KF5: success (found suitable version "5.21.0", minimum required is 
"5.16.0") found components:  CoreAddons KIO 
CMake Warning at /usr/local/share/ECM/kde-modules/KDEInstallDirs.cmake:595 
(message):
  KDE_INSTALL_BINDIR, KDE_INSTALL_LIBDIR and KDE_INSTALL_INCLUDEDIR should
  either all be absolute paths or all be relative paths.
Call Stack (most recent call first):
  shell_integration/dolphin/CMakeLists.txt:22 (include)

I've disabled this in owncloudclient for now. Not sure why linking
is failing. FWIW /usr/obj/ports/owncloudclient-2.1.1-qt5/bin/c++ is a
symlink pointing to eg++. Anyway the port is "fixed" now at least.

> : && /usr/obj/ports/owncloudclient-2.1.1-qt5/bin/c++  -fPIC -O2 -pipe  
> -DHAVE_ICONV -DHAVE_ICONV_H  -I/usr/local/include/inotify -Wall -Wextra 
> -pedantic -Wno-long-long -std=c++0x -Wpedantic -fPIC -std=c++0x 
> -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts 
> -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor 
> -Woverloaded-virtual -Werror=return-type -DNDEBUG  -Wl,--no-undefined 
> -Wl,--fatal-warnings -Wl,--enable-new-dtags -shared -o 
> shell_integration/dolphin/libownclouddolphinpluginhelper.so 
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o
>  
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper_automoc.cpp.o
>  -L/usr/local/lib/qt5/. -lQt5Network -lQt5Core 
> -Wl,-rpath,/usr/local/lib/qt5/.: -Wl,-rpath-link,/usr/X11R6/lib && :
> /usr/lib/crtbeginS.o: In function `atexit':
> (.text+0x1db): undefined reference to `__cxa_atexit'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
>  In function `OwncloudDolphinPluginHelper::tryConnect()':
> ownclouddolphinpluginhelper.cpp:(.text+0x1ad): undefined reference to `strlen'
> ownclouddolphinpluginhelper.cpp:(.text+0x21d): undefined reference to `memcpy'
> ownclouddolphinpluginhelper.cpp:(.text+0x2fb): undefined reference to 
> `__stack_smash_handler'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
>  In function `OwncloudDolphinPluginHelper::OwncloudDolphinPluginHelper()':
> ownclouddolphinpluginhelper.cpp:(.text+0x48a): undefined reference to 
> `__stack_smash_handler'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
>  In function `OwncloudDolphinPluginHelper::instance()':
> ownclouddolphinpluginhelper.cpp:(.text+0x4f7): undefined reference to 
> `__cxa_atexit'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
>  In function `OwncloudDolphinPluginHelper::slotReadyRead()':
> ownclouddolphinpluginhelper.cpp:(.text+0x67c): undefined reference to `strlen'
> ownclouddolphinpluginhelper.cpp:(.text+0x735): undefined reference to `strlen'
> ownclouddolphinpluginhelper.cpp:(.text+0x817): undefined reference to 
> `__stack_smash_handler'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
>  In function `QVector::reallocData(int, int, 
> QFlags)':
> ownclouddolphinpluginhelper.cpp:(.text._ZN7QVectorI7QStringE11reallocDataEii6QFlagsIN10QArrayData16AllocationOptionEE[_ZN7QVectorI7QStringE11reallocDataEii6QFlagsIN10QArrayData16AllocationOptionEE]+0x254):
>  undefined reference to `memcpy'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper_automoc.cpp.o:
>  In function `OwncloudDolphinPluginHelper::commandRecieved(QByteArray 
> const&)':
> ownclouddolphinpluginhelper_automoc.cpp:(.text+0xa0): undefined reference to 
> `__stack_smash_handler'
> shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper_automoc.cpp.o:
>  In function `OwncloudDolphinPluginHelper::qt_metacast(char const*)':
> ownclouddolphinpluginhelper_automoc.cpp:(.text+0x1c4): undefined reference to 
> `strcmp'
> collect2: error: ld returned 1 exit status
> ninja: build stopped: subcommand failed.
> 



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/06/06 15:24:57

Added files:
net/owncloudclient/patches: 
patch-shell_integration_CMakeLists_txt 

Log message:
disable kf5 integration, it's a hidden dep and breaks the build with
linker errors if present during configure.



Re: [NEW] devel/keystone

2016-06-06 Thread Remi Pointel

On 06/06/16 11:49, Frederic Cambus wrote:

On Wed, Jun 01, 2016 at 01:37:43PM +0200, Frederic Cambus wrote:


Here is a new port : devel/keystone

From DESCR:

Keystone is a lightweight multi-platform, multi-architecture assembler
framework.


Attaching a new tarball with a patch from upstream to address a kstool
crash when no assembly string is provided. Spotted by rpointel@.



Hi,

it  works fine here.

ok for me to import this tool. Any other ok?

Remi.



Re: [NEW] devel/keystone

2016-06-06 Thread Benoit Lecocq


On 06.06.2016 23:07, Remi Pointel wrote:
> On 06/06/16 11:49, Frederic Cambus wrote:
>> On Wed, Jun 01, 2016 at 01:37:43PM +0200, Frederic Cambus wrote:
>>>
>>> Here is a new port : devel/keystone
>>>
>>> From DESCR:
>>>
>>> Keystone is a lightweight multi-platform, multi-architecture assembler
>>> framework.
>>
>> Attaching a new tarball with a patch from upstream to address a kstool
>> crash when no assembly string is provided. Spotted by rpointel@.
>>
> 
> Hi,
> 
> it  works fine here.
> 
> ok for me to import this tool. Any other ok?
> 
> Remi.
> 

ok benoit@



UPDATE: devel/intellij 2016.1.3

2016-06-06 Thread Caspar Schutijser
Hi,

Below is an update to devel/intellij 2016.1.3. Did the usual amount of
testing, works fine on amd64.

Thanks,
Caspar Schutijser


Index: Makefile
===
RCS file: /cvs/ports/devel/intellij/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile16 May 2016 09:39:51 -  1.35
+++ Makefile6 Jun 2016 20:25:03 -
@@ -2,7 +2,7 @@
 
 COMMENT=   IntelliJ IDEA Java IDE
 
-V= 2016.1.2
+V= 2016.1.3
 DISTNAME=  ideaIC-${V}
 PKGNAME=   intellij-${V}
 CATEGORIES=devel
@@ -26,7 +26,7 @@ NO_TEST=  Yes
 
 SUBST_VARS+=   JAVA_HOME
 
-WRKDIST=   ${WRKDIR}/idea-IC-145.971.21
+WRKDIST=   ${WRKDIR}/idea-IC-145.1617.8
 IJ=${PREFIX}/intellij
 
 # If NO_BUILD is set, JAVA_HOME doesn't get defined. So do
Index: distinfo
===
RCS file: /cvs/ports/devel/intellij/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo16 May 2016 09:39:51 -  1.16
+++ distinfo6 Jun 2016 20:25:03 -
@@ -1,2 +1,2 @@
-SHA256 (ideaIC-2016.1.2.tar.gz) = P57B9q8UCfeqkpzD06VPzhuE0OGbdBEmItIE7jQXiZU=
-SIZE (ideaIC-2016.1.2.tar.gz) = 316986228
+SHA256 (ideaIC-2016.1.3.tar.gz) = 0c0/n9ZQwAuoUYHabWa0uAuOSM5fTxW19NxnRT6WoXk=
+SIZE (ideaIC-2016.1.3.tar.gz) = 317001830



UPDATE: sysutils/ntfs-3g

2016-06-06 Thread Rafael Sadowski
Hi @ports,

here's the newest ntfs-3g port. Tested @amd64 and works prefect.

Test case:

- doas mkntfs /dev/sd5c (USB device)
- doas ntfs-3g /dev/sd5i /mnt/usb
- copy some PDFs
- umount
- mount in Windows 10
- open the PDFs
- copy some other files
- mount on OpenBSD
- Open some files from Windows 10

Everything looks like expected. OK, comments?

Best regards,

Rafael

Index: Makefile
===
RCS file: /cvs/ports/sysutils/ntfs-3g/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile11 Mar 2016 20:28:31 -  1.8
+++ Makefile6 Jun 2016 19:53:57 -
@@ -2,10 +2,10 @@
 
 COMMENT =  FUSE NTFS driver with read/write support
 
-V =2015.3.14
+V =2016.2.22
 DISTNAME = ntfs-3g_ntfsprogs-${V}
 PKGNAME =  ntfs_3g-${V}
-SHARED_LIBS += ntfs-3g 0.1 # .85
+SHARED_LIBS += ntfs-3g 0.2 # .86
 CATEGORIES =   sysutils
 
 HOMEPAGE = http://www.tuxera.com/
@@ -26,6 +26,9 @@ CONFIGURE_STYLE = gnu
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS =   --disable-mtab \
+   --enable-extras \
+   --enable-mount-helper \
+   --with-fuse=external \
--disable-ldconfig
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/ntfs-3g/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo20 Nov 2015 05:32:02 -  1.3
+++ distinfo6 Jun 2016 19:53:57 -
@@ -1,2 +1,2 @@
-SHA256 (ntfs-3g_ntfsprogs-2015.3.14.tgz) = 
l/mWAV2DFtSicr0mKZeOXpcHLdPMFIzjmAL4A3xlOPI=
-SIZE (ntfs-3g_ntfsprogs-2015.3.14.tgz) = 1210069
+SHA256 (ntfs-3g_ntfsprogs-2016.2.22.tgz) = 
17csBeSzST5glb54mnYMn18rFBgS1biF8xkMmIAvHqA=
+SIZE (ntfs-3g_ntfsprogs-2016.2.22.tgz) = 1264364
Index: patches/patch-ntfsprogs_Makefile_in
===
RCS file: /cvs/ports/sysutils/ntfs-3g/patches/patch-ntfsprogs_Makefile_in,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-ntfsprogs_Makefile_in
--- patches/patch-ntfsprogs_Makefile_in 20 Nov 2015 05:32:02 -  1.3
+++ patches/patch-ntfsprogs_Makefile_in 6 Jun 2016 19:53:57 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-ntfsprogs_Makefile_in,v 1.3 2015/11/20 05:32:02 pirofti Exp $
 ntfsprogs/Makefile.in.orig Sat Mar 14 15:10:28 2015
-+++ ntfsprogs/Makefile.in  Sun Jul 19 19:03:42 2015
-@@ -1349,7 +1349,7 @@ uninstall-man: uninstall-man8
+--- ntfsprogs/Makefile.in.orig Wed Jun  1 08:08:45 2016
 ntfsprogs/Makefile.in  Wed Jun  1 08:09:57 2016
+@@ -1377,7 +1377,7 @@ uninstall-man: uninstall-man8
  
- @ENABLE_NTFSPROGS_TRUE@install-exec-hook:
- @ENABLE_NTFSPROGS_TRUE@   $(INSTALL) -d $(DESTDIR)/sbin
--@ENABLE_NTFSPROGS_TRUE@   $(LN_S) -f $(sbindir)/mkntfs 
$(DESTDIR)/sbin/mkfs.ntfs
-+@ENABLE_NTFSPROGS_TRUE@   $(LN_S) -f $(sbindir)/mkntfs 
$(DESTDIR)/$(sbindir)/mkfs.ntfs
+ @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@install-exec-hook:
+ @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d 
$(DESTDIR)/sbin
+-@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f 
$(sbindir)/mkntfs $(DESTDIR)/sbin/mkfs.ntfs
++@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f 
$(sbindir)/mkntfs $(DESTDIR)/$(sbindir)/mkfs.ntfs
  
- @ENABLE_NTFSPROGS_TRUE@install-data-hook:
- @ENABLE_NTFSPROGS_TRUE@   $(INSTALL) -d $(DESTDIR)$(man8dir)
+ @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@install-data-hook:
+ @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d 
$(DESTDIR)$(man8dir)
Index: patches/patch-src_Makefile_in
===
RCS file: /cvs/ports/sysutils/ntfs-3g/patches/patch-src_Makefile_in,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-src_Makefile_in
--- patches/patch-src_Makefile_in   20 Nov 2015 05:32:02 -  1.4
+++ patches/patch-src_Makefile_in   6 Jun 2016 19:53:57 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-src_Makefile_in,v 1.4 2015/11/20 05:32:02 pirofti Exp $
 src/Makefile.in.orig   Sat Mar 14 15:10:28 2015
-+++ src/Makefile.inSun Jul 19 19:03:42 2015
+--- src/Makefile.in.orig   Mon Feb 22 08:34:49 2016
 src/Makefile.inWed Jun  1 07:54:54 2016
 @@ -83,8 +83,7 @@ target_triplet = @target@
  @ENABLE_NTFS_3G_TRUE@bin_PROGRAMS = ntfs-3g.probe$(EXEEXT) \
  @ENABLE_NTFS_3G_TRUE@ ntfs-3g.usermap$(EXEEXT) \
@@ -20,7 +20,7 @@ $OpenBSD: patch-src_Makefile_in,v 1.4 20
} \
; done
  
-@@ -1041,7 +1040,7 @@ uninstall-man: uninstall-man8
+@@ -1043,7 +1042,7 @@ uninstall-man: uninstall-man8
  
  @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@install-exec-local:
install-rootbinPROGRAMS
  @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@   $(MKDIR_P) 

powerpc bulk build report

2016-06-06 Thread landry
bulk build on macppc-1.ports.openbsd.org
started on  Thu Jun 2 10:53:07 MDT 2016
finished at Mon Jun 6 13:06:23 MDT 2016
lasted 04D19h13m
done with kern.version=OpenBSD 6.0-beta (GENERIC.MP) #1130: Wed Jun  1 21:04:04 
MDT 2016

built packages:7830
Jun 2:1534
Jun 3:1356
Jun 4:958
Jun 5:1297
Jun 6:2684



build failures: 21
http://build-failures.rhaalovely.net//powerpc/2016-06-02/audio/paulstretch.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/databases/p5-Catalyst-Controller-Rose.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/databases/pkglocatedb.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/devel/p5-Locale-US.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/fonts/fantasque-sans.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/lang/gcc/4.9,.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/mail/sympa.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/multimedia/mpv.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/net/ntp.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/productivity/devtodo.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/productivity/wyrd.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/security/ruby-akami.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/sysutils/lsof.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/sysutils/rcm.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/sysutils/u-boot.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/textproc/py-lxml,python3.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/www/p5-HTML-Template-JIT.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/www/p5-HTTPD-Log-Filter.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/x11/gnome-mplayer.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/x11/qt4,.log
http://build-failures.rhaalovely.net//powerpc/2016-06-02/x11/sct.log

recurrent failures
 failures/fonts/fantasque-sans.log
 failures/multimedia/mpv.log
 failures/net/ntp.log
 failures/productivity/wyrd.log
new failures
+++ ls-failures Mon Jun  6 13:07:31 2016
+failures/audio/paulstretch.log
+failures/databases/p5-Catalyst-Controller-Rose.log
+failures/databases/pkglocatedb.log
+failures/devel/p5-Locale-US.log
+failures/lang/gcc/4.9,.log
+failures/mail/sympa.log
+failures/productivity/devtodo.log
+failures/security/ruby-akami.log
+failures/sysutils/lsof.log
+failures/sysutils/rcm.log
+failures/sysutils/u-boot.log
+failures/textproc/py-lxml,python3.log
+failures/www/p5-HTML-Template-JIT.log
+failures/www/p5-HTTPD-Log-Filter.log
+failures/x11/gnome-mplayer.log
+failures/x11/qt4,.log
+failures/x11/sct.log
resolved failures
--- ../old/powerpc/last//ls-failuresSun May 29 08:56:40 2016
-failures/devel/boost.log
-failures/devel/doxygen.log
-failures/devel/llvm.log
-failures/devel/xulrunner/24.log
-failures/emulators/dgen-sdl,debugger.log
-failures/lang/node.log
-failures/multimedia/gstreamer1/plugins-good.log
-failures/net/dnscrypt-proxy,-main.log
-failures/net/ii.log
-failures/net/isc-bind.log
-failures/security/qtkeychain.log
-failures/www/ruby-passenger,ruby21.log
-failures/x11/fltk.log
-failures/x11/wxSVG.log
Base libs:
curses.14.0 edit.5.2 event.4.1 expat.11.0 form.6.0 formw.6.0 fuse.1.1
iberty.12.0 kvm.16.1 m.9.0 menu.6.0 menuw.6.0 ncurses.14.0 ncursesw.14.0
objc.6.0 ossaudio.4.0 panel.6.0 panelw.6.0 perl.17.1 readline.4.0
rpcsvc.2.0 skey.6.0 radius.1.0 sndio.6.1 stdc++.57.0 termcap.14.0 .14.0
z.5.0 usbhid.7.0 util.12.1 sqlite3.32.0 pcap.8.1 crypto.38.0
pthread.22.0 ssl.39.0 tls.11.0 c.88.0 c.88.0.a

X libs:
EGL.1.0 FS.10.0 GLESv1_CM.1.0 GLU.9.0 GLw.6.0 ICE.10.0 SM.9.0
X11-xcb.2.0 X11.16.1 XRes.5.0 Xau.10.0 Xaw.15.0 Xaw7.15.0 Xcomposite.4.0
Xcursor.5.0 Xdamage.4.0 Xdmcp.11.0 Xext.13.0 Xfixes.6.0 Xfontcache.5.0
Xi.12.1 Xinerama.6.0 Xmu.11.0 Xmuu.6.0 Xpm.9.0 Xrender.6.0 Xss.6.0
Xt.11.0 Xtst.11.0 Xv.6.0 XvMC.6.0 XvMCW.2.0 Xxf86dga.6.0 dmx.2.0
Xxf86misc.6.0 Xxf86vm.6.0 drm.7.1 fontenc.4.0 epoxy.2.0 gbm.0.0
pciaccess.2.0 pixman-1.32.6 pthread-stubs.2.0 txc_dxtn.0.0
xcb-composite.1.0 xcb-damage.1.0 xcb-dpms.1.0 xcb-dri2.1.1 xcb-dri3.0.0
xcb-ewmh.2.0 xcb-glx.1.0 xcb-cursor.0.0 xcb-icccm.4.0 xcb-image.2.0
xcb-randr.2.1 xcb-record.1.0 xcb-res.1.1 xcb-keysyms.3.0 xcb-render.1.0
xcb-present.0.0 xcb-screensaver.1.0 xcb-shape.1.0 xkbui.5.0 xcb-shm.1.1
xcb-sync.1.1 xcb-xevie.1.0 xcb-xf86dri.2.0 xcb-util.0.0 xcb-xinerama.1.0
xcb-xprint.2.0 xcb-xtest.1.0 xcb-xv.1.0 xcb-xvmc.1.0 xkbfile.6.0
Xrandr.7.1 XvMCr600.1.0 xcb-render-util.2.0 xcb-xkb.0.0 xcb.3.2
xcb-xfixes.1.1 drm_amdgpu.1.1 drm_nouveau.3.0 drm_radeon.4.0 GL.17.0
GLESv2.1.1 OSMesa.10.0 Xfont.13.0 Xft.10.0 fontconfig.10.0 freetype.25.0
glapi.0.2



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2016/06/06 12:31:39

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

Log message:
update downtimed to 1.0.
release notes: https://dist.epipe.com/downtimed/NEWS
ok benoit@.



Re: go seems to use sys_o58_kill

2016-06-06 Thread Ray Lai
On Mon, 06 Jun 2016 10:43:28 -0400
"Ted Unangst"  wrote:
> I think the first of each of these should be thrkill instead.

Yup. But I don't know asm asm so I left it as kill(2) for now, which is
arguably better than leaving it as a non-existent syscall.

Beware: I was not an assembly coder 24 hours ago.

Ray


Index: Makefile
===
RCS file: /cvs/ports/lang/go/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile20 May 2016 16:03:24 -  1.34
+++ Makefile6 Jun 2016 18:03:22 -
@@ -5,6 +5,7 @@ ONLY_FOR_ARCHS =${GO_ARCHS}
 COMMENT =  Go programming language
 
 VERSION =  1.6.2
+REVISION = 0
 EXTRACT_SUFX = .src.tar.gz
 DISTNAME = go${VERSION}
 PKGNAME =  go-${VERSION}
Index: patches/patch-src_runtime_sys_openbsd_386_s
===
RCS file: /cvs/ports/lang/go/patches/patch-src_runtime_sys_openbsd_386_s,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_runtime_sys_openbsd_386_s
--- patches/patch-src_runtime_sys_openbsd_386_s 13 May 2016 13:49:26 -  
1.1
+++ patches/patch-src_runtime_sys_openbsd_386_s 6 Jun 2016 18:03:22 -
@@ -1,7 +1,29 @@
 $OpenBSD: patch-src_runtime_sys_openbsd_386_s,v 1.1 2016/05/13 13:49:26 jsing 
Exp $
 src/runtime/sys_openbsd_386.s.orig Thu May  5 01:27:04 2016
-+++ src/runtime/sys_openbsd_386.s  Thu May  5 01:27:41 2016
-@@ -214,14 +214,6 @@ TEXT runtime·sigtramp(SB),NOSPLIT,$12
+--- src/runtime/sys_openbsd_386.s.orig Wed Apr 20 07:50:09 2016
 src/runtime/sys_openbsd_386.s  Tue Jun  7 02:02:23 2016
+@@ -86,8 +86,11 @@ TEXT runtime·raise(SB),NOSPLIT,$12
+   MOVLAX, 4(SP)   // arg 1 - pid
+   MOVLsig+0(FP), AX
+   MOVLAX, 8(SP)   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$330, AX// sys___get_tcb
+   INT $0x80
++  MOVQAX, DX  // arg 3 - tcb
++  MOVL$119, AX// sys_thrkill
++  INT $0x80
+   RET
+ 
+ TEXT runtime·raiseproc(SB),NOSPLIT,$12
+@@ -97,7 +100,7 @@ TEXT runtime·raiseproc(SB),NOSPLIT,$12
+   MOVLAX, 4(SP)   // arg 1 - pid
+   MOVLsig+0(FP), AX
+   MOVLAX, 8(SP)   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$122, AX// sys_kill
+   INT $0x80
+   RET
+ 
+@@ -214,14 +217,6 @@ TEXT runtime·sigtramp(SB),NOSPLIT,$12
MOVLcontext+8(FP), BX
MOVLBX, 8(SP)
CALLruntime·sigtrampgo(SB)
Index: patches/patch-src_runtime_sys_openbsd_amd64_s
===
RCS file: patches/patch-src_runtime_sys_openbsd_amd64_s
diff -N patches/patch-src_runtime_sys_openbsd_amd64_s
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_runtime_sys_openbsd_amd64_s   6 Jun 2016 18:03:22 
-
@@ -0,0 +1,25 @@
+$OpenBSD$
+--- src/runtime/sys_openbsd_amd64.s.orig   Wed Apr 20 07:50:09 2016
 src/runtime/sys_openbsd_amd64.sTue Jun  7 01:19:53 2016
+@@ -158,8 +158,11 @@ TEXT runtime·raise(SB),NOSPLIT,$16
+   SYSCALL
+   MOVQAX, DI  // arg 1 - pid
+   MOVLsig+0(FP), SI   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$330, AX// sys___get_tcb
+   SYSCALL
++  MOVQAX, DX  // arg 3 - tcb
++  MOVL$119, AX// sys_thrkill
++  SYSCALL
+   RET
+ 
+ TEXT runtime·raiseproc(SB),NOSPLIT,$16
+@@ -167,7 +170,7 @@ TEXT runtime·raiseproc(SB),NOSPLIT,$16
+   SYSCALL
+   MOVQAX, DI  // arg 1 - pid
+   MOVLsig+0(FP), SI   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$122, AX// sys_kill
+   SYSCALL
+   RET
+ 
Index: patches/patch-src_runtime_sys_openbsd_arm_s
===
RCS file: patches/patch-src_runtime_sys_openbsd_arm_s
diff -N patches/patch-src_runtime_sys_openbsd_arm_s
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_runtime_sys_openbsd_arm_s 6 Jun 2016 18:03:22 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- src/runtime/sys_openbsd_arm.s.orig Mon Jun  6 14:00:06 2016
 src/runtime/sys_openbsd_arm.s  Mon Jun  6 14:00:25 2016
+@@ -89,7 +89,7 @@ TEXT runtime·raise(SB),NOSPLIT,$12
+   SWI $0  // sys_getthrid
+   // arg 1 - pid, already in R0
+   MOVWsig+0(FP), R1   // arg 2 - signum
+-  MOVW$37, R12// sys_kill
++  MOVW$122, R12   // sys_kill
+   SWI $0
+   RET
+ 
+@@ -98,7 +98,7 @@ TEXT 

[NEW] emulators/advancemess

2016-06-06 Thread Frederic Cambus
Hi ports@,

Here is a new port, for AdvanceMESS. Tested on amd64.

>From DESCR:

AdvanceMESS is an unofficial MESS version with an advanced video support
for helping the use with TVs, Arcade Monitors, Fixed Frequencies Monitors
and also with normal PC Monitors.

AdvanceMESS supports many special video effects to improve image quality
when it's stretched. The most advanced effects add missing pixels trying
to match the image patterns.



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


Re: go seems to use sys_o58_kill

2016-06-06 Thread Ted Unangst
Ted Unangst wrote:
> Ray Lai wrote:
> > On Sun, 05 Jun 2016 22:57:36 -0400
> > "Ted Unangst"  wrote:
> > 
> > > sys_o58_kill was removed from the kernel on may 31. Even recently built go
> > > binaries continue to use it. I guess the runtime wasn't updated to use 
> > > the new
> > > call?
> > > 
> > 
> > This should fix it.

I also see this in platform code:

218 // call sigreturn
219 MOVLcontext+8(FP), AX
220 MOVL$0, 0(SP)   // syscall gap
221 MOVLAX, 4(SP)   // arg 1 - sigcontext
222 MOVL$103, AX// sys_sigreturn
223 INT $0x80
224 MOVL$0xf1, 0xf1 // crash
225 RET

I'm not sure if that requires rework now too with the sigreturn hardening.



Re: go seems to use sys_o58_kill

2016-06-06 Thread Ted Unangst
Ray Lai wrote:
> On Sun, 05 Jun 2016 22:57:36 -0400
> "Ted Unangst"  wrote:
> 
> > sys_o58_kill was removed from the kernel on may 31. Even recently built go
> > binaries continue to use it. I guess the runtime wasn't updated to use the 
> > new
> > call?
> > 
> 
> This should fix it.

> Index: patches/patch-src_runtime_sys_openbsd_386_s
> ===
> RCS file: 
> /home/cvs/ports/lang/go/patches/patch-src_runtime_sys_openbsd_386_s,v
> retrieving revision 1.1
> diff -u -p -r1.1 patch-src_runtime_sys_openbsd_386_s
> --- patches/patch-src_runtime_sys_openbsd_386_s   13 May 2016 13:49:26 
> -  1.1
> +++ patches/patch-src_runtime_sys_openbsd_386_s   6 Jun 2016 06:10:53 
> -
> @@ -1,6 +1,24 @@
>  $OpenBSD: patch-src_runtime_sys_openbsd_386_s,v 1.1 2016/05/13 13:49:26 
> jsing Exp $
>  src/runtime/sys_openbsd_386.s.orig   Thu May  5 01:27:04 2016
> -+++ src/runtime/sys_openbsd_386.sThu May  5 01:27:41 2016
> +--- src/runtime/sys_openbsd_386.s.orig   Wed Apr 20 07:50:09 2016
>  src/runtime/sys_openbsd_386.sMon Jun  6 14:01:31 2016
> +@@ -86,7 +86,7 @@ TEXT runtime·raise(SB),NOSPLIT,$12
> + MOVLAX, 4(SP)   // arg 1 - pid
> + MOVLsig+0(FP), AX
> + MOVLAX, 8(SP)   // arg 2 - signum
> +-MOVL$37, AX // sys_kill
> ++MOVL$122, AX// sys_kill
> + INT $0x80
> + RET
> + 
> +@@ -97,7 +97,7 @@ TEXT runtime·raiseproc(SB),NOSPLIT,$12
> + MOVLAX, 4(SP)   // arg 1 - pid
> + MOVLsig+0(FP), AX
> + MOVLAX, 8(SP)   // arg 2 - signum
> +-MOVL$37, AX // sys_kill
> ++MOVL$122, AX// sys_kill
> + INT $0x80
> + RET
> + 

I think the first of each of these should be thrkill instead.



CVS: cvs.openbsd.org: ports

2016-06-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/06/06 08:26:37

Modified files:
audio/ncmpcpp  : Makefile 
Added files:
audio/ncmpcpp/patches: patch-src_utility_type_conversions_cpp 

Log message:
0 -> nullptr in type_conversions.cpp
(upstream git commit dcbb3ab7effaa558a4022f5daf6f4ee6d4339f17)



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/06/06 08:10:57

Modified files:
sysutils/bacula: Makefile distinfo 
sysutils/bacula/patches: patch-src_dird_Makefile_in 
sysutils/bacula/pkg: PLIST-mysql PLIST-pgsql 

Log message:
update to bacula-7.4.1



Re: Remove net/yt (was: UPDATE: luastdlib)

2016-06-06 Thread Adam Wolk
On Mon, 6 Jun 2016 14:48:31 +0200
David Coppa  wrote:

> On Sat, Jun 4, 2016 at 9:51 AM, Florian Stinglmayr 
> wrote:
> > Hi list,
> >
> > attached is an update for luastdlib that bumps our stone age old
> > version 22 to the newest 41.2.0. I have been using this for months
> > and it works well across all Lua versions.
> >
> > The only problem though is that it breaks API, and anyone else who
> > is using this must update his code. In ports it only breaks net/yt,
> > a youtube downloader.  
> 
> net/yt could be removed from the ports tree.
> I think it's already broken, 'cause youtube already changed so many
> times and yt didn't keep pace with it.
> And we have youtube-dl after all...
> 
> Opinions?
> 
> cheers!
> David
> 

Even the example from the port itself is broken. OK awolk@ to remove.

$ yt http://www.youtube.com/watch?v=c5uoo1Kl_uA   
Getting http://www.youtube.com/watch?v=c5uoo1Kl_uA ...
/usr/local/bin/lua51: /usr/local/share/lua/5.1/base.lua:402: 
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/base.lua:402: in function 'assert'
/usr/local/bin/yt:75: in main chunk
[C]: ?



CVS: cvs.openbsd.org: ports

2016-06-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/06/06 07:37:35

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
Register 'net/yt' removal



CVS: cvs.openbsd.org: ports

2016-06-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/06/06 07:27:49

Modified files:
net: Makefile 

Log message:
Unhook yt



CVS: cvs.openbsd.org: ports

2016-06-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/06/06 07:27:02

Removed files:
net/yt : Makefile 
net/yt/files   : yt.lua 
net/yt/pkg : DESCR PLIST 

Log message:
Remove net/yt

It's obsolete, broken (it dates back to a time before YouTube did
HTML5 video) and it gets in the way of a luastdlib update

OK sthen@, jsg@



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/06/06 07:00:03

Modified files:
mail/evolution-ews: Makefile distinfo 

Log message:
Update to evolution-ews-3.20.3.



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/06/06 06:59:32

Modified files:
mail/evolution : Makefile distinfo 

Log message:
Update to evolution-3.20.3.



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/06/06 06:59:05

Modified files:
databases/evolution-data-server: Makefile distinfo 

Log message:
Update to evolution-data-server-3.20.3.



Remove net/yt (was: UPDATE: luastdlib)

2016-06-06 Thread David Coppa
On Sat, Jun 4, 2016 at 9:51 AM, Florian Stinglmayr  wrote:
> Hi list,
>
> attached is an update for luastdlib that bumps our stone age old
> version 22 to the newest 41.2.0. I have been using this for months
> and it works well across all Lua versions.
>
> The only problem though is that it breaks API, and anyone else who
> is using this must update his code. In ports it only breaks net/yt,
> a youtube downloader.

net/yt could be removed from the ports tree.
I think it's already broken, 'cause youtube already changed so many
times and yt didn't keep pace with it.
And we have youtube-dl after all...

Opinions?

cheers!
David



[update] collectd 5.5.1

2016-06-06 Thread Landry Breuil
Hi,

here's an update to collectd 5.5.1. Please test it on your setups..

Landry
Index: Makefile
===
RCS file: /cvs/ports/sysutils/collectd/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- Makefile22 Apr 2016 15:27:45 -  1.37
+++ Makefile6 Jun 2016 12:32:03 -
@@ -10,15 +10,7 @@
 COMMENT-memcachec =collectd memcachec plugin
 COMMENT-nut =  collectd nut plugin
 
-V =5.5.0
-REVISION-main =3
-REVISION-nut = 0
-REVISION-rrdtool = 1
-REVISION-virt =1
-REVISION-python =  0
-REVISION-memcachec =   0
-REVISION-pgsql =   0
-REVISION-mysql =   0
+V =5.5.1
 DISTNAME = collectd-$V
 PKGNAME-main = collectd-$V
 PKGNAME-mysql =collectd-mysql-$V
@@ -121,7 +113,7 @@
target_notification target_replace target_scale \
target_set target_v5upgrade tcpconns teamspeak2 ted 
unixsock uptime \
users uuid write_http write_graphite pf python virt 
memcachec nut \
-   aggregation curl_json fhcount log_logstash memcached \
+   aggregation curl_json log_logstash memcached \
threshold write_log write_riemann
 
 .for _plugin in ${ENABLED_PLUGINS}
Index: distinfo
===
RCS file: /cvs/ports/sysutils/collectd/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo23 Jul 2015 07:33:17 -  1.6
+++ distinfo6 Jun 2016 12:32:03 -
@@ -1,2 +1,2 @@
-SHA256 (collectd-5.5.0.tar.gz) = X3z61bJO1PixE8+ycOD55an3w68QRDy1B/1AF0pskCg=
-SIZE (collectd-5.5.0.tar.gz) = 2244454
+SHA256 (collectd-5.5.1.tar.gz) = TbpR1iQ/93hY//H/vv5vZShoH/IZBR8SKqJyfiYnEHk=
+SIZE (collectd-5.5.1.tar.gz) = 2254181
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/sysutils/collectd/patches/patch-Makefile_in,v
retrieving revision 1.5
diff -u -r1.5 patch-Makefile_in
--- patches/patch-Makefile_in   31 Jul 2015 12:05:36 -  1.5
+++ patches/patch-Makefile_in   6 Jun 2016 12:32:03 -
@@ -1,8 +1,8 @@
 $OpenBSD: patch-Makefile_in,v 1.5 2015/07/31 12:05:36 landry Exp $
 dont create var/{run,lib,log}
 Makefile.in.orig   Wed May 27 09:51:48 2015
-+++ Makefile.inFri Jul 31 13:55:59 2015
-@@ -946,9 +946,6 @@ uninstall-am:
+--- Makefile.in.orig   Fri Jan 22 10:55:46 2016
 Makefile.inMon Jun  6 09:18:40 2016
+@@ -947,9 +947,6 @@ uninstall-am:
  
  
  install-exec-hook:
Index: patches/patch-configure
===
RCS file: /cvs/ports/sysutils/collectd/patches/patch-configure,v
retrieving revision 1.9
diff -u -r1.9 patch-configure
--- patches/patch-configure 22 Apr 2016 15:27:45 -  1.9
+++ patches/patch-configure 6 Jun 2016 12:32:03 -
@@ -4,9 +4,9 @@
 - dont check for pcap-bpf.h, not installed on openbsd
 - in rrdtool the main librrd.so is now threadsafe, there is no more 
librrd_th.so
 
 configure.orig Wed May 27 08:51:50 2015
-+++ configure  Fri Apr 22 16:21:02 2016
-@@ -17312,7 +17312,7 @@ SAVE_CFLAGS="$CFLAGS"
+--- configure.orig Fri Jan 22 10:55:47 2016
 configure  Mon Jun  6 09:18:40 2016
+@@ -17470,7 +17470,7 @@ SAVE_CFLAGS="$CFLAGS"
  # Emulate behavior of src/Makefile.am
  if test "x$GCC" = "xyes"
  then
@@ -15,31 +15,7 @@
  fi
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtok_r" >&5
-@@ -23486,23 +23486,7 @@ fi
- done
- 
- fi
--if test "x$with_libpcap" = "xyes"
--then
--  for ac_header in pcap-bpf.h
--do :
--  ac_fn_c_check_header_mongrel "$LINENO" "pcap-bpf.h" 
"ac_cv_header_pcap_bpf_h" "$ac_includes_default"
--if test "x$ac_cv_header_pcap_bpf_h" = xyes; then :
--  cat >>confdefs.h <<_ACEOF
--#define HAVE_PCAP_BPF_H 1
--_ACEOF
- 
--else
--  with_libpcap="no (pcap-bpf.h not found)"
--fi
--
--done
--
--fi
- if test "x$with_libpcap" = "xyes"
- then
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libpcap has 
PCAP_ERROR_IFACE_NOT_UP" >&5
-@@ -25067,7 +25051,7 @@ then
+@@ -25194,7 +25194,7 @@ then
  
  
  fi
Index: patches/patch-src_Makefile_in
===
RCS file: /cvs/ports/sysutils/collectd/patches/patch-src_Makefile_in,v
retrieving revision 1.8
diff -u -r1.8 patch-src_Makefile_in
--- patches/patch-src_Makefile_in   23 Jul 2015 07:33:17 -  1.8
+++ patches/patch-src_Makefile_in   6 Jun 2016 12:32:03 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-src_Makefile_in,v 1.8 2015/07/23 07:33:17 landry Exp $
 src/Makefile.in.orig   Wed Jun  3 00:09:27 2015
-+++ src/Makefile.inWed Jun  3 00:13:09 2015
+--- src/Makefile.in.orig   Fri Jan 22 10:55:46 2016
 src/Makefile.inMon Jun  6 09:18:40 2016
 @@ -80,7 +80,7 @@ 

CVS: cvs.openbsd.org: ports

2016-06-06 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2016/06/06 05:51:00

Modified files:
www/netsurf/browser: Makefile distinfo 
www/netsurf/browser/patches: patch-gtk_res_options_gtk2_ui 
www/netsurf/browser/pkg: PLIST 

Log message:
Update to netsurf-3.5, a bugfix release.



i386 build failure: net/owncloudclient,qt5

2016-06-06 Thread Stuart Henderson
FAILED: shell_integration/dolphin/libownclouddolphinpluginhelper.so 
: && /usr/obj/ports/owncloudclient-2.1.1-qt5/bin/c++  -fPIC -O2 -pipe  
-DHAVE_ICONV -DHAVE_ICONV_H  -I/usr/local/include/inotify -Wall -Wextra 
-pedantic -Wno-long-long -std=c++0x -Wpedantic -fPIC -std=c++0x -fno-exceptions 
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long 
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual 
-Werror=return-type -DNDEBUG  -Wl,--no-undefined -Wl,--fatal-warnings 
-Wl,--enable-new-dtags -shared -o 
shell_integration/dolphin/libownclouddolphinpluginhelper.so 
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o
 
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper_automoc.cpp.o
 -L/usr/local/lib/qt5/. -lQt5Network -lQt5Core -Wl,-rpath,/usr/local/lib/qt5/.: 
-Wl,-rpath-link,/usr/X11R6/lib && :
/usr/lib/crtbeginS.o: In function `atexit':
(.text+0x1db): undefined reference to `__cxa_atexit'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
 In function `OwncloudDolphinPluginHelper::tryConnect()':
ownclouddolphinpluginhelper.cpp:(.text+0x1ad): undefined reference to `strlen'
ownclouddolphinpluginhelper.cpp:(.text+0x21d): undefined reference to `memcpy'
ownclouddolphinpluginhelper.cpp:(.text+0x2fb): undefined reference to 
`__stack_smash_handler'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
 In function `OwncloudDolphinPluginHelper::OwncloudDolphinPluginHelper()':
ownclouddolphinpluginhelper.cpp:(.text+0x48a): undefined reference to 
`__stack_smash_handler'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
 In function `OwncloudDolphinPluginHelper::instance()':
ownclouddolphinpluginhelper.cpp:(.text+0x4f7): undefined reference to 
`__cxa_atexit'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
 In function `OwncloudDolphinPluginHelper::slotReadyRead()':
ownclouddolphinpluginhelper.cpp:(.text+0x67c): undefined reference to `strlen'
ownclouddolphinpluginhelper.cpp:(.text+0x735): undefined reference to `strlen'
ownclouddolphinpluginhelper.cpp:(.text+0x817): undefined reference to 
`__stack_smash_handler'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o:
 In function `QVector::reallocData(int, int, 
QFlags)':
ownclouddolphinpluginhelper.cpp:(.text._ZN7QVectorI7QStringE11reallocDataEii6QFlagsIN10QArrayData16AllocationOptionEE[_ZN7QVectorI7QStringE11reallocDataEii6QFlagsIN10QArrayData16AllocationOptionEE]+0x254):
 undefined reference to `memcpy'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper_automoc.cpp.o:
 In function `OwncloudDolphinPluginHelper::commandRecieved(QByteArray const&)':
ownclouddolphinpluginhelper_automoc.cpp:(.text+0xa0): undefined reference to 
`__stack_smash_handler'
shell_integration/dolphin/CMakeFiles/ownclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper_automoc.cpp.o:
 In function `OwncloudDolphinPluginHelper::qt_metacast(char const*)':
ownclouddolphinpluginhelper_automoc.cpp:(.text+0x1c4): undefined reference to 
`strcmp'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/06/06 05:41:44

Modified files:
devel/kf5/kmediaplayer: Makefile 

Log message:
yet another bdep on devel/gettext-tools



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/06/06 05:29:02

Modified files:
devel/kf5/krunner: Makefile 

Log message:
needs gettext-tools



CVS: cvs.openbsd.org: ports

2016-06-06 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2016/06/06 05:02:05

Modified files:
net/ii : Makefile 
Added files:
net/ii/patches : sslpatch-ii_c ucspipatch-ii_c 

Log message:
- Fix channel use after freeing in main loop
(spotted the hard way by Ray Lai)
patch from upstream git

- Add pledge(2) to ii(1)
stdio rpath wpath cpath dpath: ii(1) will create directory
structure and fifos on demand (when joining a new channel for
example)
inet net: required for tcpopen(), but pledge(2) is used after
tcpopen() call. ucspi flavor doesn't need "inet dns" since
that ucspi backend take care of network capabilities of ii(1).

diff from ray with tweaks from me and semarie.

OK semarie ray



UPDATE: pypy-5.1.1

2016-06-06 Thread Edd Barrett
Hi,

Here's the newest PyPy.

The bootstrap is here:
http://theunixzoo.co.uk/random/pypy-bootstrap-amd64-5.1.1.tar.xz

Stuart, would you mind hosting this?

Build statistics:

 7935.37 real  6799.69 user   586.95 sys
   4489908  maximum resident set size
 0  average shared memory size
 0  average unshared data size
 0  average unshared stack size
  97915968  minor page faults
 31674  major page faults
 0  swaps
 20459  block input operations
103330  block output operations
 6  messages sent
 6  messages received
  1359  signals received
 58499  voluntary context switches
  56915705  involuntary context switches

Diff follows, OK?

Index: Makefile
===
RCS file: /home/edd/cvsync/ports/lang/pypy/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile9 May 2016 11:18:00 -   1.23
+++ Makefile5 Jun 2016 18:29:44 -
@@ -13,8 +13,8 @@ COMMENT = fast implementation of the Py
 #   * Set BOOTSTRAP_V back to ${V} in the port Makefile
 #   * make bootstrap && make makesum (note, FLAVOR no longer set)
 #   * Try the build using the bootstrap
-V =5.0.1
-BOOTSTRAP_V =  ${V}-1
+V =5.1.1
+BOOTSTRAP_V =  ${V}
 DISTNAME = pypy-${V}-src
 PKGNAME =  pypy-${V}
 BOOTSTRAP-amd64 =  pypy-bootstrap-amd64-${BOOTSTRAP_V}.tar.xz
Index: distinfo
===
RCS file: /home/edd/cvsync/ports/lang/pypy/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo8 May 2016 09:56:01 -   1.15
+++ distinfo5 Jun 2016 18:31:13 -
@@ -1,4 +1,4 @@
-SHA256 (pypy/pypy-5.0.1-src.tar.bz2) = 
FXPJKE0+wjbI5u87lUdTky3/KUYsVLWIW3YdHuaLbgU=
-SHA256 (pypy/pypy-bootstrap-amd64-5.0.1-1.tar.xz) = 
ak3ZaYTohXPaCLc8NXgPHLYPbxvt6sz8K4bI5cwkVe0=
-SIZE (pypy/pypy-5.0.1-src.tar.bz2) = 17282149
-SIZE (pypy/pypy-bootstrap-amd64-5.0.1-1.tar.xz) = 22774236
+SHA256 (pypy/pypy-5.1.1-src.tar.bz2) = 
yj2UPX+9eLuVfunlgzraS7hQasmaQbdih5DihqZe0r4=
+SHA256 (pypy/pypy-bootstrap-amd64-5.1.1.tar.xz) = 
kIxAwz/IJYGb2Nv/95RDK6r8MQKf9f8oi3JArIBJgo4=
+SIZE (pypy/pypy-5.1.1-src.tar.bz2) = 17328934
+SIZE (pypy/pypy-bootstrap-amd64-5.1.1.tar.xz) = 22786240
Index: patches/patch-rpython_rlib_rvmprof_src_vmprof_config_h
===
RCS file: 
/home/edd/cvsync/ports/lang/pypy/patches/patch-rpython_rlib_rvmprof_src_vmprof_config_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-rpython_rlib_rvmprof_src_vmprof_config_h
--- patches/patch-rpython_rlib_rvmprof_src_vmprof_config_h  19 Apr 2016 
11:14:54 -  1.1
+++ patches/patch-rpython_rlib_rvmprof_src_vmprof_config_h  5 Jun 2016 
15:47:42 -
@@ -1,14 +1,18 @@
-$OpenBSD: patch-rpython_rlib_rvmprof_src_vmprof_config_h,v 1.1 2016/04/19 
11:14:54 edd Exp $
 rpython/rlib/rvmprof/src/vmprof_config.h.orig  Fri Mar 18 17:52:25 2016
-+++ rpython/rlib/rvmprof/src/vmprof_config.h   Tue Apr  5 14:43:56 2016
-@@ -1,6 +1,10 @@
+$OpenBSD$
+--- rpython/rlib/rvmprof/src/vmprof_config.h.orig  Sun Jun  5 16:45:04 2016
 rpython/rlib/rvmprof/src/vmprof_config.h   Sun Jun  5 16:47:15 2016
+@@ -1,10 +1,14 @@
 +#if !defined(__OpenBSD__)
  #define HAVE_SYS_UCONTEXT_H
 +#endif
- #if defined(__FreeBSD__) || defined(__APPLE__)
- #define PC_FROM_UCONTEXT uc_mcontext.mc_rip
+ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+   #ifdef __i386__
+ #define PC_FROM_UCONTEXT uc_mcontext.mc_eip
+   #else
+ #define PC_FROM_UCONTEXT uc_mcontext.mc_rip
+   #endif
 +#elif defined(__OpenBSD__)
 +#define PC_FROM_UCONTEXT sc_rip
- #else
- #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
- #endif
+ #elif defined( __APPLE__)
+   #if ((ULONG_MAX) == (UINT_MAX))
+ #define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
Index: patches/patch-rpython_rlib_rvmprof_src_vmprof_getpc_h
===
RCS file: 
/home/edd/cvsync/ports/lang/pypy/patches/patch-rpython_rlib_rvmprof_src_vmprof_getpc_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-rpython_rlib_rvmprof_src_vmprof_getpc_h
--- patches/patch-rpython_rlib_rvmprof_src_vmprof_getpc_h   19 Apr 2016 
11:14:54 -  1.1
+++ patches/patch-rpython_rlib_rvmprof_src_vmprof_getpc_h   5 Jun 2016 
15:47:39 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-rpython_rlib_rvmprof_src_vmprof_getpc_h,v 1.1 2016/04/19 
11:14:54 edd Exp $
 rpython/rlib/rvmprof/src/vmprof_getpc.h.orig   Tue Apr  5 14:40:47 2016
-+++ rpython/rlib/rvmprof/src/vmprof_getpc.hTue Apr  5 14:41:21 2016
-@@ -66,6 +66,8 @@
+--- rpython/rlib/rvmprof/src/vmprof_getpc.h.orig   Sun Apr 24 05:08:33 2016
 rpython/rlib/rvmprof/src/vmprof_getpc.hSun Jun  5 16:43:26 2016
+@@ -65,6 +65,8 @@
  #elif defined(HAVE_CYGWIN_SIGNAL_H)
  #include 
  typedef 

CVS: cvs.openbsd.org: ports

2016-06-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/06/06 04:15:53

Modified files:
net/mldonkey   : Makefile 
Added files:
net/mldonkey/patches: patch-src_utils_net_upnp_stubs_c 

Log message:
proactively fix build with newer libminiupnpc



Re: [NEW] devel/keystone

2016-06-06 Thread Frederic Cambus
On Wed, Jun 01, 2016 at 01:37:43PM +0200, Frederic Cambus wrote:
> 
> Here is a new port : devel/keystone
> 
> From DESCR:
> 
> Keystone is a lightweight multi-platform, multi-architecture assembler
> framework.

Attaching a new tarball with a patch from upstream to address a kstool
crash when no assembly string is provided. Spotted by rpointel@.



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


CVS: cvs.openbsd.org: ports

2016-06-06 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/06/06 02:34:38

Modified files:
x11/vlc: Makefile distinfo 

Log message:
Update to vlc-2.2.4.

from Brad (maintainer)



Re: net/ii bus error

2016-06-06 Thread Ray Lai
Tested, works well. Okay by me. 

> On Jun 6, 2016, at 12:56 PM, Gleydson Soares  wrote:
> 
> 
> Sebastien Marie  writes:
>> 
>>> On Mon, Jun 06, 2016 at 06:15:40AM +0200, Sebastien Marie wrote:
 On Mon, Jun 06, 2016 at 12:50:02AM -0300, Gleydson Soares wrote:
 
 - add '# uses pledge()' marker in Makefile (missing in previus)
 - wrap pledge(2) in #ifdef __OpenBSD__
>>> 
>>> ok semarie@
>> 
>> whoops: finally not ok: there are missing braces !
> 
> fixed.
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/ii/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile21 May 2016 05:31:38 -1.13
> +++ Makefile6 Jun 2016 04:53:13 -
> @@ -3,7 +3,7 @@
> COMMENT=minimalist IRC client
> 
> DISTNAME=ii-1.7
> -REVISION=2
> +REVISION=3
> CATEGORIES=net
> 
> HOMEPAGE=http://tools.suckless.org/ii
> @@ -15,6 +15,7 @@ MAINTAINER=Gleydson Soares  # MIT/X
> PERMIT_PACKAGE_CDROM=Yes
> 
> +# uses pledge()
> WANTLIB=c
> 
> NO_TEST=Yes
> Index: patches/sslpatch-ii_c
> ===
> RCS file: patches/sslpatch-ii_c
> diff -N patches/sslpatch-ii_c
> --- /dev/null1 Jan 1970 00:00:00 -
> +++ patches/sslpatch-ii_c6 Jun 2016 04:53:13 -
> @@ -0,0 +1,48 @@
> +$OpenBSD$
> +
> +http://git.suckless.org/ii/commit/?id=f79e2f09534d92a6fe4e062b06449a925fef1c41
> +
> +uses pledge():
> +  - stdio rpath wpath cpath dpath: ii(1) will create directory
> +structure and fifos on demand (when joining a new channel for
> +example).
> +
> +--- ii.c.origMon Jun  6 00:44:40 2016
>  ii.cMon Jun  6 01:47:02 2016
> +@@ -438,7 +438,7 @@ static void handle_server_output() {
> + }
> + 
> + static void run() {
> +-Channel *c;
> ++Channel *c, *n;
> +int r, maxfd;
> +fd_set rd;
> +struct timeval tv;
> +@@ -475,9 +475,11 @@ static void run() {
> +handle_server_output();
> +last_response = time(NULL);
> +}
> +-for(c = channels; c; c = c->next)
> ++for(c = channels; c; c = n) {
> ++n = c->next;
> +if(FD_ISSET(c->fd, ))
> +handle_channels_input(c);
> ++}
> +}
> + }
> + 
> +@@ -511,6 +513,14 @@ int main(int argc, char *argv[]) {
> +if(use_ssl)
> +port = port == SERVER_PORT ? SSL_SERVER_PORT : port;
> +irc = tcpopen(port);
> ++
> ++#ifdef __OpenBSD__
> ++if (pledge("stdio rpath wpath cpath dpath", NULL) == -1) {
> ++fputs("ii: pledge\n", stderr);
> ++exit(EXIT_FAILURE);
> ++}
> ++#endif
> ++
> +if(!snprintf(path, sizeof(path), "%s/%s", prefix, host)) {
> +fputs("ii: path to irc directory too long\n", stderr);
> +exit(EXIT_FAILURE);
> Index: patches/ucspipatch-ii_c
> ===
> RCS file: patches/ucspipatch-ii_c
> diff -N patches/ucspipatch-ii_c
> --- /dev/null1 Jan 1970 00:00:00 -
> +++ patches/ucspipatch-ii_c6 Jun 2016 04:53:13 -
> @@ -0,0 +1,48 @@
> +$OpenBSD$
> +
> +http://git.suckless.org/ii/commit/?id=f79e2f09534d92a6fe4e062b06449a925fef1c41
> +
> +uses pledge():
> +  - stdio rpath wpath cpath dpath: ii(1) will create directory
> +structure and fifos on demand (when joining a new channel for
> +example).
> +
> +--- ii.c.origMon Jun  6 00:46:07 2016
>  ii.cMon Jun  6 01:47:57 2016
> +@@ -386,7 +386,7 @@ static void handle_server_output() {
> + }
> + 
> + static void run() {
> +-Channel *c;
> ++Channel *c, *n;
> +int r, maxfd;
> +fd_set rd;
> +struct timeval tv;
> +@@ -423,9 +423,11 @@ static void run() {
> +handle_server_output();
> +last_response = time(NULL);
> +}
> +-for(c = channels; c; c = c->next)
> ++for(c = channels; c; c = n) {
> ++n = c->next;
> +if(FD_ISSET(c->fd, ))
> +handle_channels_input(c);
> ++}
> +}
> + }
> + 
> +@@ -455,6 +457,14 @@ int main(int argc, char *argv[]) {
> +default: usage(); break;
> +}
> +}
> ++
> ++#ifdef __OpenBSD__
> ++if (pledge("stdio rpath wpath cpath dpath", NULL) == -1) {
> ++fputs("ii: pledge\n", stderr);
> ++exit(EXIT_FAILURE);
> ++}
> ++#endif
> ++
> +if(!snprintf(path, sizeof(path), "%s/%s", prefix, host)) {
> +fputs("ii: path to irc directory too long\n", stderr);
> +exit(EXIT_FAILURE);



Re: go seems to use sys_o58_kill

2016-06-06 Thread Ray Lai
On Sun, 05 Jun 2016 22:57:36 -0400
"Ted Unangst"  wrote:

> sys_o58_kill was removed from the kernel on may 31. Even recently built go
> binaries continue to use it. I guess the runtime wasn't updated to use the new
> call?
> 

This should fix it.

Index: Makefile
===
RCS file: /home/cvs/ports/lang/go/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile20 May 2016 16:03:24 -  1.34
+++ Makefile6 Jun 2016 06:02:20 -
@@ -5,6 +5,7 @@ ONLY_FOR_ARCHS =${GO_ARCHS}
 COMMENT =  Go programming language
 
 VERSION =  1.6.2
+REVISION = 0
 EXTRACT_SUFX = .src.tar.gz
 DISTNAME = go${VERSION}
 PKGNAME =  go-${VERSION}
Index: patches/patch-src_runtime_sys_openbsd_386_s
===
RCS file: /home/cvs/ports/lang/go/patches/patch-src_runtime_sys_openbsd_386_s,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_runtime_sys_openbsd_386_s
--- patches/patch-src_runtime_sys_openbsd_386_s 13 May 2016 13:49:26 -  
1.1
+++ patches/patch-src_runtime_sys_openbsd_386_s 6 Jun 2016 06:10:53 -
@@ -1,6 +1,24 @@
 $OpenBSD: patch-src_runtime_sys_openbsd_386_s,v 1.1 2016/05/13 13:49:26 jsing 
Exp $
 src/runtime/sys_openbsd_386.s.orig Thu May  5 01:27:04 2016
-+++ src/runtime/sys_openbsd_386.s  Thu May  5 01:27:41 2016
+--- src/runtime/sys_openbsd_386.s.orig Wed Apr 20 07:50:09 2016
 src/runtime/sys_openbsd_386.s  Mon Jun  6 14:01:31 2016
+@@ -86,7 +86,7 @@ TEXT runtime·raise(SB),NOSPLIT,$12
+   MOVLAX, 4(SP)   // arg 1 - pid
+   MOVLsig+0(FP), AX
+   MOVLAX, 8(SP)   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$122, AX// sys_kill
+   INT $0x80
+   RET
+ 
+@@ -97,7 +97,7 @@ TEXT runtime·raiseproc(SB),NOSPLIT,$12
+   MOVLAX, 4(SP)   // arg 1 - pid
+   MOVLsig+0(FP), AX
+   MOVLAX, 8(SP)   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$122, AX// sys_kill
+   INT $0x80
+   RET
+ 
 @@ -214,14 +214,6 @@ TEXT runtime·sigtramp(SB),NOSPLIT,$12
MOVLcontext+8(FP), BX
MOVLBX, 8(SP)
Index: patches/patch-src_runtime_sys_openbsd_amd64_s
===
RCS file: patches/patch-src_runtime_sys_openbsd_amd64_s
diff -N patches/patch-src_runtime_sys_openbsd_amd64_s
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_runtime_sys_openbsd_amd64_s   6 Jun 2016 06:10:53 
-
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- src/runtime/sys_openbsd_amd64.s.orig   Mon Jun  6 14:00:49 2016
 src/runtime/sys_openbsd_amd64.sMon Jun  6 14:01:03 2016
+@@ -158,7 +158,7 @@ TEXT runtime·raise(SB),NOSPLIT,$16
+   SYSCALL
+   MOVQAX, DI  // arg 1 - pid
+   MOVLsig+0(FP), SI   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$122, AX// sys_kill
+   SYSCALL
+   RET
+ 
+@@ -167,7 +167,7 @@ TEXT runtime·raiseproc(SB),NOSPLIT,$16
+   SYSCALL
+   MOVQAX, DI  // arg 1 - pid
+   MOVLsig+0(FP), SI   // arg 2 - signum
+-  MOVL$37, AX // sys_kill
++  MOVL$122, AX// sys_kill
+   SYSCALL
+   RET
+ 
Index: patches/patch-src_runtime_sys_openbsd_arm_s
===
RCS file: patches/patch-src_runtime_sys_openbsd_arm_s
diff -N patches/patch-src_runtime_sys_openbsd_arm_s
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_runtime_sys_openbsd_arm_s 6 Jun 2016 06:10:53 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- src/runtime/sys_openbsd_arm.s.orig Mon Jun  6 14:00:06 2016
 src/runtime/sys_openbsd_arm.s  Mon Jun  6 14:00:25 2016
+@@ -89,7 +89,7 @@ TEXT runtime·raise(SB),NOSPLIT,$12
+   SWI $0  // sys_getthrid
+   // arg 1 - pid, already in R0
+   MOVWsig+0(FP), R1   // arg 2 - signum
+-  MOVW$37, R12// sys_kill
++  MOVW$122, R12   // sys_kill
+   SWI $0
+   RET
+ 
+@@ -98,7 +98,7 @@ TEXT runtime·raiseproc(SB),NOSPLIT,$12
+   SWI $0  // sys_getpid
+   // arg 1 - pid, already in R0
+   MOVWsig+0(FP), R1   // arg 2 - signum
+-  MOVW$37, R12// sys_kill
++  MOVW$122, R12   // sys_kill
+   SWI $0
+   RET
+