Re: [update] databases/apache-couchdb to 1.3.1

2013-08-06 Thread Aaron
Ping :D

On Thu, Jul 18, 2013 at 10:34 AM, Aaron Bieber  wrote:
> Howdie!
>
> This diff updates databases/apache-couchdb to the latest, it also adds
> an rc script and sets me as MAINTAINER.
>
> OK? stick hits?
>
> Cheers,
> Aaron
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/databases/apache-couchdb/Makefile,v
> retrieving revision 1.18
> diff -u -p -r1.18 Makefile
> --- Makefile21 Mar 2013 08:45:14 -  1.18
> +++ Makefile18 Jul 2013 16:43:55 -
> @@ -2,13 +2,14 @@
>
>  COMMENT =  distributed, document-oriented database
>
> -COUCH_VER =1.0.4
> +COUCH_VER =1.3.1
>  DISTNAME = apache-couchdb-${COUCH_VER}
> -REVISION = 0
>  CATEGORIES =   databases
>
>  HOMEPAGE = http://couchdb.apache.org/
>
> +MAINTAINER =   Aaron Bieber 
> +
>  # Apache 2.0
>  PERMIT_PACKAGE_CDROM = Yes
>
> @@ -17,7 +18,7 @@ MODULES = devel/gettext
>  WANTLIB += c crypto curl icudata icui18n icuuc idn m mozjs ncurses
>  WANTLIB += nspr4 plc4 plds4 pthread ssl stdc++ z
>
> -MASTER_SITES = ${MASTER_SITE_APACHE:=couchdb/${COUCH_VER}/}
> +MASTER_SITES = ${MASTER_SITE_APACHE:=couchdb/source/${COUCH_VER}/}
>
>  BUILD_DEPENDS =lang/erlang
>  RUN_DEPENDS =  lang/erlang
> Index: distinfo
> ===
> RCS file: /cvs/ports/databases/apache-couchdb/distinfo,v
> retrieving revision 1.8
> diff -u -p -r1.8 distinfo
> --- distinfo7 Feb 2013 16:06:43 -   1.8
> +++ distinfo18 Jul 2013 16:43:55 -
> @@ -1,2 +1,2 @@
> -SHA256 (apache-couchdb-1.0.4.tar.gz) = 
> uCBdwizsSuaRj6Zpo4wrvJWIN6ekd50i1Mwil6uvLw8=
> -SIZE (apache-couchdb-1.0.4.tar.gz) = 1042922
> +SHA256 (apache-couchdb-1.3.1.tar.gz) = 
> 4wUcsL5WBRPgyy1PywOkytTtpb84GhFTddEGeHXsimo=
> +SIZE (apache-couchdb-1.3.1.tar.gz) = 3381522
> Index: patches/patch-Makefile_in
> ===
> RCS file: /cvs/ports/databases/apache-couchdb/patches/patch-Makefile_in,v
> retrieving revision 1.8
> diff -u -p -r1.8 patch-Makefile_in
> --- patches/patch-Makefile_in   7 Feb 2013 16:06:43 -   1.8
> +++ patches/patch-Makefile_in   18 Jul 2013 16:43:55 -
> @@ -1,7 +1,7 @@
>  $OpenBSD: patch-Makefile_in,v 1.8 2013/02/07 16:06:43 jasper Exp $
>  Makefile.in.orig   Thu Dec 20 22:00:16 2012
> -+++ Makefile.inTue Jan 15 21:25:59 2013
> -@@ -332,18 +332,18 @@ version_stage = @version_stage@
> +--- Makefile.in.orig   Mon Jun 10 05:21:48 2013
>  Makefile.inThu Jul 18 09:36:16 2013
> +@@ -345,18 +345,18 @@ version_stage = @version_stage@
>   SUBDIRS = bin etc src share test var utils
>   ACLOCAL_AMFLAGS = -I m4
>   localdoc_DATA = \
> @@ -27,7 +27,7 @@ $OpenBSD: patch-Makefile_in,v 1.8 2013/0
>  +LICENSE \
>  +NEWS \
>  +NOTICE \
> -+README \
> ++README.rst \
>  +THANKS
>
>   DISTCLEANFILES = $(localdoc_DATA)
> Index: patches/patch-src_couchdb_priv_couch_js_http_c
> ===
> RCS file: patches/patch-src_couchdb_priv_couch_js_http_c
> diff -N patches/patch-src_couchdb_priv_couch_js_http_c
> --- patches/patch-src_couchdb_priv_couch_js_http_c  10 Apr 2011 17:28:38 
> -  1.1
> +++ /dev/null   1 Jan 1970 00:00:00 -
> @@ -1,26 +0,0 @@
> -$OpenBSD: patch-src_couchdb_priv_couch_js_http_c,v 1.1 2011/04/10 17:28:38 
> jasper Exp $
> -
> -"Starting in SpiderMonkey 1.8.5, jsval can store a full 32-bit integer, so 
> this
> -check isn't needed any longer for 32-bit integers."
> -
>  src/couchdb/priv/couch_js/http.c.orig  Fri Apr  1 09:35:22 2011
> -+++ src/couchdb/priv/couch_js/http.c   Fri Apr  1 09:37:23 2011
> -@@ -286,16 +286,8 @@ status(JSContext* cx, JSObject* obj, jsval idval, jsva
> - return JS_FALSE;
> - }
> -
> --if(INT_FITS_IN_JSVAL(http->last_status))
> --{
> --*vp = INT_TO_JSVAL(http->last_status);
> --return JS_TRUE;
> --}
> --else
> --{
> --JS_ReportError(cx, "INTERNAL: Invalid last_status");
> --return JS_FALSE;
> --}
> -+*vp = INT_TO_JSVAL(http->last_status);
> -+return JS_TRUE;
> - }
> -
> - JSClass CouchHTTPClass = {
> Index: pkg/MESSAGE
> ===
> RCS file: pkg/MESSAGE
> diff -N pkg/MESSAGE
> --- pkg/MESSAGE 16 Mar 2009 22:05:59 -  1.1.1.1
> +++ /dev/null   1 Jan 1970 00:00:00 -
> @@ -1,18 +0,0 @@
> -To start CouchDB at boot and shut it down when the system goes down,
> -add the following lines to /etc/rc.local and /etc/rc.shutdown, respectively:
> -
> -/etc/rc.local:
> -
> -if [ -x ${TRUEPREFIX}/bin/couchdb ]; then
> -   echo -n ' couchdb'
> -   install -d -o _couchdb /var/run/couchdb
> -   su -l _couchdb -c "${TRUEPREFIX}/bin/couchdb -b -p \
> -   /var/run/couchdb/couchdb.pid" >/dev/null
> -fi
> -
> -/etc/rc.shutdown:
> -
> -if [ -r /var/run/couchdb/couchdb.pid ]; the

fix libreoffice build with gcc 4.8

2013-08-06 Thread Pascal Stumpf
Just needs unistd.h in two places for _exit().  With this patch in, I
*think* there's nothing in the way of switching to 4.8 per default.


Index: patches/patch-configure_ac
===
RCS file: 
/home/pascal/cvs/ports/editors/libreoffice/patches/patch-configure_ac,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure_ac
--- patches/patch-configure_ac  19 Jun 2013 09:11:24 -  1.2
+++ patches/patch-configure_ac  18 Jul 2013 09:18:06 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure_ac,v 1.2 2013/06/19 09:11:24 sthen Exp $
 configure.ac.orig.port Thu May  2 09:55:29 2013
-+++ configure.ac   Tue Jun 18 18:35:01 2013
-@@ -7684,7 +7684,7 @@ if test "x$enable_postgresql_sdbc" != "xno"; then
+--- configure.ac.orig.port Tue Jun 11 11:33:38 2013
 configure.ac   Wed Jul 17 09:56:05 2013
+@@ -7685,7 +7685,7 @@ if test "x$enable_postgresql_sdbc" != "xno"; then
  if test "$with_gssapi" != "no"; then
  WITH_GSSAPI=YES
  save_LIBS=$LIBS
@@ -10,7 +10,7 @@ $OpenBSD: patch-configure_ac,v 1.2 2013/
  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' 
required for GSSAPI])])
  LIBS=$save_LIBS
  fi
