Update siege to 4.0.4.

This commit is contained in:
fcambus 2019-12-01 22:03:11 +00:00
parent 4dca6d470c
commit b61fb1ab98
6 changed files with 36 additions and 32 deletions

View File

@ -1,23 +1,23 @@
# $OpenBSD: Makefile,v 1.11 2019/07/12 20:43:43 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2019/12/01 22:03:11 fcambus Exp $
COMMENT = multi-threaded HTTP benchmark and regression tester
DISTNAME = siege-3.1.3
DISTNAME = siege-4.0.4
CATEGORIES = benchmarks www
HOMEPAGE = http://www.joedog.org/index/siege-home
HOMEPAGE = https://www.joedog.org/index/siege-home
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += c crypto pthread ssl
WANTLIB += c crypto pthread ssl z
MASTER_SITES = http://download.joedog.org/siege/
MAKE_FLAGS = localstatedir=${LOCALSTATEDIR}
LOCALSTATEDIR= ${BASELOCALSTATEDIR}/log/siege
LOCALSTATEDIR = ${BASELOCALSTATEDIR}/log/siege
CONFIGURE_STYLE = gnu

View File

@ -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.4.tar.gz) = j33PGL1yK7nMkrw+pLWYNrSi+NjwHUqUyNGB9W2R6m8=
SIZE (siege-4.0.4.tar.gz) = 523102

View File

@ -1,14 +1,17 @@
$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
$OpenBSD: patch-configure,v 1.5 2019/12/01 22:03:11 fcambus Exp $
Index: configure
--- configure.orig
+++ configure
@@ -22866,9 +22866,9 @@ $as_echo X"$file" |
#define JOEDOG_PATH_H
#define SIEGE_HOME "$prefix"
-#define URL_FILE "$sysconfdir/urls.txt"
-#define CNF_FILE "$sysconfdir/siegerc"
-#define LOG_FILE "$localstatedir/log/siege.log"
+#define URL_FILE "$sysconfdir/siege/urls.txt"
+#define CNF_FILE "$sysconfdir/siege/siegerc"
#define LOG_FILE "$localstatedir/siege.log"
+#define LOG_FILE "$localstatedir/siege.log"
#define PLATFORM "$platform"
#endif/*JOEDOG_PATH_H*/

View File

@ -1,10 +1,12 @@
$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
$OpenBSD: patch-doc_Makefile_in,v 1.4 2019/12/01 22:03:11 fcambus Exp $
Index: doc/Makefile.in
--- doc/Makefile.in.orig
+++ doc/Makefile.in
@@ -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 +14,7 @@ $OpenBSD: patch-doc_Makefile_in,v 1.3 2016/01/11 10:22:05 landry Exp $
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

View File

@ -1,12 +1,13 @@
$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
$OpenBSD: patch-utils_siege_config_in,v 1.2 2019/12/01 22:03:11 fcambus Exp $
Index: utils/siege.config.in
--- utils/siege.config.in.orig
+++ utils/siege.config.in
@@ -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."

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2010/09/15 09:59:39 sthen Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/12/01 22:03:11 fcambus Exp $
bin/bombardment
@bin bin/siege
bin/siege.config
@ -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