CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 03:39:05

Modified files:
print/enscript : Makefile 
Added files:
print/enscript/patches: patch-compat_getopt_c 

Log message:
Fix implicit declaration of 'strlen'.



Re: libffi fails to build on arm

2015-05-02 Thread Stuart Henderson
 ../src/arm/sysv.S:112: Error: unknown pseudo-op: `.syntax'
 ../src/arm/sysv.S:210: Error: bad instruction `stmiaeq r2,{r0,r1}'

Not a big surprise, our binutils is too old for much of the arm
assembly seen in real life.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 03:44:40

Modified files:
infrastructure/lib/DPB: Affinity.pm Config.pm Fetch.pm 
HostProperties.pm Locks.pm Logger.pm 
Added files:
infrastructure/lib/DPB: User.pm 

Log message:
move the user handling code to a separate file.
remove run_as for open, we can do things directly.

More explicit code on open.



Re: WIP: texlive-2014

2015-05-02 Thread Edd Barrett
On Mon, Apr 06, 2015 at 12:03:59PM +0100, Edd Barrett wrote:
 An update to the beast.
 
 I've included the packages chrisz requires in the buildset for coccinelle.
 
 I ran a partial amd64 bulk to test all ports BUILD_DEPENDing tex live.
 Nothing seems to break. Will do the same for sparc64 soon.
 
 I've also tested some of my papers. Please test yours too. 
 
 There are a couple of outstanding XXX which I would like to address in later
 commits. Also I wrote a nice Python library for parsing the tex package
 database and a script to generate the packing lists. I would like to import
 these tools later so developers can move packages into the buildset easily.
 
 Gzipped diff attached.

Has anyone had a play with this?

I can confirm it builds on sparc64, and I have been using this for work
stuff for a while.

Keen to push on...

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



CVS: cvs.openbsd.org: ports

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

Modified files:
devel/gtkparasite: Makefile 
Added files:
devel/gtkparasite/patches: patch-autogen_sh 

Log message:
BDEP on libtool.

Add a patch to avoid running configure at the end of autogen.sh as
well as again for the proper run with env/flags.

We aren't making any changes to autoconf input files, this is yet
another example of a github-based project who can't be bothered to run
autoconf themselves and provide a proper distribution tarball.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 03:42:44

Modified files:
audio/cdparanoia: Makefile 
Removed files:
audio/cdparanoia/patches: patch-header_c 

Log message:
ENOTCARE about that particular one; discussed with miod@



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/02 03:48:12

Modified files:
x11/kde4/cantor: Makefile 
Added files:
x11/kde4/cantor/patches: patch-src_backends_R_CMakeLists_txt 
 patch-src_backends_R_rserver_CMakeLists_txt 

Log message:
Make recent Cantor versions pick up R without help of LD_LIBRARY_PATH hack.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 04:25:47

Modified files:
security/p11-kit: Makefile 
Added files:
security/p11-kit/patches: patch-common_compat_c 
  patch-common_test-message_c 

Log message:
Fix a couple of implicit declarations.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 01:36:16

Modified files:
multimedia/x265: Makefile 

Log message:
Switch the dist site to the VLC mirror.

from brad (maintainer)



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 02:31:21

Modified files:
mail/drac  : Makefile 
mail/drac/patches: patch-dracauth_3 

Log message:
Regen patch.



libffi fails to build on arm

2015-05-02 Thread Matthieu Herrb
 Building on localhost under devel/libffi
 BDEPENDS = [devel/metaauto;devel/autoconf/2.69]
 DIST = [devel/libffi:libffi-3.1.tar.gz]
 FULLPKGNAME = libffi-3.1p0
 Running signature in devel/libffi at 1430551617
libffi-3.1p0: absent
 Running clean in devel/libffi at 1430551622
=== devel/libffi
===  Cleaning for libffi-3.1p0
(Junk lock obtained for localhost at 1430551626)
 Running depends in devel/libffi at 1430551627
/usr/sbin/pkg_add -aI -Dunsigned -rqU -Dupdate -Dupdatedepends -Drepair 
autoconf-2.69p1 metaauto-1.0p1
was: /usr/sbin/pkg_add -aI -Dunsigned -rqU -Dupdate -Dupdatedepends -Drepair 
autoconf-2.69p1 metaauto-1.0p1
/usr/sbin/pkg_add -aI -Dunsigned -rqU -Dupdate -Dupdatedepends -Drepair 
autoconf-2.69p1 metaauto-1.0p1
 Running show-prepare-results in devel/libffi at 1430551638
=== devel/libffi
=== libffi-3.1p0 depends on: metaauto-* - metaauto-1.0p1
=== libffi-3.1p0 depends on: autoconf-2.69 - autoconf-2.69p1
autoconf-2.69p1
metaauto-1.0p1
(Junk lock released for localhost at 1430551650)
distfiles size=937214
 Running patch in devel/libffi at 1430551650
