source: trunk/dports/net/aiccu/Portfile

Last change on this file was 135911, checked in by ryandesign@…, 2 years ago

aiccu: add comment explaining why the startupitem is commented out

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 135911 2015-05-06 21:05:20Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                aiccu
7version             20070115
8revision            4
9categories          net
10platforms           darwin
11maintainers         23bit.net:cr
12
13description         Automatic IPv6 Connectivity Configuration Utility
14long_description    AICCU makes it very easy for SixXS users to get IPv6 connectivity \
15                    everywhere they want. It uses the TIC (Tunnel Information & Control) \
16                    protocol to request the information needed to setup a tunnel through \
17                    which the connectivity is created. \
18                    It supports 6in4 static (RFC 2893), 6in4 heartbeat (RFC 2893 + \
19                    draft-massar-v6ops-heartbeat) and AYIYA (draft-massar-v6ops-ayiya) \
20                    tunnel protocols.
21homepage            http://www.sixxs.net/tools/aiccu/
22
23master_sites        http://www.sixxs.net/archive/sixxs/aiccu/unix/
24distname            aiccu_${version}
25
26checksums           md5 c9bcc83644ed788e22a7c3f3d4021350 \
27                    sha1 7b3c51bfe291c777e74b2688e9339b4fb72e6a39 \
28                    rmd160 9415899c98c1f7e84b9711017b82a3a0ea2ae9de
29
30depends_lib         port:tuntaposx
31
32set kext_dir        ${prefix}/Library/Extensions
33set pid_file        ${prefix}/var/run/${name}.pidfile
34set conf_file       ${prefix}/etc/aiccu.conf
35
36worksrcdir          aiccu
37patchfiles          Makefile.patch aiccu_conf.patch
38
39pre-configure {
40        reinplace "s|#pidfile /var/run/aiccu.pid|pidfile ${pid_file}|" \
41          ${worksrcpath}/doc/aiccu.conf
42}
43use_configure       no
44
45build.args-append   MPPREFIX=${prefix}
46
47destroot.args       DESTDIR=${destroot}${prefix}
48destroot.destdir    ${destroot}${prefix}
49
50# Do not re-enable the startupitem without correcting the problem that the
51# default configuration results in account suspension (#22872)
52#startupitem.create      yes
53#startupitem.pidfile     clean ${pid_file}
54#startupitem.start       "kextstat -kl | grep -q 'foo\.tun' || kextload  ${kext_dir}/tun.kext ; \
55                         ${prefix}/sbin/aiccu start ${conf_file}"
56#startupitem.stop        "${prefix}/sbin/aiccu stop ${conf_file}"
57#startupitem.netchange   yes
58
59variant gnutls description {TIC server transport encryption} {
60    depends_lib-append  port:gnutls
61    patchfiles-append   gnutls.patch
62}
63
Note: See TracBrowser for help on using the repository browser.