Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 10:28:20 GMT
From:      klm <klm@ruby.ir.exodus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42372: New port: security/webjob - Download and execute a program over HTTP/HTTPS
Message-ID:  <200209031028.g83ASKom028625@ruby.ir.exodus.net>

next in thread | raw e-mail | index | archive | help

>Number:         42372
>Category:       ports
>Synopsis:       New port: security/webjob - Download and execute a program over HTTP/HTTPS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 03 07:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     klm
>Release:        FreeBSD 4.6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD ruby.ir.exodus.net 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 #0: Tue Aug 6 15:24:22 EDT 2002 root@nerve.mud:/usr/obj/usr/src/sys/GENERIC i386

>Description:

WebJob downloads a program over HTTP/HTTPS and executes it in one
unified operation. The output, if any, may be directed to stdout/stderr
or a Web resource. WebJob may be useful in incident response and
intrusion analysis as it provides a mechanism to run known good
diagnostic programs on a potentially compromised system. It can
also support a variety of centralized management and host-based
monitoring solutions.

>How-To-Repeat:

>Fix:

# 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-comment
#	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-comment
sed 's/^X//' >webjob/pkg-comment << 'END-of-webjob/pkg-comment'
XDownload and execute a program over HTTP/HTTPS
END-of-webjob/pkg-comment
echo x - webjob/pkg-plist
sed 's/^X//' >webjob/pkg-plist << 'END-of-webjob/pkg-plist'
Xbin/webjob
Xcgi/nph-webjob.cgi
Xdoc/webjob.html
Xetc/webjob.cfg.sample
X@unexec rmdir %D/bin 2> /dev/null || true
X@unexec rmdir %D/cgi 2> /dev/null || true
X@unexec rmdir %D/doc 2> /dev/null || true
X@unexec rmdir %D/etc 2> /dev/null || true
X@unexec rmdir %D/man/man1 2> /dev/null || true
X@unexec rmdir %D/man 2> /dev/null || true
X@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@ir.exodus.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	webjob
XPORTVERSION=	1.2.1
XCATEGORIES=	security sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	webjob
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	klm@ir.exodus.net
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	@strip ${PREFIX}/bin/webjob
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.1.tgz) = 8393e7dc25d6c3d11b2583f218c4a625
END-of-webjob/distinfo
echo x - webjob/pkg-message
sed 's/^X//' >webjob/pkg-message << 'END-of-webjob/pkg-message'
X
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----------------------------------------------------------------------
X
END-of-webjob/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209031028.g83ASKom028625>