- fix potential 64-bit issue

- remove bogus ${VERSION} variable
- specify license
- regen DESCR/PLIST

ok jakob@ (MAINTAINER), although he wouldn't mind it if someone takes it over
This commit is contained in:
jasper 2008-12-10 22:33:37 +00:00
parent 787ef91691
commit 2d78da9f4b
4 changed files with 21 additions and 9 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2007/09/15 22:37:00 merdely Exp $
# $OpenBSD: Makefile,v 1.5 2008/12/10 22:33:37 jasper Exp $
COMMENT= UDP tunnel utility
VERSION= 1.1
DISTNAME= udptunnel-${VERSION}
DISTNAME= udptunnel-1.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
MASTER_SITES= ftp://ftp.cs.columbia.edu/pub/lennox/udptunnel/
@ -12,6 +12,7 @@ HOMEPAGE= http://www.cs.columbia.edu/~lennox/udptunnel/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# 3-clause BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-host2ip_c,v 1.1 2008/12/10 22:33:37 jasper Exp $
--- host2ip.c.orig Mon Dec 1 20:30:05 2008
+++ host2ip.c Mon Dec 1 20:30:16 2008
@@ -1,6 +1,7 @@
#include <sys/types.h>
#include <sys/socket.h> /* struct sockaddr */
#include <stdlib.h>
+#include <string.h>
#include <netdb.h> /* gethostbyname() */
#include <netinet/in.h> /* sockaddr_in */
#include <arpa/inet.h> /* inet_addr() */

View File

@ -1,4 +1,4 @@
UDPTunnel is a small program which can tunnel UDP packets bi-directionally
over a TCP connection. Its primary purpose (and original motivation) is
to allow multi-media conferences to traverse a firewall which allows only
outgoing TCP connections.
UDPTunnel is a small program which can tunnel UDP packets
bi-directionally over a TCP connection. Its primary purpose (and
original motivation) is to allow multi-media conferences to traverse a
firewall which allows only outgoing TCP connections.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:17:47 espie Exp $
bin/udptunnel
@comment $OpenBSD: PLIST,v 1.3 2008/12/10 22:33:37 jasper Exp $
@bin bin/udptunnel
share/doc/udptunnel/
share/doc/udptunnel/udptunnel.html