CVS: cvs.openbsd.org: ports

2013-05-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/05/10 00:03:30

Modified files:
print/scribus  : Makefile 

Log message:
No need to hardcode MODPY_VERSION; we use the default.



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/05/10 03:56:45

Modified files:
net/wide-dhcp/patches: patch-README 
Added files:
net/wide-dhcp/patches: patch-client_Makefile_OpenBSD 
   patch-client_README patch-client_dhcpc_8 
   patch-client_dhcpc_8_jis 
   patch-client_dhcpc_c patch-client_dhcpc_h 
   patch-client_dhcpc_subr_c 
   patch-client_flushroute_c 
   patch-relay_Makefile_OpenBSD 
   patch-relay_README patch-relay_relay_c 
   patch-server_Makefile_OpenBSD 
   patch-server_README patch-server_common_h 
   patch-server_database_c 
   patch-server_delarp_c 
   patch-server_dhcps_c patch-server_dhcps_h 
   patch-server_getmac_c 
   patch-tools_Makefile_OpenBSD 
   patch-tools_dhcpm_c 
Removed files:
net/wide-dhcp/patches: patch-client_Makefile.OpenBSD 
   patch-client_dhcpc.8 
   patch-client_dhcpc.8.jis 
   patch-client_dhcpc.c patch-client_dhcpc.h 
   patch-client_dhcpc_subr.c 
   patch-client_flushroute.c 
   patch-relay_Makefile.OpenBSD 
   patch-relay_relay.c 
   patch-server_Makefile.OpenBSD 
   patch-server_common.h 
   patch-server_database.c 
   patch-server_delarp.c 
   patch-server_dhcps.c patch-server_dhcps.h 
   patch-server_getmac.c 
   patch-tools_Makefile.OpenBSD 
   patch-tools_dhcpm.c 

Log message:
normalise patches (context diffs - unidiffs, and use standard filenames).
no pkg change.



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/05/10 03:58:02

Modified files:
net/wide-dhcp  : Makefile distinfo 
net/wide-dhcp/pkg: PLIST 

Log message:
regen PLIST/distinfo, tidy Makefile, don't USE_GROFF, bump



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/05/10 04:26:42

Modified files:
net/wide-dhcp  : Makefile 
net/wide-dhcp/pkg: DESCR 

Log message:
tweak DESCR, point out this is v4 not v6, remove text about building a
kernel with BPF.



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/05/10 04:45:46

Modified files:
net/wide-dhcp  : Makefile 
net/wide-dhcp/patches: patch-client_dhcpc_subr_c 
   patch-server_Makefile_OpenBSD 
Removed files:
net/wide-dhcp/pkg: MESSAGE 

Log message:
- swap order of ioctls so SIOCSIFADDR comes before SIOCSIFNETMASK
- remove unneeded MESSAGE
- don't use tbl to format manpages, it's no longer needed
- mark as NOT_FOR_ARCHS=${LP64_ARCHS}, it's broken there
(uses wrong MAC address)



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:ports
Changes by: m...@cvs.openbsd.org2013/05/10 05:40:02

Modified files:
net/libdnet: Makefile 
net/libdnet/patches: patch-src_intf_c 

Log message:
Do not issue SIOCSIFNETMASK before SIOCSIFADDR, it is not needed and will
fail after upcoming change.

ok sthen@



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2013/05/10 06:27:45

Modified files:
net/nmap   : Makefile 
net/nmap/patches: patch-libdnet-stripped_src_intf_c 

Log message:
Do not issue SIOCSIFNETMASK before SIOCSIFADDR in libdnet-stripped code, it is 
not needed and will
fail after upcoming change.
This code is not used by nmap but is better to keep it in sync with net/libdnet
ok sthen@ mpi@



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/05/10 10:56:39

Modified files:
telephony/asterisk-sounds: asterisk-sounds.port.mk 

Log message:
Adjust the (slightly awkward) construction of DISTNAME so that setting
REVISION doesn't change the stem of the package name. Came after some head
scratching after naddy@ reported a PLIST_DB change to telephony/asterisk's
@depend lines which happened after I bumped REVISION on the asterisk-sounds
ports when I tweaked CATEGORIES.



CVS: cvs.openbsd.org: ports

2013-05-10 Thread Robert Peichaer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2013/05/10 14:30:31

Modified files:
cad/fritzing   : Makefile 
databases/pkglocatedb: Makefile 
devel/libaudiofile: Makefile 
devel/netbeans : Makefile 
games/renpy: Makefile 

