Index: head/net/gq/Makefile =================================================================== --- head/net/gq/Makefile (revision 162346) +++ head/net/gq/Makefile (revision 162347) @@ -1,47 +1,48 @@ # New ports collection makefile for: gq # Date Created: 8 Jun 2000 # Whom: Roman Shterenzon # # $FreeBSD$ # PORTNAME= gq -PORTVERSION= 1.0b1 -PORTREVISION= 6 +PORTVERSION= 1.0r1 CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://dryice.name/computer/FreeBSD/distfiles/ MASTER_SITE_SUBDIR= gqclient -DISTNAME= gq-${PORTVERSION:S/b/beta/} +DISTNAME= gq-${PORTVERSION:S/r/rc/} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dryice@dryice.name COMMENT= GTK-based LDAP client -USE_GMAKE= yes -USE_ICONV= yes +USE_GCC= 3.4+ +USE_GMAKE= yes +USE_ICONV= yes USE_GETTEXT= yes USE_OPENLDAP= yes USE_OPENSSL= yes USE_X_PREFIX= yes USE_GNOME= gnomehier gtk20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE} OPTIONS= JPEG "Enable jpegPhoto attr. handling" On \ DND "Enable Drag and drop support in browse mode" On \ CACHE "Support the OpenLDAP experimental client cache" On .include .if !defined(WITHOUT_JPEG) USE_GNOME+= gdkpixbuf .endif .if !defined(WITHOUT_DND) CONFIGURE_ARGS+= --enable-browser-dnd .endif .if !defined(WITHOUT_CACHE) CONFIGURE_ARGS+= --enable-cache .endif .include Property changes on: head/net/gq/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.31 \ No newline at end of property +1.32 \ No newline at end of property Index: head/net/gq/distinfo =================================================================== --- head/net/gq/distinfo (revision 162346) +++ head/net/gq/distinfo (revision 162347) @@ -1,3 +1,3 @@ -MD5 (gq-1.0beta1.tar.gz) = c904ff52f513a58516d9543f8dc3fe5b -SHA256 (gq-1.0beta1.tar.gz) = 93fed2f77dedf4ececa475a11fab25d126720165c36c4179c8cd13b50e636552 -SIZE (gq-1.0beta1.tar.gz) = 475081 +MD5 (gq-1.0rc1.tar.gz) = c7944d681382d32440d4bf0241142697 +SHA256 (gq-1.0rc1.tar.gz) = 8f5a2c1aeb26a75c1de3232df2595a43e87cd252f2911354add4cd9c59514112 +SIZE (gq-1.0rc1.tar.gz) = 562766 Property changes on: head/net/gq/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/net/gq/files/patch-configure =================================================================== --- head/net/gq/files/patch-configure (revision 162346) +++ head/net/gq/files/patch-configure (nonexistent) @@ -1,11 +0,0 @@ ---- configure.orig Tue Feb 17 00:38:43 2004 -+++ configure Tue Feb 17 00:39:12 2004 -@@ -6702,7 +6702,7 @@ - fi; - - if test "x$GCC" = "xyes"; then -- for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -+ for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith - do - # The following should work as well, but might (?) be less portable - # if ! echo "$CFLAGS" | grep -q -w -- "$A" ; then Property changes on: head/net/gq/files/patch-configure ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/net/gq/files/patch-src::xmlparse.c =================================================================== --- head/net/gq/files/patch-src::xmlparse.c (revision 162346) +++ head/net/gq/files/patch-src::xmlparse.c (nonexistent) @@ -1,24 +0,0 @@ ---- src/xmlparse.c.orig Thu Jul 29 09:46:26 2004 -+++ src/xmlparse.c Thu Jul 29 09:47:09 2004 -@@ -51,7 +51,7 @@ - #include "xmlparse.h" - - #define malloc g_malloc --#define calloc(n,s) g_malloc0(n * s) -+#define calloc(n,s) g_malloc0((n) * (s)) - - #define TAGSTACK_INCR 20 - -@@ -162,10 +162,11 @@ - e->attrs = NULL; - if (attrs) { - for (i = 0 ; attrs[i] ; i++) ; -- e->attrs = calloc(i, sizeof(xmlChar *)); -+ e->attrs = calloc(i+1, sizeof(xmlChar *)); - for (i = 0 ; attrs[i] ; i++) { - e->attrs[i] = strdup(attrs[i]); - } -+ e->attrs[i] = NULL; - } - - /* lookup handler */ Property changes on: head/net/gq/files/patch-src::xmlparse.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/net/gq/files/patch-src::util.c =================================================================== --- head/net/gq/files/patch-src::util.c (revision 162346) +++ head/net/gq/files/patch-src::util.c (nonexistent) @@ -1,20 +0,0 @@ ---- src/util.c.orig Mon Nov 3 23:28:24 2003 -+++ src/util.c Thu Oct 14 12:46:42 2004 -@@ -1909,7 +1909,7 @@ - char **gq_ldap_explode_dn(const char *dn, int dummy) - { - int i, rc; -- LDAPDN *parts; -+ LDAPDN parts; - char **v = 0; - - rc = ldap_str2dn(dn, &parts, LDAP_DN_FORMAT_LDAPV3); -@@ -1921,7 +1921,7 @@ - v = (char **) calloc((i + 2), sizeof(char*)); - - for( i = 0 ; parts[i] ; i++ ) { -- ldap_rdn2str(parts[0][i], &v[i], -+ ldap_rdn2str(parts[i], &v[i], - LDAP_DN_FORMAT_LDAPV3 | LDAP_DN_PRETTY ); - } - return v; Property changes on: head/net/gq/files/patch-src::util.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/net/gq/files/patch-icons::Makefile.in =================================================================== --- head/net/gq/files/patch-icons::Makefile.in (revision 162346) +++ head/net/gq/files/patch-icons::Makefile.in (nonexistent) @@ -1,11 +0,0 @@ ---- icons/Makefile.in.orig Thu Jun 8 14:42:26 2000 -+++ icons/Makefile.in Thu Jun 8 14:42:40 2000 -@@ -70,7 +70,7 @@ - - EXTRA_DIST = $(PIXMAPS) - --pixmapdir = $(datadir)/pixmaps/gq -+pixmapdir = $(datadir)/gq - pixmap_DATA = $(PIXMAPS) - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../config.h Property changes on: head/net/gq/files/patch-icons::Makefile.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/net/gq/files/patch-icons-Makefile.in =================================================================== --- head/net/gq/files/patch-icons-Makefile.in (nonexistent) +++ head/net/gq/files/patch-icons-Makefile.in (revision 162347) @@ -0,0 +1,11 @@ +--- icons/Makefile.in.orig Mon Apr 10 19:22:45 2006 ++++ icons/Makefile.in Wed Apr 19 10:26:21 2006 +@@ -193,7 +193,7 @@ + warning.xpm + + EXTRA_DIST = $(PIXMAPS) +-pixmapdir = $(datadir)/pixmaps/gq ++pixmapdir = $(datadir)/gq + pixmap_DATA = $(PIXMAPS) + all: all-am + Property changes on: head/net/gq/files/patch-icons-Makefile.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/gq/files/patch-src-xmlparse.c =================================================================== --- head/net/gq/files/patch-src-xmlparse.c (nonexistent) +++ head/net/gq/files/patch-src-xmlparse.c (revision 162347) @@ -0,0 +1,24 @@ +--- src/xmlparse.c.orig Wed Apr 5 08:53:55 2006 ++++ src/xmlparse.c Wed Apr 19 10:35:15 2006 +@@ -51,7 +51,7 @@ + #include "xmlparse.h" + + #define malloc g_malloc +-#define calloc(n,s) g_malloc0(n * s) ++#define calloc(n,s) g_malloc0((n) * (s)) + + #define TAGSTACK_INCR 20 + +@@ -162,10 +162,11 @@ + e->attrs = NULL; + if (attrs) { + for (i = 0 ; attrs[i] ; i++) ; +- e->attrs = calloc(i, sizeof(xmlChar *)); ++ e->attrs = calloc(i+1, sizeof(xmlChar *)); + for (i = 0 ; attrs[i] ; i++) { + e->attrs[i] = (guchar*)strdup((gchar*)attrs[i]); + } ++ e->attrs[i] = NULL; + } + + /* lookup handler */ Property changes on: head/net/gq/files/patch-src-xmlparse.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/gq/pkg-plist =================================================================== --- head/net/gq/pkg-plist (revision 162346) +++ head/net/gq/pkg-plist (revision 162347) @@ -1,10 +1,11 @@ bin/gq -share/gnome/apps/Internet/gq.desktop -share/gq/bomb.xpm -share/gq/hide.xpm -share/gq/line.xpm -share/gq/logo.xpm -share/gq/new.xpm -share/gq/textarea.xpm -share/gq/warning.xpm -@dirrm share/gq +share/applications/gq.desktop +%%DATADIR%%/bomb.xpm +%%DATADIR%%/hide.xpm +%%DATADIR%%/line.xpm +%%DATADIR%%/logo.xpm +%%DATADIR%%/new.xpm +%%DATADIR%%/textarea.xpm +%%DATADIR%%/warning.xpm +@dirrm %%DATADIR%% +@dirrmtry share/applications Property changes on: head/net/gq/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property