Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
DeleGate is a general purpose application level gateway, or a proxy
server which runs on multiple platforms (Unix, Windows and OS/2).
DeleGate mediates communication of various protocols (HTTP, FTP, NNTP,
POP, Telnet, etc.), applying cache and conversion for mediated data,
controlling access from clients and routing toward servers. It
translates protocols between clients and servers, merging several
servers into a single server view with aliasing and filtering. Born
as a tiny proxy for Gopher in March 1994, it has steadily grown into a
general purpose proxy server. Besides proxy, DeleGate can be used as a
simple origin server for some protocols (HTTP, FTP and NNTP).
+15
View File
@@ -0,0 +1,15 @@
===========================================================================
$NetBSD: MESSAGE,v 1.6 2004/10/11 22:14:51 reed Exp $
Now copy the sample script in ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/delegated to
/etc/rc.d/delegated and edit it according to your needs.
Don't forget to specify a correct e-mail address for ADMIN.
You can also run an interactive configuration session by executing
delegated with no argument.
For more configuration information, consult
${PREFIX}/share/doc/delegate/manual.html
===========================================================================
+44
View File
@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.44 2013/04/08 11:17:17 rodent Exp $
DISTNAME= delegate9.9.1
PKGNAME= delegate-9.9.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.delegate.org/anonftp/DeleGate/ \
ftp://ftp.u-aizu.ac.jp/pub/net/DeleGate/delegate.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.delegate.org/delegate/
COMMENT= General purpose TCP/IP proxy system
MAKE_JOBS_SAFE= no
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= DELEGATE_MANAGER
BUILD_DEFS+= VARBASE
DELEGATE_MANAGER?= root@localhost
RCD_SCRIPTS= delegated
FILES_SUBST+= ADMIN=${DELEGATE_MANAGER:Q}
OWN_DIRS_PERMS+=${VARBASE}/spool/delegate/cache ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
OWN_DIRS_PERMS+=${VARBASE}/spool/delegate-nobody nobody nobody 755
INSTALLATION_DIRS= sbin share/doc/delegate
MAKE_ENV+= SHELL=${CONFIG_SHELL}
pre-build:
@${ECHO} "ADMIN=${DELEGATE_MANAGER}" >> ${WRKSRC}/DELEGATE_CONF
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/doc/Manual.htm \
${DESTDIR}${PREFIX}/share/doc/delegate/manual.html
${INSTALL_DATA} ${WRKSRC}/doc/tutor-en.htm \
${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-en.html
${INSTALL_DATA} ${WRKSRC}/doc/tutor-jp.htm \
${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-jp.html
.include "../../mk/bsd.pkg.mk"
+6
View File
@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:09:24 joerg Exp $
sbin/delegated
share/doc/delegate/manual.html
share/doc/delegate/tutorial-en.html
share/doc/delegate/tutorial-jp.html
share/examples/rc.d/delegated
+10
View File
@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.13 2012/06/30 07:05:08 dholland Exp $
SHA1 (delegate9.9.1.tar.gz) = 828615b83b22fb36925d065239de61492a937e8f
RMD160 (delegate9.9.1.tar.gz) = a8a114fd310e3e25e2e234574d7c8ff1e5d0c1d7
Size (delegate9.9.1.tar.gz) = 1944670 bytes
SHA1 (patch-rary_pstitle_c) = 3b30e698749b5ed6a9cc197b0ab6a1e013de2673
SHA1 (patch-resolvy_resconf_c) = d090d26542a3197fb48514652f3b421b6282a6cc
SHA1 (patch-resolvy_resolv_c) = d903447c60f1c79b7bc596cba9d3c8070298a1e2
SHA1 (patch-src_delegated_c) = d0355e6c7c700e9c0fc894fec3eb403f626a1758
SHA1 (patch-src_inets_c) = 3664facb1bfaa88a76fc74186bae45184b41115c
+28
View File
@@ -0,0 +1,28 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: delegated.sh,v 1.3 2003/07/30 11:37:03 jmmv Exp $
#
# PROVIDE: delegated
# REQUIRE: DAEMON
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="delegated"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
command_args="-P8080 ADMIN=@ADMIN@ CHARCODE=JIS \
CACHEDIR=/var/spool/delegate/cache \
EXPIRE=7d RELIABLE=hostname >/dev/null 2>&1"
if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"
else
@ECHO@ -n " ${name}"
${command} ${delegated_flags} ${command_args} >/dev/null 2>&1
fi
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-rary_pstitle_c,v 1.1 2012/06/30 07:05:08 dholland Exp $
Fix build with gcc 4.5.
--- rary/pstitle.c~ 2008-12-23 20:55:11.000000000 +0000
+++ rary/pstitle.c
@@ -25,7 +25,7 @@ int IsBOW1_5();
int FS_maybeUnix();
int PSTITLE_DISABLE;
-struct { defQStr(p); } pstitle_area;
+struct pstitle_thingy { defQStr(p); } pstitle_area;
int pstitle_size;
int pstitle_leng;
int pstitle_lengmax = 2048;
@@ -0,0 +1,15 @@
$NetBSD: patch-resolvy_resconf_c,v 1.1 2012/06/30 07:05:08 dholland Exp $
Fix build with gcc 4.5.
--- resolvy/resconf.c~ 2008-12-25 04:04:51.000000000 +0000
+++ resolvy/resconf.c
@@ -109,7 +109,7 @@ static ResolvyEnv *resolvyEnv;
#define lastRRX RE.re_lastRRX
#define F_aton RE.re_F_aton
#define confpath RE.re_confpath
-struct { defQStr(resolv_errmsg); } resolv_errmsg;
+struct resolve_thingy { defQStr(resolv_errmsg); } resolv_errmsg;
#define ns_stop RE.re_ns_stop
#ifndef RSLV_CONF
@@ -0,0 +1,15 @@
$NetBSD: patch-resolvy_resolv_c,v 1.1 2012/06/30 07:05:09 dholland Exp $
Fix build with gcc 4.5.
--- resolvy/resolv.c~ 2008-08-26 20:20:40.000000000 +0000
+++ resolvy/resolv.c
@@ -781,7 +781,7 @@ static int getns(int nid,int nsc,VSAddr
return nsx;
}
-extern struct { defQStr(resolv_errmsg); } resolv_errmsg;
+extern struct resolv_thingy { defQStr(resolv_errmsg); } resolv_errmsg;
static int dumpResponse(int qidbase,PVStr(resp),int rc,Header *hp,PCStr(addr))
{ const char *mp;
CStr(qname,1024);
@@ -0,0 +1,15 @@
$NetBSD: patch-src_delegated_c,v 1.1 2012/06/30 07:05:09 dholland Exp $
Fix build with gcc 4.5.
--- src/delegated.c~ 2009-01-10 09:28:09.000000000 +0000
+++ src/delegated.c
@@ -9917,7 +9917,7 @@ void mainProcTitle(Connection *Conn)
}
#define PSTITLE_END "--"
-extern struct { defQStr(p); } pstitle_area;
+extern struct pstitle_thingy { defQStr(p); } pstitle_area;
extern int pstitle_size;
extern int pstitle_lengmax;
extern int pstitle_leng; /* length of original arguments */
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-src_inets_c,v 1.1 2012/06/30 07:05:09 dholland Exp $
Fix build with gcc 4.5.
--- src/inets.c~ 2009-01-13 04:44:08.000000000 +0000
+++ src/inets.c
@@ -183,7 +183,7 @@ int addrIsWildcard(PCStr(addr)){
#define RESOLVERS_SIZ 512
-extern struct { defQStr(resolv_errmsg); } resolv_errmsg;
+extern struct resolv_thingy { defQStr(resolv_errmsg); } resolv_errmsg;
int CTX_defSockOpts(DGC*,PCStr(name),PCStr(spec),int neg);
static scanListFunc conf1(PCStr(conf))