diff options
author | erwin <erwin@FreeBSD.org> | 2003-06-13 16:41:25 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-06-13 16:41:25 +0800 |
commit | 285d50708d82b01155fd5b0ab17679bd450963d1 (patch) | |
tree | e6946499cb65c22fc5b0e7b904396c9fe4f756f2 /security/proxycheck | |
parent | 47d48dc642aa265d1134ba6670b0288cc285503e (diff) | |
download | freebsd-ports-gnome-285d50708d82b01155fd5b0ab17679bd450963d1.tar.gz freebsd-ports-gnome-285d50708d82b01155fd5b0ab17679bd450963d1.tar.zst freebsd-ports-gnome-285d50708d82b01155fd5b0ab17679bd450963d1.zip |
Add proxycheck 0.45, check for open proxy servers.
PR: 53269
Submitted by: Paul Chvostek <paul@it.ca>
Diffstat (limited to 'security/proxycheck')
-rw-r--r-- | security/proxycheck/Makefile | 36 | ||||
-rw-r--r-- | security/proxycheck/distinfo | 2 | ||||
-rw-r--r-- | security/proxycheck/files/patch-aa | 22 | ||||
-rw-r--r-- | security/proxycheck/files/patch-ab | 20 | ||||
-rw-r--r-- | security/proxycheck/files/patch-ac | 11 | ||||
-rw-r--r-- | security/proxycheck/pkg-descr | 11 | ||||
-rw-r--r-- | security/proxycheck/pkg-plist | 4 |
7 files changed, 106 insertions, 0 deletions
diff --git a/security/proxycheck/Makefile b/security/proxycheck/Makefile new file mode 100644 index 000000000000..e8e0b130dfd5 --- /dev/null +++ b/security/proxycheck/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: proxycheck +# Date created: Fri Jun 13 02:26:04 EDT 2003 +# Whom: Paul Chvostek <paul@it.ca> +# +# $FreeBSD$ +# + +PORTNAME= proxycheck +PORTVERSION= 0.45 +CATEGORIES= security +MASTER_SITES= http://www.corpit.ru/mjt/proxycheck/:0 \ + http://www.it.ca/~paul/src/:0 +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:0 + +.if !defined(NOPORTDOCS) +EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} +MASTER_SITES+= http://www.corpit.ru/mjt/:1 \ + http://www.it.ca/~paul/src/:1 +DISTFILES+= proxycheck.html:1 +.endif + +MAINTAINER= paul+ports@it.ca +COMMENT= Check for open proxy servers + +MAN1= proxycheck.1 + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/proxycheck ${PREFIX}/sbin/ + @${INSTALL_MAN} ${WRKSRC}//proxycheck.1 ${PREFIX}/man/man1/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR} + @${INSTALL_DATA} ${DISTDIR}/proxycheck.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/security/proxycheck/distinfo b/security/proxycheck/distinfo new file mode 100644 index 000000000000..a2f1321280ca --- /dev/null +++ b/security/proxycheck/distinfo @@ -0,0 +1,2 @@ +MD5 (proxycheck-0.45.tar.gz) = 281eebe5ac6727dcdabf1cefcb2424cf +MD5 (proxycheck.html) = 3d393ad5c49e58f20fe9f1d43c359395 diff --git a/security/proxycheck/files/patch-aa b/security/proxycheck/files/patch-aa new file mode 100644 index 000000000000..a23ab13cf9db --- /dev/null +++ b/security/proxycheck/files/patch-aa @@ -0,0 +1,22 @@ +--- Makefile.orig Sun May 11 10:47:38 2003 ++++ Makefile Fri Jun 13 03:01:04 2003 +@@ -2,15 +2,15 @@ + # Makefile for proxycheck. GPL + +-CC = cc +-CFLAGS = -O ++CC ?= cc ++CFLAGS += -O + DEFS = -D_GNU_SOURCE + LD = $(CC) +-LDFLAGS = ++# LDFLAGS = + + # For Solaris, we need -lsocket -lnsl and -lresolv for inet_aton +-RSOCKLIBS = `[ -f /usr/lib/libsocket.so ] && echo -lresolv -lsocket -lnsl || :` +-SOCKLIBS = `[ -f /usr/lib/libsocket.so ] && echo -lsocket -lnsl || :` ++# RSOCKLIBS = `[ -f /usr/lib/libsocket.so ] && echo -lresolv -lsocket -lnsl || :` ++# SOCKLIBS = `[ -f /usr/lib/libsocket.so ] && echo -lsocket -lnsl || :` + + USE_CFLAGS = $(CFLAGS) $(DEFS) + diff --git a/security/proxycheck/files/patch-ab b/security/proxycheck/files/patch-ab new file mode 100644 index 000000000000..50002060e30e --- /dev/null +++ b/security/proxycheck/files/patch-ab @@ -0,0 +1,20 @@ +--- proxycheck.c.orig Fri Jun 13 03:07:12 2003 ++++ proxycheck.c Fri Jun 13 03:07:53 2003 +@@ -974,7 +974,7 @@ + dstspec = strdup(pxybuf); + } + +- dsbluser = egetenv("DSBL_USER", "anonimous"); ++ dsbluser = egetenv("DSBL_USER", "anonymous"); + dsblpass = egetenv("DSBL_PASS", ""); + dsblfrom = egetenv("DSBL_FROM", dsbluser); + dsblrcpt = egetenv("DSBL_RCPT", "listme@listme.dsbl.org"); +@@ -1015,7 +1015,7 @@ + { "dsbl", dsblh, dsbld, dsble, dsbli, "[:smtpserver[:port]]", + "attempt to submit proxy to DSBL-like system\n" + " DSBL settings are expected to be in environment:\n" +- "\t$DSBL_USER - username (anonimous)\n" ++ "\t$DSBL_USER - username (anonymous)\n" + "\t$DSBL_PASS - password (default is empty)\n" + "\t$DSBL_COOKIE_HOST - cookie server (cookie.dsbl.org)\n" + "\t$DSBL_COOKIE - already obtained DSBL cookie\n" diff --git a/security/proxycheck/files/patch-ac b/security/proxycheck/files/patch-ac new file mode 100644 index 000000000000..97751a5725c3 --- /dev/null +++ b/security/proxycheck/files/patch-ac @@ -0,0 +1,11 @@ +--- proxycheck.1.orig Fri Jun 13 03:07:05 2003 ++++ proxycheck.1 Fri Jun 13 03:07:42 2003 +@@ -72,7 +72,7 @@ + (username, password, recipient address, cookie server, ...) are + expected to be found in environment variables. Run \fBproxycheck\fR + with \fB\-h\fR option to see a list of recognized variables and +-their default values. By default, \fBproxycheck\fR will anonimously ++their default values. By default, \fBproxycheck\fR will anonymously + submit all found proxies to unconfirmed.dsbl.org (which isn't very + useful). For trusted DSBL user, at least DSBL_USER and DSBL_PASS + variables should be set properly. diff --git a/security/proxycheck/pkg-descr b/security/proxycheck/pkg-descr new file mode 100644 index 000000000000..80f7c7ab3cfc --- /dev/null +++ b/security/proxycheck/pkg-descr @@ -0,0 +1,11 @@ +proxycheck is a simple tool that may be used to check whether a given +host or set of hosts has open proxy server running. + +See http://www.corpit.ru/mjt/proxycheck.html for more information. + +proxycheck was written by Michael Tokarev and comes ready to contribute +results to DSBL.org. + +WWW: http://www.corpit.ru/mjt/proxycheck.html + +- Paul Chvostek <paul+ports@it.ca> diff --git a/security/proxycheck/pkg-plist b/security/proxycheck/pkg-plist new file mode 100644 index 000000000000..aee78d54e8d0 --- /dev/null +++ b/security/proxycheck/pkg-plist @@ -0,0 +1,4 @@ +sbin/proxycheck +%%PORTDOCS%%share/doc/proxycheck/CHANGES +%%PORTDOCS%%share/doc/proxycheck/proxycheck.html +%%PORTDOCS%%@dirrm share/doc/proxycheck |