]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Add attr (2.4.43).
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 11 Oct 2010 15:36:06 +0000 (17:36 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 11 Oct 2010 15:36:06 +0000 (17:36 +0200)
config/rootfiles/common/attr [new file with mode: 0644]
lfs/attr [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/common/attr b/config/rootfiles/common/attr
new file mode 100644 (file)
index 0000000..60da05e
--- /dev/null
@@ -0,0 +1,24 @@
+usr/bin/attr
+usr/bin/getfattr
+usr/bin/setfattr
+#usr/lib/libattr.la
+usr/lib/libattr.so
+usr/lib/libattr.so.1
+usr/lib/libattr.so.1.1.0
+#usr/man/man1/attr.1
+#usr/man/man1/getfattr.1
+#usr/man/man1/setfattr.1
+#usr/man/man5/attr.5
+#usr/share/doc/attr
+#usr/share/doc/attr/CHANGES.gz
+#usr/share/doc/attr/COPYING
+#usr/share/doc/attr/PORTING
+#usr/share/doc/attr/README
+#usr/share/locale/cs/LC_MESSAGES/attr.mo
+#usr/share/locale/de/LC_MESSAGES/attr.mo
+#usr/share/locale/es/LC_MESSAGES/attr.mo
+#usr/share/locale/fr/LC_MESSAGES/attr.mo
+#usr/share/locale/gl/LC_MESSAGES/attr.mo
+#usr/share/locale/nl/LC_MESSAGES/attr.mo
+#usr/share/locale/pl/LC_MESSAGES/attr.mo
+#usr/share/locale/sv/LC_MESSAGES/attr.mo
diff --git a/lfs/attr b/lfs/attr
new file mode 100644 (file)
index 0000000..a7c0ab8
--- /dev/null
+++ b/lfs/attr
@@ -0,0 +1,83 @@
+###############################################################################
+#                                                                             #
+# 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
+
+VER        = 2.4.43
+
+THISAPP    = attr-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 91583a14bcbd637adaa9b07ea49c5d4b
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure
+       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make install
+       # Install libattr
+       cp $(DIR_APP)/libattr/.libs/libattr.so* /usr/lib
+       cp $(DIR_APP)/libattr/libattr.la /usr/lib
+       # Install includes
+#      -mkdir /usr/include/attr
+#      cp -f $(DIR_APP)/include/*.h /usr/include/attr
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 7f669c99a9a7883a9f51deee3264832357cc8907..1afeb74db3f8073a671596e95efa5df28fbf8adb 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -399,6 +399,7 @@ buildipfire() {
   ipfiremake pcre
   ipfiremake slang
   ipfiremake newt
+  ipfiremake attr
   ipfiremake libcap
   ipfiremake pciutils
   ipfiremake usbutils