Skip to Content.
Sympa Menu

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

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 (1728ff17cdcc19fa0117228151ac329c4ec1cc21)
  • Date: Tue, 4 Oct 2016 00:08:50 +0000

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

net/ferm/DEPENDS | 4 +++-
net/ferm/DETAILS | 1 +
net/ferm/HISTORY | 6 ++++++
net/ferm/PRE_BUILD | 6 ++++++
net/ferm/no-systemd.patch | 15 +++++++++++++++
5 files changed, 31 insertions(+), 1 deletion(-)

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

ferm: optionally install systemd service

diff --git a/net/ferm/DEPENDS b/net/ferm/DEPENDS
index a47a141..cb35cd7 100755
--- a/net/ferm/DEPENDS
+++ b/net/ferm/DEPENDS
@@ -1,2 +1,4 @@
runtime_depends perl &&
-runtime_depends iptables
+runtime_depends iptables &&
+
+suggest_depends systemd "" "" "to install systemd service"
diff --git a/net/ferm/DETAILS b/net/ferm/DETAILS
index 35e6b8a..a641757 100755
--- a/net/ferm/DETAILS
+++ b/net/ferm/DETAILS
@@ -1,5 +1,6 @@
SPELL=ferm
VERSION=2.3
+ PATCHLEVEL=1
BRANCH=`echo $VERSION | cut -d . -f 1,2`
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://ferm.foo-projects.org/download/${BRANCH}/$SOURCE
diff --git a/net/ferm/HISTORY b/net/ferm/HISTORY
index 6215d87..abc48f3 100644
--- a/net/ferm/HISTORY
+++ b/net/ferm/HISTORY
@@ -1,3 +1,9 @@
+2016-10-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * DEPENDS: added suggest dep -- systemd
+ * PRE_BUILD: added, to apply patch
+ * no-systemd.patch: added, to install the service file optionally
+
2016-05-27 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.3

diff --git a/net/ferm/PRE_BUILD b/net/ferm/PRE_BUILD
new file mode 100755
index 0000000..5e84c74
--- /dev/null
+++ b/net/ferm/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+if ! is_depends_enabled ${SPELL} systemd; then
+ patch -p0 < "${SPELL_DIRECTORY}/no-systemd.patch"
+fi
diff --git a/net/ferm/no-systemd.patch b/net/ferm/no-systemd.patch
new file mode 100644
index 0000000..da12920
--- /dev/null
+++ b/net/ferm/no-systemd.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig 2016-03-30 08:16:02.000000000 -0400
++++ Makefile 2016-10-03 20:01:28.914713926 -0400
+@@ -137,11 +137,10 @@
+ .PHONY: install uninstall
+
+ install: all
+- install -d -m 755 $(DOCDIR)/examples $(PREFIX)/sbin $(SERVICEDIR)
++ install -d -m 755 $(DOCDIR)/examples $(PREFIX)/sbin
+ install -m 644 AUTHORS COPYING NEWS README TODO $(DOCDIR)
+ install -m 644 examples/*.ferm $(DOCDIR)/examples
+ install -m 755 src/ferm src/import-ferm $(PREFIX)/sbin/
+- install -m 644 ferm.service $(SERVICEDIR)
+
+ install -d -m 755 $(DOCDIR) $(MANDIR)
+ install -m 644 doc/ferm.txt doc/ferm.html $(DOCDIR)



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1728ff17cdcc19fa0117228151ac329c4ec1cc21), Vlad Glagolev, 10/03/2016

Archive powered by MHonArc 2.6.24.

Top of Page