hey @ports,

simple maintainer update to the last very old stable version.

- fix WANTLIB
- switch to github
- tested @amd64 (all tests passed)

Ok?

Cheers, Rafael


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/droplet/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile    21 Apr 2015 18:51:24 -0000      1.9
+++ Makefile    7 Sep 2015 19:12:50 -0000
@@ -7,28 +7,25 @@ BROKEN-mips64=                no atomic ops in json-c
 CATEGORIES=            devel
 COMMENT=               high performance Cloud Storage client library
 
-VERSION=               1.1
-REVISION=              3
+VERSION=               2.0
 DISTNAME=              droplet-${VERSION}
-HOMEPAGE=              https://github.com/scality/Droplet
+GH_ACCOUNT =           scality
+GH_PROJECT =           Droplet
+GH_COMMIT =            22e7e46214a26c36a2314ef0c23ee42c861ec6bd
 
-SHARED_LIBS=           droplet         0.0 #0.0
+SHARED_LIBS=           droplet         1.0 #0.0
 
 MAINTAINER=            Rafael Sadowski <raf...@sizeofvoid.org>
 
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += crypto json-c lzma m pthread ssl xml2 z
+WANTLIB += crypto json-c lzma m pthread ssl xml2 z iconv
 
-MASTER_SITES=          http://www.sizeofvoid.org/pub/OpenBSD/distfiles/
-
-WRKDIST=               ${WRKDIR}/scality-Droplet-e6692cc
 MODULES=               converters/libiconv
 BUILD_DEPENDS=         ${MODGNU_AUTOCONF_DEPENDS} \
                        ${MODGNU_AUTOMAKE_DEPENDS} \
                        devel/libtool
-# XXX Depends on libtool macros
 
 LIB_DEPENDS=           textproc/libxml \
                        devel/json-c
@@ -38,8 +35,8 @@ AUTOMAKE_VERSION=     1.11
 CONFIGURE_STYLE=       gnu
 CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"
-post-patch:
-       cd ${WRKBUILD} && env AUTOCONF_VERSION=2.68 AUTOMAKE_VERSION=1.11 \
-               /bin/sh ./autogen.sh
+pre-configure:
+       cd ${WRKBUILD} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+               AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/droplet/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo    18 Jan 2015 03:13:10 -0000      1.2
+++ distinfo    7 Sep 2015 19:12:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (droplet-1.1.tar.gz) = Jd2ZGZaQlIIEzWfciWefzWwFxF2mF3ngErhSaGI2fy4=
-SIZE (droplet-1.1.tar.gz) = 90046
+SHA256 (droplet-2.0.tar.gz) = jX83xjzGj4y3h77oZoVsSXMF+n4BDi67mY7HIKCmRFg=
+SIZE (droplet-2.0.tar.gz) = 92128
Index: patches/patch-libdroplet_srest_replyparser_c
===================================================================
RCS file: patches/patch-libdroplet_srest_replyparser_c
diff -N patches/patch-libdroplet_srest_replyparser_c
--- patches/patch-libdroplet_srest_replyparser_c        22 Apr 2014 10:48:21 
-0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-libdroplet_srest_replyparser_c,v 1.1 2014/04/22 10:48:21 jca 
Exp $
---- libdroplet/srest/replyparser.c.orig        Mon Apr 21 18:20:17 2014
-+++ libdroplet/srest/replyparser.c     Mon Apr 21 18:20:22 2014
-@@ -32,7 +32,7 @@
-  * https://github.com/scality/Droplet
-  */
- #include "dropletp.h"
--#include <json/json.h>
-+#include <json-c/json.h>
- 
- //#define DPRINTF(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__)
- #define DPRINTF(fmt,...)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/droplet/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   23 Dec 2011 13:10:30 -0000      1.1.1.1
+++ pkg/PLIST   7 Sep 2015 19:12:50 -0000
@@ -25,16 +25,12 @@ include/droplet-1.0/droplet/s3/replypars
 include/droplet-1.0/droplet/s3/reqbuilder.h
 include/droplet-1.0/droplet/s3/s3.h
 include/droplet-1.0/droplet/sbuf.h
-include/droplet-1.0/droplet/srest/
-include/droplet-1.0/droplet/srest/backend.h
-include/droplet-1.0/droplet/srest/replyparser.h
-include/droplet-1.0/droplet/srest/reqbuilder.h
-include/droplet-1.0/droplet/srest/srest.h
 include/droplet-1.0/droplet/srws/
 include/droplet-1.0/droplet/srws/backend.h
 include/droplet-1.0/droplet/srws/replyparser.h
 include/droplet-1.0/droplet/srws/reqbuilder.h
 include/droplet-1.0/droplet/srws/srws.h
+include/droplet-1.0/droplet/sysmd.h
 include/droplet-1.0/droplet/utils.h
 include/droplet-1.0/droplet/vec.h
 include/droplet-1.0/droplet/vfs.h

Reply via email to