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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name aiccu |
---|
7 | version 20070115 |
---|
8 | revision 2 |
---|
9 | categories net ipv6 |
---|
10 | platforms darwin |
---|
11 | maintainers 23bit.net:cr |
---|
12 | |
---|
13 | description Automatic IPv6 Connectivity Configuration Utility |
---|
14 | long_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. |
---|
21 | homepage http://www.sixxs.net/tools/aiccu/ |
---|
22 | |
---|
23 | master_sites http://www.sixxs.net/archive/sixxs/aiccu/unix/ |
---|
24 | distname aiccu_${version} |
---|
25 | |
---|
26 | checksums md5 c9bcc83644ed788e22a7c3f3d4021350 \ |
---|
27 | sha1 7b3c51bfe291c777e74b2688e9339b4fb72e6a39 \ |
---|
28 | rmd160 9415899c98c1f7e84b9711017b82a3a0ea2ae9de |
---|
29 | |
---|
30 | depends_lib port:tuntaposx |
---|
31 | |
---|
32 | set kext_dir ${prefix}/Library/Extensions |
---|
33 | set pid_file ${prefix}/var/run/${name}.pidfile |
---|
34 | set conf_file ${prefix}/etc/aiccu.conf |
---|
35 | |
---|
36 | worksrcdir aiccu |
---|
37 | patchfiles Makefile.patch aiccu_conf.patch |
---|
38 | |
---|
39 | pre-configure { |
---|
40 | reinplace "s|#pidfile /var/run/aiccu.pid|pidfile ${pid_file}|" \ |
---|
41 | ${worksrcpath}/doc/aiccu.conf |
---|
42 | } |
---|
43 | use_configure no |
---|
44 | |
---|
45 | build.args-append MPPREFIX=${prefix} |
---|
46 | |
---|
47 | destroot.args DESTDIR=${destroot}${prefix} |
---|
48 | destroot.destdir ${destroot}${prefix} |
---|
49 | |
---|
50 | startupitem.create yes |
---|
51 | startupitem.pidfile clean ${pid_file} |
---|
52 | startupitem.start "kextstat -lb foo.tun || kextload ${kext_dir}/tun.kext ; \ |
---|
53 | ${prefix}/sbin/aiccu start ${conf_file}" |
---|
54 | startupitem.stop "${prefix}/sbin/aiccu stop ${conf_file}" |
---|
55 | startupitem.netchange yes |
---|
56 | |
---|
57 | variant gnutls description {TIC server transport encryption} { |
---|
58 | depends_lib-append port:gnutls |
---|
59 | patchfiles-append gnutls.patch |
---|
60 | } |
---|
61 | |
---|