sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fc232acb9dee491541f380c147c5a77a6c929020)
- 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 (fc232acb9dee491541f380c147c5a77a6c929020)
- Date: Tue, 21 May 2013 05:14:27 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 2 ++
net/accel-ppp/BUILD | 3 +++
net/accel-ppp/CONFIGURE | 15 +++++++++++++++
net/accel-ppp/DEPENDS | 28 ++++++++++++++++++++++++++++
net/accel-ppp/DETAILS | 35 +++++++++++++++++++++++++++++++++++
net/accel-ppp/HISTORY | 3 +++
net/accel-ppp/INSTALL | 4 ++++
net/accel-ppp/PRE_BUILD | 6 ++++++
net/accel-ppp/extra.patch | 15 +++++++++++++++
net/accel-ppp/init.d/accel-ppp | 9 +++++++++
10 files changed, 120 insertions(+)
New commits:
commit fc232acb9dee491541f380c147c5a77a6c929020
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
accel-ppp: new spell, high performance PPTP/L2TP/PPPoE server for Linux
diff --git a/ChangeLog b/ChangeLog
index e9b09f4..7de8e30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2013-05-21 Vlad Glagolev <stealth AT sourcemage.org>
* net/pppd-chldap: new spell, pppd LDAP plugin
+ * net/accel-ppp: new spell, high performance PPTP/L2TP/PPPoE server
for
+ Linux
2013-05-12 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* gnu.gpg: refresh keys, add key 937EC0D2
diff --git a/net/accel-ppp/BUILD b/net/accel-ppp/BUILD
new file mode 100755
index 0000000..66407d6
--- /dev/null
+++ b/net/accel-ppp/BUILD
@@ -0,0 +1,3 @@
+OPTS="$ACCEL_PPP_OPTS $OPTS" &&
+
+cmake_build
diff --git a/net/accel-ppp/CONFIGURE b/net/accel-ppp/CONFIGURE
new file mode 100755
index 0000000..560278f
--- /dev/null
+++ b/net/accel-ppp/CONFIGURE
@@ -0,0 +1,15 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+config_query_option ACCEL_PPP_OPTS "Build version with debug information?" n
\
+ "-DCMAKE_BUILD_TYPE=Debug" \
+ "-DCMAKE_BUILD_TYPE=Release" &&
+
+if is_version_less $(get_kernel_version) 2.6.37; then
+ message "${MESSAGE_COLOR}Kernel version lower than 2.6.37 detected,"
+ message "forcing build of non-native pptp module...${DEFAULT_COLOR}" &&
+ list_add ACCEL_PPP_OPTS "-DBUILD_DRIVER=TRUE"
+else
+ config_query_option ACCEL_PPP_OPTS "Build pptp kernel module (replaced by
native in new kernels)?" n \
+ "-DBUILD_DRIVER=TRUE" \
+ "-DBUILD_DRIVER=FALSE"
+fi
diff --git a/net/accel-ppp/DEPENDS b/net/accel-ppp/DEPENDS
new file mode 100755
index 0000000..a4f117c
--- /dev/null
+++ b/net/accel-ppp/DEPENDS
@@ -0,0 +1,28 @@
+depends cmake &&
+depends openssl &&
+depends pcre &&
+
+optional_depends postgresql \
+ "-DLOG_PGSQL=TRUE" \
+ "-DLOG_PGSQL=FALSE" \
+ "for logging to PostgreSQL database" &&
+
+optional_depends freeradius \
+ "-DRADIUS=TRUE" \
+ "-DRADIUS=FALSE" \
+ "to build RADIUS module" &&
+
+optional_depends net-snmp \
+ "-DNETSNMP=TRUE" \
+ "-DNETSNMP=FALSE" \
+ "to build SNMP agent module" &&
+
+optional_depends libnl \
+ "-DSHAPER=TRUE" \
+ "-DSHAPER=FALSE" \
+ "to include build-in shaper" &&
+
+suggest_depends SYSTEM-LOGGER \
+ "-DLOG_SYSLOG=TRUE" \
+ "-DLOG_SYSLOG=FALSE" \
+ "to use syslog"
diff --git a/net/accel-ppp/DETAILS b/net/accel-ppp/DETAILS
new file mode 100755
index 0000000..4348c3b
--- /dev/null
+++ b/net/accel-ppp/DETAILS
@@ -0,0 +1,35 @@
+ SPELL=accel-ppp
+ VERSION=1.7.3
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:d15e1adc8cecab92a6259901d960e6e23bb7be0be257609b2e2bdeb69e3a0ea925d33c161afff1557fb0955928501c64eb0d5db4d4f744364979eef650b6fe56
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://accel-ppp.sourceforge.net/
+ ENTERED=20130521
+ DOC_DIRS="rfc"
+ LICENSE[0]=GPL
+ KEYWORDS="ppp l2tp pptp pppoe"
+ SHORT="high performance PPTP/L2TP/PPPoE server for Linux"
+cat << EOF
+ACCEL-PPP is a high performance VPN server application for Linux. Its goal is
+aggregation of various popular VPN techniques to a single application.
+
+There are many open source projects which provides VPN services, but they are
+specialized to a specific VPN technique: only PPPoE, only PPtP, only L2TP.
+And you have to learn, configure and manage each one separately to build
+multi-service VPN server.
+
+With ACCEL-PPP you have all-in-one with single configuration, single
management,
+single monitoring.
+
+Core features are:
+
+- PPTP server
+- L2TPv2 server
+- PPPoE server
+- Radius including CoA/DM(PoD)
+- Built-in shaper
+- Command line interface (telnet)
+- SNMP agent
+- IPv6 including builtin Neighbor Discovery and DHCPv6
+EOF
diff --git a/net/accel-ppp/HISTORY b/net/accel-ppp/HISTORY
new file mode 100644
index 0000000..a1a7056
--- /dev/null
+++ b/net/accel-ppp/HISTORY
@@ -0,0 +1,3 @@
+2013-05-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE,
+ init.d/accel-ppp{,.conf}, extra.patch: spell created
diff --git a/net/accel-ppp/INSTALL b/net/accel-ppp/INSTALL
new file mode 100755
index 0000000..aa9a2ff
--- /dev/null
+++ b/net/accel-ppp/INSTALL
@@ -0,0 +1,4 @@
+default_install &&
+
+install_config_file "$SOURCE_DIRECTORY/accel-pppd/accel-ppp.conf" \
+ "$INSTALL_ROOT/etc/accel-ppp.conf"
diff --git a/net/accel-ppp/PRE_BUILD b/net/accel-ppp/PRE_BUILD
new file mode 100755
index 0000000..66fece5
--- /dev/null
+++ b/net/accel-ppp/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+sedit "s:/usr/local:$INSTALL_ROOT/usr:g" accel-pppd/accel-ppp.conf &&
+
+patch -p0 < "$SPELL_DIRECTORY/extra.patch"
diff --git a/net/accel-ppp/extra.patch b/net/accel-ppp/extra.patch
new file mode 100644
index 0000000..842567b
--- /dev/null
+++ b/net/accel-ppp/extra.patch
@@ -0,0 +1,15 @@
+--- accel-pppd/CMakeLists.txt.orig 2012-12-07 18:08:24.000000000 +0400
++++ accel-pppd/CMakeLists.txt 2013-05-21 12:14:23.441874735 +0400
+@@ -100,12 +100,3 @@
+ )
+
+ INSTALL(FILES accel-ppp.conf.5 DESTINATION share/man/man5)
+-
+-IF (NOT DEFINED CPACK_TYPE)
+- INSTALL(FILES accel-ppp.conf DESTINATION /etc RENAME
accel-ppp.conf.dist)
+-
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/log/accel-ppp)")
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/run/accel-ppp)")
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND 'echo 0 >
/var/run/accel-ppp/seq')")
+-ENDIF (NOT DEFINED CPACK_TYPE)
+-
diff --git a/net/accel-ppp/init.d/accel-ppp b/net/accel-ppp/init.d/accel-ppp
new file mode 100755
index 0000000..7c58b0d
--- /dev/null
+++ b/net/accel-ppp/init.d/accel-ppp
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+PROGRAM=/usr/sbin/accel-pppd
+PIDFILE="/var/run/accel-pppd.pid"
+ARGS="-d -c /etc/accel-ppp.conf -p $PIDFILE"
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fc232acb9dee491541f380c147c5a77a6c929020), Vlad Glagolev, 05/21/2013
Archive powered by MHonArc 2.6.24.