-@@ -10187,11 +10187,11 @@ if test "$test_kde" = "yes" -a "$ENABLE_KDE" = 
"TRUE";
+@@ -10195,11 +10195,11 @@ if test "$test_kde" = "yes" -a "$ENABLE_KDE" = 
"TRUE";
  kde_libdirs="/usr/lib64/kde/lib64 /usr/local/kde/lib64 /usr/kde/lib64 
/usr/lib64/kde /usr/lib64/kde3 /usr/X11R6/lib64 /usr/local/lib64 
/opt/kde3/lib64 /opt/kde/lib64 /usr/X11R6/kde/lib64 /usr/lib/kde/lib 
/usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/lib 
/usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib 
/usr/lib64 $x_libraries"
  fi
  if test -n "$KDEDIR"; then
Index: patches/patch-desktop_source_app_app_cxx
===
RCS file: 
/home/pascal/cvs/ports/editors/libreoffice/patches/patch-desktop_source_app_app_cxx,v
retrieving revision 1.3
diff -u -p -r1.3 patch-desktop_source_app_app_cxx
--- patches/patch-desktop_source_app_app_cxx21 Jun 2013 06:07:58 -  
1.3
+++ patches/patch-desktop_source_app_app_cxx18 Jul 2013 09:18:03 -
@@ -1,7 +1,16 @@
 $OpenBSD: patch-desktop_source_app_app_cxx,v 1.3 2013/06/21 06:07:58 robert 
Exp $
 desktop/source/app/app.cxx.orig.port   Fri Jun 21 00:00:29 2013
-+++ desktop/source/app/app.cxx Thu Jun 20 23:58:35 2013
-@@ -631,7 +631,7 @@ void Desktop::DeInit()
+--- desktop/source/app/app.cxx.orig.port   Tue Jun 11 11:33:38 2013
 desktop/source/app/app.cxx Thu Jul 18 10:49:52 2013
+@@ -104,6 +104,8 @@
+ #include 
+ #endif
+ 
++#include 
++
+ #ifdef WNT
+ #ifdef _MSC_VER
+ #pragma warning(push, 1) /* disable warnings within system headers */
+@@ -631,7 +633,7 @@ void Desktop::DeInit()
  // clear lockfile
  m_xLockfile.reset();
  
Index: patches/patch-vcl_unx_generic_app_wmadaptor_cxx
===
RCS file: patches/patch-vcl_unx_generic_app_wmadaptor_cxx
diff -N patches/patch-vcl_unx_generic_app_wmadaptor_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-vcl_unx_generic_app_wmadaptor_cxx 20 Jul 2013 16:28:29 
-
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- vcl/unx/generic/app/wmadaptor.cxx.orig.portSat Jul 20 16:44:59 2013
 vcl/unx/generic/app/wmadaptor.cxx  Sat Jul 20 16:45:21 2013
+@@ -21,6 +21,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "sal/alloca.h"
+ #include "rtl/locale.h"



Re: [NEW] security/py-pefile

2013-08-06 Thread Remi Pointel
On Tue, 23 Jul 2013 10:00:46 +0200
Remi Pointel  wrote:
> Hi,
> 
> this is the port of pefile, a Python module to read and work with PE 
> files.
> 
> Critical positive or negative would be appreciated ;-).
> 
> Few information :
> 
> 
> $ pkg_info py-pefile
> Information for inst:py-pefile-1.2.10.123
> 
> Comment:
> Python module to read and work with PE files
> 
> Description:
> pefile is a multi-platform Python module to read and work with Portable
> Executable (aka PE) files. Most of the information in the PE Header is
> accessible, as well as all the sections, section's information and 
> data.
> 
> Maintainer: Remi Pointel 
> 
> WWW: https://code.google.com/p/pefile/
> 
> 
> 
> Cheers,

Now ports is unlocked, any ok?

Cheers,

Remi.



Update: net/transmission 2.81

2013-08-06 Thread Christian Weisgerber
Update net/transmission to 2.81 for some bug fixes.
As usual this could use some testing.  I'm finding myself using
BitTorrent less and less.

Index: Makefile
===
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.88
diff -u -p -r1.88 Makefile
--- Makefile12 Jul 2013 17:03:59 -  1.88
+++ Makefile6 Aug 2013 18:46:48 -
@@ -4,7 +4,7 @@ COMMENT-main=   BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=BitTorrent client with Qt interface
 
-VER=   2.80
+VER=   2.81
 DISTNAME=  transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
Index: distinfo
===
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo12 Jul 2013 17:03:59 -  1.45
+++ distinfo6 Aug 2013 18:46:48 -
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.80.tar.xz) = 
DqC8YuORfOTLhIWCiI7NzQwNvo/7lILXMwyCPh/xXfM=
-SIZE (transmission-2.80.tar.xz) = 3167136
+SHA256 (transmission-2.81.tar.xz) = 
u7Vx9YJUZqpF5u9K0oYXYTWhqcAjT/6jUn69gAHMVqs=
+SIZE (transmission-2.81.tar.xz) = 3167816
Index: patches/patch-libtransmission_platform-quota_c
===
RCS file: patches/patch-libtransmission_platform-quota_c
diff -N patches/patch-libtransmission_platform-quota_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libtransmission_platform-quota_c  6 Aug 2013 18:46:48 
-
@@ -0,0 +1,30 @@
+$OpenBSD$
+--- libtransmission/platform-quota.c.orig  Tue Jul 23 13:37:31 2013
 libtransmission/platform-quota.c   Tue Jul 23 13:39:38 2013