Log message:
Use -m mode with ${SUBST_CMD} instead of two-step process
SUBST_CMD / chmod. Replace -o root -g bin with -o ${BINOWN}
and -g ${BINGRP}.

ok sthen@



UPDATE: devel/git

2013-05-10 Thread Benoit Lecocq
Hi,

This diff updates git to the latest release 1.8.2.3.
A bugfix release.

Comments ? OK ?

Cheers,
benoit
Index: Makefile
===
RCS file: /cvs/ports/devel/git/Makefile,v
retrieving revision 1.95
diff -u -r1.95 Makefile
--- Makefile	2 May 2013 11:06:06 -	1.95
+++ Makefile	10 May 2013 06:01:44 -
@@ -4,7 +4,7 @@
 COMMENT-svn =	GIT - subversion interoperability tools
 COMMENT-x11 =	GIT - graphical tools
 
-V =		1.8.2.2
+V =		1.8.2.3
 DISTNAME =	git-${V}
 PKGNAME-main =	${DISTNAME}
 PKGNAME-svn =	git-svn-${V}
Index: distinfo
===
RCS file: /cvs/ports/devel/git/distinfo,v
retrieving revision 1.66
diff -u -r1.66 distinfo
--- distinfo	2 May 2013 10:01:34 -	1.66
+++ distinfo	10 May 2013 06:01:44 -
@@ -1,4 +1,4 @@
-SHA256 (git-1.8.2.2.tar.gz) = Ag3jjtowK7bhvkYPdJkhGUgZOzBr6rThpSD/xvcpR5Q=
-SHA256 (git-manpages-1.8.2.2.tar.gz) = Io3rU4ZUFXKOvXq/GNiMc9PBZg3toNN5cF1G2xBjZus=
-SIZE (git-1.8.2.2.tar.gz) = 4404477
-SIZE (git-manpages-1.8.2.2.tar.gz) = 537739
+SHA256 (git-1.8.2.3.tar.gz) = uo1C1HsJVbF5Ba8BM7AauOPyjw45uZZ+xEZAPAtJmR8=
+SHA256 (git-manpages-1.8.2.3.tar.gz) = jpHXpJzaku2ZnrljKuPw8isZEOVN5YyeUxB2h8GPFBQ=
+SIZE (git-1.8.2.3.tar.gz) = 4405610
+SIZE (git-manpages-1.8.2.3.tar.gz) = 537688


Re: UPDATE: devel/intellij to 12.1.2

2013-05-10 Thread Vadim Zhukov
2013/5/10 Daniel Dickman didick...@gmail.com

 
  Since you are patching bin/intellij.sh anyway, why not just rip out all
  the JAVA_HOME/JDK-HOME goo and use javaPathHelper like all the other
 Java
  ports do?
 
  Done; files/idea wrapper is not needed anymore then, so I zapped it. This
  required adding a patch for readlink call, though. Thank you for input.
 
  Is it okay now?
 

 There is a reason why intellij does not use javaPathHelper (JPH). We
 had a discussion about this off-list a while back. What happened was
 that ian@ discovered that javaPathHellper will use the JDK in your
 path instead of the JDK that you're specifying in the port Makefile.
 So at the time JDK 1.6 was the only JDK that would work with intellij
 and he had JDK 1.7 in his path ahead of JDK 1.6. This resulted in
 intellij not being to run because JPH was picking up the wrong JDK at
 runtime.

 In this case, if we're switching to only support JDK 1.7, but if I
 have JDK 1.6 in my path ahead of 1.7, I believe we will re-create that
 same problem.

 Here is what kurt@ had to say at the time:

 there is nothing wrong with devel/intellij not using javaPathHelper since
 it only works with one JDK. javaPathHelper is intended to help with ports
 that
 can run with multiple JDK's. Its use for intellij is overkill, IMO.

 I think maybe we should document why intellij does not use JPH because
 this one is not at all obvious.


I think there is another approach: idea.sh initially supports IDEA_JDK
envvar. Thus we could have the following in patched idea.sh:

JDK=${IDEA_JDK:-`javaPathHelper -h intellij`}

This way we'll have both standard way of defining JDK and option to set JDK
personally for IDEA. What do you think?

--
  WBR,
  Vadim Zhukov


devel/libdnet: fix for upcoming SIOCSIF{NET,DST}MASK change

