head 1.14; access; symbols pkgsrc-2023Q4:1.13.0.2 pkgsrc-2023Q4-base:1.13 pkgsrc-2023Q3:1.11.0.4 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.2 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.10.0.20 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.18 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.16 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.14 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.12 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.10 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.8 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.6 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.4 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.2 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.9.0.4 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.2 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.8.0.2 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.7.0.6 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.2 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.6.0.2 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.5.0.6 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.4 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.2 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.4.0.10 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.8 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.6 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.4 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.3.0.12 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.10 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.8 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.6 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.4 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.2 pkgsrc-2015Q4-base:1.2; locks; strict; comment @# @; 1.14 date 2023.12.30.21.42.48; author zafer; state Exp; branches; next 1.13; commitid nOAhG3eBEokWixSE; 1.13 date 2023.12.06.15.56.56; author abs; state Exp; branches; next 1.12; commitid 9UfHO6UBmkaG9qPE; 1.12 date 2023.10.24.22.11.34; author wiz; state Exp; branches; next 1.11; commitid MTsrqKm6aGrQAVJE; 1.11 date 2023.04.30.18.17.39; author nils; state Exp; branches; next 1.10; commitid lLqHYUni4vfIZ9nE; 1.10 date 2020.10.05.20.15.01; author nils; state Exp; branches; next 1.9; commitid rPiooNp6nmzdJKqC; 1.9 date 2020.05.02.14.16.06; author rillig; state Exp; branches; next 1.8; commitid AKFTWTWSMJ27OF6C; 1.8 date 2020.01.18.21.51.11; author jperkin; state Exp; branches; next 1.7; commitid JW4hJgY8ZdoTFdTB; 1.7 date 2019.08.18.20.32.59; author nils; state Exp; branches; next 1.6; commitid NJztk7dZGYH42yzB; 1.6 date 2019.05.23.19.23.21; author rillig; state Exp; branches; next 1.5; commitid aWlQW8HYUUFCAmoB; 1.5 date 2018.07.04.13.40.42; author jperkin; state Exp; branches; next 1.4; commitid NnIyRkdX3Lbg3PIA; 1.4 date 2017.09.25.22.39.56; author jlam; state Exp; branches; next 1.3; commitid G4kee5PqQUhk8D8A; 1.3 date 2016.03.05.11.29.39; author jperkin; state Exp; branches; next 1.2; commitid 1LoxeQftu903HrXy; 1.2 date 2015.12.04.22.11.32; author nils; state Exp; branches; next 1.1; commitid UKMhEvwAVJCtdGLy; 1.1 date 2015.11.27.16.20.31; author nils; state Exp; branches; next ; commitid 3CBz3Ngn2W19vKKy; desc @@ 1.14 log @https @ text @# $NetBSD: Makefile,v 1.13 2023/12/06 15:56:56 abs Exp $ # DISTNAME= siege-4.1.6 PKGREVISION= 2 CATEGORIES= www MASTER_SITES= https://download.joedog.org/siege/ MAINTAINER= nils@@NetBSD.org HOMEPAGE= http://www.joedog.org/JoeDog/Siege COMMENT= Website/webserver regression testing utility LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes USE_TOOLS+= autoconf .include "options.mk" BUILD_DEFS+= VARBASE PKG_SYSCONFSUBDIR= siege EGDIR= ${PREFIX}/share/examples/siege DOCDIR= ${PREFIX}/share/doc/siege CONF_FILES= ${EGDIR}/urls.txt ${PKG_SYSCONFDIR}/urls.txt CONF_FILES+= ${EGDIR}/siegerc ${PKG_SYSCONFDIR}/siegerc CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --localstatedir=${VARBASE}/log/ CONFIGURE_ENV+= PERL=${PERL5:Q} INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR} INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR:Q} NOT_FOR_PLATFORM+= SunOS-*-* pre-configure: cd ${WRKSRC} && autoconf post-install: ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${DOCDIR}/AUTHORS ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${DOCDIR}/COPYING ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${DOCDIR}/ChangeLog ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}/INSTALL ${INSTALL_DATA} ${WRKSRC}/PLATFORM ${DESTDIR}${DOCDIR}/PLATFORM ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}/README.md .include "../../mk/bsd.pkg.mk" @ 1.13 log @Fix crash on BSD when concurrency > 1 Add check for getaddrinfo() for non __GLIBC__ systems, rather than falling back to mixing gethostbyname() with threads OK'd by $MAINTAINER, bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2023/10/24 22:11:34 wiz Exp $ d7 1 a7 1 MASTER_SITES= http://download.joedog.org/siege/ @ 1.12 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2023/04/30 18:17:39 nils Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.11 log @Updated www/siege to version 4.1.6. Upstream change from 4.1.5 to 4.1.6 : In print mode (siege -p) which is great for debugging web applications, siege wouldn’t return persisted cookies. This release fixes that problem. We also added more detail to socket errors. If a requested hostname can’t be resolved, siege will print the hostname so you know exactly what to fix. Upstream changes (from 4.0.7 to 4.1.5) : * src/browser.c Corrected deferred * src/version. Version increment 4.1.5 * utils/Makefile.am Added manifier to the distro * src/browser.c Made all threads cancel deferred * src/ftp.c Catch 421: server accepts but doesn't handle * src/timer.c Added a second to account for spool up * src/version.c Version increment: 4.1.4 * src/memory.c Added xstrncpy, xstrncat * src/memory.h Added xstrncpy, xstrncat * src/cookies.c Implemented new x* functions * src/ssl.c Silenced compiler warning * src/main.c Added xstrncpy to silence warnings * src/version.c Version increment: 4.1.3 * doc/siege.pod Fixed a typo in the man page * src/parser.c Refined match for META redirect * src/browser.c Fixed typos * src/date.c Fixed typos * src/url.c Fixed typos * utils/siege2csv.in Fixed typos * src/main.c Silenced statistics output on -g/--get * src/cookies.c Improved domain matching, added my.get * src/ssl.c Silenced a compiler warning * src/version.c Version increment: 4.1.2 * src/browser.c Added HTTP response 201 handler * src/response.c Added Content-Location handler * src/response.h Added CONTENT_LOCATION value * src/http.c Added Content-Location parser * src/cfg.c Added an escape handler for $ in URLs * src/eval.c Added function escape(str) to remove '\' * src/ssl.c Put ERR_remove_state inside ssl version * src/url.c Added fix for null path checking * src/util.c Fixed np_phtread_usleep for Solaris * src/version.c Version increment: 4.1.1 * src/url.c Removed leading / from ftp paths * src/browser.c fixed: "--reps=once" * src/main.c fixed: "--reps=once" * src/init.c Fixed password parsing # can be in pwd * src/auth.c Prettified credentials output for siege -C * src/version.c Version increment: 4.1.0 * src/cookie.c Added NULL checks for getters * version.c Version increment: 4.0.9 * src/main.c Prettified json * src/hash.c Added explicit include of sys/types.h * src/version.c Version increment: 4.0.8; Copyright 2021 * src/parser.c Added handling for null pointer detection @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/10/05 20:15:01 nils Exp $ d5 1 @ 1.10 log @Updated www/siege to version 4.0.7. Upstream changes (from 4.0.4) : * src/cookie.c Fixed an issue with expires * src/cookies.c Fixed an issue with persistence * src/version.c Version increment: 4.0.7 * src/init.c Minor bug fix * src/auth.c Fixed initialization error * src/version.c Version increment: 4.0.6 * src/creds.c Fixed an initialization problem * src/cookies.c Fixed locking issue * src/url.c Fixed an initialization problem * src/init.c Fixed an initialization problem * src/memory.c Formatting change * src/version.c Version increment: 4.0.5 * src/main.c Added -j/--json-output * src/init.c Added -j/--json-output - force quiet mode * src/setup.h Added variable for json output * doc/siegerc.in Added documentation to the config file * src/url.c Adding DELETE and OPTIONS support. * src/browser.c Adding DELETE and OPTIONS support. * src/http.c Correct capitalization for Content-Type & Content-Length * src/response.c Handle case of incorrect server response header * README.md Make readme's title nice * src/page.c Remove needless memset(2) * src/cookies.c Bug fix - prevent segfault when getenv(HOME) is null * src/load.c Bug fix - allow content-type override at cmd line * src/version.c Version increment: 4.0.4r3 * src/url.c Skipped URL escaping for the host and port * src/version.c Version increment: 4.0.4r2 * src/sock.c Added support for IPv6 * src/url.c Added support for parsing IPv6 addresses * src/version.c Version increment: 4.0.4r1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/05/02 14:16:06 rillig Exp $ d4 1 a4 1 DISTNAME= siege-4.0.7 @ 1.9 log @www/siege: remove no-op SUBST block The files don't contain EGDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/01/18 21:51:11 jperkin Exp $ d4 1 a4 2 DISTNAME= siege-4.0.4 PKGREVISION= 1 @ 1.8 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/08/18 20:32:59 nils Exp $ a26 5 SUBST_CLASSES+= siege SUBST_STAGE.siege= pre-configure SUBST_FILES.siege= doc/Makefile.am doc/Makefile.in SUBST_VARS.siege= EGDIR @ 1.7 log @Updated www/siege to version 4.0.4. Pkgsrc changelog : * Some files do not exist anymore, so they were removed from installation * Fixed compilation issue about signals Some of the upstream changes : * an HTML parser : pages are now parsed for additional elements (images, js...) that are also requested ; * improved memory management ; * logging to a file is now disabled by default ; * colored output can be disabled in the config file ; * implement disable cache option. Full changelog available here : https://github.com/JoeDog/siege/blob/v4.0.4/ChangeLog @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2019/05/23 19:23:21 rillig Exp $ d5 1 @ 1.6 log @all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2018/07/04 13:40:42 jperkin Exp $ d4 1 a4 2 DISTNAME= siege-3.1.3 PKGREVISION= 2 a46 3 ${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${DESTDIR}${DOCDIR}/KNOWNBUGS #${INSTALL_DATA} ${WRKSRC}/MACHINES ${DESTDIR}${DOCDIR}/MACHINES ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${DOCDIR}/NEWS a48 2 ${INSTALL_DATA} ${WRKSRC}/README.https ${DESTDIR}${DOCDIR}/README.https #${INSTALL_DATA} ${WRKSRC}/README.solaris ${DESTDIR}${DOCDIR}/README.solaris @ 1.5 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2017/09/25 22:39:56 jlam Exp $ d30 1 a30 1 SUBST_SED.siege+= -e "s|@@EGDIR@@|${EGDIR}|g" @ 1.4 log @www/siege: Fix installation if ${PKG_SYSCONFBASE} != ${PREFIX}/etc. The software Makefiles try to install example configuration files directly into $(sysconfdir), which is set during the configure stage to ${PKG_SYSCONFDIR} == ${PREFIX}/etc/siege. However, pkgsrc standards require that the example configuration files be installed into ${PREFIX}/share/examples/siege ( ${EGDIR} ). Pass sysconfdir=${EGDIR} to the bmake(1) process during the install stage so that the Makefile recipe will install the example files into the correct location. Remove the "install" substitution class that was trying to do the same thing but which fails if ${PKG_SYSCONFBASE} != ${PREFIX}/etc. Bump the PKGREVISION due to changes in the installed files if the package is built with default settings. Fix discussed with nils@@ in private correspondence. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/03/05 11:29:39 jperkin Exp $ d28 1 a28 1 SUBST_STAGE.siege= post-patch @ 1.3 log @Bump PKGREVISION for security/openssl ABI bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/12/04 22:11:32 nils Exp $ d5 1 a5 1 PKGREVISION= 1 a31 6 SUBST_CLASSES+= install SUBST_STAGE.install= pre-install SUBST_MESSAGE.install= correcting installation path SUBST_FILES.install= ${WRKSRC}/doc/Makefile SUBST_SED.install= -e 's,${PREFIX}/etc,${EGDIR},g' d37 1 a43 2 ${INSTALL_DATA} ${WRKSRC}/doc/urls.txt ${DESTDIR}${EGDIR}/urls.txt ${INSTALL_DATA} ${WRKSRC}/doc/siegerc ${DESTDIR}${EGDIR}/siegerc @ 1.2 log @Updated www/siege to version 3.1.3. Upstream Changelog : * src/sock.c Fixed typo in error message * src/url.c Fixed post bug with null termination * doc/siegerc.in Added limit and it's description in comments * src/setup.h Added my.limit to limit the thread count * src/init.c Parsing siegerc for limit * src/main.c Capped my.users at my.limit @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/11/27 16:20:31 nils Exp $ d5 1 @ 1.1 log @Initial import of siege, version 3.1.2. Siege is an http regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It allows the user hit a web server with a configurable number of concurrent simulated users. Those users place the webserver "under siege." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2015/02/11 16:37:58 ahp-nils Exp $ d4 1 a4 1 DISTNAME= siege-3.1.2 @