Compare commits

..

37 commits

Author SHA1 Message Date
Matt Domsch
cd0e6678ed aiccu relied on the SiXXS IPv6 tunnel service, which was retired on 2017-06-06. 2018-08-16 08:50:59 -05:00
Igor Gnatenko
9a45c94803 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-18 11:23:39 +02:00
Fedora Release Engineering
8fcb3a0540 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 20:03:57 +00:00
Jason Tibbitts
79c757794c Remove needless use of %defattr 2018-07-10 00:09:50 -05:00
Igor Gnatenko
2a066df513 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:01:04 +01:00
Fedora Release Engineering
446016a82c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 01:59:56 +00:00
Fedora Release Engineering
f7f154d4dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 17:26:46 +00:00
Fedora Release Engineering
77e3852e8c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 02:40:17 +00:00
Fedora Release Engineering
d306eac059 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 05:48:54 +00:00
Pavel Šimerda
2185427e5e add missing patch 2016-06-23 12:59:33 +02:00
Pavel Šimerda
96abe6ae24 Merge remote-tracking branch 'origin/f24' 2016-06-23 12:01:58 +02:00
Pavel Šimerda
d47d3fbb5f fix changelog 2016-06-23 09:29:53 +02:00
Pavel Šimerda
37a443f9dc rebuilt 2016-06-22 14:59:24 +02:00
Dennis Gilmore
b9f36f7974 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 16:02:38 +00:00
Pavel Šimerda
ddc5b6e97a Resolves: #1179274 - Utilize system-wide crypto-policies 2015-08-28 14:41:18 +02:00
Pavel Šimerda
dbd7ceddad Resolves: #1239365 - aiccu: FTBFS in rawhide 2015-08-27 14:55:44 +02:00
Dennis Gilmore
0e74343525 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-16 23:42:01 +00:00
Pavel Šimerda
8968fe127e Related: #844607 - order also after time-sync.target 2014-09-08 17:24:58 +02:00
Peter Robinson
70ed25e916 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 20:09:09 +00:00
Dennis Gilmore
6fb30d4639 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 19:17:31 -05:00
Pavel Šimerda
770bd4ab4a provide proper network/network-online dependencies 2014-05-02 13:54:51 +02:00
Pavel Šimerda
32cbb6ffae #850022 - use systemd-rpm macros 2014-01-06 17:09:08 +01:00
Dennis Gilmore
c4812ad08c - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 19:25:56 -05:00
Dennis Gilmore
212c7230da - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 10:22:54 -06:00
Conrad Meyer
02512e4ecd Nix systemd restart as per discussion on #844607 2012-08-06 17:09:02 -07:00
Conrad Meyer
77bff40c76 Adopt Eric Hopper's proposed changes (#844607) 2012-07-31 22:23:27 -07:00
Dennis Gilmore
e99320f5e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 10:41:19 -05:00
Dennis Gilmore
33cdeb61c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 15:05:18 -06:00
Conrad Meyer
11f05c9e3c Oops, bump spec number 2011-10-27 21:51:36 -07:00
Conrad Meyer
dae47eaae2 Fix bug 739494 (log as LOG_DAEMON) 2011-10-27 18:33:39 -07:00
Jochen Schmitt
dfcc0a2425 Change service file to get not complains when /etc/sysconfig/aiccu is missing
Change PID file in aiccu.conf to /run/aiccu.pid
2011-07-18 18:10:29 +02:00
Jochen Schmitt
e70b2b8657 Implementing native systemd support (656886) 2011-07-10 19:51:32 +02:00
Jochen Schmitt
2c5f12ec19 Implementing native systemd support 2011-07-06 22:29:29 +02:00
Dennis Gilmore
3f86cb2fa3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 18:37:48 -06:00
Fedora Release Engineering
2bdc4d84d6 dist-git conversion 2010-07-28 09:38:36 +00:00
Bill Nottingham
8bfab4d4bd Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:38:47 +00:00
Jesse Keating
443f3b7b5e - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 16:39:01 +00:00
6 changed files with 1 additions and 224 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
aiccu_20070115.tar.gz

View file

