This updates ocat to 0.2.1. Works for me, okay?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/onioncat/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    18 Oct 2010 18:36:51 -0000      1.3
+++ Makefile    25 Oct 2010 12:59:58 -0000
@@ -2,7 +2,7 @@
 
 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
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/onioncat/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    31 Mar 2009 13:59:22 -0000      1.2
+++ distinfo    25 Oct 2010 12:59:58 -0000
@@ -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
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure     31 Mar 2009 13:59:22 -0000      1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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
- 
Index: patches/patch-src_ocat_h
===================================================================
RCS file: patches/patch-src_ocat_h
diff -N patches/patch-src_ocat_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_ocat_h    25 Oct 2010 12:59:58 -0000
@@ -0,0 +1,25 @@
+$OpenBSD$
+--- 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
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/onioncat/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   31 Mar 2009 13:59:22 -0000      1.2
+++ pkg/PLIST   25 Oct 2010 12:59:58 -0000
@@ -1,12 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.2 2009/03/31 13:59:22 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

Reply via email to