From owner-freebsd-ports Tue Sep 3 7:30:20 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C55B37B400 for ; Tue, 3 Sep 2002 07:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 560E643E72 for ; Tue, 3 Sep 2002 07:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g83EU3JU027188 for ; Tue, 3 Sep 2002 07:30:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g83EU3oQ027187; Tue, 3 Sep 2002 07:30:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 222FA37B405 for ; Tue, 3 Sep 2002 07:24:52 -0700 (PDT) Received: from ruby.ir.exodus.net (ruby.ir.exodus.net [209.225.0.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1722343E6E for ; Tue, 3 Sep 2002 07:24:51 -0700 (PDT) (envelope-from klm@ruby.ir.exodus.net) Received: from ruby.ir.exodus.net (localhost [127.0.0.1]) by ruby.ir.exodus.net (8.12.3/8.12.3) with ESMTP id g83ASLVI028626 for ; Tue, 3 Sep 2002 10:28:21 GMT (envelope-from klm@ruby.ir.exodus.net) Received: (from klm@localhost) by ruby.ir.exodus.net (8.12.3/8.12.3/Submit) id g83ASKom028625; Tue, 3 Sep 2002 10:28:20 GMT Message-Id: <200209031028.g83ASKom028625@ruby.ir.exodus.net> Date: Tue, 3 Sep 2002 10:28:20 GMT From: klm Reply-To: klm To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42372: New port: security/webjob - Download and execute a program over HTTP/HTTPS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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