]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added lfs/network.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Feb 2009 22:25:20 +0000 (23:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Feb 2009 22:25:20 +0000 (23:25 +0100)
lfs/network [new file with mode: 0644]
make.sh

diff --git a/lfs/network b/lfs/network
new file mode 100644 (file)
index 0000000..d17b981
--- /dev/null
@@ -0,0 +1,76 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt           #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME   = network
+PKG_VER    =
+PKG_REL    = 0
+
+THISAPP    = $(PKG_NAME)
+DIR_APP    = $(DIR_SOURCE)/$(PKG_NAME)
+
+OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
+GROUP      = Networking/Tools
+EXTRA      = no
+DEBUG      = no
+DEPS       = initscripts
+
+URL        = http://www.ipfire.org/
+LICENSE    = GPL3+
+SHORT_DESC = The IPFire Networking Scripts.
+
+define LONG_DESC
+       This script installs the IPFire Networking Scripts.
+endef
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
+
+$(objects):
+       @$(LOAD)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(OBJECT): $(objects)
+       @$(PREBUILD)
+       install -m 755 -v $(DIR_APP)/network /usr/bin
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 40695ca1b5b2870e084cf399dc9369e59ad1e0a7..8854951768278426052de706bfc15acfaef7421a 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -331,6 +331,7 @@ ipfire_build() {
        ipfire_make wireless-tools
 
        ipfire_make pyfire
+       ipfire_make network
        ipfire_make firewall
 }