+@@ -18,7 +18,7 @@
+ 
+ #ifndef WIN32
+  #include  /* types needed by quota.h */
+- #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__)
+   #include  /* quotactl() */
+  #elif defined (__sun)
+   #include  /* quotactl */
+@@ -203,7 +203,7 @@ getquota (const char * device)
+   int64_t freespace;
+   int64_t spaceused;
+ 
+-#if defined(__FreeBSD__) || defined(SYS_DARWIN)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(SYS_DARWIN)
+   if (quotactl(device, QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t) &dq) 
== 0)
+ {
+ #elif defined(__sun)
+@@ -235,7 +235,7 @@ getquota (const char * device)
+   /* No quota enabled for this user */
+   return -1;
+ }
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__)
+   spaceused = (int64_t) dq.dqb_curblocks >> 1;
+ #elif defined(SYS_DARWIN)
+   spaceused = (int64_t) dq.dqb_curbytes;
Index: patches/patch-libtransmission_platform_c
===
RCS file: patches/patch-libtransmission_platform_c
diff -N patches/patch-libtransmission_platform_c
--- patches/patch-libtransmission_platform_c12 Jul 2013 17:03:59 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,30 +0,0 @@
-$OpenBSD: patch-libtransmission_platform_c,v 1.1 2013/07/12 17:03:59 naddy Exp 
$
 libtransmission/platform.c.origWed Jun 26 04:35:25 2013
-+++ libtransmission/platform.c Sat Jul  6 21:57:56 2013
-@@ -12,7 +12,7 @@
- 
- #ifndef WIN32
-  #include  /* types needed by quota.h */
-- #ifdef __FreeBSD__
-+ #if defined(__FreeBSD__) || defined(__OpenBSD__)
-   #include  /* quotactl() */
-  #elif defined (__sun)
-   #include  /* quotactl */
-@@ -751,7 +751,7 @@ getquota (const char * device)
-   int64_t freespace;
-   int64_t spaceused;
- 
--#if defined(__FreeBSD__) || defined(SYS_DARWIN)
-+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(SYS_DARWIN)
-   if (quotactl(device, QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t) &dq) 
== 0)
- {
- #elif defined(__sun)
-@@ -783,7 +783,7 @@ getquota (const char * device)
-   /* No quota enabled for this user */
-   return -1;
- }
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__OpenBSD__)
-   spaceused = (int64_t) dq.dqb_curblocks >> 1;
- #elif defined(SYS_DARWIN)
-   spaceused = (int64_t) dq.dqb_curbytes;
-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Outdated MASTER_SITE_NETBSD

2013-08-06 Thread Juan Francisco Cantero Hurtado

Index: network.conf.template
===
RCS file: /cvs/ports/infrastructure/templates/network.conf.template,v
retrieving revision 1.183
diff -u -p -r1.183 network.conf.template
--- network.conf.template   12 Jul 2013 00:49:23 -  1.183
+++ network.conf.template   6 Aug 2013 19:45:32 -
@@ -24,8 +24,8 @@ _MASTER_SITE_FREEBSD?=\
 
 # Default NetBSD backup site
 _MASTER_SITE_NETBSD?=  \
-   http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/${DIST_SUBDIR}/ \
-   ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/${DIST_SUBDIR}/
+   http://ftp.netbsd.org/pub/pkgsrc/distfiles/${DIST_SUBDIR}/ \
+   ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/${DIST_SUBDIR}/
 
 # Uncomment to retrieve from the OpenBSD sites only
 # MASTER_SITE_OPENBSD= Yes



x11/rdesktop: zap patches

2013-08-06 Thread Gleydson Soares

get rid of patches since that gcc 2.95 was removed from our base
tree.

these patches were merged to help this port build on that gcc version,
so now we can zap.

OK ?

Index: Makefile
===
RCS file: /cvs/ports/x11/rdesktop/Makefile,v
retrieving revision 1.39
diff -u -p -u -p -r1.39 Makefile
--- Makefile4 Jul 2013 15:12:34 -   1.39
+++ Makefile6 Aug 2013 19:33:41 -
@@ -2,7 +2,7 @@
 
 COMMENT=   open source client for Windows Terminal Server
 DISTNAME=  rdesktop-1.7.1
-REVISION=  1
+REVISION=  2
 CATEGORIES=x11 net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=rdesktop/}
 
Index: patches/patch-rdesktop_c
===
RCS file: patches/patch-rdesktop_c
diff -N patches/patch-rdesktop_c
--- patches/patch-rdesktop_c14 Mar 2012 18:36:04 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,39 +0,0 @@
-$OpenBSD: patch-rdesktop_c,v 1.2 2012/03/14 18:36:04 gsoares Exp $
-
-fix build with gcc-2.95
-
 rdesktop.c.origFri Nov 25 08:03:03 2011
-+++ rdesktop.c Tue Mar 13 13:53:08 2012
-@@ -473,6 +473,7 @@ main(int argc, char *argv[])
-   char *locale = NULL;
-   int username_option = 0;
-   RD_BOOL geometry_option = False;
-+  struct sigaction act;
- #ifdef WITH_RDPSND
-   char *rdpsnd_optarg = NULL;
- #endif
-@@ -488,7 +489,6 @@ main(int argc, char *argv[])
- #endif
- 
-   /* Ignore SIGPIPE, since we are using popen() */
--  struct sigaction act;
-   memset(&act, 0, sizeof(act));
-   act.sa_handler = SIG_IGN;
-   sigemptyset(&act.sa_mask);
-@@ -901,6 +901,7 @@ main(int argc, char *argv[])
- 
-   if (!username_option)
-   {
-+  int pwlen;
-   pw = getpwuid(getuid());
-   if ((pw == NULL) || (pw->pw_name == NULL))
-   {
-@@ -908,7 +909,7 @@ main(int argc, char *argv[])
-   return EX_OSERR;
-   }
-   /* +1 for trailing \0 */
--  int pwlen = strlen(pw->pw_name) + 1;
-+  pwlen = strlen(pw->pw_name) + 1;
-   g_username = (char *) xmalloc(pwlen);
-   STRNCPY(g_username, pw->pw_name, pwlen);
-   }
Index: patches/patch-xclip_c
===
RCS file: patches/patch-xclip_c
diff -N patches/patch-xclip_c
--- patches/patch-xclip_c   23 Jun 2011 15:17:13 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,22 +0,0 @@
-$OpenBSD: patch-xclip_c,v 1.1 2011/06/23 15:17:13 sebastia Exp $
-
-fix build with gcc-2.95
-
 xclip.c.orig   Wed Jun 22 16:17:57 2011
