ports/172405: [PATCH] net/beanstalkd: update to 1.7, Add test targets + more

Kubilay Kocak koobs.freebsd at gmail.com
Sat Oct 6 15:30:12 UTC 2012


>Number:         172405
>Category:       ports
>Synopsis:       [PATCH] net/beanstalkd: update to 1.7, Add test targets + more
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 06 15:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul  7 21:26:56 EST
>Description:
- 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

====[QA]====

portlint: one MASTER_SITE
porttest: OK
unittest: PASS (9.0 amd64 - gcc base)
unittest: PASS (9.0 amd64 - clang base)
redports: https://redports.org/buildarchive/20121006142044-35316/

Note: All redports buildsgroups ran the regression test also - OK

============

Added file(s):
- files/patch-integ-test.c

Port maintainer (vsevolod at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- beanstalkd-1.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/beanstalkd/Makefile ./Makefile
--- /usr/ports/net/beanstalkd/Makefile	2012-06-08 02:19:44.000000000 +1000
+++ ./Makefile	2012-10-07 00:20:18.000000000 +1000
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	beanstalkd
-# Date created:							Apr 11, 2008
-# Whom:									Vsevolod Stakhov <vsevolod at FreeBSD.org>
-#
+# Created by:	Vsevolod Stakhov <vsevolod at FreeBSD.org>
 # $FreeBSD: ports/net/beanstalkd/Makefile,v 1.14 2012/06/07 16:19:44 vsevolod Exp $
-#
 
 PORTNAME=	beanstalkd
-PORTVERSION=	1.6
+PORTVERSION=	1.7
 CATEGORIES=	net
 MASTER_SITES=	http://cloud.github.com/downloads/kr/beanstalkd/
 
@@ -14,7 +10,6 @@
 COMMENT=	Fast, distributed, in-memory workqueue service
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USE_RC_SUBR=	beanstalkd
 USE_GMAKE=	yes
@@ -39,4 +34,9 @@
 .endfor
 .endif
 
+test: configure
+	@cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} check
+
+regression-test: test
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/beanstalkd/distinfo ./distinfo
--- /usr/ports/net/beanstalkd/distinfo	2012-10-04 20:50:43.000000000 +1000
+++ ./distinfo	2012-10-06 22:04:10.000000000 +1000
@@ -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
diff -ruN --exclude=CVS /usr/ports/net/beanstalkd/files/patch-integ-test.c ./files/patch-integ-test.c
--- /usr/ports/net/beanstalkd/files/patch-integ-test.c	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-integ-test.c	2012-10-06 22:38:34.000000000 +1000
@@ -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>
--- beanstalkd-1.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list