New port, DeleGate:
General purpose TCP/IP proxy system
This commit is contained in:
parent
0ebe0838b1
commit
9b85add6f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5585
7 changed files with 65 additions and 0 deletions
33
net/delegate/Makefile
Normal file
33
net/delegate/Makefile
Normal file
|
@ -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>
|
1
net/delegate/distinfo
Normal file
1
net/delegate/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (delegate4.0.4.tar.gz) = 36598edf99c336493a9a0f3dd889ef79
|
13
net/delegate/files/delegated.sh
Normal file
13
net/delegate/files/delegated.sh
Normal file
|
@ -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
|
1
net/delegate/pkg-comment
Normal file
1
net/delegate/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
General purpose TCP/IP proxy system
|
3
net/delegate/pkg-descr
Normal file
3
net/delegate/pkg-descr
Normal file
|
@ -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.
|
11
net/delegate/pkg-message
Normal file
11
net/delegate/pkg-message
Normal file
|
@ -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.
|
||||
**********************************************************************
|
3
net/delegate/pkg-plist
Normal file
3
net/delegate/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
sbin/delegated
|
||||
share/examples/delegate/delegated.sh
|
||||
share/doc/delegate/Manual.txt
|
Loading…
Reference in a new issue