Hi, realized our benchmarks/siege was old as hell, and segfaulting quite often - updated to 3.1.3 and it seems to run better. While here, removed SYSCONFDIR overriding in Makefile that had the side-effect of putting the config files in /etc/siege/siege/ - should be either this or removing patch-configure :)
i still wonder what should be done about the logfile, it might be better to default to /tmp or ~/.siege.log instead of 775 /var/log/siege ? Landry
? ktrace.out Index: Makefile =================================================================== RCS file: /cvs/ports/benchmarks/siege/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 23 Jun 2015 15:28:58 -0000 1.9 +++ Makefile 8 Jan 2016 14:00:17 -0000 @@ -2,8 +2,7 @@ COMMENT = multi-threaded HTTP benchmark and regression tester -DISTNAME = siege-2.70 -REVISION = 1 +DISTNAME = siege-3.1.3 CATEGORIES = benchmarks www @@ -19,7 +18,6 @@ MAKE_FLAGS = localstatedir=${LOCALSTATEDIR} LOCALSTATEDIR= ${BASELOCALSTATEDIR}/log/siege -SYSCONFDIR= ${BASESYSCONFDIR}/siege CONFIGURE_STYLE = gnu Index: distinfo =================================================================== RCS file: /cvs/ports/benchmarks/siege/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 18 Jan 2015 03:12:52 -0000 1.3 +++ distinfo 8 Jan 2016 14:00:17 -0000 @@ -1,2 +1,2 @@ -SHA256 (siege-2.70.tar.gz) = PLS8tSpL7ps1prSHSSw6jrINkR12Ex4Sg8pzrF113ZE= -SIZE (siege-2.70.tar.gz) = 484608 +SHA256 (siege-3.1.3.tar.gz) = TTky6iPL9tHSLffH7m56a8n1kbYEq1gjk+62Lzk/WjM= +SIZE (siege-3.1.3.tar.gz) = 527862 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/benchmarks/siege/patches/patch-configure,v retrieving revision 1.3 diff -u -r1.3 patch-configure --- patches/patch-configure 19 Aug 2012 18:55:08 -0000 1.3 +++ patches/patch-configure 8 Jan 2016 14:00:17 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-configure,v 1.3 2012/08/19 18:55:08 jasper Exp $ ---- configure.orig Fri Jul 16 15:52:42 2010 -+++ configure Wed Sep 15 10:40:56 2010 -@@ -27006,8 +27006,8 @@ done +--- 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 #define SIEGE_HOME "$prefix" @@ -10,5 +10,5 @@ +#define URL_FILE "$sysconfdir/siege/urls.txt" +#define CNF_FILE "$sysconfdir/siege/siegerc" #define LOG_FILE "$localstatedir/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.2 diff -u -r1.2 patch-doc_Makefile_in --- patches/patch-doc_Makefile_in 15 Sep 2010 09:59:39 -0000 1.2 +++ patches/patch-doc_Makefile_in 8 Jan 2016 14:00:17 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-doc_Makefile_in,v 1.2 2010/09/15 09:59:39 sthen Exp $ ---- doc/Makefile.in.orig Fri Jul 16 15:52:41 2010 -+++ doc/Makefile.in Wed Sep 15 10:42:30 2010 -@@ -190,8 +190,8 @@ urls.txt \ +--- 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 DISTCLEANFILES = siegerc $(man_MANS) @@ -12,7 +12,7 @@ all: all-am .SUFFIXES: -@@ -415,7 +415,7 @@ install-exec: install-exec-am +@@ -437,7 +437,7 @@ install-exec: install-exec-am install-data: install-data-am install-am: all-am Index: patches/patch-src_init_c =================================================================== RCS file: patches/patch-src_init_c diff -N patches/patch-src_init_c --- patches/patch-src_init_c 15 Sep 2010 09:59:39 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-src_init_c,v 1.2 2010/09/15 09:59:39 sthen Exp $ ---- src/init.c.orig Sat May 8 15:52:47 2010 -+++ src/init.c Wed Sep 15 10:40:02 2010 -@@ -99,8 +99,7 @@ init_config( void ) - } - - if(strlen(my.file) < 1){ -- strcpy( my.file, SIEGE_HOME ); -- strcat( my.file, "/etc/urls.txt" ); -+ strcpy( my.file, CNF_FILE ); - } - - if(strlen(my.uagent) < 1)