Update onioncat to 0.2.1. Okay landry@.

This commit is contained in:
pirofti 2010-10-25 17:37:52 +00:00
parent cce4985d69
commit 5507b99cc5
5 changed files with 36 additions and 45 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2010/10/18 18:36:51 espie Exp $
# $OpenBSD: Makefile,v 1.4 2010/10/25 17:37:52 pirofti Exp $
COMMENT = IP-Transparent Tor Hidden Service Connector
DISTNAME = onioncat-0.1.12.r493
DISTNAME = onioncat-0.2.1
CATEGORIES = net
HOMEPAGE = http://www.abenteuerland.at/onioncat/
@ -17,7 +17,9 @@ PERMIT_DISTFILES_FTP = Yes
WANTLIB = c pthread
MASTER_SITES = ${HOMEPAGE}download/
MASTER_SITES = http://www.cypherpunk.at/ocat/download/Source/stable/
RUN_DEPENDS = ::net/tor
SEPARATE_BUILD = simple
CONFIGURE_STYLE = simple

View File

@ -1,5 +1,5 @@
MD5 (onioncat-0.1.12.r493.tar.gz) = bROm5Ndf6exz6jxWBAvcWA==
RMD160 (onioncat-0.1.12.r493.tar.gz) = Z7B5jfBvi6XDPfSK+GeNypaswq4=
SHA1 (onioncat-0.1.12.r493.tar.gz) = M672/doVh3jfCpVw6076F7Nfxag=
SHA256 (onioncat-0.1.12.r493.tar.gz) = qbB/XWaWLYbJNuhx5DvhfHzzAIq+/gZixnDschmXLZY=
SIZE (onioncat-0.1.12.r493.tar.gz) = 172879
MD5 (onioncat-0.2.1.tar.gz) = E5ydH1T+q2ij33aXX5k7Vw==
RMD160 (onioncat-0.2.1.tar.gz) = R4oKLew8WGLMbfnEiRAsIVaU3y0=
SHA1 (onioncat-0.2.1.tar.gz) = 4uiZ85gyLQ/rMRU7Xr8e1Tci2JM=
SHA256 (onioncat-0.2.1.tar.gz) = Gge2K3LuZdEOcLly4q3hOH4iMrwGUnR+A76+cjXISo4=
SIZE (onioncat-0.2.1.tar.gz) = 179988

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-configure,v 1.3 2009/03/31 13:59:22 pirofti Exp $
--- configure.orig Mon Mar 23 13:03:27 2009
+++ configure Mon Mar 23 13:04:45 2009
@@ -3455,13 +3455,13 @@ fi
# Checks for libraries.
-{ $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
+{ $as_echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+$as_echo_n "checking for pthread_create in -pthread... " >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3525,7 +3525,7 @@ if test "x$ac_cv_lib_pthread_pthread_create" = x""yes;
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-src_ocat_h,v 1.1 2010/10/25 17:37:52 pirofti Exp $
--- src/ocat.h.orig Mon Oct 25 02:37:36 2010
+++ src/ocat.h Mon Oct 25 02:37:52 2010
@@ -34,6 +34,11 @@
#include <ctype.h>
#include <syslog.h>
+#include <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
@@ -41,9 +46,6 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#elif HAVE_SYS_ENDIAN_H

View File

@ -1,12 +1,5 @@
@comment $OpenBSD: PLIST,v 1.2 2009/03/31 13:59:22 pirofti Exp $
@comment $OpenBSD: PLIST,v 1.3 2010/10/25 17:37:52 pirofti Exp $
@bin bin/ocat
include/ocat.h
include/ocat_cygwin.h
include/openbsd_netinet_icmp6.h
include/openbsd_netinet_if_ether.h
include/openbsd_netinet_ip6.h
include/strlcat.c
include/strlcpy.c
@man man/man1/ocat.1
share/doc/onioncat/
share/doc/onioncat/README