Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2012 12:27:52 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306116 - in head/net/beanstalkd: . files
Message-ID:  <201210191227.q9JCRq4L088512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Fri Oct 19 12:27:52 2012
New Revision: 306116
URL: http://svn.freebsd.org/changeset/ports/306116

Log:
  - Update to 1.7
  - Remove LICENSE_FILE for those listed in bsd.licenses.db.mk
  - Add test and regression-test targets
  - Patch integ-test.c so we can run unit tests (#include order, thanks ak!)
  - New Makefile header convention
  
  Changes: http://kr.github.com/beanstalkd/2012/09/11/1.7-release-notes.html
  
  PR:		172405
  Submitted by:	Kubilay Kocak <koobs.freebsd at gmail.com>
  Feature safe:	yes

Added:
  head/net/beanstalkd/files/patch-integ-test.c   (contents, props changed)
Modified:
  head/net/beanstalkd/Makefile
  head/net/beanstalkd/distinfo

Modified: head/net/beanstalkd/Makefile
==============================================================================
--- head/net/beanstalkd/Makefile	Fri Oct 19 12:24:00 2012	(r306115)
+++ head/net/beanstalkd/Makefile	Fri Oct 19 12:27:52 2012	(r306116)
@@ -1,12 +1,7 @@
-# New ports collection makefile for:	beanstalkd
-# Date created:							Apr 11, 2008
-# Whom:									Vsevolod Stakhov <vsevolod@FreeBSD.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	beanstalkd
-PORTVERSION=	1.6
+PORTVERSION=	1.7
 CATEGORIES=	net
 MASTER_SITES=	http://cloud.github.com/downloads/kr/beanstalkd/
 
@@ -14,7 +9,6 @@ MAINTAINER=	vsevolod@FreeBSD.org
 COMMENT=	Fast, distributed, in-memory workqueue service
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USE_RC_SUBR=	beanstalkd
 USE_GMAKE=	yes
@@ -39,4 +33,9 @@ do-install:
 .endfor
 .endif
 
+test: configure
+	@cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} check
+
+regression-test: test
+
 .include <bsd.port.mk>

Modified: head/net/beanstalkd/distinfo
==============================================================================
--- head/net/beanstalkd/distinfo	Fri Oct 19 12:24:00 2012	(r306115)
+++ head/net/beanstalkd/distinfo	Fri Oct 19 12:27:52 2012	(r306116)
@@ -1,2 +1,2 @@
-SHA256 (beanstalkd-1.6.tar.gz) = f39aa9de0692272b0249134cdf4f0e0c42da7755bad600403ac90e34bac235af
-SIZE (beanstalkd-1.6.tar.gz) = 59880
+SHA256 (beanstalkd-1.7.tar.gz) = 1d851677096d3cee4ee5710ee6cf1cebe8f2b5d9fa05792561ab55b534cbdaf8
+SIZE (beanstalkd-1.7.tar.gz) = 59829

Added: head/net/beanstalkd/files/patch-integ-test.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/beanstalkd/files/patch-integ-test.c	Fri Oct 19 12:27:52 2012	(r306116)
@@ -0,0 +1,12 @@
+--- ./integ-test.c.orig	2012-10-06 22:38:13.000000000 +1000
++++ ./integ-test.c	2012-10-06 22:38:29.000000000 +1000
+@@ -9,8 +9,8 @@
+ #include <sys/socket.h>
+ #include <sys/select.h>
+ #include <netdb.h>
+-#include <netinet/ip.h>
+ #include <netinet/in.h>
++#include <netinet/ip.h>
+ #include <arpa/inet.h>
+ #include <fcntl.h>
+ #include <sys/wait.h>



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