Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Arjan Bouter (66bb121f73fcfaee4cb1f3d02e190a6e53c13b94)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arjan Bouter <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (66bb121f73fcfaee4cb1f3d02e190a6e53c13b94)
  • Date: Sun, 8 Mar 2009 11:15:53 -0500

GIT changes to master grimoire by Arjan Bouter <abouter AT sourcemage.org>:

ChangeLog | 5 ++
audio-soft/mediatomb/DEPENDS | 50
+++++++++++++++++++++++++++++
audio-soft/mediatomb/DETAILS | 22 ++++++++++++
audio-soft/mediatomb/HISTORY | 3 +
audio-soft/mediatomb/PRE_BUILD | 7 ++++
net/shorewall-common/DETAILS | 2 -
net/shorewall-common/HISTORY | 3 +
net/shorewall-docs-html/DETAILS | 2 -
net/shorewall-docs-html/HISTORY | 3 +
net/shorewall-docs-xml/DETAILS | 2 -
net/shorewall-docs-xml/HISTORY | 3 +
net/shorewall-lite/DETAILS | 2 -
net/shorewall-lite/HISTORY | 3 +
net/shorewall-perl/DETAILS | 4 +-
net/shorewall-perl/HISTORY | 3 +
net/shorewall-shell/DETAILS | 2 -
net/shorewall-shell/HISTORY | 3 +
net/shorewall/DEPENDS | 2 +
net/shorewall/DETAILS | 2 -
net/shorewall/HISTORY | 3 +
net/shorewall6-lite/BUILD | 1
net/shorewall6-lite/CONFLICTS | 1
net/shorewall6-lite/DEPENDS | 3 +
net/shorewall6-lite/DETAILS | 37 +++++++++++++++++++++
net/shorewall6-lite/HISTORY | 3 +
net/shorewall6-lite/INSTALL | 1
net/shorewall6-lite/PRE_BUILD | 6 +++
net/shorewall6-lite/init.d/shorewall6 | 47 +++++++++++++++++++++++++++
net/shorewall6-lite/init.d/shorewall6.conf | 5 ++
net/shorewall6/BUILD | 1
net/shorewall6/DEPENDS | 7 ++++
net/shorewall6/DETAILS | 37 +++++++++++++++++++++
net/shorewall6/HISTORY | 2 +
net/shorewall6/INSTALL | 1
net/shorewall6/PRE_BUILD | 6 +++
35 files changed, 276 insertions(+), 8 deletions(-)

New commits:
commit 66bb121f73fcfaee4cb1f3d02e190a6e53c13b94
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall6-lite: new spell, shorewall-lite for IPv6

commit 2b3b3a04476656a511e137181cf2e57332759193
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall6: new spell, IPv6 shorewall

commit 1e0ae96e468ef7af5ca759fa8d560122af330cbd
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall-perl: version 4.2.6.2

commit 9d4a57ba5ab5d718f8163aa7591476f11d0f785f
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall-shell: version 4.2.6

commit 53b9298c7f42b2bbb35245d8cf792e7e5e7e202a
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall-lite: version 4.2.6

commit 91d9a795a5bd55dc6cbc20f0b8542be38d8bf8db
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall-docs-xml: version 4.2.6

commit 37877b3826f03b8a2bbdf4e7a238da9f4deb14f9
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall-docs-html: version 4.2.6

commit 7ddf7670dc248cd00765a785ab33c06c032be86a
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall-common: version 4.2.6

commit 9f5de1b29f9c0fb8ee40cf60b119a827a1ee3d0c
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

shorewall: version 4.2.6

commit e9f1fa5b73d080cee10e1806277ad9cc0ef8c1e8
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

mediatomb: new spell, upnp media server

diff --git a/ChangeLog b/ChangeLog
index 13bc876..39f3349 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * audio-soft/mediatomb: new spell, upnp media server
+ * net/shorewall6: new spell, shorewall IPv6
+ * net/shorewall6-lite: new spell, shorewall-lite for IPv6
+
2009-03-07 Vlad Glagolev <stealth AT sourcemage.org>
* utils/qemulator: new spell, comfortable GUI for the qemu virtual
engine

