Skip to Content.
Sympa Menu

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

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 (ff2503d402d8773df0cea6c22361611617a67632)
  • Date: Tue, 31 Jul 2012 16:34:31 -0500

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

net/tinc/BUILD | 3 +++
net/tinc/CONFIGURE | 3 +++
net/tinc/DEPENDS | 12 ++++++++++--
net/tinc/DETAILS | 12 +++++++-----
net/tinc/HISTORY | 9 +++++++++
net/tinc/INSTALL | 6 ++++++
net/tinc/PREPARE | 5 +++++
net/tinc/init.d/tinc | 16 ++++++++++++++++
net/tinc/init.d/tinc.conf | 3 +++
9 files changed, 62 insertions(+), 7 deletions(-)

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

tinc: => 1.0.19

diff --git a/net/tinc/BUILD b/net/tinc/BUILD
new file mode 100755
index 0000000..5f63f8e
--- /dev/null
+++ b/net/tinc/BUILD
@@ -0,0 +1,3 @@
+OPTS="$TINC_OPTS $OPTS" &&
+
+default_build
diff --git a/net/tinc/CONFIGURE b/net/tinc/CONFIGURE
new file mode 100755
index 0000000..8209925
--- /dev/null
+++ b/net/tinc/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option TINC_OPTS "Enable support for jumbograms (packets up to
9000 bytes)?" y \
+ "--enable-jumbograms" \
+ "--disable-jumbograms"
diff --git a/net/tinc/DEPENDS b/net/tinc/DEPENDS
index 1f00205..3a0df5c 100755
--- a/net/tinc/DEPENDS
+++ b/net/tinc/DEPENDS
@@ -1,3 +1,11 @@
depends openssl &&
-depends zlib &&
-depends lzo
+
+optional_depends zlib \
+ "--enable-zlib" \
+ "--disable-zlib" \
+ "for zlib compression support" &&
+
+optional_depends lzo \
+ "--enable-lzo" \
+ "--disable-lzo" \
+ "for lzo compression support"
diff --git a/net/tinc/DETAILS b/net/tinc/DETAILS
index 7be9821..dea04dc 100755
--- a/net/tinc/DETAILS
+++ b/net/tinc/DETAILS
@@ -1,5 +1,5 @@
SPELL=tinc
- VERSION=1.0.11
+ VERSION=1.0.19
SOURCE="$SPELL-$VERSION.tar.gz"
SOURCE2=$SOURCE.sig
SOURCE_URL[0]=http://www.$SPELL-vpn.org/packages/$SOURCE
@@ -10,12 +10,14 @@ SOURCE_DIRECTORY="${BUILD_DIRECTORY}/$SPELL-$VERSION"
WEB_SITE=http://www.tinc-vpn.org/
LICENSE[0]=GPL
ENTERED=20070116
- SHORT="tinc is a Virtual Private Network (VPN) daemon"
+ SHORT="Virtual Private Network (VPN) daemon"
cat << EOF
tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and
encryption to create a secure private network between hosts on the Internet.

-* Encryption, authentication and compression * Automatic full mesh routing *
-Easily expand your VPN * Ability to bridge ethernet segments * Runs on many
-operating systems and supports IPv6
+ * Encryption, authentication and compression
+ * Automatic full mesh routing
+ * Easily expand your VPN
+ * Ability to bridge ethernet segments
+ * Runs on many operating systems and supports IPv6
EOF
diff --git a/net/tinc/HISTORY b/net/tinc/HISTORY
index 7cc9fee..b588c70 100644
--- a/net/tinc/HISTORY
+++ b/net/tinc/HISTORY
@@ -1,3 +1,12 @@
+2012-07-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.0.19; corrected descriptions
+ * DEPENDS: zlib and lzo are optional
+ * CONFIGURE: added, for jumbograms config option
+ * INSTALL: added, to install init script config
+ * BUILD: added, for TINC_OPTS
+ * PREPARE: added, to prevent building malfunctional spell
+ * init.d/tinc{,.conf}: added init system
+
2009-11-11 Bor Kraljič <pyrobor AT ver.si>
* C0D71F4A.gpg: added gpg keyring
* DETAILS: updated spell to 1.0.11
diff --git a/net/tinc/INSTALL b/net/tinc/INSTALL
new file mode 100755
index 0000000..774524a
--- /dev/null
+++ b/net/tinc/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/tinc.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/tinc"
+fi
diff --git a/net/tinc/PREPARE b/net/tinc/PREPARE
new file mode 100755
index 0000000..eb1f41d
--- /dev/null
+++ b/net/tinc/PREPARE
@@ -0,0 +1,5 @@
+. $GRIMOIRE/FUNCTIONS &&
+
+if [ -z "$(get_sorcery_kernel_config CONFIG_TUN)" ]; then
+ message "${PROBLEM_COLOR}Your kernel does not appear to have tun/tap
support enabled (CONFIG_TUN is not set). $SPELL will not function without
tun/tap support.${DEFAULT_COLOR}"
+fi
diff --git a/net/tinc/init.d/tinc b/net/tinc/init.d/tinc
new file mode 100755
index 0000000..e5f84ca
--- /dev/null
+++ b/net/tinc/init.d/tinc
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+. /etc/sysconfig/tinc
+
+PROGRAM=/usr/sbin/tincd
+ARGS="$TINCD_ARGS"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+stop() {
+ echo "Stopping $NAME..."
+ $PROGRAM $ARGS --kill
+ evaluate_retval
+}
diff --git a/net/tinc/init.d/tinc.conf b/net/tinc/init.d/tinc.conf
new file mode 100644
index 0000000..e32c8bc
--- /dev/null
+++ b/net/tinc/init.d/tinc.conf
@@ -0,0 +1,3 @@
+# For the arguments and description see tincd(8)
+
+TINCD_ARGS=""



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ff2503d402d8773df0cea6c22361611617a67632), Vlad Glagolev, 07/31/2012

Archive powered by MHonArc 2.6.24.

Top of Page