Ticket #30253: openvpn2-lion.patch

File openvpn2-lion.patch, 1.4 KB (added by edward@…, 13 years ago)

Making the patch from nullptr@… more self-contained. This patch includes a Portfile change which should apply cleanly to r82428.

  • dports/net/openvpn2/files/patch-syshead.h.diff

     
     1diff -ur syshead.h syshead.h
     2--- syshead.h   2011-06-23 23:13:39.000000000 -0700
     3+++ syshead.h   2011-07-26 14:49:07.000000000 -0700
     4@@ -392,6 +392,13 @@
     5 #endif
     6 
     7 /*
     8+ * Define a proper IP socket level if not already done.
     9+ */
     10+#ifndef SOL_IP
     11+#define SOL_IP IPPROTO_IP
     12+#endif
     13+
     14+/*
     15  * Disable ESEC
     16  */
     17 #if 0
     18
  • dports/net/openvpn2/Portfile

     
    33PortSystem 1.0
    44
    55name            openvpn2
    6 version         2.2.0
     6version         2.2.1
    77distname        openvpn-${version}
    88categories      net security
    99platforms       darwin
     
    1919homepage        http://www.openvpn.net
    2020master_sites        http://swupdate.openvpn.net/community/releases/
    2121
    22 checksums           sha1    97e3389814a1bcef5a6d22774534a30e41d48bff \
    23                     rmd160  32aa52c886d98b6b92150dfc64d3a9c07f6e8b30
     22checksums           sha1    d5a8e9c635aa330eae8e66e1ccbe2b98e4c3047b \
     23                    rmd160  115ff6ac548014d38da9e21bbb91103bcbb0cd09
     24patchfiles   patch-syshead.h.diff
    2425
    2526depends_lib     port:lzo2 port:openssl
    2627