1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Add webjob 1.2.3, download and execute a program over HTTP/HTTPS.

PR:		42372
Submitted by:	Klayton Monroe <klm@ir.exodus.net>
This commit is contained in:
Foxfair Hu 2003-04-02 12:39:26 +00:00
parent 21f8fdab6e
commit 3dcce89b74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77985
6 changed files with 72 additions and 0 deletions

View File

@ -259,6 +259,7 @@
SUBDIR += videogen
SUBDIR += vobcopy
SUBDIR += wait_on
SUBDIR += webjob
SUBDIR += webmin
SUBDIR += whatpix
SUBDIR += whowatch

34
sysutils/webjob/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: webjob
# Date created: 20 August 2002
# Whom: Klayton Monroe <klm@ir.exodus.net>
#
# $FreeBSD$
#
PORTNAME= webjob
PORTVERSION= 1.2.3
CATEGORIES= sysutils security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webjob
EXTRACT_SUFX= .tgz
MAINTAINER= klm@ir.exodus.net
COMMENT= Download and execute a program over HTTP/HTTPS
MAN1= webjob.1
GNU_CONFIGURE= YES
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS= --without-ssl
.else
USE_OPENSSL= YES
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
.endif
pre-build:
@${MV} ${WRKSRC}/etc/webjob.cfg ${WRKSRC}/etc/webjob.cfg.sample
@${MV} ${WRKSRC}/etc/Makefile ${WRKSRC}/etc/Makefile.orig
@${SED} 's/webjob.cfg/webjob.cfg.sample/g' ${WRKSRC}/etc/Makefile.orig > ${WRKSRC}/etc/Makefile
.include <bsd.port.mk>

1
sysutils/webjob/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (webjob-1.2.3.tgz) = a9cbbd931d8280b08698e99c40aa1a5a

View File

@ -0,0 +1,9 @@
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.
WWW: http://webjob.sourceforge.net/WebJob/

View File

@ -0,0 +1,12 @@
----------------------------------------------------------------------
If necessary, check the value of ${PREFIX} and update your PATH
and MANPATH environment variables accordingly. By default, WebJob
is rooted in the following location: /usr/local/integrity.
For information on how to configure an Apache Web server to handle
WebJob requests and verify client-server connectivity, refer to
the INSTALL document located in the project's source tree.
A sample configuration file can be found in ${PREFIX}/etc.
----------------------------------------------------------------------

15
sysutils/webjob/pkg-plist Normal file
View File

@ -0,0 +1,15 @@
bin/pad-join
bin/pad-make-binary
bin/pad-make-script
bin/webjob
cgi/cgi-client/nph-webjob.cgi
doc/webjob.html
etc/webjob.cfg.sample
@unexec rmdir %D/bin 2> /dev/null || true
@unexec rmdir %D/cgi/cgi-client 2> /dev/null || true
@unexec rmdir %D/cgi 2> /dev/null || true
@unexec rmdir %D/doc 2> /dev/null || true
@unexec rmdir %D/etc 2> /dev/null || true
@unexec rmdir %D/man/man1 2> /dev/null || true
@unexec rmdir %D/man 2> /dev/null || true
@unexec rmdir %D 2> /dev/null || true