Skip to Content.
Sympa Menu

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

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 (99b10dbd8a88f1dc292428bcf4f152ed89c3bfae)
  • Date: Sun, 25 Sep 2011 17:30:25 -0500

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

ChangeLog | 4 ++++
net/ipset/BUILD | 8 ++++++++
net/ipset/DEPENDS | 3 +++
net/ipset/DETAILS | 35 +++++++++++++++++++++++++++++++++++
net/ipset/HISTORY | 2 ++
net/ipset/INSTALL | 6 ++++++
net/ipset/PRE_BUILD | 12 ++++++++++++
net/libmnl/DETAILS | 21 +++++++++++++++++++++
net/libmnl/HISTORY | 2 ++
9 files changed, 93 insertions(+)

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

ipset: new spell, IP sets

commit b8bcfce60d97dd63d995825de5719971a5fbb8d3
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

libmnl: new spell, netfilter libmnl

diff --git a/ChangeLog b/ChangeLog
index ed7436f..6e82155 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * net/libmnl: new spell, netfilter libmnl
+ * net/ipset: new spell, IP sets
+
2011-09-23 Bor Kraljič <pyrobor AT ver.si>
* kde4-apps/kipi-plugins4: spell deprecated [kipi-plugins4 are now
part
of digikam4]
diff --git a/net/ipset/BUILD b/net/ipset/BUILD
new file mode 100755
index 0000000..38c45a2
--- /dev/null
+++ b/net/ipset/BUILD
@@ -0,0 +1,8 @@
+if [[ ${VERSION/.*} == 4 ]]; then
+ make
+else
+ ./autogen.sh &&
+
+ default_build &&
+ make modules
+fi
diff --git a/net/ipset/DEPENDS b/net/ipset/DEPENDS
new file mode 100755
index 0000000..3b4da7e
--- /dev/null
+++ b/net/ipset/DEPENDS
@@ -0,0 +1,3 @@
+if [[ ${VERSION/.*} != 4 ]]; then
+ depends libmnl
+fi
diff --git a/net/ipset/DETAILS b/net/ipset/DETAILS
new file mode 100755
index 0000000..45782f4
--- /dev/null
+++ b/net/ipset/DETAILS
@@ -0,0 +1,35 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+ SPELL=ipset
+if is_version_less $(get_kernel_version) 2.6.35; then
+ VERSION=4.5
+ SOURCE=$SPELL-$VERSION.tar.bz2
+
SOURCE_HASH=sha512:ccac555257600b8fd2e229426514582e6f3f04000b4f2bc704d28efdae0869c1c6952ddb9a833a32e49604d16a4a9aa0a5ea847d469a31e567e84f36b76e19f2
+else
+ VERSION=6.9.1
+ SOURCE=$SPELL-$VERSION.tar.bz2
+
SOURCE_HASH=sha512:024a071613fd56577a2fd37ea6e2a961c113f3ca816077fd24b1698e4bd78a8cb3897291505ea02a9b6565b110170ba93b321b3e1a6476ce93b8d93abe3bd1ed
+fi
+ SOURCE_URL[0]=http://ipset.netfilter.org/$SOURCE
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://ipset.netfilter.org/
+ ENTERED=20110926
+ LICENSE[0]=GPL
+ SHORT="IP sets"
+cat << EOF
+IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel, which can be
+administered by the ipset utility. Depending on the type, currently an IP set
+may store IP addresses, (TCP/UDP) port numbers or IP addresses with MAC
+addresses in a way, which ensures lightning speed when matching an entry
+against a set.
+
+If you want to
+ * store multiple IP addresses or port numbers and match against the
collection
+ by iptables at one swoop;
+ * dynamically update iptables rules against IP addresses or ports without
+ performance penalty;
+ * express complex IP address and ports based rulesets with one single
iptables
+ rule and benefit from the speed of IP sets
+
+then ipset may be the proper tool for you.
+EOF
diff --git a/net/ipset/HISTORY b/net/ipset/HISTORY
new file mode 100644
index 0000000..3630102
--- /dev/null
+++ b/net/ipset/HISTORY
@@ -0,0 +1,2 @@
+2011-09-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_}BUILD, INSTALL: spell created
diff --git a/net/ipset/INSTALL b/net/ipset/INSTALL
new file mode 100755
index 0000000..9e463c3
--- /dev/null
+++ b/net/ipset/INSTALL
@@ -0,0 +1,6 @@
+if [[ ${VERSION/.*} == 4 ]]; then
+ make PREFIX="$INSTALL_ROOT/usr" install
+else
+ default_install &&
+ make modules_install
+fi
diff --git a/net/ipset/PRE_BUILD b/net/ipset/PRE_BUILD
new file mode 100755
index 0000000..bf5547d
--- /dev/null
+++ b/net/ipset/PRE_BUILD
@@ -0,0 +1,12 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ ${VERSION/.*} == 4 ]]; then
+ sed -i "s:/man:/share/man:;s:share/man8:man8:" Makefile
+else
+ cd "$INSTALL_ROOT/usr/src/linux" &&
+
+ if ! grep -q NFNL_SUBSYS_IPSET include/linux/netfilter/nfnetlink.h; then
+ patch -d -Np1 < "$SOURCE_DIRECTORY/netlink.patch"
+ fi
+fi
diff --git a/net/libmnl/DETAILS b/net/libmnl/DETAILS
new file mode 100755
index 0000000..4891d64
--- /dev/null
+++ b/net/libmnl/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=libmnl
+ VERSION=1.0.1
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE2=$SOURCE.sig
+ SOURCE_URL[0]=http://www.netfilter.org/projects/$SPELL/files/$SOURCE
+ SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
+ SOURCE_GPG=netfilter.gpg:$SOURCE2:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.netfilter.org/
+ ENTERED=20110926
+ LICENSE[0]=GPL
+ SHORT="netfilter libmnl"
+cat << EOF
+libmnl is a minimalistic user-space library oriented to Netlink developers.
+There are a lot of common tasks in parsing, validating, constructing of both
+the Netlink header and TLVs that are repetitive and easy to get wrong.
+
+This library aims to provide simple helpers that allows you to re-use code
and
+to avoid re-inventing the wheel.
+EOF
diff --git a/net/libmnl/HISTORY b/net/libmnl/HISTORY
new file mode 100644
index 0000000..718fc5b
--- /dev/null
+++ b/net/libmnl/HISTORY
@@ -0,0 +1,2 @@
+2011-09-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: spell created



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (99b10dbd8a88f1dc292428bcf4f152ed89c3bfae), Vlad Glagolev, 09/25/2011

Archive powered by MHonArc 2.6.24.

Top of Page