@ -1,59 +0,0 @@
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal aiccu.orig/common/common.c aiccu/common/common.c
--- aiccu.orig/common/common.c 2008-10-17 18:43:13.000000000 -0500
+++ aiccu/common/common.c 2008-10-17 22:11:52.000000000 -0500
@@ -365,6 +365,7 @@ TLSSOCKET connect_client(const char *hos
{
sock->socket = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
if (sock->socket == -1) continue;
+ fcntl(sock->socket, F_SETFD, FD_CLOEXEC);
if (connect(sock->socket, res->ai_addr, (unsigned int)res->ai_addrlen) == 0) break;
closesocket(sock->socket);
sock->socket = -1;
@@ -428,6 +429,7 @@ TLSSOCKET listen_server(const char *desc
sock->socket = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
if (!(sock->socket < 0))
{
+ fcntl(sock->socket, F_SETFD, FD_CLOEXEC);
setsockopt(sock->socket, SOL_SOCKET, SO_REUSEADDR, (const char *)&on, sizeof(on));
if (bind(sock->socket, res->ai_addr, (unsigned int)res->ai_addrlen) == 0) break;
closesocket(sock->socket);
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal aiccu.orig/common/heartbeat.c aiccu/common/heartbeat.c
--- aiccu.orig/common/heartbeat.c 2008-10-17 18:43:13.000000000 -0500
+++ aiccu/common/heartbeat.c 2008-10-17 22:12:51.000000000 -0500
@@ -58,6 +58,7 @@ SOCKET heartbeat_socket(
dolog(LOG_ERR, "Couldn't open a socket for determining current IPv4 address\n");
return -1;
}
+ fcntl(sockfd, F_SETFD, FD_CLOEXEC);
#if defined(SOL_SOCKET) && defined(SO_BINDTODEVICE)
/*
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal aiccu.orig/common/tun.c aiccu/common/tun.c
--- aiccu.orig/common/tun.c 2008-10-17 18:43:13.000000000 -0500
+++ aiccu/common/tun.c 2008-10-17 22:12:42.000000000 -0500
@@ -696,6 +696,8 @@ bool tun_start(struct tun_reader *tun)
/* Create a new tap device */
tun_fd = open("/dev/net/tun", O_RDWR);
+ if (tun_fd >= 0)
+ fcntl(tun_fd, F_SETFD, FD_CLOEXEC);
if (tun_fd == -1)
{
tun_log(LOG_ERR, "start", "Couldn't open device %s: %s (%d)\n", "/dev/net/tun", strerror(errno), errno);
@@ -725,6 +727,8 @@ bool tun_start(struct tun_reader *tun)
tun_log(LOG_DEBUG, "start", "Trying Configured TUN/TAP interface %s...\n", g_aiccu->ipv6_interface);
snprintf(buf, sizeof(buf), "/dev/%s", g_aiccu->ipv6_interface);
tun_fd = open(buf, O_RDWR);
+ if (tun_fd >= 0)
+ fcntl(tun_fd, F_SETFD, FD_CLOEXEC);
if (tun_fd < 0)
{
/* Fall back to trying all /dev/tun* devices */
@@ -735,6 +739,7 @@ bool tun_start(struct tun_reader *tun)
tun_fd = open(buf, O_RDWR);
if (tun_fd >= 0)
{
+ fcntl(tun_fd, F_SETFD, FD_CLOEXEC);
/* Copy over the name of the interface so that configging goes okay */
if (g_aiccu->ipv6_interface) free(g_aiccu->ipv6_interface);
snprintf(buf, sizeof(buf), "tun%u", i);

View file

@ -1,33 +0,0 @@
--- aiccu/doc/aiccu.init.rpm.orig 2007-09-21 21:15:04.000000000 -0500
+++ aiccu/doc/aiccu.init.rpm 2007-09-21 21:19:19.000000000 -0500
@@ -8,6 +8,20 @@
# config: /etc/aiccu.conf
# chkconfig: - 59 73
# processname: aiccu
+#
+### BEGIN INIT INFO
+# Provides: aiccu
+# Required-Start: $local_fs $remote_fs $network $time $named
+# Required-Stop: $local_fs $remote_fs $network $time $named
+# Default-Start:
+# Default-Stop:
+# Short-Description: hearbeat daemon for IPv6-in-IPv4 (Proto-41, AYIYA, Heartbeat) tunnels
+# Description: aiccu 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
+### END INIT INFO
# Source function library.
if [ -f /etc/init.d/functions ] ; then
@@ -90,6 +104,9 @@
reload)
restart
;;
+ force-reload)
+ restart
+ ;;
status)
rhstatus
;;

View file

@ -1,130 +0,0 @@
############################################################
# AICCU - Automatic IPv6 Connectivity Client Utility
# by Jeroen Massar <jeroen@sixxs.net>
# (c) Copyright 2003-2005 SixXS
############################################################
# AICCU RPM Spec File
############################################################
Summary: SixXS Automatic IPv6 Connectivity Client Utility
Name: aiccu
Version: 2007.01.15
Release: 6%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.sixxs.net/tools/aiccu/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://www.sixxs.net/archive/sixxs/aiccu/unix/aiccu_20070115.tar.gz
Patch0: aiccu-lsb-initscript.patch
Patch1: aiccu-cloexec.patch
BuildRequires: gnutls-devel
Requires: iproute
Requires(post): chkconfig
Requires(preun): chkconfig, initscripts
Requires(postun): initscripts
%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}
%patch0 -p1
%patch1 -p1
# 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 %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%post
if [ "$1" = "1" ]; then
/sbin/chkconfig --add aiccu
fi
%preun
if [ "$1" = "0" ]; then
/sbin/service aiccu stop >/dev/null 2>&1
/sbin/chkconfig --del aiccu
fi
%postun
/sbin/service aiccu condrestart > /dev/null 2>&1 || :
%clean
make clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%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
%{_sysconfdir}/init.d/aiccu
%changelog
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2007.01.15-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Oct 17 2008 Matt Domsch <mdomsch@fedoraproject.org> - 2007.01.15-5
- close file descriptors on exec (BZ#467381)
* Tue Jun 24 2008 Tomas Mraz <tmraz@redhat.com> 2007.01.15-4
- rebuild with new gnutls
* 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

1
dead.package Normal file
View file

@ -0,0 +1 @@
aiccu relied on the SiXXS IPv6 tunnel service, which was retired on 2017-06-06.

View file

@ -1 +0,0 @@
c9bcc83644ed788e22a7c3f3d4021350 aiccu_20070115.tar.gz