aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-02-12 23:49:28 +0800
committermax <max@FreeBSD.org>1997-02-12 23:49:28 +0800
commit65bdff3ee63a057365499d33d467fe8373a53902 (patch)
tree7626f75675b9aeca56447122d5eb1eefba208ef0 /net
parent6a965f25957841c7579a863aa715b415e8c2882f (diff)
downloadfreebsd-ports-gnome-65bdff3ee63a057365499d33d467fe8373a53902.tar.gz
freebsd-ports-gnome-65bdff3ee63a057365499d33d467fe8373a53902.tar.zst
freebsd-ports-gnome-65bdff3ee63a057365499d33d467fe8373a53902.zip
New port, DeleGate:
General purpose TCP/IP proxy system
Diffstat (limited to 'net')
-rw-r--r--net/delegate/Makefile33
-rw-r--r--net/delegate/distinfo1
-rw-r--r--net/delegate/files/delegated.sh13
-rw-r--r--net/delegate/pkg-comment1
-rw-r--r--net/delegate/pkg-descr3
-rw-r--r--net/delegate/pkg-message11
-rw-r--r--net/delegate/pkg-plist3
7 files changed, 65 insertions, 0 deletions
diff --git a/net/delegate/Makefile b/net/delegate/Makefile
new file mode 100644
index 000000000000..019ebb6fa666
--- /dev/null
+++ b/net/delegate/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: DeleGate
+# Version required: 4.0.4
+# Date created: 26 Jan 1997
+# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= delegate4.0.4
+PKGNAME= delegate-4.0.4
+CATEGORIES= net www japanese
+MASTER_SITES= ftp://etlport.etl.go.jp/pub/DeleGate/
+
+MAINTAINER= max@FreeBSD.ORG
+
+.if defined(BATCH)
+pre-build:
+ @echo "MANAGER=root@localhost" >> ${WRKSRC}/DELEGATE_CONF
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${PREFIX}/sbin
+ @${MKDIR} ${PREFIX}/share/examples/delegate
+ ${INSTALL_DATA} ${FILESDIR}/delegated.sh \
+ ${PREFIX}/share/examples/delegate
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/delegate
+ ${INSTALL_DATA} ${WRKSRC}/doc/Manual.txt \
+ ${PREFIX}/share/doc/delegate
+.endif
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/net/delegate/distinfo b/net/delegate/distinfo
new file mode 100644
index 000000000000..97fb571625ed
--- /dev/null
+++ b/net/delegate/distinfo
@@ -0,0 +1 @@
+MD5 (delegate4.0.4.tar.gz) = 36598edf99c336493a9a0f3dd889ef79
diff --git a/net/delegate/files/delegated.sh b/net/delegate/files/delegated.sh
new file mode 100644
index 000000000000..a8997bcba303
--- /dev/null
+++ b/net/delegate/files/delegated.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ -x /usr/local/sbin/delegated ]; then
+ echo -n ' delegated'
+ /usr/local/sbin/delegated -P8080 \
+ MANAGER=delegate-master@your.host.domain \
+ CHARCODE=JIS \
+ CACHEDIR=/var/spool/delegate/cache \
+ EXPIRE=7d \
+ RELIABLE=hostname \
+ > /dev/null 2>&1
+
+fi
diff --git a/net/delegate/pkg-comment b/net/delegate/pkg-comment
new file mode 100644
index 000000000000..473aefa4fdfc
--- /dev/null
+++ b/net/delegate/pkg-comment
@@ -0,0 +1 @@
+General purpose TCP/IP proxy system
diff --git a/net/delegate/pkg-descr b/net/delegate/pkg-descr
new file mode 100644
index 000000000000..866012bd0625
--- /dev/null
+++ b/net/delegate/pkg-descr
@@ -0,0 +1,3 @@
+DeleGate is a general purpose protocol proxy system for protocols
+using TCP/IP. This software includes support for HTTP, Gopher, FTP,
+SMTP, NNTP, POP, Telnet, Wais, Whois, etc.
diff --git a/net/delegate/pkg-message b/net/delegate/pkg-message
new file mode 100644
index 000000000000..99d68eb79bbd
--- /dev/null
+++ b/net/delegate/pkg-message
@@ -0,0 +1,11 @@
+**********************************************************************
+Now, edit the sample script in /usr/local/share/examples/delegate directory
+and copy it into /usr/local/etc/rc.d.
+Especially, don't forget to specify correct value for the MANAGER.
+
+You can also run an interactive configuration session by executing
+delegated with no argument.
+
+Consult /usr/local/share/doc/delegate/Manual.txt for configuration
+information.
+**********************************************************************
diff --git a/net/delegate/pkg-plist b/net/delegate/pkg-plist
new file mode 100644
index 000000000000..6688ca1addfd
--- /dev/null
+++ b/net/delegate/pkg-plist
@@ -0,0 +1,3 @@
+sbin/delegated
+share/examples/delegate/delegated.sh
+share/doc/delegate/Manual.txt