Siege 3.1.3 -> 4.0.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Siege 3.1.3 -> 4.0.2

jes@posteo.de
Hi,

the siege port is quite old.
Diff for an upgrade is attached.


Cheers,
Jan

Index: Makefile
===================================================================
RCS file: /cvs/ports/benchmarks/siege/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 11 Jan 2016 10:22:05 -0000 1.10
+++ Makefile 22 Nov 2016 15:25:55 -0000
@@ -2,7 +2,7 @@

 COMMENT = multi-threaded HTTP benchmark and regression tester

-DISTNAME = siege-3.1.3
+DISTNAME = siege-4.0.2

 CATEGORIES = benchmarks www

@@ -11,7 +11,7 @@ HOMEPAGE = http://www.joedog.org/index/
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += c crypto pthread ssl
+WANTLIB += c crypto pthread ssl z

 MASTER_SITES = http://download.joedog.org/siege/

Index: distinfo
===================================================================
RCS file: /cvs/ports/benchmarks/siege/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo 11 Jan 2016 10:22:05 -0000 1.4
+++ distinfo 22 Nov 2016 15:25:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (siege-3.1.3.tar.gz) = TTky6iPL9tHSLffH7m56a8n1kbYEq1gjk+62Lzk/WjM=
-SIZE (siege-3.1.3.tar.gz) = 527862
+SHA256 (siege-4.0.2.tar.gz) = fvuB+VR77w5pO91RNIogWtaR4dcsNgQfRggJm6AybEc=
+SIZE (siege-4.0.2.tar.gz) = 521228
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/benchmarks/siege/patches/patch-configure,v
retrieving revision 1.4
diff -u -p -r1.4 patch-configure
--- patches/patch-configure 11 Jan 2016 10:22:05 -0000 1.4
+++ patches/patch-configure 22 Nov 2016 15:25:55 -0000
@@ -1,14 +1,14 @@
 $OpenBSD: patch-configure,v 1.4 2016/01/11 10:22:05 landry Exp $
---- configure.orig Mon Nov  2 14:19:57 2015
-+++ configure Fri Jan  8 14:55:25 2016
-@@ -29474,8 +29474,8 @@ $as_echo "$as_me: error: cannot create directory $as_d
- #define  JOEPATH_H
+--- configure.orig Tue Nov 22 16:00:24 2016
++++ configure Tue Nov 22 16:03:25 2016
+@@ -22855,8 +22855,8 @@ $as_echo X"$file" |
+ #define  JOEDOG_PATH_H

  #define SIEGE_HOME     "$prefix"
 -#define URL_FILE       "$sysconfdir/urls.txt"
 -#define CNF_FILE       "$sysconfdir/siegerc"
 +#define URL_FILE       "$sysconfdir/siege/urls.txt"
 +#define CNF_FILE       "$sysconfdir/siege/siegerc"
- #define LOG_FILE       "$localstatedir/siege.log"
+ #define LOG_FILE       "$localstatedir/log/siege.log"
  #define PLATFORM       "$platform"

Index: patches/patch-doc_Makefile_in
===================================================================
RCS file: /cvs/ports/benchmarks/siege/patches/patch-doc_Makefile_in,v
retrieving revision 1.3
diff -u -p -r1.3 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in 11 Jan 2016 10:22:05 -0000 1.3
+++ patches/patch-doc_Makefile_in 22 Nov 2016 15:25:55 -0000
@@ -1,10 +1,10 @@
 $OpenBSD: patch-doc_Makefile_in,v 1.3 2016/01/11 10:22:05 landry Exp $
---- doc/Makefile.in.orig Mon Nov  2 14:19:56 2015
-+++ doc/Makefile.in Fri Jan  8 14:55:25 2016
-@@ -220,8 +220,8 @@ urls.txt               \
- siegerc.in
+--- doc/Makefile.in.orig Tue Nov 22 16:04:18 2016
++++ doc/Makefile.in Tue Nov 22 16:09:17 2016
+@@ -250,8 +250,8 @@ siege2csv.1.in

- DISTCLEANFILES = siegerc $(man_MANS)
+ EXTRA_DIST = $(man_SOURCE) $(man_SHELLS) urls.txt siegerc.in
+ DISTCLEANFILES = siegerc $(man_MANS) $(man_SHELLS)
 -SIEGERC = $(sysconfdir)/siegerc
 -URLSTXT = $(sysconfdir)/urls.txt
 +SIEGERC = $(sysconfdir)/siege/siegerc
@@ -12,7 +12,7 @@ $OpenBSD: patch-doc_Makefile_in,v 1.3 20
  all: all-am

  .SUFFIXES:
-@@ -437,7 +437,7 @@ install-exec: install-exec-am
+@@ -398,7 +398,7 @@ install-exec: install-exec-am
  install-data: install-data-am

  install-am: all-am
Index: patches/patch-utils_siege_config_in
===================================================================
RCS file: /cvs/ports/benchmarks/siege/patches/patch-utils_siege_config_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-utils_siege_config_in
--- patches/patch-utils_siege_config_in 9 Apr 2009 00:19:14 -0000 1.1.1.1
+++ patches/patch-utils_siege_config_in 22 Nov 2016 15:25:55 -0000
@@ -1,12 +1,12 @@
 $OpenBSD: patch-utils_siege_config_in,v 1.1.1.1 2009/04/09 00:19:14 sthen Exp $
---- utils/siege.config.in.orig Wed Feb 18 11:27:17 2009
-+++ utils/siege.config.in Wed Feb 18 11:27:29 2009
-@@ -14,7 +14,7 @@ if test -f $rcfile; then
+--- utils/siege.config.in.orig Tue Nov 22 16:09:53 2016
++++ utils/siege.config.in Tue Nov 22 16:13:40 2016
+@@ -22,7 +22,7 @@ if test -f $config; then
    echo "siege.config"
    echo "usage: siege.config [no arguments]"
    echo "----------------------------------"
--  echo "Resource file already install as $rcfile"
-+  echo "Resource file already installed as $rcfile"
-   echo "Use your favorite editor to change your configuration by"
-   echo "editing the values in that file."
-   echo ""
+-  echo "Resource file already install as $config"
++  echo "Resource file already installed as $config"
+   echo "Use your favorite editor to change  your configuration by"
+   echo "editing the values in that file or remove it and run this"
+   echo "program again."
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/benchmarks/siege/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 15 Sep 2010 09:59:39 -0000 1.2
+++ pkg/PLIST 22 Nov 2016 15:25:55 -0000
@@ -7,8 +7,6 @@ bin/siege2csv.pl
 @man man/man1/siege.1
 @man man/man1/siege.config.1
 @man man/man1/siege2csv.1
-@man man/man5/urls_txt.5
-@man man/man7/layingsiege.7
 share/examples/siege/
 @sample ${SYSCONFDIR}/siege/
 share/examples/siege/siegerc