2013-05-10 Thread Martin Pieuchot
The diff below prevents libdnet to issue an unneeded SIOCSIFNETMASK
ioctl(2) prior to SIOCSIFADDR.

I'd like to commit this change because I'm about to change the behavior
of the SIOCSIFNETMASK and SIOCSIFDSTMASK ioctl(2)s in such way that they
will fail if the interface has no previous configured IPv4 address. 

This port is the only one that I've seen that makes an incorrect use of
this ioctl(2)s, if you are aware of another, please let me know.

Ok?

Index: Makefile
===
RCS file: /home/ncvs/ports/net/libdnet/Makefile,v
retrieving revision 1.36
diff -u -p -r1.36 Makefile
--- Makefile21 Mar 2013 08:46:34 -  1.36
+++ Makefile8 May 2013 14:38:10 -
@@ -7,7 +7,7 @@ MODPY_EGG_VERSION= 1.12
 DISTNAME=  libdnet-${MODPY_EGG_VERSION}
 PKGNAME-main=  ${DISTNAME}
 PKGNAME-python= py-${DISTNAME}
-REVISION=  6
+REVISION=  7
 
 SHARED_LIBS=   dnet1.0
 
Index: patches/patch-src_intf_c
===
RCS file: /home/ncvs/ports/net/libdnet/patches/patch-src_intf_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_intf_c
--- patches/patch-src_intf_c16 Nov 2012 17:05:13 -  1.1
+++ patches/patch-src_intf_c8 May 2013 14:38:10 -
@@ -1,6 +1,10 @@
 $OpenBSD: patch-src_intf_c,v 1.1 2012/11/16 17:05:13 sthen Exp $
 src/intf.c.origWed Nov 14 04:15:30 2012
