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 1 |
---|
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 |
---|
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 | destroot.args DESTDIR=${destroot}${prefix} |
---|
46 | destroot.destdir ${destroot}${prefix} |
---|
47 | |
---|
48 | startupitem.create yes |
---|
49 | startupitem.pidfile clean ${pid_file} |
---|
50 | startupitem.start "kextstat -lb foo.tun || kextload ${kext_dir}/tun.kext ; \ |
---|
51 | ${prefix}/sbin/aiccu start ${conf_file}" |
---|
52 | startupitem.stop "${prefix}/sbin/aiccu stop ${conf_file}" |
---|
53 | startupitem.netchange yes |
---|
54 | |
---|