1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.remlab.net/miredo/
13 summary = Tunneling of IPv6 over UDP through NATs.
16 Miredo is an implementation of the "Teredo: Tunneling IPv6 over UDP
17 through NATs" proposed Internet standard (RFC4380). It can serve
18 either as a Teredo client, a stand-alone Teredo relay, or a Teredo
19 server, please install the miredo-server or miredo-client aproprietly.
20 It is meant to provide IPv6 connectivity to hosts behind NAT
21 devices, most of which do not support IPv6, and not even
22 IPv6-over-IPv4 (including 6to4).
25 source_dl = http://www.remlab.net/files/miredo/
26 sources = %{thisapp}.tar.xz
35 configure_options += \
41 install -v -m 755 %{DIR_SOURCE}/client-hook \
42 %{BUILDROOT}%{sysconfdir}/miredo/client-hook
44 touch %{BUILDROOT}%{sysconfdir}/miredo/miredo-server.conf
49 package %{name}-client
50 summary = This is the client part of miredo.
52 # There is not "miredo" package, so the -client
53 # package has an alias for it.
54 provides = miredo = %{thisver}
57 %{name}-libs = %{thisver}
62 systemctl daemon-reload >/dev/null 2>&1 || :
66 systemctl daemon-reload >/dev/null 2>&1 || :
67 systemctl try-restart miredo-client.service >/dev/null 2>&1 || :
71 systemctl --no-reload disable miredo-client.service >/dev/null 2>&1 || :
72 systemctl stop miredo-client.service >/dev/null 2>&1 || :
76 systemctl daemon-reload >/dev/null 2>&1 || :
80 %{sysconfdir}/miredo/miredo.conf
84 %{sysconfdir}/miredo/client-hook
85 %{sysconfdir}/miredo/miredo.conf
87 %{unitdir}/miredo-client@.service
88 %{mandir}/man?/miredo.*
92 package %{name}-server
93 summary = This is the server part of miredo.
95 requires = %{name}-libs = %{thisver}
98 systemctl daemon-reload >/dev/null 2>&1 || :
102 systemctl daemon-reload >/dev/null 2>&1 || :
103 systemctl try-restart miredo-server.service >/dev/null 2>&1 || :
107 systemctl --no-reload disable miredo-server.service >/dev/null 2>&1 || :
108 systemctl stop miredo-server.service >/dev/null 2>&1 || :
112 systemctl daemon-reload >/dev/null 2>&1 || :
116 %{sysconfdir}/miredo/miredo-server.conf
120 %{bindir}/teredo-mire
121 %{sbindir}/miredo-server
122 %{sbindir}/miredo-checkconf
123 %{unitdir}/miredo-server.service
124 %{mandir}/man?/teredo-mire*
125 %{mandir}/man?/miredo-server*
126 %{mandir}/man?/miredo-checkconf*
133 files += %{libdir}/miredo
136 getent group miredo >/dev/null || groupadd -r miredo
137 getent passwd miredo >/dev/null || useradd -r -g miredo \
138 -d %{sysconfdir}/miredo -s /sbin/nologin -c "Miredo Daemon" miredo
142 package %{name}-devel
145 requires = %{name}-libs = %{thisver}
148 package %{name}-debuginfo