-+++ src/intf.c Wed Nov 14 04:16:33 2012
+
+Do not issue an SIOCSIFNETMASK before SIOCSIFADDR it is not
+needed even if the XXX says otherwise.
+
+--- src/intf.c.origMon Jan  9 08:09:49 2006
 src/intf.c Thu Apr 11 16:16:02 2013
 @@ -66,7 +66,13 @@
  /* XXX - superset of ifreq, for portable SIOC{A,D}IFADDR */
  struct dnet_ifaliasreq {
@@ -16,3 +20,12 @@ $OpenBSD: patch-src_intf_c,v 1.1 2012/11
struct sockaddr ifra_brdaddr;
struct sockaddr ifra_mask;
int ifra_cookie;/* XXX - IRIX!@#$ */
+@@ -281,7 +287,7 @@ intf_set(intf_t *intf, const struct intf_entry *entry)
+   }
+   /* Set interface address. */
+   if (entry-intf_addr.addr_type == ADDR_TYPE_IP) {
+-#ifdef BSD
++#if defined(BSD)  !defined(__OpenBSD__)
+   /* XXX - why must this happen before SIOCSIFADDR? */
+   if (addr_btos(entry-intf_addr.addr_bits,
+   ifr.ifr_addr) == 0) {



Re: devel/libdnet: fix for upcoming SIOCSIF{NET,DST}MASK change

2013-05-10 Thread Giovanni Bechis
On 05/10/13 09:08, Martin Pieuchot wrote:
 The diff below prevents libdnet to issue an unneeded SIOCSIFNETMASK
 ioctl(2) prior to SIOCSIFADDR.
 
 I'd like to commit this change because I'm about to change the behavior
 of the SIOCSIFNETMASK and SIOCSIFDSTMASK ioctl(2)s in such way that they
 will fail if the interface has no previous configured IPv4 address. 
 
 This port is the only one that I've seen that makes an incorrect use of
 this ioctl(2)s, if you are aware of another, please let me know.
 
I think that this is needed as well, nmap uses its own modified libdnet.
 Cheers
  Giovanni

Index: Makefile
===
RCS file: /cvs/ports/net/nmap/Makefile,v
retrieving revision 1.106
diff -u -p -u -p -r1.106 Makefile
--- Makefile	11 Mar 2013 11:35:50 -	1.106
+++ Makefile	10 May 2013 07:56:39 -
@@ -6,6 +6,7 @@ COMMENT-zenmap=	graphical frontend for n
 MODPY_EGG_VERSION=	6.25
 DISTNAME=		nmap-${MODPY_EGG_VERSION}
 PKGNAME-main=		${DISTNAME}
+REVISION-main=		0
 PKGNAME-zenmap=		nmap-zenmap-${MODPY_EGG_VERSION}
 
 CATEGORIES=	net security
Index: patches/patch-libdnet-stripped_src_intf_c
===
RCS file: /cvs/ports/net/nmap/patches/patch-libdnet-stripped_src_intf_c,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-libdnet-stripped_src_intf_c
--- patches/patch-libdnet-stripped_src_intf_c	19 Dec 2012 17:12:11 -	1.2
+++ patches/patch-libdnet-stripped_src_intf_c	10 May 2013 07:56:39 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-libdnet-stripped_src_intf_c,v 1.2 2012/12/19 17:12:11 giovanni Exp $
 --- libdnet-stripped/src/intf.c.orig	Mon Sep 10 03:17:28 2012
-+++ libdnet-stripped/src/intf.c	Fri Nov 30 12:41:47 2012
 libdnet-stripped/src/intf.c	Fri May 10 09:54:54 2013
 @@ -77,7 +77,13 @@
  /* XXX - superset of ifreq, for portable SIOC{A,D}IFADDR */
  struct dnet_ifaliasreq {
@@ -16,3 +16,12 @@ $OpenBSD: patch-libdnet-stripped_src_int
  	struct sockaddr ifra_brdaddr;
  	struct sockaddr ifra_mask;
  	int		ifra_cookie;	/* XXX - IRIX!@#$ */
+@@ -308,7 +314,7 @@ intf_set(intf_t *intf, const struct intf_entry *entry)
+ 	}
+ 	/* Set interface address. */
+ 	if (entry-intf_addr.addr_type == ADDR_TYPE_IP) {
+-#ifdef BSD
++#if definet(BSD)  !defined(__OpenBSD__)
+ 		/* XXX - why must this happen before SIOCSIFADDR? */
+ 		if (addr_btos(entry-intf_addr.addr_bits,
+ 		ifr.ifr_addr) == 0) {


Re: devel/libdnet: fix for upcoming SIOCSIF{NET,DST}MASK change

2013-05-10 Thread Giovanni Bechis
On 05/10/13 09:57, Giovanni Bechis wrote:
 On 05/10/13 09:08, Martin Pieuchot wrote:
 The diff below prevents libdnet to issue an unneeded SIOCSIFNETMASK
 ioctl(2) prior to SIOCSIFADDR.

 I'd like to commit this change because I'm about to change the behavior
 of the SIOCSIFNETMASK and SIOCSIFDSTMASK ioctl(2)s in such way that they
 will fail if the interface has no previous configured IPv4 address. 

 This port is the only one that I've seen that makes an incorrect use of
 this ioctl(2)s, if you are aware of another, please let me know.

 I think that this is needed as well, nmap uses its own modified libdnet.
  Cheers
   Giovanni
 
s/definet/defined/
 Sorry
  Giovanni
Index: Makefile
===
RCS file: /cvs/ports/net/nmap/Makefile,v
retrieving revision 1.106
diff -u -p -u -p -r1.106 Makefile
--- Makefile	11 Mar 2013 11:35:50 -	1.106
+++ Makefile	10 May 2013 08:06:55 -
@@ -6,6 +6,7 @@ COMMENT-zenmap=	graphical frontend for n
 MODPY_EGG_VERSION=	6.25
 DISTNAME=		nmap-${MODPY_EGG_VERSION}
 PKGNAME-main=		${DISTNAME}
+REVISION-main=		0
 PKGNAME-zenmap=		nmap-zenmap-${MODPY_EGG_VERSION}
 
 CATEGORIES=	net security
Index: patches/patch-libdnet-stripped_src_intf_c
===
RCS file: /cvs/ports/net/nmap/patches/patch-libdnet-stripped_src_intf_c,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-libdnet-stripped_src_intf_c
--- patches/patch-libdnet-stripped_src_intf_c	19 Dec 2012 17:12:11 -	1.2
+++ patches/patch-libdnet-stripped_src_intf_c	10 May 2013 08:06:55 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-libdnet-stripped_src_intf_c,v 1.2 2012/12/19 17:12:11 giovanni Exp $
 --- libdnet-stripped/src/intf.c.orig	Mon Sep 10 03:17:28 2012
-+++ libdnet-stripped/src/intf.c	Fri Nov 30 12:41:47 2012
 libdnet-stripped/src/intf.c	Fri May 10 09:54:54 2013
 @@ -77,7 +77,13 @@
  /* XXX - superset of ifreq, for portable SIOC{A,D}IFADDR */
  struct dnet_ifaliasreq {
@@ -16,3 +16,12 @@ $OpenBSD: patch-libdnet-stripped_src_int
  	struct sockaddr ifra_brdaddr;
  	struct sockaddr ifra_mask;
  	int		ifra_cookie;	/* XXX - IRIX!@#$ */
+@@ -308,7 +314,7 @@ intf_set(intf_t *intf, const struct intf_entry *entry)
+ 	}
+ 	/* Set interface address. */
+ 	if (entry-intf_addr.addr_type == ADDR_TYPE_IP) {
+-#ifdef BSD
++#if defined(BSD)  !defined(__OpenBSD__)
+ 		/* XXX - why must this happen before SIOCSIFADDR? */
+ 		if (addr_btos(entry-intf_addr.addr_bits,
+ 		ifr.ifr_addr) == 0) {


Re: devel/libdnet: fix for upcoming SIOCSIF{NET,DST}MASK change

2013-05-10 Thread Stuart Henderson
I doubt this is actually used in nmap, but it makes sense to
keep it in-sync. OK.


On 2013/05/10 10:07, Giovanni Bechis wrote:
 On 05/10/13 09:57, Giovanni Bechis wrote:
  On 05/10/13 09:08, Martin Pieuchot wrote:
  The diff below prevents libdnet to issue an unneeded SIOCSIFNETMASK
  ioctl(2) prior to SIOCSIFADDR.
 
  I'd like to commit this change because I'm about to change the behavior
  of the SIOCSIFNETMASK and SIOCSIFDSTMASK ioctl(2)s in such way that they
  will fail if the interface has no previous configured IPv4 address. 
 
  This port is the only one that I've seen that makes an incorrect use of
  this ioctl(2)s, if you are aware of another, please let me know.
 
  I think that this is needed as well, nmap uses its own modified libdnet.
   Cheers
Giovanni
  
 s/definet/defined/
  Sorry
   Giovanni

 Index: Makefile
 ===
 RCS file: /cvs/ports/net/nmap/Makefile,v
 retrieving revision 1.106
 diff -u -p -u -p -r1.106 Makefile
 --- Makefile  11 Mar 2013 11:35:50 -  1.106
 +++ Makefile  10 May 2013 08:06:55 -
 @@ -6,6 +6,7 @@ COMMENT-zenmap=   graphical frontend for n
  MODPY_EGG_VERSION=   6.25
  DISTNAME=nmap-${MODPY_EGG_VERSION}
  PKGNAME-main=${DISTNAME}
 +REVISION-main=   0
  PKGNAME-zenmap=  nmap-zenmap-${MODPY_EGG_VERSION}
  
  CATEGORIES=  net security
 Index: patches/patch-libdnet-stripped_src_intf_c
 ===
 RCS file: /cvs/ports/net/nmap/patches/patch-libdnet-stripped_src_intf_c,v
 retrieving revision 1.2
 diff -u -p -u -p -r1.2 patch-libdnet-stripped_src_intf_c
 --- patches/patch-libdnet-stripped_src_intf_c 19 Dec 2012 17:12:11 -  
 1.2
 +++ patches/patch-libdnet-stripped_src_intf_c 10 May 2013 08:06:55 -
 @@ -1,6 +1,6 @@
  $OpenBSD: patch-libdnet-stripped_src_intf_c,v 1.2 2012/12/19 17:12:11 
 giovanni Exp $
  --- libdnet-stripped/src/intf.c.orig Mon Sep 10 03:17:28 2012
 -+++ libdnet-stripped/src/intf.c  Fri Nov 30 12:41:47 2012
  libdnet-stripped/src/intf.c  Fri May 10 09:54:54 2013
  @@ -77,7 +77,13 @@
   /* XXX - superset of ifreq, for portable SIOC{A,D}IFADDR */
   struct dnet_ifaliasreq {
 @@ -16,3 +16,12 @@ $OpenBSD: patch-libdnet-stripped_src_int
   struct sockaddr ifra_brdaddr;
   struct sockaddr ifra_mask;
   int ifra_cookie;/* XXX - IRIX!@#$ */
 +@@ -308,7 +314,7 @@ intf_set(intf_t *intf, const struct intf_entry *entry)
 + }
 + /* Set interface address. */
 + if (entry-intf_addr.addr_type == ADDR_TYPE_IP) {
 +-#ifdef BSD
 ++#if defined(BSD)  !defined(__OpenBSD__)
 + /* XXX - why must this happen before SIOCSIFADDR? */
 + if (addr_btos(entry-intf_addr.addr_bits,
 + ifr.ifr_addr) == 0) {



Re: devel/libdnet: fix for upcoming SIOCSIF{NET,DST}MASK change

2013-05-10 Thread Giovanni Bechis
On 05/10/13 12:49, Stuart Henderson wrote:
 I doubt this is actually used in nmap, but it makes sense to
 keep it in-sync. OK.
 
actually it is never called.
 Cheers
  Giovanni



Re: devel/libdnet: fix for upcoming SIOCSIF{NET,DST}MASK change

2013-05-10 Thread Martin Pieuchot
On 10/05/13(Fri) 12:59, Giovanni Bechis wrote:
 On 05/10/13 12:49, Stuart Henderson wrote:
  I doubt this is actually used in nmap, but it makes sense to
  keep it in-sync. OK.
  
 actually it is never called.

Event if it's not called, it think that it makes sense to commit it as
long as nmap use its on copy of libdnet. It's some kind of documentation
and to make sure it wont break if it starts to be used.

Obviously ok mpi@.

M.



QEMU 1.5.0-rc1

2013-05-10 Thread Brad Smith
To anyone interested in testing QEMU 1.5 with the rc1 release..


Index: Makefile
===
RCS file: /home/cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.104
diff -u -p -r1.104 Makefile
--- Makefile19 Apr 2013 02:47:43 -  1.104
+++ Makefile10 May 2013 01:30:01 -
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS= amd64 i386 powerpc sparc
 
 COMMENT=   multi system emulator
 
-DISTNAME=  qemu-1.4.1
+DISTNAME=  qemu-1.5.0-rc1
 CATEGORIES=emulators
 MASTER_SITES=  http://wiki.qemu.org/download/
 EXTRACT_SUFX=  .tar.bz2
@@ -17,7 +17,7 @@ MAINTAINER=   Brad Smith b...@comstyle.co
 PERMIT_PACKAGE_CDROM=  Yes
 
 WANTLIB=   GL SDL X11 c curl glib-2.0 gnutls gthread-2.0 jpeg m ncurses \
-   pixman-1 png pthread pthread-stubs util z
+   pixman-1 png pthread pthread-stubs ssh2 util z
 
 MODULES=   devel/gettext \
lang/python
@@ -27,7 +27,8 @@ LIB_DEPENDS=  devel/glib2 \
graphics/jpeg \
graphics/png \
net/curl \
-   security/gnutls
+   security/gnutls \
+   security/libssh2
 
 MODPY_RUNDEP=  No
 
@@ -57,7 +58,9 @@ CONFIGURE_ARGS=   --prefix=${PREFIX} \
--extra-ldflags=${EXTRA_LDFLAGS} \
--audio-drv-list=sdl \
--disable-bsd-user \
+   --disable-gtk \
--disable-libiscsi \
+   --disable-libusb \
--disable-smartcard-nss \
--disable-spice \
--disable-uuid \
Index: distinfo
===
RCS file: /home/cvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.27
diff -u -p -r1.27 distinfo
--- distinfo19 Apr 2013 02:47:43 -  1.27
+++ distinfo8 May 2013 23:16:00 -
@@ -1,2 +1,2 @@
-SHA256 (qemu-1.4.1.tar.bz2) = dQY6kyYiFgfeNZnon7WvgPLYCA3cVcolP/8ROENDLfE=
-SIZE (qemu-1.4.1.tar.bz2) = 10417738
+SHA256 (qemu-1.5.0-rc1.tar.bz2) = Habfkuf8bGUg1l0VAEa7tFC/6Ag5UpWIFZd37Bsyo1k=
+SIZE (qemu-1.5.0-rc1.tar.bz2) = 11932546
Index: patches/patch-Makefile_objs
===
RCS file: patches/patch-Makefile_objs
diff -N patches/patch-Makefile_objs
--- patches/patch-Makefile_objs 19 Apr 2013 02:47:43 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,21 +0,0 @@
-$OpenBSD: patch-Makefile_objs,v 1.1 2013/04/19 02:47:43 brad Exp $
 Makefile.objs.orig Fri Feb 15 18:05:35 2013
-+++ Makefile.objs  Sun Apr 14 04:06:36 2013
-@@ -16,16 +16,7 @@ block-obj-y += qapi-types.o qapi-visit.o
- 
- block-obj-y += qemu-coroutine.o qemu-coroutine-lock.o qemu-coroutine-io.o
- block-obj-y += qemu-coroutine-sleep.o
--ifeq ($(CONFIG_UCONTEXT_COROUTINE),y)
--block-obj-$(CONFIG_POSIX) += coroutine-ucontext.o
--else
--ifeq ($(CONFIG_SIGALTSTACK_COROUTINE),y)
--block-obj-$(CONFIG_POSIX) += coroutine-sigaltstack.o
--else
--block-obj-$(CONFIG_POSIX) += coroutine-gthread.o
--endif
--endif
--block-obj-$(CONFIG_WIN32) += coroutine-win32.o
-+block-obj-y += coroutine-$(CONFIG_COROUTINE_BACKEND).o
- 
- ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy)
- # Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/emulators/qemu/patches/patch-configure,v
retrieving revision 1.31
diff -u -p -r1.31 patch-configure
--- patches/patch-configure 19 Apr 2013 02:47:43 -  1.31
+++ patches/patch-configure 8 May 2013 10:46:52 -
@@ -1,95 +1,7 @@
 $OpenBSD: patch-configure,v 1.31 2013/04/19 02:47:43 brad Exp $
 configure.orig Mon Apr 15 16:25:18 2013
-+++ configure  Mon Apr 15 20:55:05 2013
-@@ -3035,34 +3035,67 @@ fi
- ##
- # check and set a backend for coroutine
- 
--# default is ucontext, but always fallback to gthread
--# windows autodetected by make
--if test $coroutine =  -o $coroutine = ucontext; then
--  if test $darwin != yes; then
--cat  $TMPC  EOF
-+# We prefer ucontext, but it's not always possible. The fallback
-+# is sigcontext. gthread is not selectable except explicitly, because
-+# it is not functional enough to run QEMU proper. (It is occasionally
-+# useful for debugging purposes.)  On Windows the only valid backend
-+# is the Windows-specific one.
-+
-+ucontext_works=no
-+if test $darwin != yes; then
-+  cat  $TMPC  EOF
- #include ucontext.h
- #ifdef __stub_makecontext
- #error Ignoring glibc stub makecontext which will always fail
- #endif
- int main(void) { makecontext(0, 0, 0); return 0; }
- EOF
--if compile_prog   ; then
--coroutine_backend=ucontext
--else
--  coroutine_backend=gthread
--fi
-+  if compile_prog   ; then
-+ucontext_works=yes
-   fi
--elif test $coroutine = gthread ; then
--  coroutine_backend=gthread
--elif test 

new: backdir-20135056

2013-05-10 Thread James Turner
Attached is a new port for backdir a simple tool that backs up normal
files in the current directory to a backups folder. Think of it as a
poor mans vcs. Tested on amd64 and loongson. oks?

Information for inst:backdir-20135056

Comment:
backs up files in a directory

Description:
Backdir is a simple tool that backs up every normal, non-executable file
in the current directory to a subdirectory named backups, creating the
directory if it doesn't already exist. It uses the files last modified
date and time as part of the filename. If a file hasn't been changed
since the last time backdir was ran the file will be skipped.

Maintainer: James Turner ja...@calminferno.net

WWW: http://ab1jx.webs.com/calcs/backdir/index.html

-- 
James Turner


backdir.tar
Description: Unix tar archive


new: mimetic-0.9.7

2013-05-10 Thread James Turner
Attached is a new port for mimetic, which is a C++ MIME library. This is
a prereq for another port I'm working on. This is the first time I'm
submitting a port that uses SHARED_LIBS. It looks like everything is
working correctly put feel free to point out my mistakes.

Tested on amd64 and loongson. ok?

Information for inst:mimetic-0.9.7

Comment:
C++ MIME library

Description:
mimetic is a MIME library written in C++ designed to by easy to use and
integrate but yet fast and efficient.

Maintainer: James Turner ja...@calminferno.net

WWW: http://www.codesink.org/mimetic_mime_library.html

-- 
James Turner


mimetic.tar
Description: Unix tar archive


[UPDATE] lang/mawk

2013-05-10 Thread Jérémie Courrèges-Anglas
Hi,

here's an update for lang/mawk

Some notes:
- patch gone
- new maintainer (Thomas Dickey), MASTER_SITES, etc
- lots of bugfixes
- compatibility with BWK and Gawk improved

-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Index: Makefile
===
RCS file: /cvs/ports/lang/mawk/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile11 Mar 2013 11:20:28 -  1.23
+++ Makefile11 May 2013 00:31:18 -
@@ -2,25 +2,21 @@
 
 COMMENT=   fast POSIX-compliant awk
 
-DISTNAME=  mawk-1.3.3
-REVISION=  0
-DISTFILES= ${DISTNAME:S,-,,}.tar.gz
+DISTNAME=  mawk-1.3.4-20130219
+PKGNAME=   mawk-1.3.4.20130219
 CATEGORIES=lang
-MASTER_SITES=  ${MASTER_SITE_BACKUP}
+MASTER_SITES=  ftp://invisible-island.net/mawk/
+EXTRACT_SUFX=  .tgz
+
+HOMEPAGE=  http://invisible-island.net/mawk/
 
 # GPL V2
 PERMIT_PACKAGE_CDROM=  Yes
 
 WANTLIB=   c m
 
-CONFIGURE_STYLE= gnu old
+CONFIGURE_STYLE= gnu
 
-ALL_TARGET=mawk
-TEST_TARGET=   mawk_test
 USE_GROFF =Yes
-
-do-install:
-   ${INSTALL_PROGRAM} ${WRKBUILD}/mawk ${PREFIX}/bin
-   ${INSTALL_MAN} ${WRKSRC}/man/mawk.1 ${PREFIX}/man/man1
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/lang/mawk/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 16:20:00 -   1.3
+++ distinfo10 May 2013 18:57:25 -
@@ -1,5 +1,2 @@
-MD5 (mawk1.3.3.tar.gz) = rUZ0NkGSThI0sr+6kmQQhQ==
-RMD160 (mawk1.3.3.tar.gz) = 8ck5qgMux/XoFXqUQNNSDy7MhQE=
-SHA1 (mawk1.3.3.tar.gz) = MUvNtlQ3M/R+9NnZNWsj9T1qf4k=
-SHA256 (mawk1.3.3.tar.gz) = MmScRgY9TvB3ehKubpomvMkggz1U4avKftuNN0gedIU=
-SIZE (mawk1.3.3.tar.gz) = 209942
+SHA256 (mawk-1.3.4-20130219.tgz) = A4KqxxFPQJr+iObxkSjsof68YKGtYbRNusxpv47g+T4=
+SIZE (mawk-1.3.4-20130219.tgz) = 354004
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 6 Jan 2004 02:28:12 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-configure,v 1.1 2004/01/06 02:28:12 espie Exp $
 configure.orig 2004-01-06 03:24:49.0 +0100
-+++ configure  2004-01-06 03:25:10.0 +0100
-@@ -529,7 +529,7 @@ cat  conftest.$ac_ext EOF
- 
- int main() { return 0; }
- int t() {
--log()
-+log(5.0)
- ; return 0; }
- EOF
- if eval $ac_link; then
Index: pkg/DESCR
===
RCS file: /cvs/ports/lang/mawk/pkg/DESCR,v
retrieving revision 1.2
diff -u -p -r1.2 DESCR
--- pkg/DESCR   16 Apr 2007 00:04:32 -  1.2
+++ pkg/DESCR   10 May 2013 23:28:21 -
@@ -1,13 +1 @@
-mawk is a new, fast reimplementation of the AWK language.
-
-Version 1.3 implements a new internal design for arrays:
-
-Extensive redesign of array data structures to support large arrays and
-fast access to arrays created with split.  Many of the ideas in the
-new design were inspired by reading The Design and Implementation of
-Dynamic Hashing Sets and Tables in Icon by William Griswold and
-Gregg Townsend, SPE 23,351-367.
-
-Bug reports, comments, questions, etc. to 
-Mike Brennan, bren...@whidbey.com.
-ftp site: ftp.whidbey.net in ~/pub/brennan
+mawk is an interpreter for the AWK Programming Language.
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/mawk/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   15 Sep 2004 19:16:08 -  1.3
+++ pkg/PLIST   10 May 2013 18:50:33 -
@@ -1,3 +1,3 @@
 @comment $OpenBSD: PLIST,v 1.3 2004/09/15 19:16:08 espie Exp $
-bin/mawk
+@bin bin/mawk
 @man man/man1/mawk.1