diff --git a/aiccu-setupscript.patch b/aiccu-setupscript.patch new file mode 100644 index 0000000..d68e982 --- /dev/null +++ b/aiccu-setupscript.patch @@ -0,0 +1,16 @@ +diff --git a/unix-console/main.c b/unix-console/main.c +index 388d988..375b61c 100755 +--- a/unix-console/main.c ++++ b/unix-console/main.c +@@ -471,6 +471,11 @@ int main(int argc, char *argv[]) + */ + if (aiccu_setup(hTunnel, true)) + { ++ if (g_aiccu->setupscript) ++ { ++ aiccu_exec("%s", g_aiccu->setupscript); ++ } ++ + /* We need to stay running when doing Heartbeat or AYIYA */ + if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 || + strcasecmp(hTunnel->sType, "ayiya") == 0) diff --git a/aiccu.spec b/aiccu.spec index ad80cc9..f3528d9 100644 --- a/aiccu.spec +++ b/aiccu.spec @@ -9,7 +9,7 @@ Summary: SixXS Automatic IPv6 Connectivity Client Utility Name: aiccu Version: 2007.01.15 -Release: 25%{?dist} +Release: 26%{?dist} License: BSD Group: System Environment/Daemons URL: http://www.sixxs.net/tools/aiccu/ @@ -20,6 +20,7 @@ Patch0: aiccu-cloexec.patch Patch1: aiccu-run.patch Patch2: aiccu-syslog-daemon.patch Patch3: aiccu-gnutls34.patch +Patch4: aiccu-setupscript.patch BuildRequires: gnutls-devel BuildRequires: systemd-units Requires: iproute @@ -40,6 +41,7 @@ For more information about SixXS check http://www.sixxs.net %patch1 -p1 -b .run %patch2 -p1 -b .syslog-daemon %patch3 -p1 +%patch4 -p1 # fix executable permissions on non-executable content # so debuginfo can pick them up properly @@ -82,6 +84,9 @@ make clean %{_unitdir}/aiccu.service %changelog +* Wed Jun 22 2016 Pavel Šimerda - 2007.01.15-26 +- rebuilt + * Fri Aug 28 2015 Pavel Šimerda - 2007.01.15-25 - Resolves: #1179274 - Utilize system-wide crypto-policies