Fri Nov 27 16:20:31 2015 UTC ()
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."


(nils)
diff -r0 -r1.1 pkgsrc/www/siege/DESCR
diff -r0 -r1.1 pkgsrc/www/siege/Makefile
diff -r0 -r1.1 pkgsrc/www/siege/PLIST
diff -r0 -r1.1 pkgsrc/www/siege/distinfo
diff -r0 -r1.1 pkgsrc/www/siege/options.mk

File Added: pkgsrc/www/siege/DESCR
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."

File Added: pkgsrc/www/siege/Makefile
# $NetBSD: Makefile,v 1.1 2015/11/27 16:20:31 nils Exp $
#

DISTNAME=		siege-3.1.2
CATEGORIES=		www
MASTER_SITES=		http://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

SUBST_CLASSES+=		siege
SUBST_STAGE.siege=	post-patch
SUBST_FILES.siege=	doc/Makefile.am doc/Makefile.in
SUBST_SED.siege+=	-e "s|@EGDIR@|${EGDIR}|g"

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'

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}/log/
CONFIGURE_ENV+=		PERL=${PERL5:Q}

INSTALLATION_DIRS+=	${EGDIR} ${DOCDIR}
NOT_FOR_PLATFORM+=	SunOS-*-*

pre-configure:
	cd ${WRKSRC} && autoconf

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/urls.txt ${DESTDIR}${EGDIR}/urls.txt
	${INSTALL_DATA} ${WRKSRC}/doc/siegerc ${DESTDIR}${EGDIR}/siegerc
	${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}/KNOWNBUGS ${DESTDIR}${DOCDIR}/KNOWNBUGS
	#${INSTALL_DATA} ${WRKSRC}/MACHINES ${DESTDIR}${DOCDIR}/MACHINES
	${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${DOCDIR}/NEWS
	${INSTALL_DATA} ${WRKSRC}/PLATFORM ${DESTDIR}${DOCDIR}/PLATFORM
	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}/README.md
	${INSTALL_DATA} ${WRKSRC}/README.https ${DESTDIR}${DOCDIR}/README.https
	#${INSTALL_DATA} ${WRKSRC}/README.solaris ${DESTDIR}${DOCDIR}/README.solaris

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/www/siege/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/11/27 16:20:31 nils Exp $
bin/bombardment
bin/siege
bin/siege.config
bin/siege2csv.pl
man/man1/bombardment.1
man/man1/siege.1
man/man1/siege.config.1
man/man1/siege2csv.1
man/man5/urls_txt.5
man/man7/layingsiege.7
share/doc/siege/AUTHORS
share/doc/siege/COPYING
share/doc/siege/ChangeLog
share/doc/siege/INSTALL
share/doc/siege/KNOWNBUGS
share/doc/siege/NEWS
share/doc/siege/PLATFORM
share/doc/siege/README.https
share/doc/siege/README.md
share/examples/siege/siege/siegerc
share/examples/siege/siege/urls.txt
share/examples/siege/siegerc
share/examples/siege/urls.txt

File Added: pkgsrc/www/siege/distinfo
$NetBSD: distinfo,v 1.1 2015/11/27 16:20:31 nils Exp $

SHA1 (siege-3.1.2.tar.gz) = 29562e621536a54ea3a710847b7299039fd43e42
RMD160 (siege-3.1.2.tar.gz) = 5c7d5771a76c38ba0c67961cd13ef4422dc01ae0
SHA512 (siege-3.1.2.tar.gz) = 3ec3e861d56b8a75c83ddf2c971fda01b0981568d30deeeeaf22f34324308bf67244f3045366d63d20aacb946f968244a295b048f40250429b509f7f466fdf6f
Size (siege-3.1.2.tar.gz) = 527365 bytes

File Added: pkgsrc/www/siege/options.mk
# $NetBSD: options.mk,v 1.1 2015/11/27 16:20:31 nils Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.siege
PKG_SUPPORTED_OPTIONS=	ssl
PKG_SUGGESTED_OPTIONS=	ssl

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+=	--with-ssl=${SSLBASE:Q}
. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-ssl
.endif