From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Lorenz To: development@lists.ipfire.org Subject: Re: [PATCH] acl: update to 2.2.52 Date: Fri, 04 Mar 2016 17:52:54 +0100 Message-ID: <25e32cb4cc73e5b9c8a124028cb4cc08@mail01.ipfire.org> In-Reply-To: <1457109858.6973.81.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3388416029942479482==" List-Id: --===============3388416029942479482== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi no problem... i make an new patch.. Marcel Am 2016-03-04 17:44, schrieb Michael Tremer: > Hi, >=20 > I assumed so. The reason for that is that they want to be able to > support booting with /usr being on a second harddrive. >=20 > We do not support that any way. So the library should stay in /usr/lib. >=20 > Best, > -Michael >=20 > P.S. Please always use "reply all". >=20 > On Fri, 2016-03-04 at 17:35 +0100, Marcel Lorenz wrote: >> Hi, >>=20 >> It is the new default setting of Linux from Scratch. I've not=C2=A0 >> questioned... >>=20 >> http://www.linuxfromscratch.org/blfs/view/7.5/postlfs/acl.html >>=20 >> Marcel >>=20 >> Am 2016-03-04 13:02, schrieb Michael Tremer: >> > Hi, >> > >> > what is the reason that the library is moved from /usr/lib to /lib? >> > >> > -Michael >> > >> > On Fri, 2016-03-04 at 07:55 +0100, Marcel Lorenz wrote: >> > > Update acl to latst version from linux from scratch >> > > >> > > Signed-off-by: Marcel Lorenz >> > > >> > > --- >> > > =C2=A0config/rootfiles/common/acl | 94 ++++++++++++++++++++++--------- >> > > ---- >> > > ---------- >> > > =C2=A0lfs/acl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 19 +++= ++---- >> > > =C2=A02 files changed, 57 insertions(+), 56 deletions(-) >> > > >> > > diff --git a/config/rootfiles/common/acl >> > > b/config/rootfiles/common/acl >> > > index 630e4c7..1ad5952 100644 >> > > --- a/config/rootfiles/common/acl >> > > +++ b/config/rootfiles/common/acl >> > > @@ -1,62 +1,17 @@ >> > > +lib/libacl.so.1 >> > > +lib/libacl.so.1.1.0 >> > > =C2=A0usr/bin/chacl >> > > =C2=A0usr/bin/getfacl >> > > =C2=A0usr/bin/setfacl >> > > =C2=A0#usr/include/acl >> > > =C2=A0#usr/include/acl/libacl.h >> > > =C2=A0#usr/include/sys/acl.h >> > > -#usr/lib/libacl.a >> > > =C2=A0#usr/lib/libacl.la >> > > =C2=A0usr/lib/libacl.so >> > > -usr/lib/libacl.so.1 >> > > -usr/lib/libacl.so.1.1.0 >> > > -#usr/libexec/libacl.a >> > > -#usr/libexec/libacl.la >> > > -usr/libexec/libacl.so >> > > -#usr/man/man1/chacl.1 >> > > -#usr/man/man1/getfacl.1 >> > > -#usr/man/man1/setfacl.1 >> > > -#usr/man/man3/acl_add_perm.3 >> > > -#usr/man/man3/acl_calc_mask.3 >> > > -#usr/man/man3/acl_check.3 >> > > -#usr/man/man3/acl_clear_perms.3 >> > > -#usr/man/man3/acl_cmp.3 >> > > -#usr/man/man3/acl_copy_entry.3 >> > > -#usr/man/man3/acl_copy_ext.3 >> > > -#usr/man/man3/acl_copy_int.3 >> > > -#usr/man/man3/acl_create_entry.3 >> > > -#usr/man/man3/acl_delete_def_file.3 >> > > -#usr/man/man3/acl_delete_entry.3 >> > > -#usr/man/man3/acl_delete_perm.3 >> > > -#usr/man/man3/acl_dup.3 >> > > -#usr/man/man3/acl_entries.3 >> > > -#usr/man/man3/acl_equiv_mode.3 >> > > -#usr/man/man3/acl_error.3 >> > > -#usr/man/man3/acl_extended_fd.3 >> > > -#usr/man/man3/acl_extended_file.3 >> > > -#usr/man/man3/acl_free.3 >> > > -#usr/man/man3/acl_from_mode.3 >> > > -#usr/man/man3/acl_from_text.3 >> > > -#usr/man/man3/acl_get_entry.3 >> > > -#usr/man/man3/acl_get_fd.3 >> > > -#usr/man/man3/acl_get_file.3 >> > > -#usr/man/man3/acl_get_perm.3 >> > > -#usr/man/man3/acl_get_permset.3 >> > > -#usr/man/man3/acl_get_qualifier.3 >> > > -#usr/man/man3/acl_get_tag_type.3 >> > > -#usr/man/man3/acl_init.3 >> > > -#usr/man/man3/acl_set_fd.3 >> > > -#usr/man/man3/acl_set_file.3 >> > > -#usr/man/man3/acl_set_permset.3 >> > > -#usr/man/man3/acl_set_qualifier.3 >> > > -#usr/man/man3/acl_set_tag_type.3 >> > > -#usr/man/man3/acl_size.3 >> > > -#usr/man/man3/acl_to_any_text.3 >> > > -#usr/man/man3/acl_to_text.3 >> > > -#usr/man/man3/acl_valid.3 >> > > -#usr/man/man5/acl.5 >> > > =C2=A0#usr/share/doc/acl >> > > =C2=A0#usr/share/doc/acl/CHANGES.gz >> > > =C2=A0#usr/share/doc/acl/COPYING >> > > +#usr/share/doc/acl/COPYING.LGPL >> > > =C2=A0#usr/share/doc/acl/PORTING >> > > =C2=A0#usr/share/doc/acl/README >> > > =C2=A0#usr/share/locale/de/LC_MESSAGES/acl.mo >> > > @@ -65,3 +20,46 @@ usr/libexec/libacl.so >> > > =C2=A0#usr/share/locale/gl/LC_MESSAGES/acl.mo >> > > =C2=A0#usr/share/locale/pl/LC_MESSAGES/acl.mo >> > > =C2=A0#usr/share/locale/sv/LC_MESSAGES/acl.mo >> > > +#usr/share/man/man1/chacl.1 >> > > +#usr/share/man/man1/getfacl.1 >> > > +#usr/share/man/man1/setfacl.1 >> > > +#usr/share/man/man3/acl_add_perm.3 >> > > +#usr/share/man/man3/acl_calc_mask.3 >> > > +#usr/share/man/man3/acl_check.3 >> > > +#usr/share/man/man3/acl_clear_perms.3 >> > > +#usr/share/man/man3/acl_cmp.3 >> > > +#usr/share/man/man3/acl_copy_entry.3 >> > > +#usr/share/man/man3/acl_copy_ext.3 >> > > +#usr/share/man/man3/acl_copy_int.3 >> > > +#usr/share/man/man3/acl_create_entry.3 >> > > +#usr/share/man/man3/acl_delete_def_file.3 >> > > +#usr/share/man/man3/acl_delete_entry.3 >> > > +#usr/share/man/man3/acl_delete_perm.3 >> > > +#usr/share/man/man3/acl_dup.3 >> > > +#usr/share/man/man3/acl_entries.3 >> > > +#usr/share/man/man3/acl_equiv_mode.3 >> > > +#usr/share/man/man3/acl_error.3 >> > > +#usr/share/man/man3/acl_extended_fd.3 >> > > +#usr/share/man/man3/acl_extended_file.3 >> > > +#usr/share/man/man3/acl_extended_file_nofollow.3 >> > > +#usr/share/man/man3/acl_free.3 >> > > +#usr/share/man/man3/acl_from_mode.3 >> > > +#usr/share/man/man3/acl_from_text.3 >> > > +#usr/share/man/man3/acl_get_entry.3 >> > > +#usr/share/man/man3/acl_get_fd.3 >> > > +#usr/share/man/man3/acl_get_file.3 >> > > +#usr/share/man/man3/acl_get_perm.3 >> > > +#usr/share/man/man3/acl_get_permset.3 >> > > +#usr/share/man/man3/acl_get_qualifier.3 >> > > +#usr/share/man/man3/acl_get_tag_type.3 >> > > +#usr/share/man/man3/acl_init.3 >> > > +#usr/share/man/man3/acl_set_fd.3 >> > > +#usr/share/man/man3/acl_set_file.3 >> > > +#usr/share/man/man3/acl_set_permset.3 >> > > +#usr/share/man/man3/acl_set_qualifier.3 >> > > +#usr/share/man/man3/acl_set_tag_type.3 >> > > +#usr/share/man/man3/acl_size.3 >> > > +#usr/share/man/man3/acl_to_any_text.3 >> > > +#usr/share/man/man3/acl_to_text.3 >> > > +#usr/share/man/man3/acl_valid.3 >> > > +#usr/share/man/man5/acl.5 >> > > diff --git a/lfs/acl b/lfs/acl >> > > index 047ff5e..5a143ec 100644 >> > > --- a/lfs/acl >> > > +++ b/lfs/acl >> > > @@ -1,7 +1,7 @@ >> > > =C2=A0################################################################ >> > > #### >> > > ########### >> > > =C2=A0#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0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# >> > > =C2=A0#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 >> > > =C2=A0=C2=A0=C2=A0=C2=A0 >> > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> > > =C2=A0# This program is free software: you can redistribute it and/or >> > > modify=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> > > =C2=A0# it under the terms of the GNU General Public License as >> > > published >> > > by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> > > @@ -24,13 +24,13 @@ >> > > =C2=A0 >> > > =C2=A0include Config >> > > =C2=A0 >> > > -VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 2.2.47 >> > > +VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 2.2.52 >> > > =C2=A0 >> > > =C2=A0THISAPP=C2=A0=C2=A0=C2=A0=C2=A0=3D acl-$(VER) >> > > -DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).tar.bz2 >> > > +DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).src.tar.gz >> > > =C2=A0DL_FROM=C2=A0=C2=A0=C2=A0=C2=A0=3D $(URL_IPFIRE) >> > > -DIR_APP=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_SRC)/$(THISAPP) >> > > -TARGET=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_INFO)/$(THISAPP) >> > > +DIR_APP=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_SRC)/acl-2.2.52 >> > > +TARGET=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_INFO)/acl-2.2.52 >> > > =C2=A0 >> > > =C2=A0################################################################ >> > > #### >> > > ########### >> > > =C2=A0# Top-level Rules >> > > @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) >> > > =C2=A0 >> > > =C2=A0$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >> > > =C2=A0 >> > > -$(DL_FILE)_MD5 =3D 09c8b9684695527e8f237364afb7811f >> > > +$(DL_FILE)_MD5 =3D a61415312426e9c2212bd7dc7929abda >> > > =C2=A0 >> > > =C2=A0install : $(TARGET) >> > > =C2=A0 >> > > @@ -69,11 +69,14 @@ $(subst %,%_MD5,$(objects)) : >> > > =C2=A0 >> > > =C2=A0$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> > > =C2=A0 @$(PREBUILD) >> > > - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf >> > > $(DIR_DL)/$(DL_FILE) >> > > - cd $(DIR_APP) && ./configure >> > > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf >> > > $(DIR_DL)/$(DL_FILE) >> > > + cd $(DIR_APP) && ./configure --prefix=3D/usr -- >> > > libexecdir=3D/usr/lib --disable-static >> > > =C2=A0 cd $(DIR_APP) && make >> > > =C2=A0 cd $(DIR_APP) && make install >> > > =C2=A0 cd $(DIR_APP) && make install-lib >> > > =C2=A0 cd $(DIR_APP) && make install-dev >> > > + chmod -v 755 /usr/lib/libacl.so >> > > + mv -v /usr/lib/libacl.so.* /lib >> > > + ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so >> > > =C2=A0 @rm -rf $(DIR_APP) >> > > =C2=A0 @$(POSTBUILD) >>=20 --===============3388416029942479482==--