]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added chkconfig for editing the runlevels...
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Apr 2008 09:52:00 +0000 (11:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Apr 2008 09:52:00 +0000 (11:52 +0200)
lfs/chkconfig [new file with mode: 0644]
make.sh
src/rootfiles/core/chkconfig [new file with mode: 0644]

diff --git a/lfs/chkconfig b/lfs/chkconfig
new file mode 100644 (file)
index 0000000..5c49bc4
--- /dev/null
@@ -0,0 +1,61 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  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   = chkconfig
+VER        = 1.3.36
+
+THISAPP    = $(PKG_NAME)-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+
+TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+install : $(TARGET)
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       
+       cd $(DIR_APP) && make RPM_OPT_FLAGS="$(CFLAGS)" -j $(PARALLELISM)
+       cd $(DIR_APP) && make install
+       
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 3660cffce2c369f3ae935004fb0882bbbf7ecd6c..1cbc7b8ea00204a466aefd1dac72291862be7435 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -283,6 +283,7 @@ ipfire_build() {
        ipfire_make memtest86+
        #ipfire_make pakfire
        #ipfire_make initscripts
+       ipfire_make chkconfig
        
        ipfire_make pyfire
   
diff --git a/src/rootfiles/core/chkconfig b/src/rootfiles/core/chkconfig
new file mode 100644 (file)
index 0000000..75a16c8
--- /dev/null
@@ -0,0 +1,75 @@
+#etc/alternatives
+sbin/chkconfig
+#usr/sbin/alternatives
+#usr/sbin/ntsysv
+#usr/sbin/update-alternatives
+#usr/share/locale/ar/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/as/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/be/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/bg/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/bn/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/bn_IN/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/bs/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ca/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/cs/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/cy/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/da/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/de/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/el/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/en_GB/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/es/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/et/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/fi/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/fr/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/gl/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/gu/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/he/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/hi/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/hr/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/hu/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/hy/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/id/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/is/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/it/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ja/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ka/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/kn/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ko/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ku/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/lo/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/lv/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/mk/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ml/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/mr/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ms/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/my/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/nb/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/nl/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/nn/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/or/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/pa/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/pl/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/pt/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ro/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ru/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/si/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/sk/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/sl/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/sq/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/sr/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/sr@Latn/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/sv/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ta/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/te/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/tr/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/uk/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/ur/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/vi/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/zh_CN/LC_MESSAGES/chkconfig.mo
+#usr/share/locale/zh_TW/LC_MESSAGES/chkconfig.mo
+#usr/share/man/man8/alternatives.8
+#usr/share/man/man8/chkconfig.8
+#usr/share/man/man8/ntsysv.8
+#usr/share/man/man8/update-alternatives.8
+#var/lib/alternatives