ports/42372: New port: security/webjob - Download and execute a program over HTTP/HTTPS

Foxfair Hu foxfair at FreeBSD.org
Sat Mar 29 09:26:26 UTC 2003


Synopsis: New port: security/webjob - Download and execute a program over HTTP/HTTPS

State-Changed-From-To: open->feedback
State-Changed-By: foxfair
State-Changed-When: Sat Mar 29 01:24:00 PST 2003
State-Changed-Why: 
Update to 1.2.3, here is new ports file.

------------------------webjob.shar cut here-------------------------
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	webjob/
#	webjob/pkg-plist
#	webjob/Makefile
#	webjob/pkg-descr
#	webjob/distinfo
#	webjob/pkg-message
#
echo c - webjob/
mkdir -p webjob/ > /dev/null 2>&1
echo x - webjob/pkg-plist
sed 's/^X//' >webjob/pkg-plist << 'END-of-webjob/pkg-plist'
Xbin/pad-join
Xbin/pad-make-binary
Xbin/pad-make-script
Xbin/webjob
Xcgi/cgi-client/nph-webjob.cgi
Xdoc/webjob.html
Xetc/webjob.cfg.sample
X at unexec rmdir %D/bin 2> /dev/null || true
X at unexec rmdir %D/cgi/cgi-client 2> /dev/null || true
X at unexec rmdir %D/cgi 2> /dev/null || true
X at unexec rmdir %D/doc 2> /dev/null || true
X at unexec rmdir %D/etc 2> /dev/null || true
X at unexec rmdir %D/man/man1 2> /dev/null || true
X at unexec rmdir %D/man 2> /dev/null || true
X at unexec rmdir %D 2> /dev/null || true
END-of-webjob/pkg-plist
echo x - webjob/Makefile
sed 's/^X//' >webjob/Makefile << 'END-of-webjob/Makefile'
X# New ports collection makefile for:	webjob
X# Date created:		20 August 2002
X# Whom:			Klayton Monroe <klm at ir.exodus.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	webjob
XPORTVERSION=	1.2.3
XCATEGORIES=	security sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	webjob
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	klm at ir.exodus.net
XCOMMENT=	Download and execute a program over HTTP/HTTPS
X
XMAN1=		webjob.1
X
XPREFIX=		${LOCALBASE}/integrity
X
XGNU_CONFIGURE=	YES
X
XNO_MTREE=	YES
X
X.if defined(WITHOUT_SSL)
XCONFIGURE_ARGS=	--without-ssl
X.else
XUSE_OPENSSL=	YES
XCONFIGURE_ARGS=	--with-ssl=${OPENSSLBASE}
X.endif
X
Xpre-build:
X	@${MV} ${WRKSRC}/etc/webjob.cfg ${WRKSRC}/etc/webjob.cfg.sample
X	@${MV} ${WRKSRC}/etc/Makefile ${WRKSRC}/etc/Makefile.orig
X	@${SED} 's/webjob.cfg/webjob.cfg.sample/g' ${WRKSRC}/etc/Makefile.orig > ${WRKSRC}/etc/Makefile
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-webjob/Makefile
echo x - webjob/pkg-descr
sed 's/^X//' >webjob/pkg-descr << 'END-of-webjob/pkg-descr'
XWebJob downloads a program over HTTP/HTTPS and executes it in one
Xunified operation. The output, if any, may be directed to stdout/stderr
Xor a Web resource. WebJob may be useful in incident response and
Xintrusion analysis as it provides a mechanism to run known good
Xdiagnostic programs on a potentially compromised system. It can
Xalso support a variety of centralized management and host-based
Xmonitoring solutions.
X
XWWW: http://webjob.sourceforge.net/WebJob/
END-of-webjob/pkg-descr
echo x - webjob/distinfo
sed 's/^X//' >webjob/distinfo << 'END-of-webjob/distinfo'
XMD5 (webjob-1.2.3.tgz) = a9cbbd931d8280b08698e99c40aa1a5a
END-of-webjob/distinfo
echo x - webjob/pkg-message
sed 's/^X//' >webjob/pkg-message << 'END-of-webjob/pkg-message'
X
X----------------------------------------------------------------------
X  If necessary, check the value of ${PREFIX} and update your PATH
X  and MANPATH environment variables accordingly. By default, WebJob
X  is rooted in the following location: /usr/local/integrity.
X
X  For information on how to configure an Apache Web server to handle
X  WebJob requests and verify client-server connectivity, refer to
X  the INSTALL document located in the project's source tree.
X
X  A sample configuration file can be found in ${PREFIX}/etc.
X----------------------------------------------------------------------
X
END-of-webjob/pkg-message
exit


http://www.freebsd.org/cgi/query-pr.cgi?pr=42372



More information about the freebsd-ports-bugs mailing list