Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2009 04:00:04 GMT
From:      Gea-Suan Lin <gslin@gslin.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/138614: devel/gearmand: Upgrade to 0.9, and dependency fixes
Message-ID:  <200909090400.n89404qQ027670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/138614; it has been noted by GNATS.

From: Gea-Suan Lin <gslin@gslin.org>
To: bug-followup@FreeBSD.org
Cc: gslin@gslin.org
Subject: Re: ports/138614: devel/gearmand: Upgrade to 0.9, and dependency
 fixes
Date: Wed, 9 Sep 2009 11:53:51 +0800

 --XsQoSWH+UP9D9v3l
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 
 Sorry forget to attach.
 
 On Wed, Sep 09, 2009 at 11:52:54AM +0800, Gea-Suan Lin wrote:
 > Hello all,
 > 
 > Please use this new attachment as patch. This one uses OPTIONS to let
 > users to select.
 > 
 > On Mon, Sep 07, 2009 at 05:30:10PM +0000, Edwin Groothuis wrote:
 > > Maintainer of devel/gearmand,
 > > 
 > > Please note that PR ports/138614 has just been submitted.
 > > 
 > > If it contains a patch for an upgrade, an enhancement or a bug fix
 > > you agree on, reply to this email stating that you approve the patch
 > > and a committer will take care of it.
 > > 
 > > The full text of the PR can be found at:
 > >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/138614
 > > 
 > > -- 
 > > Edwin Groothuis via the GNATS Auto Assign Tool
 > > edwin@FreeBSD.org
 > 
 > -- 
 > * Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
 > * If you cannot convince them, confuse them.           -- Harry S Truman
 
 -- 
 * Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
 * If you cannot convince them, confuse them.           -- Harry S Truman
 
 --XsQoSWH+UP9D9v3l
 Content-Type: text/x-diff; charset=utf-8
 Content-Disposition: attachment; filename="gearmand.diff"
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/devel/gearmand/Makefile /home/staff/gslin/work/ports/gearmand/Makefile
 --- /usr/ports/devel/gearmand/Makefile	2009-07-05 07:21:05.000000000 +0800
 +++ /home/staff/gslin/work/ports/gearmand/Makefile	2009-09-09 11:10:06.000000000 +0800
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	gearmand
 -PORTVERSION=	0.8
 +PORTVERSION=	0.9
  CATEGORIES=	devel
  MASTER_SITES=	http://launchpad.net/gearmand/trunk/${PORTVERSION}/+download/
  
 @@ -14,6 +14,7 @@
  COMMENT=	Gearman C Server and Library
  
  LIB_DEPENDS=	event:${PORTSDIR}/devel/libevent \
 +		memcached:${PORTSDIR}/databases/libmemcached \
  		uuid:${PORTSDIR}/misc/e2fsprogs-libuuid
  
  CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
 @@ -23,6 +24,9 @@
  USE_LDCONFIG=	yes
  USE_RC_SUBR=	gearmand.sh
  
 +OPTIONS=	PQ "Enable PostgreSQL support" off \
 +		SQLITE3 "Enable SQLite3 support" off
 +
  MAN1=		gearman.1
  MAN3=		gearman_bugreport.3 \
  		gearman_client_add_server.3 \
 @@ -148,6 +152,12 @@
  		gearman_queue_libmemcached_conf.3 \
  		gearman_queue_libmemcached_deinit.3 \
  		gearman_queue_libmemcached_init.3 \
 +		gearman_queue_libpq_conf.3 \
 +		gearman_queue_libpq_deinit.3 \
 +		gearman_queue_libpq_init.3 \
 +		gearman_queue_libsqlite3_conf.3 \
 +		gearman_queue_libsqlite3_deinit.3 \
 +		gearman_queue_libsqlite3_init.3 \
  		gearman_server_client_add.3 \
  		gearman_server_client_create.3 \
  		gearman_server_client_free.3 \
 @@ -262,6 +272,10 @@
  		gearmand_queue_libdrizzle_init.3 \
  		gearmand_queue_libmemcached_deinit.3 \
  		gearmand_queue_libmemcached_init.3 \
 +		gearmand_queue_libpq_deinit.3 \
 +		gearmand_queue_libpq_init.3 \
 +		gearmand_queue_libsqlite3_deinit.3 \
 +		gearmand_queue_libsqlite3_init.3 \
  		gearmand_run.3 \
  		gearmand_set_backlog.3 \
  		gearmand_set_log.3 \
 @@ -273,4 +287,20 @@
  		gearmand_wakeup.3
  MAN8=		gearmand.8
  
 -.include <bsd.port.mk>
 +.include <bsd.port.pre.mk>
 +
 +.ifdef(WITH_PQ)
 +CONFIGURE_ARGS+=	--with-libpq-prefix
 +USE_PGSQL=	yes
 +.else
 +CONFIGURE_ARGS+=	--without-libpq-prefix
 +.endif
 +
 +.ifdef(WITH_SQLITE3)
 +CONFIGURE_ARGS+=	--with-libsqlite3-prefix
 +USE_SQLITE=	yes
 +.else
 +CONFIGURE_ARGS+=	--without-libsqlite3-prefix
 +.endif
 +
 +.include <bsd.port.post.mk>
 diff -ruN --exclude=CVS /usr/ports/devel/gearmand/distinfo /home/staff/gslin/work/ports/gearmand/distinfo
 --- /usr/ports/devel/gearmand/distinfo	2009-07-05 07:21:05.000000000 +0800
 +++ /home/staff/gslin/work/ports/gearmand/distinfo	2009-09-09 10:58:52.000000000 +0800
 @@ -1,3 +1,3 @@
 -MD5 (gearmand-0.8.tar.gz) = 2118ad03aa055d22374d3a095554e54a
 -SHA256 (gearmand-0.8.tar.gz) = d28a64adcc99e837f408d0abb56f62cadcdef3fb2b8efa668518384cfbba5773
 -SIZE (gearmand-0.8.tar.gz) = 573862
 +MD5 (gearmand-0.9.tar.gz) = 8bdedc7809180f5f33ec123e2c47389e
 +SHA256 (gearmand-0.9.tar.gz) = 4cc4af55d235f3a343d791b7f5b7593cfb7dfc70d68f021a183b905606d2906e
 +SIZE (gearmand-0.9.tar.gz) = 599884
 diff -ruN --exclude=CVS /usr/ports/devel/gearmand/pkg-plist /home/staff/gslin/work/ports/gearmand/pkg-plist
 --- /usr/ports/devel/gearmand/pkg-plist	2009-07-05 07:21:05.000000000 +0800
 +++ /home/staff/gslin/work/ports/gearmand/pkg-plist	2009-09-09 11:08:43.000000000 +0800
 @@ -12,6 +12,8 @@
  include/libgearman/job.h
  include/libgearman/packet.h
  include/libgearman/protocol_http.h
 +include/libgearman/queue_libpq.h
 +include/libgearman/queue_libsqlite3.h
  include/libgearman/server.h
  include/libgearman/server_client.h
  include/libgearman/server_con.h
 ===> Done
 
 --XsQoSWH+UP9D9v3l--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909090400.n89404qQ027670>