sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (75e9964fffb99e719ba3e8e791d57c54eb059744)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (75e9964fffb99e719ba3e8e791d57c54eb059744)
- Date: Sat, 24 Sep 2016 17:27:52 +0000
GIT changes to stable-0.62 grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
net/ifenslave/BUILD | 2 ++
net/ifenslave/DEPENDS | 4 ++++
net/ifenslave/DETAILS | 21 +++++++++++++++++++++
net/ifenslave/HISTORY | 7 +++++++
net/ifenslave/INSTALL | 17 +++++++++++++++++
net/ifupdown/DETAILS | 1 +
net/ifupdown/HISTORY | 5 +++++
net/ifupdown/INSTALL | 9 +++++----
9 files changed, 65 insertions(+), 4 deletions(-)
New commits:
commit 75e9964fffb99e719ba3e8e791d57c54eb059744
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
ifupdown: install dummy files to protect hook dirs
(cherry picked from commit eba33528ceef5534da0676bbf96f6b5a2c98f86c)
Conflicts:
net/ifupdown/DETAILS
net/ifupdown/HISTORY
commit 08fff5570754a63c668c35bae1e896450c5d805d
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
net/ifenslave: Added to configure network interfaces for bonding
(cherry picked from commit e953733040e8b3ebdbf5df68ceb2ccfadd5fca74)
Conflicts:
ChangeLog
diff --git a/ChangeLog b/ChangeLog
index 81ff073..fecd0fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-06-01 Eric Sandall <sandalle AT sourcemage.org>
+ * net/ifenslave: Added to configure network interfaces for bonding
+
2016-05-05 Vlad Glagolev <stealth AT sourcemage.org>
* devel/tk: moved to x11-toolkits
diff --git a/net/ifenslave/BUILD b/net/ifenslave/BUILD
new file mode 100755
index 0000000..c1c4587
--- /dev/null
+++ b/net/ifenslave/BUILD
@@ -0,0 +1,2 @@
+cd "${SOURCE_DIRECTORY}"/debian &&
+gzip -9 ifenslave.8
diff --git a/net/ifenslave/DEPENDS b/net/ifenslave/DEPENDS
new file mode 100755
index 0000000..322231c
--- /dev/null
+++ b/net/ifenslave/DEPENDS
@@ -0,0 +1,4 @@
+depends ifupdown &&
+depends iproute2 &&
+
+suggest_depends net-tools '' '' 'for a networking toolkit'
diff --git a/net/ifenslave/DETAILS b/net/ifenslave/DETAILS
new file mode 100755
index 0000000..ebf8334
--- /dev/null
+++ b/net/ifenslave/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=ifenslave
+ VERSION=2.7
+
SOURCE_HASH=sha512:c93a0e3580a7d8cca5726751903e18047aa32961a01e1f6c1d61cba903f39c45b3de6848d342f39aae99e8359f28a1e1d8548203877fb63cd142d78514682e2c
+ SOURCE=${SPELL}_${VERSION}.tar.xz
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}"/${SPELL}-${VERSION}
+
SOURCE_URL[0]=http://ftp.de.debian.org/debian/pool/main/i/ifenslave/${SOURCE}
+ LICENSE[0]=GPL
+ WEB_SITE=https://packages.debian.org/source/sid/ifenslave
+ ENTERED=20160601
+ KEYWORDS="tools net"
+ SHORT="Configure network interfaces for parallel routing
(bonding)"
+cat << EOF
+This is a tool to attach and detach slave network interfaces to a bonding
+device. A bonding device will act like a normal Ethernet network device to
the
+kernel, but will send out the packets via the slave devices using a simple
+round-robin scheduler. This allows for simple load-balancing, identical to
+"channel bonding" or "trunking" techniques used in switches.
+
+The kernel must have support for bonding devices for ifenslave to be useful.
+This package supports 2.6.x kernels and the recent 3.x.x kernels.
+EOF
diff --git a/net/ifenslave/HISTORY b/net/ifenslave/HISTORY
new file mode 100644
index 0000000..9bf07a7
--- /dev/null
+++ b/net/ifenslave/HISTORY
@@ -0,0 +1,7 @@
+2016-09-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: added, conflicts with kernels < 3.11
+ * PREPARE: added, handling with manually-installed ifenslave
+
+2016-06-01 Eric Sandall <sandalle AT sourcemage.org>
+ * Created
+
diff --git a/net/ifenslave/INSTALL b/net/ifenslave/INSTALL
new file mode 100755
index 0000000..4adbd5b
--- /dev/null
+++ b/net/ifenslave/INSTALL
@@ -0,0 +1,17 @@
+cd "${SOURCE_DIRECTORY}" &&
+
+# install script
+install -o root -g root -m 0755 ifenslave "${INSTALL_ROOT}"/sbin/ifenslave
&&
+install -o root -g root -m 0755 debian/ifenslave.if-post-down
"${INSTALL_ROOT}"/etc/network/if-post-down.d/ifenslave &&
+install -o root -g root -m 0755 debian/ifenslave.if-pre-up
"${INSTALL_ROOT}"/etc/network/if-pre-up.d/ifenslave &&
+install -o root -g root -m 0755 debian/ifenslave.if-up
"${INSTALL_ROOT}"/etc/network/if-up.d/ifenslave &&
+
+# install the man pages to smart places
+cp debian/*.8.gz "${INSTALL_ROOT}"/usr/share/man/man8/. &&
+
+# install the documentation type things
+mkdir -p "${INSTALL_ROOT}"/usr/share/doc/${SPELL} &&
+cp -va debian/examples "${INSTALL_ROOT}"/usr/share/doc/${SPELL}/. &&
+for docs in README.Debian changelog copyright; do
+ install -o root -g root -m 0644 debian/${docs}
"${INSTALL_ROOT}"/usr/share/doc/${SPELL}/${docs}
+done
diff --git a/net/ifupdown/DETAILS b/net/ifupdown/DETAILS
index ec97189..44d69c1 100755
--- a/net/ifupdown/DETAILS
+++ b/net/ifupdown/DETAILS
@@ -1,5 +1,6 @@
SPELL=ifupdown
VERSION=0.6.10
+ PATCHLEVEL=1
SOURCE_HASH=sha512:eb3ea18775f3f8d1bbdff6c7bc0d3de2926cb6538dae6e03b7be0ccc782557fa821313d4bf9594f6a664f73b8fe845eb1039ec3ba195247dafbed183298f6f2d
SOURCE=${SPELL}_$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/net/ifupdown/HISTORY b/net/ifupdown/HISTORY
index cc9b576..d6395b6 100644
--- a/net/ifupdown/HISTORY
+++ b/net/ifupdown/HISTORY
@@ -1,3 +1,8 @@
+2016-09-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * INSTALL: install dummy files as another protection measure against
+ other spells handling hook dirs
+
2010-08-27 Eric Sandall <sandalle AT sourcemage.org>
* init.d/network: Add RECOMMENDED=yes
diff --git a/net/ifupdown/INSTALL b/net/ifupdown/INSTALL
index fda0e79..ce8e455 100755
--- a/net/ifupdown/INSTALL
+++ b/net/ifupdown/INSTALL
@@ -16,7 +16,8 @@ cp -va examples $INSTALL_ROOT/usr/share/doc/$SPELL/. &&
# make the default directories
mkdir -p $INSTALL_ROOT/etc/network &&
mkdir -p $INSTALL_ROOT/etc/network/run &&
-mkdir -p $INSTALL_ROOT/etc/network/if-post-down.d &&
-mkdir -p $INSTALL_ROOT/etc/network/if-pre-up.d &&
-mkdir -p $INSTALL_ROOT/etc/network/if-down.d &&
-mkdir -p $INSTALL_ROOT/etc/network/if-up.d
+
+for hook_dir in if-post-down if-pre-up if-down if-up; do
+ install -vm 755 -d "$INSTALL_ROOT/etc/network/${hook_dir}.d" &&
+ touch "$INSTALL_ROOT/etc/network/${hook_dir}.d/.keep"
+done
- [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (75e9964fffb99e719ba3e8e791d57c54eb059744), Vlad Glagolev, 09/24/2016
Archive powered by MHonArc 2.6.24.