]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted some more scripts to LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Feb 2009 09:10:15 +0000 (10:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Feb 2009 09:10:15 +0000 (10:10 +0100)
lfs/gmp
lfs/scripts
lfs/sed
lfs/stage1
lfs/stage2
lfs/stage3
lfs/stage4
lfs/stage5

diff --git a/lfs/gmp b/lfs/gmp
index 66099bf88faa524758cc9d921f5e0fc509829dad..9215649a806dd8ab129af16d289f077c4f2906dd 100644 (file)
--- a/lfs/gmp
+++ b/lfs/gmp
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
@@ -26,6 +26,7 @@ include Config
 
 PKG_NAME   = gmp
 PKG_VER    = 4.2.4
+PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -33,29 +34,52 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = System/Libraries
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        = http://gmplib.org/
+LICENSE    = LGPLv3+
+SHORT_DESC = A GNU arbitrary precision library.
+
+define LONG_DESC
+       The gmp package contains GNU MP, a library for arbitrary precision \
+       arithmetic, signed integers operations, rational numbers and floating \
+       point numbers. GNU MP is designed for speed, for both small and very \
+       large operands. GNU MP is fast because it uses fullwords as the basic \
+       arithmetic type, it uses fast algorithms, it carefully optimizes \
+       assembly code for many CPUs' most common inner loops, and it generally \
+       emphasizes speed over simplicity/elegance in its operations.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
 objects = $(DL_FILE)
 
+download: $(objects)
+
 info:
        $(DO_PKG_INFO)
 
 install: $(OBJECT)
 
-download : $(objects)
+package:
+       @$(DO_PACKAGE)
 
-$(objects) :
+$(objects):
        @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) : 
+$(OBJECT): $(objects)
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ABI=32 \
                ./configure \
                        $(CONFIGURE_ARCH) \
index 3bec7a2c22e1a6fc4581c8dc3d4ee134aba609ab..8db20d286c487b890dbf877e5e36202097022ee8 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
 include Config
 
 PKG_NAME   = scripts
-PKG_VER    = LFS
+PKG_VER    =
+PKG_REL    = -1
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
+THISAPP    = $(PKG_NAME)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      =
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        =
+LICENSE    =
+SHORT_DESC = This script installs some important scripts to the system.
+
+define LONG_DESC
+       This script installs some important scripts to the system.
+endef
+
 BIN        = readhash
 SBIN       = 
 USR_BIN    = py-compile setddns.pl vpn-watch
@@ -40,15 +55,26 @@ USR_SBIN   =
 # Top-level Rules
 ###############################################################################
 
-install : $(OBJECT)
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
 
-download :
+$(objects):
+       @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) :
+$(OBJECT): $(objects)
        @$(PREBUILD)
 
        for i in $(BIN); do \
diff --git a/lfs/sed b/lfs/sed
index d71249978435f506095627a93b44316ceee8fe6b..f498049176ca49ab8ececcc83616dcb508852fb8 100644 (file)
--- a/lfs/sed
+++ b/lfs/sed
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
@@ -26,6 +26,7 @@ include Config
 
 PKG_NAME   = sed
 PKG_VER    = 4.1.5
+PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -33,26 +34,50 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = Applications/Text
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        = http://sed.sourceforge.net/
+LICENSE    = GPLv2+
+SHORT_DESC = A GNU stream text editor.
+
+define LONG_DESC
+       The sed (Stream EDitor) editor is a stream or batch (non-interactive) \
+       editor.  Sed takes text as input, performs an operation or set of \
+       operations on the text and outputs the modified text. The operations \
+       that sed performs (substitutions, deletions, insertions, etc.) can be \
+       specified in a script file or from the command line.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
 objects = $(DL_FILE)
 
-install : $(OBJECT)
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
 
-download : $(objects)
+package:
+       @$(DO_PACKAGE)
 
-$(objects) :
+$(objects):
        @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) : 
+$(OBJECT): $(objects)
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
 
 ifeq "$(STAGE)" "toolchain"
        cd $(DIR_APP) && \
index d60581aae4201e7122e22449f69b14805ea2793f..f6e440c0b583518065f794a1f060c3c61423ab3a 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
 include Config
 
 PKG_NAME   = stage1
-PKG_VER    = LFS
+PKG_VER    =
+PKG_REL    = -1
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
+THISAPP    = $(PKG_NAME)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      =
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        =
+LICENSE    =
+SHORT_DESC = This script initializes stage 1.
+
+define LONG_DESC
+       This script initializes stage 1.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
-install : $(OBJECT)
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
 
-download :
+$(objects):
+       @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) :
+$(OBJECT): $(objects)
        @$(PREBUILD)
        -mkdir -p $(TOOLS_DIR)/usr/bin
        @$(POSTBUILD)
index 6fecb31516562988b5eef365ef8fe9c1570710d1..541e3064f41a81346bece77e22c129f40828f625 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
 include Config
 
 PKG_NAME   = stage2
-PKG_VER    = LFS
+PKG_VER    =
+PKG_REL    = -1
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
+THISAPP    = $(PKG_NAME)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      =
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        =
+LICENSE    =
+SHORT_DESC = This script initializes stage 2.
+
+define LONG_DESC
+       This script initializes stage 2.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
-install : $(OBJECT)
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
 
-download :
+$(objects):
+       @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) :
+$(OBJECT): $(objects)
        @$(PREBUILD)
 
        # Create directories
index 713707237bac1b22ff4a5a85068025e2cdc9595a..6f9a0676c42e73a3ca80bc3c4e32b680e58037a4 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
 include Config
 
 PKG_NAME   = stage3
-PKG_VER    = LFS
+PKG_VER    =
+PKG_REL    = -1
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
+THISAPP    = $(PKG_NAME)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      =
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        =
+LICENSE    =
+SHORT_DESC = This script initializes stage 3.
+
+define LONG_DESC
+       This script initializes stage 3.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
-install : $(OBJECT)
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
 
-download :
+$(objects):
+       @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) :
+$(OBJECT): $(objects)
        @$(PREBUILD)
 
        # Create all directories
index de229b085cf0ae90f4eaf68f136ee773df349cef..d5e2e249271f1b75fe3e9d48a2d21731867247b0 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
 
 include Config
 
-PKG_NAME   = stage4
-PKG_VER    = LFS
+PKG_NAME   = stage1
+PKG_VER    =
+PKG_REL    = -1
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
+THISAPP    = $(PKG_NAME)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      =
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        =
+LICENSE    =
+SHORT_DESC = This script initializes stage 4.
+
+define LONG_DESC
+       This script initializes stage 4.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
-install : $(OBJECT)
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
 
-download :
+$(objects):
+       @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) :
+$(OBJECT): $(objects)
        @$(PREBUILD)
        
        @$(POSTBUILD)
index c20a28b744023949305c23b418e972a6d0997a0c..29ea7250c8ee63641625eeeb54920b44092d2a9b 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
 include Config
 
 PKG_NAME   = stage5
-PKG_VER    = LFS
+PKG_VER    =
+PKG_REL    = -1
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
+THISAPP    = $(PKG_NAME)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      =
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        =
+LICENSE    =
+SHORT_DESC = This script initializes stage 5.
+
+define LONG_DESC
+       This script initializes stage 5.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
-install : $(OBJECT)
+objects =
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+       @$(DO_PACKAGE)
 
-download :
+$(objects):
+       @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) :
+$(OBJECT): $(objects)
        @$(PREBUILD)
        -mkdir -pv $(INSTALLER_DIR)/{etc,sbin,usr/lib}
        cp -avf $(DIR_SOURCE)/install/* $(INSTALLER_DIR)