Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 11:08:43 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388523 - in head/benchmarks/siege: . files
Message-ID:  <201506041108.t54B8hal003294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Thu Jun  4 11:08:43 2015
New Revision: 388523
URL: https://svnweb.freebsd.org/changeset/ports/388523

Log:
  benchmarks/siege: Update version 3.0.9=>3.1.0
  
  - Change MASTER_SITES to the newer according to website
  - Fix patch files to reflect 'make makepatch'

Added:
  head/benchmarks/siege/files/patch-Makefile.am   (contents, props changed)
  head/benchmarks/siege/files/patch-configure.ac   (contents, props changed)
Modified:
  head/benchmarks/siege/Makefile
  head/benchmarks/siege/distinfo
  head/benchmarks/siege/files/patch-src-sock.c

Modified: head/benchmarks/siege/Makefile
==============================================================================
--- head/benchmarks/siege/Makefile	Thu Jun  4 11:04:27 2015	(r388522)
+++ head/benchmarks/siege/Makefile	Thu Jun  4 11:08:43 2015	(r388523)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	siege
-PORTVERSION=	3.0.9
+PORTVERSION=	3.1.0
 CATEGORIES=	benchmarks www
-MASTER_SITES=	http://www.joedog.org/pub/siege/ \
+MASTER_SITES=	http://download.joedog.org/siege/ \
 		http://fossies.org/linux/www/
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -19,10 +19,6 @@ CONFIGURE_ENV=	PERL="${PERL}"
 CONFIGURE_ARGS=	--with-ssl=${OPENSSLBASE} --disable-shared \
 		--sysconfdir=${ETCDIR}
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|^\(AC_PROG_SHELL\)|dnl \1|' ${WRKSRC}/configure.ac
-
 pre-configure:
 	@${RM} -f ${WRKSRC}/acinclude.m4
 	@${RM} -f ${WRKSRC}/utils/missing

Modified: head/benchmarks/siege/distinfo
==============================================================================
--- head/benchmarks/siege/distinfo	Thu Jun  4 11:04:27 2015	(r388522)
+++ head/benchmarks/siege/distinfo	Thu Jun  4 11:08:43 2015	(r388523)
@@ -1,2 +1,2 @@
-SHA256 (siege-3.0.9.tar.gz) = 82376eb466414ef4872a979a372972658df9813778ee8572341d4736ed30cb8f
-SIZE (siege-3.0.9.tar.gz) = 524125
+SHA256 (siege-3.1.0.tar.gz) = 518759b3dc384d9960b8aa048ae32d9f04a62b9c248ae796812b6cb76681a514
+SIZE (siege-3.1.0.tar.gz) = 502461

Added: head/benchmarks/siege/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/siege/files/patch-Makefile.am	Thu Jun  4 11:08:43 2015	(r388523)
@@ -0,0 +1,11 @@
+--- Makefile.am.orig	2015-06-04 10:45:57 UTC
++++ Makefile.am
+@@ -20,6 +20,8 @@
+ ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ ##
+ 
++ACLOCAL_AMFLAGS   =    -I m4
++
+ AUTOMAKE_OPTIONS  =    foreign no-dependencies  
+ 
+ WARN_CFLAGS       =    @WARN_CFLAGS@

Added: head/benchmarks/siege/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/siege/files/patch-configure.ac	Thu Jun  4 11:08:43 2015	(r388523)
@@ -0,0 +1,18 @@
+--- configure.ac.orig	2015-06-04 10:43:01 UTC
++++ configure.ac
+@@ -7,6 +7,7 @@ dnl
+ AC_INIT
+ AC_CONFIG_SRCDIR([src/setup.h]) 
+ AC_CONFIG_HEADERS(include/config.h)
++AC_CONFIG_MACRO_DIRS([m4])
+ 
+ dnl
+ dnl Define the utils directory
+@@ -44,7 +45,6 @@ dnl
+ dnl Program support
+ dnl
+ AC_PATH_PROG( PERL, perl, false )
+-AC_PROG_SHELL
+ AC_PROG_MAKE_SET
+ AC_PROG_INSTALL
+ case "$host_os" in

Modified: head/benchmarks/siege/files/patch-src-sock.c
==============================================================================
--- head/benchmarks/siege/files/patch-src-sock.c	Thu Jun  4 11:04:27 2015	(r388522)
+++ head/benchmarks/siege/files/patch-src-sock.c	Thu Jun  4 11:08:43 2015	(r388523)
@@ -1,6 +1,6 @@
---- src/sock.c.orig	2010-05-17 15:57:59.000000000 +0200
-+++ src/sock.c	2012-05-25 15:55:21.743780806 +0200
-@@ -126,7 +126,7 @@
+--- src/sock.c.orig	2015-06-03 19:01:21 UTC
++++ src/sock.c
+@@ -148,7 +148,7 @@ new_socket(CONN *C, const char *hostpara
        hp = NULL;
      }
    }
@@ -9,8 +9,8 @@
  # ifdef HAVE_GETIPNODEBYNAME
    hp = getipnodebyname(hn, AF_INET, 0, &herrno);
  # else /* default use gethostbyname_r*/
-@@ -154,7 +154,7 @@
-   if(hp == NULL){ return -1; } 
+@@ -190,7 +190,7 @@ new_socket(CONN *C, const char *hostpara
+ 
    memset((void*) &cli, 0, sizeof(cli));
    memcpy(&cli.sin_addr, hp->h_addr, hp->h_length);
 -#if defined(sun)



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