=== devel/libffi
===  Checking files for libffi-3.1p0
`/share/OpenBSD/ports/distfiles/libffi-3.1.tar.gz' is up to date.
===  Extracting for libffi-3.1p0
===  Patching for libffi-3.1p0
Running autoconf-2.69 in /usr/obj/ports/libffi-3.1/libffi-3.1
Running autoheader-2.69 in /usr/obj/ports/libffi-3.1/libffi-3.1
 Running configure in devel/libffi at 1430551708
=== devel/libffi
===  Configuring for libffi-3.1p0
Using /usr/obj/ports/libffi-3.1/config.site (generated)
configure: WARNING: unrecognized options: --disable-gtk-doc
configure: loading site script /usr/obj/ports/libffi-3.1/config.site
checking build system type... arm-unknown-openbsd5.7
checking host system type... arm-unknown-openbsd5.7
checking target system type... arm-unknown-openbsd5.7
continue configure in default builddir ./arm-unknown-openbsd5.7
exec /bin/sh .././configure --srcdir=.. 
--enable-builddir=arm-unknown-openbsd5.7 openbsd5.7
configure: WARNING: unrecognized options: --disable-gtk-doc
configure: loading site script /usr/obj/ports/libffi-3.1/config.site
checking build system type... arm-unknown-openbsd5.7
checking host system type... arm-unknown-openbsd5.7
checking target system type... arm-unknown-openbsd5.7
checking for gsed... sed
checking for a BSD-compatible install... /usr/obj/ports/libffi-3.1/bin/install 
-c 
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... mkdir -p
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... gcc3
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking how to print strings... print -r
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 131072
checking how to convert arm-unknown-openbsd5.7 file names to 
arm-unknown-openbsd5.7 format... func_convert_file_noop
checking how to convert arm-unknown-openbsd5.7 file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern 
/lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... (cached) ar
checking for archiver @FILE support... no
checking for strip... (cached) strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... 

CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 04:37:43

Modified files:
x11/gnome/file-roller: Makefile 
x11/gnome/file-roller/patches: patch-src_fr-command-unarchiver_c 

Log message:
Better patch and add BZ URL.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2015/05/02 05:00:33

ports/devel/gtkparasite/patches

Update of /cvs/ports/devel/gtkparasite/patches
In directory cvs.openbsd.org:/tmp/cvs-serv926/patches

Log Message:
Directory /cvs/ports/devel/gtkparasite/patches added to the repository



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 05:02:54

Modified files:
infrastructure/man/man1: dolock.1 

Log message:
document -m



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 05:00:37

Modified files:
infrastructure/bin: dolock 

Log message:
give a -m option to dolock, since it can create directories.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 01:39:02

Modified files:
x11/lumina : Makefile distinfo 
x11/lumina/pkg : PLIST 

Log message:
Update to lumina-0.8.4.
prodded by landry@



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/02 03:10:04

Modified files:
math/R : Makefile 
Added files:
math/R/patches : patch-src_include_Rinterface_h 

Log message:
Unbreak linking to R library (defintion instead of declaration in header file).

Breakage noticed by aja@. Committing now until (if) MAINTAINER will come
with a better fix.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 05:04:38

Modified files:
infrastructure/lib/DPB: Core.pm Shell.pm 

Log message:
allow setting user thru the Core (for future round-robin builds)



unpack200 binary of Java 1.7 dumps core

2015-05-02 Thread Christian Schulte
Hello @ports,

the unpack200 binary of Java 1.7 does not work for me.

# /usr/local/jre-1.7.0/bin/unpack200

/usr/local/jre-1.7.0/bin/unpack200:/usr/lib/libc.so.78.1: undefined symbol 
'environ'
/usr/local/jre-1.7.0/bin/unpack200:/usr/lib/libc.so.78.1: undefined symbol 
'__progname'
Segmentation fault (core dumped) 
# /usr/local/jdk-1.7.0/bin/unpack200

/usr/local/jdk-1.7.0/bin/unpack200:/usr/lib/libc.so.78.1: undefined symbol 
'environ'
/usr/local/jdk-1.7.0/bin/unpack200:/usr/lib/libc.so.78.1: undefined symbol 
'__progname'
Segmentation fault (core dumped) 
# ^D

This binary is used by various Java based applications. For example, the 
Netbeans IDE
uses it to unpack module updates. Since the binary dumps core, the Netbeans IDE 
will
be left in a corrupted state after an update.

The following patch makes the binary work here. However, I have no idea why
those two symbols need to be added to that mapfile.


Regards,
-- 
Christian


$OpenBSD$
--- jdk/make/com/sun/java/pack/mapfile-vers.origMon May  5 21:56:33 2014
+++ jdk/make/com/sun/java/pack/mapfile-vers Mon May  5 21:57:05 2014
@@ -35,6 +35,8 @@ SUNWprivate_1.1 {
Java_com_sun_java_util_jar_pack_NativeUnpack_initIDs;
Java_com_sun_java_util_jar_pack_NativeUnpack_setOption;
Java_com_sun_java_util_jar_pack_NativeUnpack_start;
+   environ;
+   __progname;
local:
*;
 };



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/02 09:30:31

Modified files:
x11/tellico-kde4: Makefile distinfo 
x11/tellico-kde4/pkg: PLIST 
Added files:
x11/tellico-kde4/patches: patch-src_fetch_allocinefetcher_cpp 
  patch-src_fetch_discogsfetcher_cpp 
  patch-src_fetch_discogsfetcher_cpp.orig 
  patch-src_fetch_moviemeterfetcher_cpp 
  patch-src_fetch_themoviedbfetcher_cpp 
  patch-src_fetch_vndbfetcher_cpp 
  patch-src_tests_discogsfetchertest_cpp 
Removed files:
x11/tellico-kde4/patches: patch-src_gui_CMakeLists_txt 

Log message:
Update KDE4 version of Tellico to 2.3.10.

This includes a few patches from upstream (to be gone in the next release).
Prodded and reminded by private person, thanks!



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 09:32:09

Modified files:
textproc/p5-Sort-Versions: Makefile distinfo 

Log message:
Update to p5-Sort-Versions-1.61.



UPDATE: sysutiles/ansible to 1.9.1

2015-05-02 Thread Robert Peichaer
Hi

This is mostly a bug fix release. The testsuite (from git checkout) has
been redone completely and there're a few failures, mostly related to
unicode etc.

OK?


Index: Makefile
===
RCS file: /home/cvs/ports/sysutils/ansible/Makefile,v
retrieving revision 1.41
diff -p -u -r1.41 Makefile
--- Makefile31 Mar 2015 19:09:28 -  1.41
+++ Makefile2 May 2015 12:50:30 -
@@ -2,7 +2,7 @@
 
 COMMENT =  ssh based config management framework
 
-MODPY_EGG_VERSION =1.9.0.1
+MODPY_EGG_VERSION =1.9.1
 DISTNAME = ansible-${MODPY_EGG_VERSION}
 
 CATEGORIES =   sysutils
Index: distinfo
===
RCS file: /home/cvs/ports/sysutils/ansible/distinfo,v
retrieving revision 1.30
diff -p -u -r1.30 distinfo
--- distinfo31 Mar 2015 19:09:28 -  1.30
+++ distinfo2 May 2015 12:48:06 -
@@ -1,2 +1,2 @@
-SHA256 (ansible-1.9.0.1.tar.gz) = shk/2aQGGrYk+mcxF5ZBmnWd4GtPMh03FpsiujgxMxw=
-SIZE (ansible-1.9.0.1.tar.gz) = 916591
+SHA256 (ansible-1.9.1.tar.gz) = pvl11WVyN2Wk1JD/QM7eloM6dF84kI3vSVCgB18Zc/U=
+SIZE (ansible-1.9.1.tar.gz) = 917471

-- 
-=[rpe]=-



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Robert Peichaer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2015/05/02 07:36:44

Modified files:
textproc/markdown: Makefile distinfo 

Log message:
Update textproc/markdown to 2.6.1

OK aja@



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 09:42:02

Modified files:
www/hiawatha   : Makefile distinfo 
www/hiawatha/patches: patch-config_hiawatha_conf_in 
  patch-man_hiawatha_1_in 
  patch-src_serverconfig_c 
www/hiawatha/pkg: PLIST 

Log message:
Update to hiawatha-9.12.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2015/05/02 10:05:07

Modified files:
devel/p5-Term-ReadKey: Makefile 
Removed files:
devel/p5-Term-ReadKey/patches: patch-genchars_pl 

Log message:
Remove 9 year old patch that now breaks GetControlChars(). ok ajacoutot@

GetControlChars() should return something that looks like a control char
this patch made it return a number instead. Found while porting sslmate.

perl -MTerm::ReadKey -MScalar::Util -e \
'print Scalar::Util::looks_like_number({GetControlChars}-{EOF}) ? 1 : 0;'

The above should return 0 but as returning 1.



NEW: security/py-pbkdf2

2015-05-02 Thread Giannis Tsaraias
DESCR:

This Python module implements the password-based key derivation
function, PBKDF2, specified in RSA PKCS#5 v2.0.

Comments?

-- yannis


py-pbkdf2.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

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

Modified files:
devel/gtkparasite: Makefile 
Removed files:
devel/gtkparasite/patches: patch-autogen_sh 

Log message:
Drop autogen patch, we can use autoreconf.
Drop useless BUILD_DEPENDS.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 10:07:44

Modified files:
infrastructure/lib/DPB: User.pm 

Log message:
thinko



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 06:55:43

Modified files:
infrastructure/lib/DPB: Core.pm 
infrastructure/lib/DPB/Core: Init.pm 
infrastructure/lib/DPB/Job: Fetch.pm 

Log message:
use the per-user Core thingy: make sure fetch cores are built with the
default prop, and set them to run as fetch_user, so that I can remove
the explicit run_as in the ftp command.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 07:03:14

Modified files:
multimedia/libdv: Makefile 
Removed files:
multimedia/libdv/patches: patch-configure 
  patch-encodedv_Makefile_in 
  patch-libdv_Makefile_in 
  patch-libdv_dv_c 
  patch-libdv_dv_types_h 
  patch-libdv_pc_in 

Log message:
Drop uneeded patches.



Re: Java 1.7 - Support GNOME Shell as mutter

2015-05-02 Thread Antoine Jacoutot
On Sat, May 02, 2015 at 12:43:33AM +0200, Christian Schulte wrote:
 Hello @ports,
 
 Using GNOME, Java based applications do not work correctly. The
 following patch to Java 1.7 backports a corresponding fix.

Ahah! That might be the underlying reason of minecraft not working properly 
without patching.
Stuart, could you have a look please?


 $OpenBSD$
 
 Backport of http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/8530456e0091
 8024863: X11: Support GNOME Shell as mutter
 Reviewed-by: anthony
 
 --- jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig Thu Jul  3 23:30:47 2014
 +++ jdk/src/solaris/classes/sun/awt/X11/XWM.java  Thu Jul  3 23:31:30 2014
 @@ -578,7 +578,7 @@ final class XWM
  }
  
  static boolean isMutter() {
 -return isNetWMName(Mutter);
 +return isNetWMName(Mutter) || isNetWMName(GNOME Shell);
  }
  
  static boolean isNonReparentingWM() {
 

-- 
Antoine



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 09:59:35

Modified files:
infrastructure/lib/DPB: PortBuilder.pm 

Log message:
show the user for roundrobin



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 06:51:28

Modified files:
graphics/xsane : Makefile 
Added files:
graphics/xsane/patches: patch-lib_getopt_c 

Log message:
Fix a bulk load of implicit declaration on string functions.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 09:53:02

Modified files:
x11/p5-Gtk2: Makefile distinfo 
Removed files:
x11/p5-Gtk2/patches: patch-xs_GdkDisplay_xs 

Log message:
Update to p5-Gtk2-1.2495.



CVS: cvs.openbsd.org: ports

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

Modified files:
devel/cppcheck : Makefile distinfo 
devel/cppcheck/pkg: PLIST 

Log message:
update to 1.69
OK aja@



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 07:12:39

Modified files:
infrastructure/lib/DPB: Core.pm User.pm 

Log message:
future round-robin mode, one user per-build.



Java 1.7 - Support GNOME Shell as mutter

2015-05-02 Thread Christian Schulte
Hello @ports,

Using GNOME, Java based applications do not work correctly. The
following patch to Java 1.7 backports a corresponding fix.

Regards,
-- 
Christian


$OpenBSD$

Backport of http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/8530456e0091
8024863: X11: Support GNOME Shell as mutter
Reviewed-by: anthony

--- jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig   Thu Jul  3 23:30:47 2014
+++ jdk/src/solaris/classes/sun/awt/X11/XWM.javaThu Jul  3 23:31:30 2014
@@ -578,7 +578,7 @@ final class XWM
 }
 
 static boolean isMutter() {
-return isNetWMName(Mutter);
+return isNetWMName(Mutter) || isNetWMName(GNOME Shell);
 }
 
 static boolean isNonReparentingWM() {



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 08:24:12

Modified files:
x11/gnome/vinagre: Makefile 
Added files:
x11/gnome/vinagre/patches: patch-configure_ac 
   patch-vinagre_pty_open_c 

Log message:
Fix a couple of implicit declarations.



pjsua crashes on armv7 and macppc

2015-05-02 Thread Jan Stary
telephony/pjsua version 2.3 works for me on amd64 and i386,
but segfaults immediately on current/armv7 (Beagle Bone Black)
and current/macppc (MacMini). 

On macppc, it just goes

  $ pjsua
  Segmentation fault (core dumped) 

On armv7,

  $ pjsua
  14:33:57.634 os_core_unix.c !pjlib 2.3 for POSIX initialized
  18:15:49.731 sip_endpoint.c  .Creating endpoint instance...
  16:37:41.753  pjlib  .select() I/O Queue created (0x4075f06c)
  09:20:21.763 sip_endpoint.c  .Module mod-msg-print registered
  03:03:01.773 sip_transport.  .Transport manager created.
  12:17:25.782   pjsua_core.c  .PJSUA state changed: NULL -- CREATED
  08:46:13.800 sip_endpoint.c  .Module mod-pjsua-log registered
  21:53:41.813 sip_endpoint.c  .Module mod-tsx-layer registered
  14:36:21.823 sip_endpoint.c  .Module mod-stateful-util registered
  07:19:01.833 sip_endpoint.c  .Module mod-ua registered
  17:33:25.842 sip_endpoint.c  .Module mod-100rel registered
  02:47:49.851 sip_endpoint.c  .Module mod-pjsua registered
  02:58:45.862 sip_endpoint.c  .Module mod-invite registered
  15:06:13.875   pa_dev.c  ..PortAudio sound library initialized, status=0
  07:48:53.885   pa_dev.c  ..PortAudio host api count=1
  18:03:17.894   pa_dev.c  ..Sound device count=1
  04:21:41.918  pjlib  ..select() I/O Queue created (0x48b32014)
  Bus error (core dumped) 


Can anybody reproduce this?
Is this a known architecture problem,
or a known issue with pjsua itself?

I am working on an update of the port to 2.4
Has any of the patches/ been sent (and accepted) upstream?

Jan



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 09:29:49

Modified files:
net/py-libcloud: Makefile distinfo 
net/py-libcloud/pkg: PLIST 

Log message:
Update to py-libcloud-0.17.0.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 09:59:06

Modified files:
infrastructure/lib/DPB: Shell.pm 

Log message:
fix gid switch



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 10:41:20

Modified files:
infrastructure/lib/DPB: HostProperties.pm User.pm 

Log message:
add more knobs to handle directory issues under hostile circumstances



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 10:42:55

Modified files:
infrastructure/bin: dolock 
infrastructure/man/man1: dolock.1 

Log message:
add options so that dolock will work with install -d options



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 11:18:30

Modified files:
www/uriparser  : Makefile distinfo 
www/uriparser/pkg: PLIST 

Log message:
Update to uriparser-0.8.2.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2015/05/02 12:22:23

Modified files:
emulators/sdlmame: Makefile 
emulators/sdlmess: Makefile 

Log message:
Drop maintainer of MAME and MESS and bump.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 11:14:50

Modified files:
infrastructure/lib/DPB: User.pm 

Log message:
tweak round-robin mode to start at the first id



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/02 11:43:27

Modified files:
infrastructure/lib/DPB: Vars.pm 

Log message:
forgot to drop user there. Probably a few more left :(



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/02 12:17:34

Modified files:
books  : Makefile 

Log message:
+tex-by-topic



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 12:22:24

Modified files:
productivity/palm2ical: Makefile distinfo 

Log message:
Update to palm2ical-1.9.



Re: NEW: lang/chibi-scheme

2015-05-02 Thread James Turner
On Mon, Apr 27, 2015 at 09:36:56PM +0200, Juan Francisco Cantero Hurtado wrote:
 OK?
 

Juan,

Everything looks good, but I noticed the version variable isn't set in
the pkgconfig file. Should it be?

 Information for inst:chibi-scheme-0.7.2
 
 Comment:
 interpreter of the R7RS Scheme programming language
 
 Description:
 Chibi-Scheme is a small interpreter of the version R7RS of the Scheme
 programming language.
 
 Maintainer: Juan Francisco Cantero Hurtado juan...@openbsd.org
 
 WWW: http://synthcode.com/wiki/chibi-scheme
 
 



-- 
James Turner



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 11:23:57

Modified files:
www/bluefish   : Makefile distinfo 

Log message:
Update to bluefish-2.2.7.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/02 12:17:01

Log message:
Import tex by topic from Vincent Gross.

TeX by Topic is a systematic reference manual designed as a companion
to tutorial guides on the system. Packed with original, practical
ideas, this book provides an invaluable information source that
will give the TeX user the essential insight needed to solve TeX
problems.

ok espie@

Status:

Vendor Tag: vgross
Release Tags:   landry_20150502

N ports/books/tex-by-topic/Makefile
N ports/books/tex-by-topic/distinfo
N ports/books/tex-by-topic/pkg/DESCR
N ports/books/tex-by-topic/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 12:37:51

Modified files:
games/vms-empire: Makefile distinfo 
games/vms-empire/pkg: PLIST 

Log message:
Update to vms-empire-1.13; req. by landry@



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 13:32:54

Modified files:
fonts/ja-kanjistrokeorders-ttf: Makefile distinfo 
fonts/ja-kanjistrokeorders-ttf/pkg: PLIST 

Log message:
Update to ja-kanjistrokeorders-ttf-3.001.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/02 03:22:58

Modified files:
math/R/patches : patch-Makefile_in patch-configure 
 patch-src_main_Makefile_in 
 patch-src_main_connections_c 

Log message:
Sync patches, doesn't affect package.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 14:21:07

Modified files:
audio/gimmix   : Makefile distinfo 
Removed files:
audio/gimmix/patches: patch-src_gimmix-playlist_c 

Log message:
Update to gimmix-0.5.7.2.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 14:53:18

Modified files:
audio/libnjb   : Makefile distinfo 
audio/libnjb/pkg: PLIST 

Log message:
Update to libnjb-2.2.7.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 14:06:00

Modified files:
graphics/netpbm: Makefile distinfo 

Log message:
Minor update to super stable netpbm-10.35.95.



[PATCH] upgrade pjsua to 2.4

2015-05-02 Thread Jan Stary
The diff below updates telephony/pjsua to version 2.4

  * address the ./configure --options more explicitly
  * reduce patches/ to what has not been merged upstream
  * take maintainer, as current maintainer no longer uses pjsua


Tested on amd64 and i386, where it works (as did 2.3)
and on armv7 (BeagleBone Black) and macppc (MacMini),
where it crashes (as did 2.3).

Can other users please test?


It uses portaudio for the audio interaction.
Would it be beneficial to write a sndio backend and drop portaudio?
Alexandre, can you please help me get started,
or point me to a good example of a port that has
a sndio patch that lets it drop portaudio or similar?

The ./configure also recognizes --with-external-srtp
- would it be an improvement to make pjsua use security/libsrtp?

It supports the SILK codec of Skype.
Do we want to use that, or wait until pjsua
chatches up and srarts using OPUS?

Jan



Index: Makefile
===
RCS file: /cvs/ports/telephony/pjsua/Makefile,v
retrieving revision 1.35
diff -u -p -u -p -r1.35 Makefile
--- Makefile11 Jan 2015 17:24:06 -  1.35
+++ Makefile2 May 2015 20:50:00 -
@@ -2,7 +2,7 @@
 
 COMMENT=   lightweight sip client
 
-VERSION=   2.3
+VERSION=   2.4
 DISTNAME=  pjproject-${VERSION}
 PKGNAME=   pjsua-${VERSION}
 EXTRACT_SUFX=  .tar.bz2
@@ -10,13 +10,13 @@ CATEGORIES= telephony
 
 HOMEPAGE=  http://www.pjsip.org/
 MASTER_SITES=  ${HOMEPAGE}release/${VERSION}/
-MAINTAINER=Christopher Zimmermann chr...@openbsd.org
+MAINTAINER=Jan Stary h...@stare.cz
 
 # GPLv2
 PERMIT_PACKAGE_CDROM=   Yes
 
-WANTLIB =  c crypto gsm=1.0 m opencore-amrnb opencore-amrwb \
-   portaudio pthread speex speexdsp ssl
+WANTLIB =  c m crypto gsm=1.0 opencore-amrnb opencore-amrwb \
+   portaudio pthread speex speexdsp
 
 LIB_DEPENDS=   audio/gsm \
audio/opencore-amr \
@@ -25,14 +25,36 @@ LIB_DEPENDS=audio/gsm \
 
 CONFIGURE_STYLE=   autoconf no-autoheader
 AUTOCONF_VERSION=  2.69
-CONFIGURE_ARGS=--disable-oss \
-   --disable-video \
-   --with-external-gsm \
-   --with-external-pa \
-   --with-external-speex
+CONFIGURE_ARGS=\
+   --disable-shared\
+   --enable-resample   \
+   --enable-sound  \
+   --disable-oss   \
+   --disable-video \
+   --disable-video \
+   --disable-ext-sound \
+   --enable-g711-codec \
+   --enable-l16-codec  \
+   --enable-gsm-codec  \
+   --enable-g722-codec \
+   --enable-g7221-codec\
+   --enable-speex-codec\
+   --enable-ilbc-codec \
+   --disable-libsamplerate \
+   --disable-sdl   \
+   --disable-ffmpeg\
+   --disable-ipp   \
+   --disable-ssl   \
+   --enable-opencore-amr   \
+   --disable-silk  \
+   --with-external-speex   \
+   --with-external-gsm \
+   --with-external-pa
+
 CONFIGURE_ENV+=CFLAGS=-I${LOCALBASE}/include \
-   LDFLAGS=-L${LOCALBASE}/lib \
-   ac_cv_header_uuid_uuid_h=no \
+   LDFLAGS=-L${LOCALBASE}/lib
+
+CONFIGURE_ENV+=ac_cv_header_uuid_uuid_h=no \
ac_cv_lib_uuid_uuid_generate=no
 
 USE_GMAKE= Yes
Index: distinfo
===
RCS file: /cvs/ports/telephony/pjsua/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo11 Jan 2015 17:24:06 -  1.16
+++ distinfo2 May 2015 20:50:00 -
@@ -1,2 +1,2 @@
-SHA256 (pjproject-2.3.tar.bz2) = 5/pgo7WUJEMBRa+QNyKCyneESfe2i3e7JKnPddlNV2U=
-SIZE (pjproject-2.3.tar.bz2) = 4633703
+SHA256 (pjproject-2.4.tar.bz2) = EIAVrtqNziDRguybT8J3Am0rF5boKUfaEG7rQG6wIFk=
+SIZE (pjproject-2.4.tar.bz2) = 4631778
Index: patches/patch-pjmedia_src_pjmedia-codec_l16_c
===
RCS file: patches/patch-pjmedia_src_pjmedia-codec_l16_c
diff -N patches/patch-pjmedia_src_pjmedia-codec_l16_c
--- patches/patch-pjmedia_src_pjmedia-codec_l16_c   5 Jun 2012 23:15:23 
-   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@

CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 13:50:29

Modified files:
net/cnupm  : Makefile distinfo 
net/cnupm/patches: patch-cnupmstat_cnupmstat_8 

Log message:
Update to cnupm-3.12.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 13:58:48

Modified files:
multimedia/lsdvd: Makefile distinfo 
multimedia/lsdvd/patches: patch-lsdvd_c 
Removed files:
multimedia/lsdvd/patches: patch-ohuman_c 

Log message:
Update to lsdvd-0.17.



Re: NEW: lang/chibi-scheme

2015-05-02 Thread Juan Francisco Cantero Hurtado
On Sat, May 02, 2015 at 12:50:03PM -0400, James Turner wrote:
 On Mon, Apr 27, 2015 at 09:36:56PM +0200, Juan Francisco Cantero Hurtado 
 wrote:
  OK?
  
 
 Juan,
 
 Everything looks good, but I noticed the version variable isn't set in
 the pkgconfig file. Should it be?

Yes, thanks. The Makefile uses a variable to write the version within
the pkgconfig file but the variable is empty. I opened a pull request
with the changes.

I attached a new tarball.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info


chibi-scheme.tar.gz
Description: Binary data


collectd 5.4.2

2015-05-02 Thread Landry Breuil
Hi,

here's an update to collectd 5.4.2, enabling plugins for libvirt,
memcachec and python upon aja's request. Testing  feedback welcome.
See https://collectd.org/wiki/index.php/Version_5.4#Release_5.4.2 for
details. Note that most of our patches were merged upstream but only in
the master branch.

Landry
Index: Makefile
===
RCS file: /cvs/ports/sysutils/collectd/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- Makefile22 Jan 2015 20:26:43 -  1.27
+++ Makefile2 May 2015 21:09:24 -
@@ -5,19 +5,22 @@
 COMMENT-pgsql =collectd postgresql plugin
 COMMENT-rrdtool =  collectd rrdtool plugin
 COMMENT-snmp = collectd snmp plugin
+COMMENT-virt = collectd libvirt plugin
+COMMENT-python =   collectd python plugin
+COMMENT-memcachec =collectd memcachec plugin
 
-V =5.4.1
+V =5.4.2
 DISTNAME = collectd-$V
 PKGNAME-main = collectd-$V
 PKGNAME-mysql =collectd-mysql-$V
 PKGNAME-pgsql =collectd-pgsql-$V
 PKGNAME-rrdtool =  collectd-rrdtool-$V
 PKGNAME-snmp = collectd-snmp-$V
+PKGNAME-virt = collectd-virt-$V
+PKGNAME-python =   collectd-python-$V
+PKGNAME-memcachec =collectd-memcachec-$V
 CATEGORIES =   sysutils
 
-REVISION-main =1
-REVISION-rrdtool = 1
-
 HOMEPAGE = http://www.collectd.org/
 SHARED_LIBS += collectdclient 1.0
 SHARED_ONLY =  Yes
@@ -27,9 +30,9 @@
 
 MASTER_SITES = ${HOMEPAGE}/files/
 
-MODULES =  devel/gettext
+MODULES =  devel/gettext lang/python
 
-MULTI_PACKAGES =   -main -mysql -pgsql -rrdtool -snmp
+MULTI_PACKAGES =   -main -mysql -pgsql -rrdtool -snmp -virt -python 
-memcachec
 
 WANTLIB-mysql =crypto m ssl z mysqlclient_r stdc++ pthread
 LIB_DEPENDS-mysql =databases/mariadb
@@ -52,6 +55,17 @@
 LIB_DEPENDS-snmp = net/net-snmp
 RUN_DEPENDS-snmp = collectd-$V:${BASE_PKGPATH},-main
 
+LIB_DEPENDS-virt = sysutils/libvirt
+WANTLIB-virt = avahi-client avahi-common dbus-1 ffi gmp gnutls hogweed 
\
+   nettle p11-kit ssh2 tasn1 util virt crypto curl iconv \
+   idn intl lzma m pthread ssl xml2 z
+
+LIB_DEPENDS-python =   ${MODPY_LIB_DEPENDS}
+WANTLIB-python =   ${MODPY_WANTLIB} util m pthread
+
+LIB_DEPENDS-memcachec =devel/libmemcached
+WANTLIB-memcachec =memcached sasl2 m pthread
+
 LIB_DEPENDS += net/curl \
net/liboping \
textproc/libxml \
@@ -69,9 +83,11 @@
--with-librrd=${LOCALBASE} \
--with-libstatgrab=${LOCALBASE} \
--with-libnetsnmp=${LOCALBASE}/bin/net-snmp-config \
-   --without-python \
+   --with-python=${MODPY_BIN} \
--enable-all-plugins=no
 
+# no, varnishapi.h not in our varnish package
+#  --with-libvarnish=${LOCALBASE}
 ENABLED_PLUGINS =  apache apcups ascent bind cpu csv curl curl_xml \
df disk dns email exec filecount interface load \
logfile match_empty_counter match_hashed match_regex \
@@ -80,7 +96,7 @@
processes rrdtool rrdcached snmp swap syslog table tail 
tail_csv \
target_notification target_replace target_scale \
target_set target_v5upgrade tcpconns teamspeak2 ted 
unixsock uptime \
-   users uuid write_http write_graphite pf
+   users uuid write_http write_graphite pf python libvirt 
memcachec
 
 .for _plugin in ${ENABLED_PLUGINS}
 CONFIGURE_ARGS += --enable-${_plugin}
Index: distinfo
===
RCS file: /cvs/ports/sysutils/collectd/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo25 Sep 2014 20:10:13 -  1.4
+++ distinfo2 May 2015 21:09:24 -
@@ -1,2 +1,2 @@
-SHA256 (collectd-5.4.1.tar.gz) = hTaAk2iT3wC/wr5Y9hq5GB/ssc9F/Fzdy30l2piFX2U=
-SIZE (collectd-5.4.1.tar.gz) = 1894132
+SHA256 (collectd-5.4.2.tar.gz) = l3gIDunuZ2xxMLHOhsKEPHNZ4pub0cHA5I/NnMzwies=
+SIZE (collectd-5.4.2.tar.gz) = 2024679
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/sysutils/collectd/patches/patch-Makefile_in,v
retrieving revision 1.3
diff -u -r1.3 patch-Makefile_in
--- patches/patch-Makefile_in   25 Sep 2014 20:10:13 -  1.3
+++ patches/patch-Makefile_in   2 May 2015 21:09:24 -
@@ -1,8 +1,8 @@
 $OpenBSD: patch-Makefile_in,v 1.3 2014/09/25 20:10:13 landry Exp $
 dont create var/{run,lib,log}
 Makefile.in.orig   Sun Jan 26 09:09:57 2014
-+++ Makefile.inMon Sep 22 16:59:12 2014
-@@ -881,9 +881,6 @@ uninstall-am:
+--- Makefile.in.orig   Thu Feb 26 15:07:46 2015
 Makefile.in  

Re: teensyloader update

2015-05-02 Thread Aaron Bieber


On Thu, Apr 30, 2015, at 08:43 AM, Brandon Mercer wrote:
 On Thu, Apr 23, 2015 at 04:58:10PM -0400, Brandon Mercer wrote:
  Hello, this diff updates the teensy loader to the current 2.1 version.
  I'm also working to get the loader so it can flash the newer teensy 3.1
  devices. OK? 
  
 
 Here is an updated diff with feedback from abieber@ and bcallah@
 The changes include setting the version to a variable because it's 
 in there twice, and referencing the zip. OK?

OK abieber@

 
 Index: Makefile
 ===
 RCS file: /home/bmercer/cvs/ports/devel/teensyloader/Makefile,v
 retrieving revision 1.8
 diff -u -p -u -r1.8 Makefile
 --- Makefile10 Oct 2013 02:08:22 -  1.8
 +++ Makefile30 Apr 2015 14:20:48 -
 @@ -1,12 +1,11 @@
  # $OpenBSD: Makefile,v 1.8 2013/10/10 02:08:22 brad Exp $
  
  COMMENT=in-system programmer for Teensy boards
 -
 -DISTNAME=  teensy_loader_cli.2.0
 -PKGNAME=   teensyloader-2.0
 -REVISION=  1
 +V= 2.1
 +DISTNAME=  teensy_loader_cli.${V}
 +PKGNAME=   teensyloader-${V}
  CATEGORIES= devel
 -
 +EXTRACT_SUFX=  .zip
  HOMEPAGE=   http://www.pjrc.com/teensy/
  
  # GPLv3
 @@ -19,7 +18,6 @@ MASTER_SITES= ${HOMEPAGE}
  CONFIGURE_STYLE=None
  WRKDIST=${WRKDIR}/teensy_loader_cli
  MAKE_FILE=  Makefile.bsd
 -
  NO_TEST=Yes
  
  do-install:
 Index: distinfo
 ===
 RCS file: /home/bmercer/cvs/ports/devel/teensyloader/distinfo,v
 retrieving revision 1.4
 diff -u -p -u -r1.4 distinfo
 --- distinfo18 Jan 2015 03:13:48 -  1.4
 +++ distinfo30 Apr 2015 14:26:53 -
 @@ -1,2 +1,2 @@
 -SHA256 (teensy_loader_cli.2.0.tar.gz) =
 D/1NS2X+PCvOfvc89ZmwtSebMQH7hDBUzXmw324GepY=
 -SIZE (teensy_loader_cli.2.0.tar.gz) = 27044
 +SHA256 (teensy_loader_cli.2.1.zip) =
 2v0EDWdItS4NSgGEbUE28zVMon3cNqVe0A0KCvCQLUY=
 +SIZE (teensy_loader_cli.2.1.zip) = 36241
 Index: patches/patch-Makefile_bsd
 ===
 RCS file:
 /home/bmercer/cvs/ports/devel/teensyloader/patches/patch-Makefile_bsd,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 patch-Makefile_bsd
 --- patches/patch-Makefile_bsd  26 Jun 2010 21:22:00 -  1.1
 +++ patches/patch-Makefile_bsd  23 Apr 2015 20:53:20 -
 @@ -1,6 +1,6 @@
 -$OpenBSD: patch-Makefile_bsd,v 1.1 2010/06/26 21:22:00 ckuethe Exp $
  Makefile.bsd.orig  Mon Feb 15 18:27:15 2010
 -+++ Makefile.bsd   Mon Feb 15 18:28:31 2010
 +$OpenBSD$
 +--- Makefile.bsd.orig  Sun Apr 19 21:29:46 2015
  Makefile.bsd   Thu Apr 23 16:53:05 2015
  @@ -1,6 +1,6 @@
  -OS ?= FreeBSD
  +#OS ?= FreeBSD
 @@ -10,17 +10,17 @@ $OpenBSD: patch-Makefile_bsd,v 1.1 2010/
   
   CFLAGS ?= -O2 -Wall
   CC ?= gcc
 -@@ -14,8 +14,10 @@ LIBS =
 +@@ -13,9 +13,9 @@ CFLAGS += -DUSE_UHID
 + LIBS =
   .endif
   
 - 
 --teensy_loader_cli: teensy_loader_cli.c
 --  $(CC) $(CFLAGS) -s -o teensy_loader_cli teensy_loader_cli.c
 $(LIBS)
  +all: teensyloader
 - 
  +teensyloader: teensy_loader_cli.c
  +   $(CC) $(CFLAGS) -s -o teensyloader teensy_loader_cli.c $(LIBS)
 -+
 + 
 +-teensy_loader_cli: teensy_loader_cli.c
 +-  $(CC) $(CFLAGS) -s -o teensy_loader_cli teensy_loader_cli.c
 $(LIBS)
 +-
   clean:
  -   rm -f teensy_loader_cli
  +   rm -f teensyloader
 Index: pkg/PLIST
 ===
 RCS file: /home/bmercer/cvs/ports/devel/teensyloader/pkg/PLIST,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 PLIST
 --- pkg/PLIST   26 Jun 2010 21:22:00 -  1.2
 +++ pkg/PLIST   30 Apr 2015 14:27:20 -
 @@ -1,8 +1,6 @@
 -@comment $OpenBSD: PLIST,v 1.2 2010/06/26 21:22:00 ckuethe Exp $
 +@comment $OpenBSD$
  @bin bin/teensyloader
  share/examples/teensy/
 -share/examples/teensy/blink_fast.hex
 -share/examples/teensy/blink_slow.hex
  share/examples/teensy/blinky-at90usb1286.hex
  share/examples/teensy/blinky-at90usb162.hex
  share/examples/teensy/blinky-at90usb646.hex
 



CVS: cvs.openbsd.org: ports

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

Modified files:
x11/girara : Makefile 

Log message:
hidden dep on json-c



Re: [PATCH] upgrade pjsua to 2.4

2015-05-02 Thread Jan Stary
On May 02 23:07:13, h...@stare.cz wrote:
 The diff below updates telephony/pjsua to version 2.4
 
   * address the ./configure --options more explicitly
   * reduce patches/ to what has not been merged upstream
   * take maintainer, as current maintainer no longer uses pjsua
 
 
 Tested on amd64 and i386, where it works (as did 2.3)
 and on armv7 (BeagleBone Black) and macppc (MacMini),
 where it crashes (as did 2.3).
 
 Can other users please test?

Hm, here is a better version, regarding WANTLIB.



Index: Makefile
===
RCS file: /cvs/ports/telephony/pjsua/Makefile,v
retrieving revision 1.35
diff -u -p -u -p -r1.35 Makefile
--- Makefile11 Jan 2015 17:24:06 -  1.35
+++ Makefile2 May 2015 21:33:12 -
@@ -2,7 +2,7 @@
 
 COMMENT=   lightweight sip client
 
-VERSION=   2.3
+VERSION=   2.4
 DISTNAME=  pjproject-${VERSION}
 PKGNAME=   pjsua-${VERSION}
 EXTRACT_SUFX=  .tar.bz2
@@ -10,13 +10,13 @@ CATEGORIES= telephony
 
 HOMEPAGE=  http://www.pjsip.org/
 MASTER_SITES=  ${HOMEPAGE}release/${VERSION}/
-MAINTAINER=Christopher Zimmermann chr...@openbsd.org
+MAINTAINER=Jan Stary h...@stare.cz
 
 # GPLv2
 PERMIT_PACKAGE_CDROM=   Yes
 
-WANTLIB =  c crypto gsm=1.0 m opencore-amrnb opencore-amrwb \
-   portaudio pthread speex speexdsp ssl
+WANTLIB =  c m gsm=1.0 opencore-amrnb opencore-amrwb \
+   sndio portaudio pthread speex speexdsp
 
 LIB_DEPENDS=   audio/gsm \
audio/opencore-amr \
@@ -25,14 +25,36 @@ LIB_DEPENDS=audio/gsm \
 
 CONFIGURE_STYLE=   autoconf no-autoheader
 AUTOCONF_VERSION=  2.69
-CONFIGURE_ARGS=--disable-oss \
-   --disable-video \
-   --with-external-gsm \
-   --with-external-pa \
-   --with-external-speex
+CONFIGURE_ARGS=\
+   --disable-shared\
+   --enable-resample   \
+   --enable-sound  \
+   --disable-oss   \
+   --disable-video \
+   --disable-video \
+   --disable-ext-sound \
+   --enable-g711-codec \
+   --enable-l16-codec  \
+   --enable-gsm-codec  \
+   --enable-g722-codec \
+   --enable-g7221-codec\
+   --enable-speex-codec\
+   --enable-ilbc-codec \
+   --disable-libsamplerate \
+   --disable-sdl   \
+   --disable-ffmpeg\
+   --disable-ipp   \
+   --disable-ssl   \
+   --enable-opencore-amr   \
+   --disable-silk  \
+   --with-external-speex   \
+   --with-external-gsm \
+   --with-external-pa
+
 CONFIGURE_ENV+=CFLAGS=-I${LOCALBASE}/include \
-   LDFLAGS=-L${LOCALBASE}/lib \
-   ac_cv_header_uuid_uuid_h=no \
+   LDFLAGS=-L${LOCALBASE}/lib
+
+CONFIGURE_ENV+=ac_cv_header_uuid_uuid_h=no \
ac_cv_lib_uuid_uuid_generate=no
 
 USE_GMAKE= Yes
Index: distinfo
===
RCS file: /cvs/ports/telephony/pjsua/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo11 Jan 2015 17:24:06 -  1.16
+++ distinfo2 May 2015 21:33:12 -
@@ -1,2 +1,2 @@
-SHA256 (pjproject-2.3.tar.bz2) = 5/pgo7WUJEMBRa+QNyKCyneESfe2i3e7JKnPddlNV2U=
-SIZE (pjproject-2.3.tar.bz2) = 4633703
+SHA256 (pjproject-2.4.tar.bz2) = EIAVrtqNziDRguybT8J3Am0rF5boKUfaEG7rQG6wIFk=
+SIZE (pjproject-2.4.tar.bz2) = 4631778
Index: patches/patch-pjmedia_src_pjmedia-codec_l16_c
===
RCS file: patches/patch-pjmedia_src_pjmedia-codec_l16_c
diff -N patches/patch-pjmedia_src_pjmedia-codec_l16_c
--- patches/patch-pjmedia_src_pjmedia-codec_l16_c   5 Jun 2012 23:15:23 
-   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-pjmedia_src_pjmedia-codec_l16_c,v 1.1 2012/06/05 23:15:23 
fgsch Exp $
 pjmedia/src/pjmedia-codec/l16.c.orig   Tue Jul 19 04:42:28 2011
-+++ pjmedia/src/pjmedia-codec/l16.cSun Jun  3 04:09:23 2012
-@@ -229,6 +229,7 @@ PJ_DEF(pj_status_t) pjmedia_codec_l16_deinit(void)
- l16_factory.endpt = NULL;
- 
- /* Destroy mutex. */
-+pj_mutex_unlock(l16_factory.mutex);
- 

CVS: cvs.openbsd.org: ports

2015-05-02 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2015/05/02 15:52:19

Modified files:
sysutils/nut   : Makefile 
sysutils/nut/pkg: PLIST-main README-main 

Log message:
Tweaks to sysutils/nut:

- Install libupsclient headers/pkgconfig files. landry@ asked about
these; they needed a --with-dev configure flag to get them installed...

- Get rid of the useless ${NUT_USER} and ${NUT_ID} SUBST_VARS which are
now getting in the way of new files in the PLIST.

- Move some files from /usr/local/share/ups to a more easily recognisable
/usr/local/share/nut.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/02 16:26:00

Modified files:
infrastructure/man/man1: dpb.1 

Log message:
Fix typo, s/unjunk/nojunk/



avidemux crashes

2015-05-02 Thread dan mclaughlin
i am having problems with avidemux crashing. this has not been working for
a couple of months at least. i am running -current, and tried recent packages.
i also tried recompiling it myself. always the same result. when loading any
file it gets to the point where it should display it, then crashes. does
anyone else have this problem?

i recompiled avidemux to add backtrack support (forthcoming in another mail),
and got this:

*** BACKTRACK **
Frame  0: 0xd91aedc backtrace+44 at /usr/local/lib/libexecinfo.so.2.0
Frame  1: 0x1c52590d ADM_backTrack+77 at avidemux2_gtk
Frame  2: 0x1c525c3d _Z20sig_segfault_handleri+45 at avidemux2_gtk
Frame  3: 0x7b9b004
Frame  4: 0x1c51f379 _ZN11preferences12set_lastfileEPKc+857 at avidemux2_gtk
Frame  5: 0x1c089997 _Z10A_openAvi2PKch+679 at avidemux2_gtk
Frame  6: 0x1c089b49 _Z9A_openAviPKc+25 at avidemux2_gtk
Frame  7: 0x1c4b36e9 _Z10automationv+409 at avidemux2_gtk
Frame  8: 0x1c50551c _Z9UI_RunAppv+92 at avidemux2_gtk
Frame  9: 0xade0fd6 g_source_get_time+198 at /usr/local/lib/libglib-2.0.so.420
Frame 10: 0xade0632 g_main_context_dispatch+226 at /usr/local/lib/libglib-2.0.
Frame 11: 0xade29ff g_main_context_acquire+607 at /usr/local/lib/libglib-2.0.s
Frame 12: 0xade3ba7 g_main_loop_run+263 at /usr/local/lib/libglib-2.0.so.4200.
Frame 13: 0x8d41fd1 gtk_main+193 at /usr/local/lib/libgtk-x11-2.0.so.2400.0
Frame 14: 0x1c5054f5 _Z9UI_RunAppv+53 at avidemux2_gtk
Frame 15: 0x1c08c44a main+554 at avidemux2_gtk
Frame 16: 0x1c0850f8 _start+168 at avidemux2_gtk
*** BACKTRACK **


full output of avidemux (with backtrace):

***
  Avidemux v2.4.4
***
 http://www.avidemux.org
 Code  : Mean, JSC, Gruntster 
 GFX   : Nestor Di , nesto...@augcyl.org
 Design: Jakub Misak
 FreeBSD   : Anish Mistry, amis...@am-productions.biz
 Audio : Mihail Zenkov
 MacOsX: Kuisathaverat
 Win32 : Gruntster

Compiler: GCC 4.2.1 20070719 
Build Target: Linux (x86)
User Interface: GTK+ (2.24.26)

Initialising prefs
Directory /home/user/.avidemux exists.Good.
Using /home/user/.avidemux as base directory for prefs/jobs/...
[cpuCaps]Checking CPU capabilities
MMX detected 
MMXEXT detected 
SSE detected 
SSE2 detected 
[cpuCaps]End of CPU capabilities check (cpuMask :)

 Registering Encoders
*
MJPEG encoder registered
FFmpeg encoder registered

2 encoder(s) registered

[Locale] setlocale C
[Locale] Textdomain was messages
[Locale] Textdomain is now avidemux
[Locale] Files for avidemux appear to be in /usr/local/share/locale
[Locale] Test: _File

Initializing Dithering tables
Found 18 video encoder
Found 8 audio encoder
Found 13 Format 
Directory /home/user/.avidemux/custom exists.Good.
No custom script
Found 0 custom scripts, adding them
Menu built
The screen seems to be 1024 x 768 px
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:3

 Registering Filters
*

Device not found :ALSA
Using dummy audio device
Spidermonkey initialized.
No crash file (/home/user/.avidemux/crash.js)

 *** Automated : 52 entries*
ba01 - ba01
 
 Mpeg file detected...
594d4441 - 594d4441
 
 New mpeg index file detected..

  opening d2v file : /home/user/test/kittens.mpg.idx
For file :/home/user/test/kittens.mpg
Pic  :352x288, 25000 fps
#Gop :10
#Img :171
Creating mpeg PS demuxer  main Pid: E0 

Simple loading: 
 file: /home/user/test/kittens.mpg, size: 1243340
 found 1 files 
Done 
Dropping 1 last B/P frames
 Creating start sequence (4660)..

  : ...³.. ƒ.Îॠ 00 00 01 b3 16 01 20 83 02 ce e0 a5 10 11 11 12
 0010 :   12 12 13 13 13 13 14 14 14 14 14 15 15 15 15 15
 0020 :   15 16 16 16 16 16 16 16 17 17 17 17 17 17 17 17
 0030 : ..  18 18
Image :19605, seqLen : 124 seq 0 0 1 b3
Reordering mpeg frames
Renumbered Gop  1 /10

  opening dmx file for audio track : /home/user/test/kittens.mpg.idx
Creating mpeg PS demuxer  main Pid: C0 

Simple loading: 
 file: /home/user/test/kittens.mpg, size: 1243340
 found 1 files 
Done 
Building index with 10 sync points
Filling audio header
Audio index loaded, probing...
Probing track:0, pid: 0 pes:c0

 DMX audio initialized (191634 bytes)
With 10 sync point
Mpeg index file successfully read
The video codec has some extradata (124 bytes)

  : ...³.. ƒ.Îॠ 00 00 01 b3 16 01 20 83 02 ce e0 a5 10 11 11 12
 0010 :   12 12 13 13 13 13 14 14 14 14 14 15 15 15 15 15
 0020 :   15 16 16 16 16 16 16 16 17 17 17 17 17 17 17 17
 0030 :   18 18 18 19 18 18 18 19 1a 1a 1a 1a 19 1b 1b 1b
 0040 : ...!...²  1b 1b 1c 1c 1c 1c 1e 1e 1e 1f 1f 21 00 00 01 b2
 0050 : .‡.encoded by   00 87 81 00 26 65 6e 63 6f 64 65 64 20 62 79 20
 0060 : TMPGEnc (ver. 2.  54 4d 50 47 45 6e 63 20 28 76 65 72 2e 20 32 2e
 0070 : 524.63.181).  35 32 34 2e 36 33 

add backtrack support to avidemux

2015-05-02 Thread dan mclaughlin
i know that this update is incomplete, but just wanted to present the
idea. i'll complete if it is wanted. i did this to get some information
for a crash (reported elsewhere).

i looked into upgrading avidemux to the latest version, but it has a
completely different build (using cmake), among other issues (i went
thru the old patches, most are irrelevent, but some add sndio support,
and i don't know where that would be added in to the new, very different,
version).

so, there was a previous patch that eliminated backtrack support for OpenBSD.
i removed that patch (patch-avidemux_ADM_osSupport_ADM_crashdump_cpp), and
made the following changes to the Makefile:

--- multimedia/avidemux/Makefile.orig   Wed Nov  5 13:36:15 2014
+++ multimedia/avidemux/MakefileThu Apr 16 07:58:11 2015
@@ -37,7 +37,8 @@ LIB_DEPENDS=  x11/gtk+2 \
audio/libvorbis \
textproc/libxml \
multimedia/xvidcore \
-   multimedia/x264
+   multimedia/x264 \
+   devel/libexecinfo
 
 USE_GMAKE= Yes
 
@@ -53,7 +54,7 @@ CONFIGURE_STYLE=gnu
 CONFIGURE_ENV+=CFLAGS=${PIE_CFLAGS} ${CFLAGS} \
CXXFLAGS=${PIE_CFLAGS} ${CXXFLAGS} \
CPPFLAGS=-I${LOCALBASE}/include -I${X11BASE}/include \
-   LDFLAGS=${PIE_LDFLAGS} -L${LOCALBASE}/lib -logg -lm -lz
+   LDFLAGS=${PIE_LDFLAGS} -L${LOCALBASE}/lib -logg -lm -lz 
-lexecinfo
 CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--enable-xv \
--with-x \



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/02 14:00:54

Modified files:
textproc/cdiff : Makefile 

Log message:
Did not mean to be MAINTAINER.



CVS: cvs.openbsd.org: ports

2015-05-02 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2015/05/02 20:51:35

Modified files:
multimedia/livestreamer: Makefile distinfo 
multimedia/livestreamer/pkg: PLIST 

Log message:
Update to 1.12.2