From: Michael Tremer Date: Sun, 8 Feb 2009 09:10:15 +0000 (+0100) Subject: Converted some more scripts to LFS format. X-Git-Tag: v3.0-alpha1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba27ce237d62a06511f1d62082e89d7244ad2e4b;p=ipfire-3.x.git Converted some more scripts to LFS format. --- diff --git a/lfs/gmp b/lfs/gmp index 66099bf88..9215649a8 100644 --- 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) \ diff --git a/lfs/scripts b/lfs/scripts index 3bec7a2c2..8db20d286 100644 --- a/lfs/scripts +++ b/lfs/scripts @@ -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 # @@ -25,12 +25,27 @@ 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 d71249978..f49804917 100644 --- 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) && \ diff --git a/lfs/stage1 b/lfs/stage1 index d60581aae..f6e440c0b 100644 --- a/lfs/stage1 +++ b/lfs/stage1 @@ -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 # @@ -25,25 +25,51 @@ 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) diff --git a/lfs/stage2 b/lfs/stage2 index 6fecb3151..541e3064f 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -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 # @@ -25,25 +25,51 @@ 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 diff --git a/lfs/stage3 b/lfs/stage3 index 713707237..6f9a0676c 100644 --- a/lfs/stage3 +++ b/lfs/stage3 @@ -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 # @@ -25,25 +25,51 @@ 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 diff --git a/lfs/stage4 b/lfs/stage4 index de229b085..d5e2e2492 100644 --- a/lfs/stage4 +++ b/lfs/stage4 @@ -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 # @@ -24,26 +24,52 @@ 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) diff --git a/lfs/stage5 b/lfs/stage5 index c20a28b74..29ea7250c 100644 --- a/lfs/stage5 +++ b/lfs/stage5 @@ -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 # @@ -25,25 +25,51 @@ 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)