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

3
net/bounce/DESCR Normal file
View File

@@ -0,0 +1,3 @@
Bounce is a socket bouncer. It is used to forward TCP connections.
You can use bounce to make incoming connection to port 5000 of your
local machine go to another port on another machine.

25
net/bounce/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.12 2012/10/23 17:18:12 asau Exp $
#
DISTNAME= bounce-0.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Tool to forward TCP connection from one IP to another
CONFLICTS+= majordomo-*
WRKSRC= ${WRKDIR}/bounce
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
BUILD_TARGET= bounce
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bounce ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/bounce.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

3
net/bounce/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:54:57 zuntum Exp $
bin/bounce
man/man1/bounce.1

7
net/bounce/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.5 2005/12/18 21:45:29 joerg Exp $
SHA1 (bounce-0.0.tar.gz) = 3b0a7306ba80b29f70131e914f344ce67b4691e4
RMD160 (bounce-0.0.tar.gz) = 6d3151fdafa5751cf7c1be16d149af8fce1d148c
Size (bounce-0.0.tar.gz) = 3439 bytes
SHA1 (patch-aa) = 89469c2b8608796006a817dcbb5e5b3bf21007ef
SHA1 (patch-ab) = 880ee39f5b4d57775bd2beaf9644d047328e6db7

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-aa,v 1.2 2005/12/18 21:45:29 joerg Exp $
--- bounce.c.orig 2000-02-18 21:58:52.000000000 +0000
+++ bounce.c
@@ -11,6 +11,9 @@
#ifdef _AIX
#include <sys/select.h>
#endif
+#ifdef __NetBSD__
+#include <string.h> /* memset() for FD_*() macros */
+#endif
#include <fcntl.h>
#include <errno.h>
@@ -27,7 +30,6 @@
#define DEFAULT_PORT 1523
char sbuf[16384], cbuf[16384];
-extern int errno;
/* extern char *sys_errlist[]; */
void sigchld() {
@@ -39,7 +41,6 @@ void communicate(int sfd, int cfd) {
char *chead, *ctail, *shead, *stail;
int num, nfd, spos, cpos;
- extern int errno;
fd_set rd, wr;
struct itimerval itime;

View File

@@ -0,0 +1,9 @@
$NetBSD: patch-ab,v 1.1 2005/08/27 20:27:32 minskim Exp $
--- Makefile.in.orig 2000-02-18 13:56:52.000000000 -0800
+++ Makefile.in
@@ -1,4 +1,3 @@
-CFLAGS = -Wall -Werror -ansi
PREFIX = /usr/local
bounce: bounce.o
gcc -o bounce bounce.o