Browse Source

initial package creation

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 3 months ago
commit
50d58b3eed
  1. 12
      SOURCES/strongswan-5.6.0-uintptr_t.patch
  2. 12
      SOURCES/strongswan-5.9.7-error-no-format.patch
  3. 1
      SOURCES/tmpfiles-strongswan.conf
  4. 1044
      SPECS/strongswan.spec

12
SOURCES/strongswan-5.6.0-uintptr_t.patch

@ -0,0 +1,12 @@
diff -Naur strongswan-5.6.0-orig/src/libstrongswan/utils/utils/memory.h strongswan-5.6.0/src/libstrongswan/utils/utils/memory.h
--- strongswan-5.6.0-orig/src/libstrongswan/utils/utils/memory.h 2017-08-14 02:48:41.000000000 -0400
+++ strongswan-5.6.0/src/libstrongswan/utils/utils/memory.h 2017-09-12 01:15:29.690527667 -0400
@@ -14,6 +14,8 @@
* for more details.
*/
+#include <stdint.h> /* for uintptr_t */
+
/**
* @defgroup memory_i memory
* @{ @ingroup utils_i

12
SOURCES/strongswan-5.9.7-error-no-format.patch

@ -0,0 +1,12 @@
diff --git a/configure.ac b/configure.ac
index f9e6e55c2..247d055d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1480,7 +1480,6 @@ else
fi
# disable some warnings, whether explicitly enabled above or by default
# these are not compatible with our custom printf specifiers
-WARN_CFLAGS="$WARN_CFLAGS -Wno-format"
WARN_CFLAGS="$WARN_CFLAGS -Wno-format-security"
# we generally use comments, but GCC doesn't seem to recognize many of them
WARN_CFLAGS="$WARN_CFLAGS -Wno-implicit-fallthrough"

1
SOURCES/tmpfiles-strongswan.conf

@ -0,0 +1 @@
D /run/strongswan 0755 root root -

1044
SPECS/strongswan.spec

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save