diff --git a/audio-soft/mediatomb/DEPENDS b/audio-soft/mediatomb/DEPENDS
new file mode 100755
index 0000000..62d96f0
--- /dev/null
+++ b/audio-soft/mediatomb/DEPENDS
@@ -0,0 +1,50 @@
+message "MediaTomb requires either sqlite or mysql to store it's db"
+optional_depends sqlite \
+ "--enable-sqlite" \
+ "--disable-sqlite" \
+ "to store the media db in sqlite" &&
+optional_depends mysql \
+ "--enable-mysql" \
+ "--disable-mysql" \
+ "store the media db in mysql" &&
+optional_depends expat \
+ "--enable-expat" \
+ "--disable-expat" \
+ "use the expat XML parser" &&
+optional_depends zlib \
+ "" \
+ "" \
+ "for auto creation of the media db" &&
+optional_depends file \
+ "--enable-libmagic" \
+ "--disable-libmagic" \
+ "file type recognition" &&
+optional_depends spidermonkey \
+ "--enable-libjs" \
+ "--disable-libjs" \
+ "personalized virtual containers" &&
+message "mediatomb depends on either taglib or id3lib, but NOT both" &&
+optional_depends taglib \
+ "--enable-taglib" \
+ "--disable-taglib" \
+ "to parse id3 tags" &&
+optional_depends id3lib \
+ "--enable-id3lib" \
+ "--disable-id3lib" \
+ "to parse id3 tags" &&
+optional_depends libexif \
+ "--enable-libexif" \
+ "--disable-libexif" \
+ "to gather metadata from JPEG files" &&
+optional_depends curl \
+ "--enable-curl" \
+ "--disable-curl" \
+ "to fetch content from the web" &&
+optional_depends libextractor \
+ "--enable-libextractor" \
+ "--disable-libextractor" \
+ "to gather metadata from various files (NOT recommended)" &&
+optional_depends LIBAVCODEC \
+ "--enable-ffmpeg --with-ffmpeg-h=/usr/include/libavformat" \
+ "--disable-ffmpeg" \
+ "to gather metadata from video files"
diff --git a/audio-soft/mediatomb/DETAILS b/audio-soft/mediatomb/DETAILS
new file mode 100755
index 0000000..53d0378
--- /dev/null
+++ b/audio-soft/mediatomb/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=mediatomb
+ VERSION=0.11.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=$SOURCEFORGE_URL/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:52e6fccbbda16edc778044ac591c1f3b80941edafbd80170ef4d10297fca051421976003566609db7461faa4c0efd74337943e10b802e57072525a2e5e74036b
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://mediatomb.cc";
+ LICENSE[0]=GPL
+ ENTERED=20090308
+ SHORT="open source media server"
+cat << EOF
+MediaTomb is an open source (GPL) UPnP MediaServer with a nice web user
interface,
+it allows you to stream your digital media through your home network and
+listen to/watch it on a variety of UPnP compatible devices.
+MediaTomb implements the UPnP MediaServer V 1.0 specification that can be
found on
+http://www.upnp.org/. The current implementation focuses on parts that are
required
+by the specification, however we look into extending the functionality to
cover the
+optional parts of the spec as well.
+MediaTomb should work with any UPnP compliant MediaRenderer, please tell us
if you
+experience difficulties with particular models, also take a look at the
Supported
+Devices list for more information.
+EOF
diff --git a/audio-soft/mediatomb/HISTORY b/audio-soft/mediatomb/HISTORY
new file mode 100644
index 0000000..01bcbd7
--- /dev/null
+++ b/audio-soft/mediatomb/HISTORY
@@ -0,0 +1,3 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
+
diff --git a/audio-soft/mediatomb/PRE_BUILD b/audio-soft/mediatomb/PRE_BUILD
new file mode 100755
index 0000000..1ea7218
--- /dev/null
+++ b/audio-soft/mediatomb/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+sedit 's#FFMPEG_SEARCH_HEADERS/ffmpeg#FFMPEG_SEARCH_HEADERS#g' configure &&
+sedit 's#ffmpeg/avformat.h#avformat.h#g' configure &&
+sedit 's#ffmpeg/avformat.h#avformat.h#g' src/metadata/ffmpeg_handler.cc &&
+#next line can prolly be removed for versions > 0.11.0, fixed in svn
+sedit 's#CURLOPT_NOBODY)#CURLOPT_NOBODY, 1)#' src/url.cc
diff --git a/net/shorewall-common/DETAILS b/net/shorewall-common/DETAILS
index 67c2a0f..7562d37 100755
--- a/net/shorewall-common/DETAILS
+++ b/net/shorewall-common/DETAILS
@@ -1,5 +1,5 @@
SPELL=shorewall-common
- VERSION=4.0.14
+ VERSION=4.2.6
MAINVER=${VERSION:0:3}
RELEASE=shorewall-$VERSION
SOURCE=$SPELL-$VERSION.tar.bz2
diff --git a/net/shorewall-common/HISTORY b/net/shorewall-common/HISTORY
index 9978605..84ef5ea 100644
--- a/net/shorewall-common/HISTORY
+++ b/net/shorewall-common/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall-docs-html/DETAILS b/net/shorewall-docs-html/DETAILS
index a301d82..db6ae3d 100755
--- a/net/shorewall-docs-html/DETAILS
+++ b/net/shorewall-docs-html/DETAILS
@@ -1,5 +1,5 @@
SPELL=shorewall-docs-html
- VERSION=4.0.14
+ VERSION=4.2.6
MAINVER=${VERSION:0:3}
RELEASE=shorewall-$VERSION
SOURCE=$SPELL-$VERSION.tar.bz2
diff --git a/net/shorewall-docs-html/HISTORY b/net/shorewall-docs-html/HISTORY
index 9eabcad..1f39704 100644
--- a/net/shorewall-docs-html/HISTORY
+++ b/net/shorewall-docs-html/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall-docs-xml/DETAILS b/net/shorewall-docs-xml/DETAILS
index 98a559d..b3a007f 100755
--- a/net/shorewall-docs-xml/DETAILS
+++ b/net/shorewall-docs-xml/DETAILS
@@ -1,5 +1,5 @@
SPELL=shorewall-docs-xml
- VERSION=4.0.14
+ VERSION=4.2.6
MAINVER=${VERSION:0:3}
RELEASE=shorewall-$VERSION
SOURCE=$SPELL-$VERSION.tar.bz2
diff --git a/net/shorewall-docs-xml/HISTORY b/net/shorewall-docs-xml/HISTORY
index 9eabcad..0add037 100644
--- a/net/shorewall-docs-xml/HISTORY
+++ b/net/shorewall-docs-xml/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall-lite/DETAILS b/net/shorewall-lite/DETAILS
index d66942c..b4d58f8 100755
--- a/net/shorewall-lite/DETAILS
+++ b/net/shorewall-lite/DETAILS
@@ -1,5 +1,5 @@
SPELL=shorewall-lite
- VERSION=4.0.14
+ VERSION=4.2.6
MAINVER=${VERSION:0:3}
RELEASE=shorewall-$VERSION
SOURCE=$SPELL-$VERSION.tar.bz2
diff --git a/net/shorewall-lite/HISTORY b/net/shorewall-lite/HISTORY
index 803fb7b..3c73ecf 100644
--- a/net/shorewall-lite/HISTORY
+++ b/net/shorewall-lite/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall-perl/DETAILS b/net/shorewall-perl/DETAILS
index 78b794b..6cfdfa1 100755
--- a/net/shorewall-perl/DETAILS
+++ b/net/shorewall-perl/DETAILS
@@ -1,7 +1,7 @@
SPELL=shorewall-perl
- VERSION=4.0.14
+ VERSION=4.2.6.2
MAINVER=${VERSION:0:3}
- RELEASE=shorewall-${VERSION}
+ RELEASE=shorewall-${VERSION:0:5}
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE2=$SPELL-$VERSION.tar.bz2.asc