-+++ xclip.cWed Jun 22 16:18:21 2011
-@@ -158,6 +158,7 @@ utf16_lf2crlf(uint8 * data, uint32 * size)
-   uint8 *result;
-   uint16 *inptr, *outptr;
-   RD_BOOL swap_endianess;
-+  uint16 uvalue_previous = 0; /* Kept so we'll avoid translating 
CR-LF to CR-CR-LF */
- 
-   /* Worst case: Every char is LF */
-   result = xmalloc((*size * 2) + 2);
-@@ -170,7 +171,6 @@ utf16_lf2crlf(uint8 * data, uint32 * size)
-   /* Check for a reversed BOM */
-   swap_endianess = (*inptr == 0xfffe);
- 
--  uint16 uvalue_previous = 0; /* Kept so we'll avoid translating 
CR-LF to CR-CR-LF */
-   while ((uint8 *) inptr < data + *size)
-   {
-   uint16 uvalue = *inptr;


Re: x11/rdesktop: zap patches

2013-08-06 Thread Antoine Jacoutot
On Tue, Aug 06, 2013 at 05:06:36PM -0300, Gleydson Soares wrote:
> 
> get rid of patches since that gcc 2.95 was removed from our base
> tree.
> 
> these patches were merged to help this port build on that gcc version,
> so now we can zap.
> 
> OK ?

Would be better if you could walk the whole tree for these patches...

> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/rdesktop/Makefile,v
> retrieving revision 1.39
> diff -u -p -u -p -r1.39 Makefile
> --- Makefile  4 Jul 2013 15:12:34 -   1.39
> +++ Makefile  6 Aug 2013 19:33:41 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= open source client for Windows Terminal Server
>  DISTNAME=rdesktop-1.7.1
> -REVISION=1
> +REVISION=2
>  CATEGORIES=  x11 net
>  MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=rdesktop/}
>  
> Index: patches/patch-rdesktop_c
> ===
> RCS file: patches/patch-rdesktop_c
> diff -N patches/patch-rdesktop_c
> --- patches/patch-rdesktop_c  14 Mar 2012 18:36:04 -  1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,39 +0,0 @@
> -$OpenBSD: patch-rdesktop_c,v 1.2 2012/03/14 18:36:04 gsoares Exp $
> -
> -fix build with gcc-2.95
> -
>  rdesktop.c.orig  Fri Nov 25 08:03:03 2011
> -+++ rdesktop.c   Tue Mar 13 13:53:08 2012
> -@@ -473,6 +473,7 @@ main(int argc, char *argv[])
> - char *locale = NULL;
> - int username_option = 0;
> - RD_BOOL geometry_option = False;
> -+struct sigaction act;
> - #ifdef WITH_RDPSND
> - char *rdpsnd_optarg = NULL;
> - #endif
> -@@ -488,7 +489,6 @@ main(int argc, char *argv[])
> - #endif
> - 
> - /* Ignore SIGPIPE, since we are using popen() */
> --struct sigaction act;
> - memset(&act, 0, sizeof(act));
> - act.sa_handler = SIG_IGN;
> - sigemptyset(&act.sa_mask);
> -@@ -901,6 +901,7 @@ main(int argc, char *argv[])
> - 
> - if (!username_option)
> - {
> -+int pwlen;
> - pw = getpwuid(getuid());
> - if ((pw == NULL) || (pw->pw_name == NULL))
> - {
> -@@ -908,7 +909,7 @@ main(int argc, char *argv[])
> - return EX_OSERR;
> - }
> - /* +1 for trailing \0 */
> --int pwlen = strlen(pw->pw_name) + 1;
> -+pwlen = strlen(pw->pw_name) + 1;
> - g_username = (char *) xmalloc(pwlen);
> - STRNCPY(g_username, pw->pw_name, pwlen);
> - }
> Index: patches/patch-xclip_c
> ===
> RCS file: patches/patch-xclip_c
> diff -N patches/patch-xclip_c
> --- patches/patch-xclip_c 23 Jun 2011 15:17:13 -  1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,22 +0,0 @@
> -$OpenBSD: patch-xclip_c,v 1.1 2011/06/23 15:17:13 sebastia Exp $
> -
> -fix build with gcc-2.95
> -
>  xclip.c.orig Wed Jun 22 16:17:57 2011
> -+++ xclip.c  Wed Jun 22 16:18:21 2011
> -@@ -158,6 +158,7 @@ utf16_lf2crlf(uint8 * data, uint32 * size)
> - uint8 *result;
> - uint16 *inptr, *outptr;
> - RD_BOOL swap_endianess;
> -+uint16 uvalue_previous = 0; /* Kept so we'll avoid translating 
> CR-LF to CR-CR-LF */
> - 
> - /* Worst case: Every char is LF */
> - result = xmalloc((*size * 2) + 2);
> -@@ -170,7 +171,6 @@ utf16_lf2crlf(uint8 * data, uint32 * size)
> - /* Check for a reversed BOM */
> - swap_endianess = (*inptr == 0xfffe);
> - 
> --uint16 uvalue_previous = 0; /* Kept so we'll avoid translating 
> CR-LF to CR-CR-LF */
> - while ((uint8 *) inptr < data + *size)
> - {
> - uint16 uvalue = *inptr;


-- 
Antoine



Re: Outdated MASTER_SITE_NETBSD

2013-08-06 Thread Gleydson Soares

i...@juanfra.info writes:

> Index: network.conf.template
> ===
> RCS file: /cvs/ports/infrastructure/templates/network.conf.template,v
> retrieving revision 1.183
> diff -u -p -r1.183 network.conf.template
> --- network.conf.template 12 Jul 2013 00:49:23 -  1.183
> +++ network.conf.template 6 Aug 2013 19:45:32 -
> @@ -24,8 +24,8 @@ _MASTER_SITE_FREEBSD?=  \
>  
>  # Default NetBSD backup site
>  _MASTER_SITE_NETBSD?=\
> - http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/${DIST_SUBDIR}/ \
> - ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/${DIST_SUBDIR}/
> + http://ftp.netbsd.org/pub/pkgsrc/distfiles/${DIST_SUBDIR}/ \
> + ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/${DIST_SUBDIR}/
>  
>  # Uncomment to retrieve from the OpenBSD sites only
>  # MASTER_SITE_OPENBSD=   Yes


ok with me.



update print/poppler (needs testing)

2013-08-06 Thread Matthias Kilian
Hi,

here's an update to poppler-0.24.0. I didn't yet test it to death,
but I hope to do so during this week. It currently breaks
print/cups-filters (for which I'll send a fix in a few minutes) and
textproc/calibre.

It *may* break editors/libreoffice, which I refuse to give a try
here because of thermal problems (it's too fucking hot at my place).

General tests, tests for the -qt flavor (used by kdegraphics and
koffice) and suggestions (or even diffs) for calibre are welcome.

Ciao,
Kili

Index: Makefile
===
RCS file: /cvs/ports/print/poppler/Makefile,v
retrieving revision 1.76
diff -u -p -r1.76 Makefile
--- Makefile22 Jun 2013 20:16:46 -  1.76
+++ Makefile5 Aug 2013 11:29:47 -
@@ -5,22 +5,22 @@ COMMENT-qt=   qt interface to PDF renderin
 COMMENT-qt4=   qt4 interface to PDF rendering library
 COMMENT-utils= PDF conversion tools and utilities
 
-V= 0.22.5
+V= 0.24.0
 DISTNAME=  poppler-$V
 CATEGORIES=print
 PKGNAME-main=  poppler-$V
 PKGNAME-utils= poppler-utils-$V
 PKGNAME-qt=poppler-qt-$V
 PKGNAME-qt4=   poppler-qt4-$V
-OLDSHIT = poppler-0.16.7
+OLDSHIT =  poppler-0.16.7
 
-SHARED_LIBS += poppler  18.0 # 37.0
-SHARED_LIBS += poppler-glib 12.0 # 14.0
-SHARED_LIBS += poppler-qt   11.0 # 3.0
-SHARED_LIBS += poppler-qt4  12.0 # 6.0
-SHARED_LIBS += poppler-cpp  4.0  # 2.0
+SHARED_LIBS += poppler  19.0 # 43.0
+SHARED_LIBS += poppler-glib 13.0 # 14.0
+SHARED_LIBS += poppler-qt   12.0 # 3.0
+SHARED_LIBS += poppler-qt4  13.0 # 7.0
+SHARED_LIBS += poppler-cpp  5.0  # 2.0
 
-DISTFILES = ${DISTNAME}${EXTRACT_SUFX} ${OLDSHIT}${EXTRACT_SUFX}
+DISTFILES = ${DISTNAME}.tar.xz ${OLDSHIT}.tar.gz
 
 HOMEPAGE=  http://poppler.freedesktop.org/
 
Index: distinfo
===
RCS file: /cvs/ports/print/poppler/distinfo,v
retrieving revision 1.27
diff -u -p -r1.27 distinfo
--- distinfo22 Jun 2013 20:16:46 -  1.27
+++ distinfo5 Aug 2013 11:29:47 -
@@ -1,4 +1,4 @@
 SHA256 (poppler-0.16.7.tar.gz) = +rTory001BQqcYgZ/XR9QJMLce9SDuDmvMlOLETyK80=
-SHA256 (poppler-0.22.5.tar.gz) = 90KjkPG/SmgkUvWWeOYa3TqPK5gQJKL2yrunkWl26Bg=
+SHA256 (poppler-0.24.0.tar.xz) = vcUX6mSKP47L4HRaeftsv5p+LvZH1hVhVESc9QxtDCE=
 SIZE (poppler-0.16.7.tar.gz) = 1952179
-SIZE (poppler-0.22.5.tar.gz) = 2239107
+SIZE (poppler-0.24.0.tar.xz) = 1503420
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/print/poppler/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   22 Jun 2013 20:16:46 -  1.6
+++ patches/patch-Makefile_in   5 Aug 2013 11:29:47 -
@@ -1,16 +1,16 @@
 $OpenBSD: patch-Makefile_in,v 1.6 2013/06/22 20:16:46 kili Exp $
 Makefile.in.orig   Sun Jun 16 18:24:09 2013
-+++ Makefile.inMon Jun 17 20:42:57 2013
-@@ -370,6 +370,8 @@ POPPLER_QT4_CXXFLAGS = @POPPLER_QT4_CXXFLAGS@
+--- Makefile.in.orig   Mon Jul 29 19:13:28 2013
 Makefile.inSat Aug  3 22:06:57 2013
+@@ -376,6 +376,8 @@ POPPLER_QT4_CXXFLAGS = @POPPLER_QT4_CXXFLAGS@
  POPPLER_QT4_LIBS = @POPPLER_QT4_LIBS@
  POPPLER_QT4_TEST_CFLAGS = @POPPLER_QT4_TEST_CFLAGS@
  POPPLER_QT4_TEST_LIBS = @POPPLER_QT4_TEST_LIBS@
 +POPPLER_QT_CXXFLAGS = @POPPLER_QT_CXXFLAGS@
 +POPPLER_QT_LIBS = @POPPLER_QT_LIBS@
- POPPLER_VERSION = @POPPLER_VERSION@
- PTHREAD_CC = @PTHREAD_CC@
- PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
-@@ -426,6 +428,8 @@ infodir = @infodir@
+ POPPLER_QT5_CFLAGS = @POPPLER_QT5_CFLAGS@
+ POPPLER_QT5_CXXFLAGS = @POPPLER_QT5_CXXFLAGS@
+ POPPLER_QT5_LIBS = @POPPLER_QT5_LIBS@
+@@ -438,6 +440,8 @@ infodir = @infodir@
  install_sh = @install_sh@
  libdir = @libdir@
  libexecdir = @libexecdir@
@@ -19,31 +19,33 @@ $OpenBSD: patch-Makefile_in,v 1.6 2013/0
  localedir = @localedir@
  localstatedir = @localstatedir@
  mandir = @mandir@
-@@ -451,12 +455,14 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-te
+@@ -463,6 +467,8 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-te
  @BUILD_CAIRO_OUTPUT_TRUE@cairo_pc_file = poppler-cairo.pc
  @BUILD_POPPLER_GLIB_TRUE@glib_subdir = glib
  @BUILD_POPPLER_GLIB_TRUE@glib_pc_file = poppler-glib.pc
 +@BUILD_POPPLER_QT_TRUE@qt_subdir = qt
 +@BUILD_POPPLER_QT_TRUE@qt_pc_file = poppler-qt.pc
+ @BUILD_POPPLER_QT5_TRUE@qt5_subdir = qt5
+ @BUILD_POPPLER_QT5_TRUE@qt5_pc_file = poppler-qt5.pc
  @BUILD_POPPLER_QT4_TRUE@qt4_subdir = qt4
- @BUILD_POPPLER_QT4_TRUE@qt4_pc_file = poppler-qt4.pc
+@@ -470,7 +476,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-te
  @BUILD_POPPLER_CPP_TRUE@cpp_subdir = cpp
  @BUILD_POPPLER_CPP_TRUE@cpp_pc_file = poppler-cpp.pc
  @BUILD_UTILS_TRUE@utils_subdir = utils
--SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) 
test $(

fix print/cups-filters for the poppler update

2013-08-06 Thread Matthias Kilian
Hi,

this diff adds some upstream patches to let cups-filters work with
poppler-0.24.

Ciao,
Kili

Index: Makefile
===
RCS file: /cvs/ports/print/cups-filters/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile12 Jul 2013 07:30:50 -  1.21
+++ Makefile6 Aug 2013 17:41:14 -
@@ -5,6 +5,7 @@
 COMMENT=   OpenPrinting CUPS filters
 
 DISTNAME=  cups-filters-1.0.35
+REVISION=  0
 CATEGORIES=print
 
 SHARED_LIBS +=  cupsfilters   0.0 # 1.0
Index: patches/patch-filter_pdf_cxx
===
RCS file: patches/patch-filter_pdf_cxx
diff -N patches/patch-filter_pdf_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-filter_pdf_cxx6 Aug 2013 17:41:14 -
@@ -0,0 +1,29 @@
+$OpenBSD$
+
+From upstream bzr revno 7085: Made code working with Poppler 0.24.x.
+
+--- filter/pdf.cxx.origMon Aug 20 02:29:46 2012
 filter/pdf.cxx Tue Aug  6 19:35:04 2013
+@@ -17,6 +17,10 @@
+ #include "pdf.h"
+ 
+ #include 
++#include 
++#ifdef HAVE_CPP_POPPLER_VERSION_H
++#include "cpp/poppler-version.h"
++#endif
+ 
+ 
+ extern "C" pdf_t * pdf_load_template(const char *filename)
+@@ -343,7 +347,11 @@ class NonSeekableFileOutStream: public OutStream (publ
+ {
+ }
+ 
++#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 23
++Goffset getPos()
++#else
+ int getPos()
++#endif
+ {
+ return this->pos;
+ }
Index: patches/patch-filter_pdftoijs_cxx
===
RCS file: patches/patch-filter_pdftoijs_cxx
diff -N patches/patch-filter_pdftoijs_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-filter_pdftoijs_cxx   6 Aug 2013 17:41:14 -
@@ -0,0 +1,70 @@
+$OpenBSD$
+
+From upstream bzr revno 7085: Made code working with Poppler 0.24.x.
+
+--- filter/pdftoijs.cxx.orig   Fri Sep 21 18:36:53 2012
 filter/pdftoijs.cxxTue Aug  6 19:35:04 2013
+@@ -70,8 +70,13 @@ namespace {
+ }
+ 
+ #if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 19
++#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 23
+ void CDECL myErrorFun(void *data, ErrorCategory category,
++Goffset pos, char *msg)
++#else
++void CDECL myErrorFun(void *data, ErrorCategory category,
+ int pos, char *msg)
++#endif
+ {
+   if (pos >= 0) {
+ fprintf(stderr, "ERROR (%d): ", pos);
+@@ -297,19 +302,15 @@ int main(int argc, char *argv[]) {
+   if (argc == 6) {
+ /* stdin */
+ int fd;
+-Object obj;
+-BaseStream *str;
+-FILE *fp;
++char name[BUFSIZ];
+ char buf[BUFSIZ];
+ int n;
+ 
+-fd = cupsTempFd(buf,sizeof(buf));
++fd = cupsTempFd(name,sizeof(name));
+ if (fd < 0) {
+   pdfError(-1,"Can't create temporary file");
+   exit(1);
+ }
+-/* remove name */
+-unlink(buf);
+ 
+ /* copy stdin to the tmp file */
+ while ((n = read(0,buf,BUFSIZ)) > 0) {
+@@ -319,23 +320,10 @@ int main(int argc, char *argv[]) {
+   exit(1);
+   }
+ }
+-if (lseek(fd,0,SEEK_SET) < 0) {
+-pdfError(-1,"Can't rewind temporary file");
+-close(fd);
+-  exit(1);
+-}
+-
+-if ((fp = fdopen(fd,"rb")) == 0) {
+-pdfError(-1,"Can't fdopen temporary file");
+-close(fd);
+-  exit(1);
+-}
+-
+-obj.initNull();
+-//parsePDFTOPDFComment(fp); // TODO?
+-rewind(fp);
+-str = new FileStream(fp,0,gFalse,0,&obj);
+-doc = new PDFDoc(str);
++close(fd);
++doc = new PDFDoc(new GooString(name));
++/* remove name */
++unlink(name);
+   } else {
+ GooString *fileName = new GooString(argv[6]);
+ /* argc == 7 filenmae is specified */
Index: patches/patch-filter_pdftoopvp_pdftoopvp_cxx
===
RCS file: patches/patch-filter_pdftoopvp_pdftoopvp_cxx
diff -N patches/patch-filter_pdftoopvp_pdftoopvp_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-filter_pdftoopvp_pdftoopvp_cxx6 Aug 2013 17:41:14 
-
@@ -0,0 +1,67 @@
+$OpenBSD$
+
+From upstream bzr revno 7085: Made code working with Poppler 0.24.x.
+
+--- filter/pdftoopvp/pdftoopvp.cxx.origFri Jul 20 10:22:23 2012
 filter/pdftoopvp/pdftoopvp.cxx Tue Aug  6 19:35:04 2013
+@@ -112,8 +112,13 @@ static int outOnePage(PDFDoc *doc, OPVPOutputDev *opvp
+ #define MAX_OPVP_OPTIONS 20
+ 
+ #if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 19
++#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 23
+ void CDECL myErrorFun(void *data, ErrorCategory category,
++Goffset pos, char *msg)
++#else
++void CDECL myErrorFun(void *data, ErrorCategory category,
+ int pos, char *msg)
++#endif
+ {
+   if (pos >= 0) {
+ fprintf(stderr, "ERROR (%d): ", pos);
+@@ -619,9 +624,6 @@ exit(0);
+ char *s;
+ GooString name;
+ int fd;
+-Object obj;
+-BaseStream *s

SECURITY UPDATE: putty

2013-08-06 Thread Stuart Henderson
mostly security, but some other fixes, see release notes for more.
they have rolled in the posix_openpt parts.

any tests/OKs?

those of you using this on Windows might want to update there too...


-- -- -- -- --
This release fixes multiple security holes in previous versions of
PuTTY, which can allow an SSH-2 server to make PuTTY overrun or
underrun buffers and crash. We do not know of any way in which these
vulnerabilities could permit a server to actually take control of the
client, but we also don't know that that _can't_ be done, so we
recommend you upgrade.

These vulnerabilities can be triggered before host key verification,
which means that you are not even safe if you trust the server you
_think_ you're connecting to, since it could be spoofed over the
network and the host key check would not detect this before the attack
could take place.

Additionally, when PuTTY authenticated with a user's private key, the
private key or information equivalent to it was accidentally kept in
PuTTY's memory for the rest of its run, where it could be retrieved by
other processes reading PuTTY's memory, or written out to swap files
or crash dumps. This release fixes that as well.
-- -- -- -- --

Index: Makefile
===
RCS file: /cvs/ports/net/putty/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile11 Mar 2013 11:35:55 -  1.15
+++ Makefile6 Aug 2013 22:07:13 -
@@ -3,10 +3,9 @@
 COMMENT-main=  SSH and telnet client
 COMMENT-gui=   PuTTY GUI clients
 
-DISTNAME=  putty-0.62
+DISTNAME=  putty-0.63
 PKGNAME-main=  ${DISTNAME}
 PKGNAME-gui=   ${DISTNAME:S/putty/putty-gui/}
-REVISION=  1
 CATEGORIES=net security
 
 HOMEPAGE=  http://www.chiark.greenend.org.uk/~sgtatham/putty/
@@ -16,39 +15,25 @@ MASTER_SITES=   http://the.earth.li/~sgtat
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-CONFIGURE_STYLE=   autoconf automake
+WANTLIB-main = c pthread
+WANTLIB-gui += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
+WANTLIB-gui += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
+WANTLIB-gui += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
+WANTLIB-gui += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
+WANTLIB-gui += pthread z ${MODGETTEXT_WANTLIB}
+
+CONFIGURE_STYLE=   gnu
 CONFIGURE_ENV= CPPFLAGS="-I.././" \
LDFLAGS="-L${X11BASE}/lib"
-AUTOCONF_VERSION=  2.67
-AUTOMAKE_VERSION=  1.11
 WRKSRC=${WRKDIST}/unix
 
-MULTI_PACKAGES=-main -gui
+MULTI_PACKAGES=-main -gui
 
 MODULES=   devel/gettext
 
-WANTLIB-main=  X11 c
-WANTLIB-gui=   GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi \
-   Xinerama Xrandr Xrender atk-1.0 c cairo expat \
-   fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 \
-   glib-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 \
-   pangocairo-1.0 pangoft2-1.0 pixman-1 png \
-   pthread-stubs xcb xcb-render xcb-shm z \
-   ${MODGETTEXT_WANTLIB}
-
 LIB_DEPENDS-main=  # empty
 LIB_DEPENDS-gui=   x11/gtk+2
 
-AUTO_ENV=  AUTOCONF_VERSION=${AUTOCONF_VERSION} \
-   AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
-
 NO_TEST=   Yes
-
-post-patch:
-   @echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
-   @cd ${WRKSRC} && ${SETENV} ${AUTO_ENV} aclocal
-
-pre-configure:
-   cd ${WRKDIST} && ./mkfiles.pl
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/putty/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo13 Jan 2013 10:12:52 -  1.2
+++ distinfo6 Aug 2013 22:07:13 -
@@ -1,2 +1,2 @@
-SHA256 (putty-0.62.tar.gz) = jRh+hu4YyDmJXSY2B7YXiHeFZONyDo2FxTBaBPnaBXM=
-SIZE (putty-0.62.tar.gz) = 1783106
+SHA256 (putty-0.63.tar.gz) = gejqrzG+fZpGtPP7gNHZVAd28ULNidChHy+Agtxo+LU=
+SIZE (putty-0.63.tar.gz) = 1887913
Index: patches/patch-unix_configure_ac
===
RCS file: patches/patch-unix_configure_ac
diff -N patches/patch-unix_configure_ac
--- patches/patch-unix_configure_ac 16 Jan 2013 13:54:59 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,30 +0,0 @@
-$OpenBSD: patch-unix_configure_ac,v 1.3 2013/01/16 13:54:59 sthen Exp $
 unix/configure.ac.orig Sat May 22 15:07:25 2010
-+++ unix/configure.ac  Wed Jan 16 13:51:26 2013
-@@ -11,7 +11,7 @@ AC_CONFIG_HEADERS([uxconfig.h:uxconfig.in])
- AC_PROG_INSTALL
- AC_PROG_CC
- if test "X$GCC" = Xyes; then
--PUTTYCFLAGS="-Wall -Werror"
-+PUTTYCFLAGS="-Wall"
- else
- PUTTYCFLAGS=""
- fi
-@@ -31,8 +31,6 @@ AC_CHECK_HEADERS([utmpx.h sys/select.h],,,[
- #include 
- #include ])
- 
--# Look for both GTK 1 and GTK 2.
--AM_PATH_GTK([1.2.0], [gtk=1], [gtk=non

cmake broken on arm

2013-08-06 Thread Stuart Henderson
looks like this is fallout from the change to enable cmake's built-in ELF 
parsing,
this is responsible for many of the following failures on arm,

E=lang/luajit lang/nqp x11/ede/lib x11/gnustep/libobjc2 devel/libofx 
graphics/ctl lang/spidermonkey www/squid databases/kyotocabinet lang/gfortran 
textproc/clucene security/libssh textproc/source-highlight lang/rubinius 
devel/physfs audio/openal audio/musepack geo/geos devel/libev devel/libyajl 
audio/taglib 

I think this one came from libssh,

(gdb) bt
#0  0x00ec in cmELF::cmELF ()
#1  0x0009d898 in cmSystemTools::GuessLibrarySOName ()
#2  0x003347ec in cmOrderDirectories::AddRuntimeLibrary ()
#3  0x001f45c4 in cmComputeLinkInformation::AddLibraryRuntimeInfo ()
#4  0x001fc404 in cmComputeLinkInformation::AddItem ()
#5  0x001fd578 in cmComputeLinkInformation::Compute ()
#6  0x000b68f4 in cmTarget::GetLinkInformation ()
#7  0x000d342c in checkInterfacePropertyCompatibility ()
#8  0x000b6110 in cmTarget::GetLinkInterfaceDependentBoolProperty ()
#9  0x002d2a74 in cmLocalGenerator::AddCMP0018Flags ()
#10 0x00123a30 in cmNinjaTargetGenerator::ComputeFlagsForObject ()
#11 0x001296c0 in cmNinjaTargetGenerator::WriteObjectBuildStatement ()
#12 0x0012b494 in cmNinjaTargetGenerator::WriteObjectBuildStatements ()
#13 0x001370a8 in cmNinjaNormalTargetGenerator::Generate ()
#14 0x0012086c in cmLocalNinjaGenerator::Generate ()
#15 0x00291ea8 in cmGlobalGenerator::Generate ()
#16 0x0011919c in cmGlobalNinjaGenerator::Generate ()
#17 0x000f4a30 in cmake::Generate ()
#18 0x000fcc54 in cmake::Run ()
#19 0xffb8 in $a ()
#20 0xffb8 in $a ()

disabling ninja doesn't help. machine is building release packages so
I don't really want to stop it to make a debug build of cmake right now..



NEW: net/cgo

2013-08-06 Thread Brian Callahan

Hi ports --

Attached is a port of cgo, a terminal-based gopher client.
Works well for me on amd64, loongson, and macppc.

OK?

~Brian


cgo.tgz
Description: Binary data


UPDATE: net/slrn

2013-08-06 Thread Brian Callahan

Hi ports --

Attached is a diff to update slrn to 1.0.1. slrn's website is outdated; 
the link provided to the download page on Sourceforge gives 1.0.1 as the 
latest version (dated 2012-12-22).


Take MAINTAINER too while here.

Works on amd64. OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/news/slrn/Makefile,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 Makefile
--- Makefile11 Mar 2013 11:35:59 -  1.50
+++ Makefile21 Jul 2013 01:00:33 -
@@ -2,14 +2,13 @@
 
 COMMENT=   SLang-based newsreader
 
-# p1 is part of upstream version XXX
-DISTNAME=  slrn-0.9.9p1
-PKGNAME=   ${DISTNAME:S/p/pl/}
-REVISION=  0
+DISTNAME=  slrn-1.0.1
 CATEGORIES=news
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=slrn/}
 HOMEPAGE=  http://www.slrn.org/
+
+MAINTAINER =   Brian Callahan 
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
Index: distinfo
===
RCS file: /cvs/ports/news/slrn/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo13 Oct 2009 21:49:02 -  1.8
+++ distinfo21 Jul 2013 01:00:33 -
@@ -1,5 +1,2 @@
-MD5 (slrn-0.9.9p1.tar.gz) = bMisa6r/fMKot49/u+MYfw==
-RMD160 (slrn-0.9.9p1.tar.gz) = nmFNEsMPcqTM3pD+VXSV2G1Es2g=
-SHA1 (slrn-0.9.9p1.tar.gz) = 8U2I7aObeL0vCY8hHUocNjwP6SQ=
-SHA256 (slrn-0.9.9p1.tar.gz) = OolvQreMMiUoeP0pGyHWSC1GaSG2irl/fYy630p2tTM=
-SIZE (slrn-0.9.9p1.tar.gz) = 1535032
+SHA256 (slrn-1.0.1.tar.gz) = BrSgYJOewwd+WgYMeiVWdHyWBhok7sLAnh/qzV2+quY=
+SIZE (slrn-1.0.1.tar.gz) = 1529545
Index: patches/patch-configure
===
RCS file: /cvs/ports/news/slrn/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-configure
--- patches/patch-configure 13 Oct 2009 21:49:02 -  1.2
+++ patches/patch-configure 21 Jul 2013 01:00:33 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.2 2009/10/13 21:49:02 sthen Exp $
 configure.orig Tue Aug 26 17:21:08 2008
-+++ configure  Sat Oct 10 20:33:28 2009
-@@ -14216,7 +14216,7 @@ CANLOCK_LIB!$CANLOCK_LIB$ac_delim
+--- configure.orig Fri Dec 21 19:53:40 2012
 configure  Sat Jul 20 20:54:30 2013
+@@ -14233,7 +14233,7 @@ CANLOCK_LIB!$CANLOCK_LIB$ac_delim
  CANLOCK_INC!$CANLOCK_INC$ac_delim
  LINK_LIBCANLOCK!$LINK_LIBCANLOCK$ac_delim
  SLRN_HAS_CANLOCK!$SLRN_HAS_CANLOCK$ac_delim
@@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.2 2009/10/
  LTLIBICONV!$LTLIBICONV$ac_delim
  _ACEOF
  
-@@ -14270,7 +14270,7 @@ XGETTEXT_015!$XGETTEXT_015$ac_delim
+@@ -14287,7 +14287,7 @@ XGETTEXT_015!$XGETTEXT_015$ac_delim
  MSGMERGE!$MSGMERGE$ac_delim
  INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
  INTLLIBS!$INTLLIBS$ac_delim
@@ -19,7 +19,7 @@ $OpenBSD: patch-configure,v 1.2 2009/10/
  LTLIBINTL!$LTLIBINTL$ac_delim
  POSUB!$POSUB$ac_delim
  INCICONV!$INCICONV$ac_delim
-@@ -15574,7 +15574,7 @@ CANLOCK_LIB!$CANLOCK_LIB$ac_delim
+@@ -15591,7 +15591,7 @@ CANLOCK_LIB!$CANLOCK_LIB$ac_delim
  CANLOCK_INC!$CANLOCK_INC$ac_delim
  LINK_LIBCANLOCK!$LINK_LIBCANLOCK$ac_delim
  SLRN_HAS_CANLOCK!$SLRN_HAS_CANLOCK$ac_delim
@@ -28,7 +28,7 @@ $OpenBSD: patch-configure,v 1.2 2009/10/
  LTLIBICONV!$LTLIBICONV$ac_delim
  _ACEOF
  
-@@ -15628,7 +15628,7 @@ XGETTEXT_015!$XGETTEXT_015$ac_delim
+@@ -15645,7 +15645,7 @@ XGETTEXT_015!$XGETTEXT_015$ac_delim
  MSGMERGE!$MSGMERGE$ac_delim
  INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
  INTLLIBS!$INTLLIBS$ac_delim
@@ -37,7 +37,7 @@ $OpenBSD: patch-configure,v 1.2 2009/10/
  LTLIBINTL!$LTLIBINTL$ac_delim
  POSUB!$POSUB$ac_delim
  INCICONV!$INCICONV$ac_delim
-@@ -16933,7 +16933,7 @@ CANLOCK_LIB!$CANLOCK_LIB$ac_delim
+@@ -16950,7 +16950,7 @@ CANLOCK_LIB!$CANLOCK_LIB$ac_delim
  CANLOCK_INC!$CANLOCK_INC$ac_delim
  LINK_LIBCANLOCK!$LINK_LIBCANLOCK$ac_delim
  SLRN_HAS_CANLOCK!$SLRN_HAS_CANLOCK$ac_delim
@@ -46,7 +46,7 @@ $OpenBSD: patch-configure,v 1.2 2009/10/
  LTLIBICONV!$LTLIBICONV$ac_delim
  _ACEOF
  
-@@ -16987,7 +16987,7 @@ XGETTEXT_015!$XGETTEXT_015$ac_delim
+@@ -17004,7 +17004,7 @@ XGETTEXT_015!$XGETTEXT_015$ac_delim
  MSGMERGE!$MSGMERGE$ac_delim
  INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
  INTLLIBS!$INTLLIBS$ac_delim
Index: pkg/PLIST
===
RCS file: /cvs/ports/news/slrn/pkg/PLIST,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 PLIST
--- pkg/PLIST   13 Oct 2009 21:49:02 -  1.15
+++ pkg/PLIST   21 Jul 2013 01:00:34 -
@@ -50,6 +50,8 @@ share/slrn/slang/color.sl
 share/slrn/slang/gsort.sl
 share/slrn/slang/ispell.sl
 share/slrn/slang/latin2.sl
+share/slrn/slang/mailcap.sl
+share/slrn/slang/mime.sl
 share/slrn/slang/multipart.sl
 share/slrn/slang/nn.sl
 share/slrn/slang/posthook.sl


Re: NEW: net/cgo

2013-08-06 Thread Gleydson Soares

bcal...@devio.us writes:

> Hi ports --
>
> Attached is a port of cgo, a terminal-based gopher client.
> Works well for me on amd64, loongson, and macppc.
>
> OK?
>
> ~Brian

#1
this line seems long:
perl -pi -e 
"s,firefox,${LOCALBASE}/bin/firefox,g|s,display,${LOCALBASE}/bin/display,g|s,mplayer,${LOCALBASE}/bin/mplayer,g"
 ${WRKSRC}/cgo.c

reads better:
perl -pi -e "s,firefox,${LOCALBASE}/bin/firefox,g|s,display, \

${LOCALBASE}/bin/display,g|s,mplayer,${LOCALBASE}/bin/mplayer,g" ${WRKSRC}/cgo.c

#2
`make regress' failed, the port does not have regression tests so requires 
NO_TEST.

===>  Regression tests for cgo-20130722
make: don't know how to make test
Stop in /usr/ports/pobj/cgo-20130722/cgo-20130722

with changes, OK gsoares@