Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (de92e9265a66178c180a118bfcf0d15df3e2033b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (de92e9265a66178c180a118bfcf0d15df3e2033b)
  • Date: Wed, 6 Nov 2013 00:46:37 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/ipsec-tools/CONFIGURE | 16 ++++++++++++++++
net/ipsec-tools/DEPENDS | 26 +++++++++++++++++++++++++-
net/ipsec-tools/DETAILS | 6 ++++--
net/ipsec-tools/HISTORY | 8 ++++++++
net/ipsec-tools/INSTALL | 6 ++++++
net/ipsec-tools/PREPARE | 6 +++---
net/ipsec-tools/init.d/racoon | 31 +++++++++++++++++++++++++++++++
net/ipsec-tools/init.d/racoon.conf | 6 ++++++
8 files changed, 99 insertions(+), 6 deletions(-)

New commits:
commit de92e9265a66178c180a118bfcf0d15df3e2033b
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ipsec-tools: => 0.8.1

diff --git a/net/ipsec-tools/CONFIGURE b/net/ipsec-tools/CONFIGURE
index 767f68b..1ca7894 100755
--- a/net/ipsec-tools/CONFIGURE
+++ b/net/ipsec-tools/CONFIGURE
@@ -6,6 +6,22 @@ config_query_option IPSEC_TOOLS_OPTS "Enable NAT-Traversal
support?" n \
"--enable-natt" \
"--disable-natt" &&

+config_query_option IPSEC_TOOLS_OPTS "Enable admin port?" n \
+ "--enable-adminport" \
+ "--disable-adminport" &&
+
+config_query_option IPSEC_TOOLS_OPTS "Enable IKE fragmentation payload
support?" n \
+ "--enable-frag" \
+ "--disable-frag" &&
+
+config_query_option IPSEC_TOOLS_OPTS "Enable dead peer detection?" n \
+ "--enable-dpd" \
+ "--disable-dpd" &&
+
+config_query_option IPSEC_TOOLS_OPTS "Enable hybrid authentication
(including mode-cfg and Xauth) support?" n \
+ "--enable-hybrid" \
+ "--disable-hybrid" &&
+
config_query_option IPSEC_TOOLS_OPTS "Enable statistics logging function?" y
\
"--enable-stats" \
"--disable-stats"
diff --git a/net/ipsec-tools/DEPENDS b/net/ipsec-tools/DEPENDS
index c521d73..4ab6b43 100755
--- a/net/ipsec-tools/DEPENDS
+++ b/net/ipsec-tools/DEPENDS
@@ -5,7 +5,31 @@ optional_depends readline \
"--without-readline" \
"to support readline input" &&

+optional_depends krb5 \
+ "--enable-gssapi" \
+ "--disable-gssapi" \
+ "to support GSS-API authentication" &&
+
optional_depends libselinux \
"--enable-security-context" \
"--disable-security-context" \
- "to support Security Context (SELinux)"
+ "to support Security Context (SELinux)" &&
+
+if list_find "$IPSEC_TOOLS_OPTS" "--enable-hybrid"; then
+ optional_depends freeradius \
+ "--with-libradius=$INSTALL_ROOT/usr" \
+ "--without-libradius" \
+ "for Hybrid authentication using RADIUS" &&
+
+ optional_depends linux-pam \
+ "--with-libpam=$INSTALL_ROOT/usr" \
+ "--without-libpam" \
+ "for Hybrid authentication using PAM" &&
+
+ optional_depends openldap \
+ "--with-libldap=$INSTALL_ROOT/usr" \
+ "--without-libldap" \
+ "for Hybrid authentication using LDAP"
+fi &&
+
+suggest_depends SYSTEM-LOGGER "" "" "for syslog support"
diff --git a/net/ipsec-tools/DETAILS b/net/ipsec-tools/DETAILS
index 826f522..c4637cd 100755
--- a/net/ipsec-tools/DETAILS
+++ b/net/ipsec-tools/DETAILS
@@ -1,10 +1,12 @@
SPELL=ipsec-tools
- VERSION=0.8.0
+ VERSION=0.8.1
SECURITY_PATCH=1
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
-
SOURCE_HASH=sha512:3bec6bab4fe555612f1d48966e797202830f5254a8d2146a14d268ff0c68445af790285214db41ab08ee4888625e8e680c3b848c30789d836169d1612a25fe2c
+
SOURCE_HASH=sha512:c8308aba9764a8e0a0507dbc62e8e93dc4b51f7215f2c3bb50f2e7e1f46dde0c773cfe2992660ccd319523775a9bab668371ee53cd4af153d2fcf13a0ef4e1eb
+ DOCS="src/setkey/*.cf $DOCS"
+ DOC_DIRS="src/racoon/doc src/racoon/samples"
WEB_SITE=http://ipsec-tools.sourceforge.net/
ENTERED=20031120
LICENSE[0]=BSD
diff --git a/net/ipsec-tools/HISTORY b/net/ipsec-tools/HISTORY
index 1fa7f15..a268416 100644
--- a/net/ipsec-tools/HISTORY
+++ b/net/ipsec-tools/HISTORY
@@ -1,3 +1,11 @@
+2013-10-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.8.1; added missing docs
+ * DEPENDS: added missing optional dependencies
+ * CONFIGURE: added new configuration options
+ * INSTALL: added, for racoon init script
+ * PREPARE: added kernel 3.x support
+ * init.d/racoon{,.conf}: added, init script and config
+
2011-06-19 Vlad Glagolev <stealth AT sourcemage.org>
* CONFIGURE: added, for several options
* BUILD: apply IPSEC_TOOLS_OPTS
diff --git a/net/ipsec-tools/INSTALL b/net/ipsec-tools/INSTALL
new file mode 100755
index 0000000..bbd64bf
--- /dev/null
+++ b/net/ipsec-tools/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/racoon.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/racoon"
+fi
diff --git a/net/ipsec-tools/PREPARE b/net/ipsec-tools/PREPARE
index c002a0b..f7200d1 100755
--- a/net/ipsec-tools/PREPARE
+++ b/net/ipsec-tools/PREPARE
@@ -1,6 +1,6 @@
-uname -r | grep -qv ^2\.6 &&
+uname -r | grep -Eqv "^(2\.6|3\.)" &&
{
- echo "Please note that ipsec-tools requires the Linux 2.6 kernel
headers."
- echo "The cast will continue but will most likely fail."
+ message "${PROBLEM_COLOR}Please note that ipsec-tools requires the Linux
2.6/3.x kernel headers."
+ message "The cast will continue but will most likely
fail.${DEFAULT_COLOR}"
}
true
diff --git a/net/ipsec-tools/init.d/racoon b/net/ipsec-tools/init.d/racoon
new file mode 100755
index 0000000..51187b7
--- /dev/null
+++ b/net/ipsec-tools/init.d/racoon
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+. /etc/sysconfig/racoon
+
+PROGRAM=/usr/sbin/racoon
+PIDFILE="/var/run/racoon.pid"
+ARGS="$RACOON_ARGS"
+RUNLEVEL=3
+
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo "Loading IPSec policies from $IPSEC_CONF... "
+ /usr/sbin/setkey -f "$IPSEC_CONF"
+
+ evaluate_retval
+
+ _start
+}
+
+stop() {
+ echo "Flushing policy entries... "
+ /usr/sbin/setkey -F
+ /usr/sbin/setkey -FP
+
+ evaluate_retval
+
+ _stop
+}
diff --git a/net/ipsec-tools/init.d/racoon.conf
b/net/ipsec-tools/init.d/racoon.conf
new file mode 100644
index 0000000..d964de0
--- /dev/null
+++ b/net/ipsec-tools/init.d/racoon.conf
@@ -0,0 +1,6 @@
+# For the arguments and description see racoon(8)
+
+RACOON_ARGS="-f /etc/racoon/racoon.conf"
+
+# IPsec SA/SP database config used by setkey(8)
+IPSEC_CONF="/etc/ipsec-tools.conf"



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (de92e9265a66178c180a118bfcf0d15df3e2033b), Vlad Glagolev, 11/06/2013

Archive powered by MHonArc 2.6.24.

Top of Page