source: trunk/dports/net/vde2/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                vde2
7version             2.3.1
8revision            2
9categories          net
10platforms           darwin
11maintainers         nomaintainer
12license             GPL-2 LGPL-2.1 BSD-old
13
14description         ethernet compliant virtual network
15
16long_description    VDE is an ethernet compliant virtual network that can be \
17                    spawned over a set of physical computer over the Internet.
18
19homepage            http://vde.sourceforge.net/
20master_sites        sourceforge:vde
21use_bzip2           yes
22
23checksums           sha1    10e199a2dbc3d207ee29269e34f05cc5140878d9 \
24                    rmd160  a1d0055422f34871ad3762b6093b1d39d9657184
25
26depends_lib         path:lib/libssl.dylib:openssl
27
28patchfiles          patch-configure.ac.diff
29
30post-patch {
31    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure.ac
32}
33
34use_autoreconf      yes
35
36configure.args      --disable-kernel-switch \
37                    --disable-experimental \
38                    --disable-tuntap \
39                    --disable-pcap \
40                    --enable-cryptcab
41
42post-destroot {
43    set docdir ${destroot}${prefix}/share/doc/${name}
44    xinstall -d ${docdir}
45    xinstall -m 644 -W ${worksrcpath} \
46                    COPYING \
47                    COPYING.libvdeplug \
48                    COPYING.slirpvde \
49                    Changelog \
50                    README \
51                    doc/README.UML \
52                    doc/README.VirtualBox \
53                    doc/README.bochs \
54                    doc/README.qemu \
55                    doc/README.slirpvde \
56                    doc/README.vde_over_ns \
57                    doc/freebsd_tap-HOWTO \
58                    doc/vde_autolink-HOWTO \
59                    doc/vdeqemu-HOWTO \
60                    ${docdir}
61}
62
63variant tuntap description {Enable support for TAP devices} {
64    depends_lib-append      port:tuntaposx
65    configure.args-replace  "s|--disable-tuntap|--enable-tuntap|"
66}
67
68variant pcap description {Enable support for packet capturing} {
69    depends_lib-append      port:libpcap
70    configure.args-replace  "s|--disable-pcap|--enable-pcap|"
71}
72
73variant experimental description {Enable support for experimental features} {
74    configure.args-replace  "s|--disable-experimental|--enable-experimental|"
75}
76
77livecheck.type      sourceforge
78livecheck.regex     "${name}-(\\d+\\.\\d+(\\.\\d+)?)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.