SOURCE_URL[0]=ftp://slovakia.shorewall.net/mirror/shorewall/$MAINVER/$RELEASE/$SOURCE
diff --git a/net/shorewall-perl/HISTORY b/net/shorewall-perl/HISTORY
index ee3805c..612edcb 100644
--- a/net/shorewall-perl/HISTORY
+++ b/net/shorewall-perl/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6.2
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall-shell/DETAILS b/net/shorewall-shell/DETAILS
index e9d9c14..79e857c 100755
--- a/net/shorewall-shell/DETAILS
+++ b/net/shorewall-shell/DETAILS
@@ -1,5 +1,5 @@
SPELL=shorewall-shell
- VERSION=4.0.14
+ VERSION=4.2.6
MAINVER=${VERSION:0:3}
RELEASE=shorewall-${VERSION}
SOURCE=$SPELL-$VERSION.tar.bz2
diff --git a/net/shorewall-shell/HISTORY b/net/shorewall-shell/HISTORY
index ee3805c..ebd0435 100644
--- a/net/shorewall-shell/HISTORY
+++ b/net/shorewall-shell/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall/DEPENDS b/net/shorewall/DEPENDS
index b0d7f0c..8d60a0f 100755
--- a/net/shorewall/DEPENDS
+++ b/net/shorewall/DEPENDS
@@ -1,3 +1,5 @@
depends shorewall-common &&
+optional_depends shorewall6 "" "" "for IPv6" &&
+optional_depends shorewall-docs-html "" "" "for html documentation" &&
optional_depends shorewall-docs-html "" "" "for html documentation" &&
optional_depends shorewall-docs-xml "" "" "for xml documentation"
diff --git a/net/shorewall/DETAILS b/net/shorewall/DETAILS
index bbb361d..1d7d036 100755
--- a/net/shorewall/DETAILS
+++ b/net/shorewall/DETAILS
@@ -1,5 +1,5 @@
SPELL=shorewall
- VERSION=4.0.14
+ VERSION=4.2.6
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
LICENSE[0]=GPL
KEYWORDS="firewall net"
diff --git a/net/shorewall/HISTORY b/net/shorewall/HISTORY
index 9ccdc76..2f45582 100644
--- a/net/shorewall/HISTORY
+++ b/net/shorewall/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated to 4.2.6
+
2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 4.0.14

