############################################################
# AICCU - Automatic IPv6 Connectivity Client Utility
# by Jeroen Massar <jeroen@sixxs.net>
# (c) Copyright 2003-2005 SixXS
############################################################
# AICCU RPM Spec File
############################################################
Summary: AICCU - SixXS Automatic IPv6 Connectivity Client Utility
Name: aiccu
Version: 2007.01.15
Release: alt2
License: BSD
Group: System/Configuration/Networking
Url: http://www.sixxs.net/tools/aiccu
Source: http://www.sixxs.net/archive/sixxs/aiccu/unix/aiccu_20070115.tar.gz
Source2: aiccu-alt-initscript.init
Patch1: aiccu-fix-linkage-as-needed.patch
BuildRequires: libgnutls-devel
%description
This client automatically gives one IPv6 connectivity
without having to manually configure interfaces etc.
One does need a SixXS account and at least a tunnel. These
can be freely & gratis requested from the SixXS website.
For more information about SixXS check http://www.sixxs.net
%prep
%setup -q -n %name
%patch1 -p2
# fix executable permissions on non-executable content
# so debuginfo can pick them up properly
find . -type f -not -name rules -and -not -name *init* -exec chmod a-x \{\} \;
%build
%make
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir/sysconfig
touch %buildroot%_sysconfdir/sysconfig/%name
rm -rf %buildroot%_sysconfdir/init.d
mkdir -p %buildroot%_initdir
install -pm755 %SOURCE2 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%doc doc/README doc/LICENSE
%_sbindir/aiccu
# aiccu.conf contains the users's SixXS password, so don't
# make it readable by non-root
%attr(600, root,root) %config(noreplace) %_sysconfdir/aiccu.conf
%_initdir/aiccu
%attr(600, root,root) %config(noreplace) %_sysconfdir/sysconfig/%name
%changelog
* Thu Nov 19 2009 Afanasov Dmitry <ender@altlinux.org> 2007.01.15-alt2
- rebuild with gnutls v2.8.5
* Mon Apr 07 2008 Pavlov Konstantin <thresh@altlinux.ru> 2007.01.15-alt1
- Build for ALT Linux.
* Fri Sep 21 2007 Matt Domsch <matt@domsch.com> 2007.01.15-3
- add LSB initscript header (BZ#246861)
* Wed Sep 19 2007 Matt Domsch <matt@domsch.com> 2007.01.15-2
- rebuild
* Wed Jan 31 2007 Matt Domsch <matt@domsch.com> 2007.01.15-1
- upgrade to latest upstream
* Sat Jan 13 2007 Matt Domsch <matt@domsch.com> 2007.01.07-2
- upstream respun their release with the same version number to fix AYIYA.
* Sun Jan 07 2007 Matt Domsch <matt@domsch.com> 2007.01.07-1
- upgrade to latest upstream 2007.01.07
- license change to BSD 3-clause
- Fixed up silly linux bug, adding LL address to tunnels but not to tun/taps.
- local_ipv4_override option so one can use AICCU behind a NAT that
has been configured correctly to do proto-41 forwarding. This is
usually called a DMZ setup.
* Mon Oct 02 2006 Matt Domsch <matt@domsch.com> 2006.07.25-2
- rebuilt
* Sat Sep 23 2006 Matt Domsch <matt@domsch.com> 2006.07.25-1
- upgrade to latest upstream, drop all applied patches
- add BR gnutls-devel now used for obtaining tunnel info
* Sat Sep 2 2006 Matt Domsch <matt@domsch.com> 2005.01.31-5
- rebuild
* Wed Jun 28 2006 Matt Domsch <matt@domsch.com> 2005.01.31-4
- export CFLAGS properly, fix permissions on files for debuginfo
* Wed Jun 28 2006 Matt Domsch <matt@domsch.com> 2005.01.31-3
- cleanups per Fedora Extras review
* Sat Apr 22 2006 Matt Domsch <matt@domsch.com> 2005.01.31-2
- match Fedora Extras spec guidelines
- add postun condrestart
- add reload initscript arg to satisfy rpmlint
* Sun Aug 29 2004 Jeroen Massar <jeroen@sixxs.net> 2004.08.29
- Beta2 with TIC, 6in4, 6in4-heartbeat and AYIYA support