Update attr to last version from linux from scratch
Signed-off-by: Marcel Lorenz marcel.lorenz@ipfire.org
--- config/rootfiles/common/attr | 47 ++++++++++++++------------------------------ lfs/attr | 15 +++++++------- 2 files changed, 23 insertions(+), 39 deletions(-)
diff --git a/config/rootfiles/common/attr b/config/rootfiles/common/attr index 1d9cfc0..c7bbaa2 100644 --- a/config/rootfiles/common/attr +++ b/config/rootfiles/common/attr @@ -6,45 +6,14 @@ usr/bin/setfattr #usr/include/attr/error_context.h #usr/include/attr/libattr.h #usr/include/attr/xattr.h -#usr/lib/libattr.a #usr/lib/libattr.la usr/lib/libattr.so usr/lib/libattr.so.1 usr/lib/libattr.so.1.1.0 -#usr/libexec -#usr/libexec/libattr.a -#usr/libexec/libattr.la -usr/libexec/libattr.so -#usr/man/man1/attr.1 -#usr/man/man1/getfattr.1 -#usr/man/man1/setfattr.1 -#usr/man/man2 -#usr/man/man2/fgetxattr.2 -#usr/man/man2/flistxattr.2 -#usr/man/man2/fremovexattr.2 -#usr/man/man2/fsetxattr.2 -#usr/man/man2/getxattr.2 -#usr/man/man2/lgetxattr.2 -#usr/man/man2/listxattr.2 -#usr/man/man2/llistxattr.2 -#usr/man/man2/lremovexattr.2 -#usr/man/man2/lsetxattr.2 -#usr/man/man2/removexattr.2 -#usr/man/man2/setxattr.2 -#usr/man/man3/attr_get.3 -#usr/man/man3/attr_getf.3 -#usr/man/man3/attr_list.3 -#usr/man/man3/attr_listf.3 -#usr/man/man3/attr_multi.3 -#usr/man/man3/attr_multif.3 -#usr/man/man3/attr_remove.3 -#usr/man/man3/attr_removef.3 -#usr/man/man3/attr_set.3 -#usr/man/man3/attr_setf.3 -#usr/man/man5/attr.5 #usr/share/doc/attr #usr/share/doc/attr/CHANGES.gz #usr/share/doc/attr/COPYING +#usr/share/doc/attr/COPYING.LGPL #usr/share/doc/attr/PORTING #usr/share/doc/attr/README #usr/share/locale/cs/LC_MESSAGES/attr.mo @@ -55,3 +24,17 @@ usr/libexec/libattr.so #usr/share/locale/nl/LC_MESSAGES/attr.mo #usr/share/locale/pl/LC_MESSAGES/attr.mo #usr/share/locale/sv/LC_MESSAGES/attr.mo +#usr/share/man/man1/attr.1 +#usr/share/man/man1/getfattr.1 +#usr/share/man/man1/setfattr.1 +#usr/share/man/man3/attr_get.3 +#usr/share/man/man3/attr_getf.3 +#usr/share/man/man3/attr_list.3 +#usr/share/man/man3/attr_listf.3 +#usr/share/man/man3/attr_multi.3 +#usr/share/man/man3/attr_multif.3 +#usr/share/man/man3/attr_remove.3 +#usr/share/man/man3/attr_removef.3 +#usr/share/man/man3/attr_set.3 +#usr/share/man/man3/attr_setf.3 +#usr/share/man/man5/attr.5 diff --git a/lfs/attr b/lfs/attr index 2794ad6..8cd1835 100644 --- a/lfs/attr +++ b/lfs/attr @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2016 IPFire Team info@ipfire.org # # # # 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,13 +24,13 @@
include Config
-VER = 2.4.43 +VER = 2.4.47
-THISAPP = attr-$(VER) +THISAPP = attr-$(VER).src DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(THISAPP) +DIR_APP = $(DIR_SRC)/attr-2.4.47 +TARGET = $(DIR_INFO)/attr-2.4.47
############################################################################### # Top-level Rules @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 91583a14bcbd637adaa9b07ea49c5d4b +$(DL_FILE)_MD5 = 84f58dec00b60f2dc8fd1c9709291cc7
install : $(TARGET)
@@ -70,10 +70,11 @@ $(subst %,%_MD5,$(objects)) : $(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) && ./configure --prefix=/usr --disable-static cd $(DIR_APP) && make cd $(DIR_APP) && make install cd $(DIR_APP) && make install-lib cd $(DIR_APP) && make install-dev + chmod -v 755 /usr/lib/libattr.so @rm -rf $(DIR_APP) @$(POSTBUILD)