diff --git a/net/shorewall6-lite/BUILD b/net/shorewall6-lite/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/net/shorewall6-lite/BUILD
@@ -0,0 +1 @@
+true
diff --git a/net/shorewall6-lite/CONFLICTS b/net/shorewall6-lite/CONFLICTS
new file mode 100755
index 0000000..bc392f7
--- /dev/null
+++ b/net/shorewall6-lite/CONFLICTS
@@ -0,0 +1 @@
+conflicts shorewall-common
diff --git a/net/shorewall6-lite/DEPENDS b/net/shorewall6-lite/DEPENDS
new file mode 100755
index 0000000..dbeb825
--- /dev/null
+++ b/net/shorewall6-lite/DEPENDS
@@ -0,0 +1,3 @@
+depends iproute2 &&
+depends iptables &&
+depends SYSTEM-LOGGER
diff --git a/net/shorewall6-lite/DETAILS b/net/shorewall6-lite/DETAILS
new file mode 100755
index 0000000..c6e7fc9
--- /dev/null
+++ b/net/shorewall6-lite/DETAILS
@@ -0,0 +1,37 @@
+ SPELL=shorewall6-lite
+ VERSION=4.2.6
+ MAINVER=${VERSION:0:3}
+ RELEASE=shorewall-$VERSION
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE2=$SPELL-$VERSION.tar.bz2.asc
+
SOURCE_URL[0]=ftp://slovakia.shorewall.net/mirror/shorewall/$MAINVER/$RELEASE/$SOURCE
+
SOURCE_URL[1]=ftp://www.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE
+ SOURCE_URL[2]=http://shorewall.de/pub/shorewall/$MAINVER/$RELEASE/$SOURCE
+
SOURCE_URL[3]=ftp://www1.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE
+
SOURCE2_URL[0]=ftp://slovakia.shorewall.net/mirror/shorewall/$MAINVER/$RELEASE/$SOURCE2
+
SOURCE2_URL[1]=ftp://www.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE2
+ SOURCE2_URL[2]=http://shorewall.de/pub/shorewall/$MAINVER/$RELEASE/$SOURCE2
+
SOURCE2_URL[3]=ftp://www1.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE2
+ SOURCE2_IGNORE=signature
+ SOURCE_GPG="shorewall.gpg:${SOURCE2}"
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ WEB_SITE=http://www.shorewall.net/
+ ENTERED=20070902
+ LICENSE[0]=GPL
+ KEYWORDS="firewall net"
+ SHORT="A high-level tool for configuring Netfilter."
+cat << EOF
+This is the shorewall-lite package. It can function on its own, but only to
run
+compiled scripts. The scripts must be compiled on a different machine.
+Ref: http://www.shorewall.net/CompiledPrograms.html#Lite
+
+The Shoreline Firewall, more commonly known as "Shorewall", is a high-level
+tool for configuring Netfilter. You describe your firewall/gateway
+requirements using entries in a set of configuration files. Shorewall reads
+those configuration files and with the help of the iptables utility,
Shorewall
+configures Netfilter to match your requirements. Shorewall can be used on a
+dedicated firewall system, a multi-function gateway/router/server or on a
+standalone GNU/Linux system. Shorewall does not use Netfilter's ipchains
+compatibility mode and can thus take advantage of Netfilter's connection
state
+tracking capabilities.
+EOF
diff --git a/net/shorewall6-lite/HISTORY b/net/shorewall6-lite/HISTORY
new file mode 100644
index 0000000..364d7ca
--- /dev/null
+++ b/net/shorewall6-lite/HISTORY
@@ -0,0 +1,3 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * BUILD,CONFLICTS,DEPENDS,DETAILS,HISTORY,INSTALL,PRE_BUILD:
+ created spell, version 4.2.6
diff --git a/net/shorewall6-lite/INSTALL b/net/shorewall6-lite/INSTALL
new file mode 100755
index 0000000..b816bbc
--- /dev/null
+++ b/net/shorewall6-lite/INSTALL
@@ -0,0 +1 @@
+PREFIX="$INSTALL_ROOT" ./install.sh
diff --git a/net/shorewall6-lite/PRE_BUILD b/net/shorewall6-lite/PRE_BUILD
new file mode 100755
index 0000000..c7a1074
--- /dev/null
+++ b/net/shorewall6-lite/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# Disable init script install
+sed -i "s/install_file_with_backup init.*/true/" install.sh &&
+sed -i "s/ln -s.*init.*/true/" install.sh
diff --git a/net/shorewall6-lite/init.d/shorewall6
b/net/shorewall6-lite/init.d/shorewall6
new file mode 100644
index 0000000..1f2f194
--- /dev/null
+++ b/net/shorewall6-lite/init.d/shorewall6
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+RUNLEVEL=3
+PROGRAM=/sbin/shorewall6
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init
+. /etc/sysconfig/shorewall6
+
+start()
+{
+ # Shorewall needs /var/log/messages to exist
+ if [[ ! -f /var/log/messages ]]
+ then
+ touch /var/log/messages
+ fi &&
+ # Create shorewall log file if it doesn't exist
+ if [[ ! -f $SHOREWALL_LOG ]]
+ then
+ touch $SHOREWALL_LOG
+ fi &&
+ # Shorewall needs subsys
+ if [[ ! -d /var/lock/subsys/ ]]
+ then
+ mkdir -p /var/lock/subsys/
+ fi &&
+ echo Starting Shorewall... &&
+ ( unset -f echo; date "$DATE_FORMAT" >> $SHOREWALL_LOG 2>&1 ; ) &&
+ ( unset -f echo; ${PROGRAM} start >> $SHOREWALL_LOG 2>&1 ; )
+}
+
+stop()
+{
+ echo Stopping Shorewall... &&
+ ( unset -f echo; date "$DATE_FORMAT" >> $SHOREWALL_LOG 2>&1 ; ) &&
+ ( unset -f echo; ${PROGRAM} stop >> $SHOREWALL_LOG 2>&1 ; )
+}
+
+status()
+{
+ ( unset -f echo; ${PROGRAM} status ; )
+}
+
+reload()
+{
+ ( unset -f echo; ${PROGRAM} refresh ; )
+}
diff --git a/net/shorewall6-lite/init.d/shorewall6.conf
b/net/shorewall6-lite/init.d/shorewall6.conf
new file mode 100644
index 0000000..e1b712f
--- /dev/null
+++ b/net/shorewall6-lite/init.d/shorewall6.conf
@@ -0,0 +1,5 @@
+# Full path to the log file.
+SHOREWALL_LOG=/var/log/shorewall.log
+
+# As described in 'man date'. The value must begin with a + symbol.
+DATE_FORMAT="+%F %T"
diff --git a/net/shorewall6/BUILD b/net/shorewall6/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/net/shorewall6/BUILD
@@ -0,0 +1 @@
+true
diff --git a/net/shorewall6/DEPENDS b/net/shorewall6/DEPENDS
new file mode 100755
index 0000000..3d38422
--- /dev/null
+++ b/net/shorewall6/DEPENDS
@@ -0,0 +1,7 @@
+message "You need one of the compilers" &&
+optional_depends shorewall-perl "" "" "for the perl compiler (reccomended)"
&&
+optional_depends shorewall-shell "" "" "for the shell compiler" &&
+depends shorewall-common &&
+depends iproute2 &&
+depends iptables &&
+depends SYSTEM-LOGGER
diff --git a/net/shorewall6/DETAILS b/net/shorewall6/DETAILS
new file mode 100755
index 0000000..f25d888
--- /dev/null
+++ b/net/shorewall6/DETAILS
@@ -0,0 +1,37 @@
+ SPELL=shorewall6
+ VERSION=4.2.6
+ MAINVER=${VERSION:0:3}
+ RELEASE=shorewall-$VERSION
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE2=$SPELL-$VERSION.tar.bz2.asc
+
SOURCE_URL[0]=ftp://slovakia.shorewall.net/mirror/shorewall/$MAINVER/$RELEASE/$SOURCE
+
SOURCE_URL[1]=ftp://www.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE
+ SOURCE_URL[2]=http://shorewall.de/pub/shorewall/$MAINVER/$RELEASE/$SOURCE
+
SOURCE_URL[3]=ftp://www1.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE
+
SOURCE2_URL[0]=ftp://slovakia.shorewall.net/mirror/shorewall/$MAINVER/$RELEASE/$SOURCE2
+
SOURCE2_URL[1]=ftp://www.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE2
+ SOURCE2_URL[2]=http://shorewall.de/pub/shorewall/$MAINVER/$RELEASE/$SOURCE2
+
SOURCE2_URL[3]=ftp://www1.shorewall.net/pub/shorewall/$MAINVER/$RELEASE/$SOURCE2
+ SOURCE2_IGNORE=signature
+ SOURCE_GPG="shorewall.gpg:${SOURCE2}"
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ WEB_SITE=http://www.shorewall.net/
+ ENTERED=20070902
+ LICENSE[0]=GPL
+ KEYWORDS="firewall net"
+ SHORT="A high-level tool for configuring Netfilter."
+cat << EOF
+This is the shorewall-lite package. It can function on its own, but only to
run
+compiled scripts. The scripts must be compiled on a different machine.
+Ref: http://www.shorewall.net/CompiledPrograms.html#Lite
+
+The Shoreline Firewall, more commonly known as "Shorewall", is a high-level
+tool for configuring Netfilter. You describe your firewall/gateway
+requirements using entries in a set of configuration files. Shorewall reads
+those configuration files and with the help of the iptables utility,
Shorewall
+configures Netfilter to match your requirements. Shorewall can be used on a
+dedicated firewall system, a multi-function gateway/router/server or on a
+standalone GNU/Linux system. Shorewall does not use Netfilter's ipchains
+compatibility mode and can thus take advantage of Netfilter's connection
state
+tracking capabilities.
+EOF
diff --git a/net/shorewall6/HISTORY b/net/shorewall6/HISTORY
new file mode 100644
index 0000000..83c6a3c
--- /dev/null
+++ b/net/shorewall6/HISTORY
@@ -0,0 +1,2 @@
+2009-03-08 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS,DEPENDS,HISTORY,BUILD,PRE_BUILD,INSTALL: created spell,
version 4.2.6
diff --git a/net/shorewall6/INSTALL b/net/shorewall6/INSTALL
new file mode 100755
index 0000000..b816bbc
--- /dev/null
+++ b/net/shorewall6/INSTALL
@@ -0,0 +1 @@
+PREFIX="$INSTALL_ROOT" ./install.sh
diff --git a/net/shorewall6/PRE_BUILD b/net/shorewall6/PRE_BUILD
new file mode 100755
index 0000000..c7a1074
--- /dev/null
+++ b/net/shorewall6/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# Disable init script install
+sed -i "s/install_file_with_backup init.*/true/" install.sh &&
+sed -i "s/ln -s.*init.*/true/" install.sh



  • [SM-Commit] GIT changes to master grimoire by Arjan Bouter (66bb121f73fcfaee4cb1f3d02e190a6e53c13b94), Arjan Bouter, 03/08/2009

Archive powered by MHonArc 2.6.24.

Top of Page