From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Re: [PATCH] BUG 11929: Build 'bind'-binaries dynamically and install needed libraries (V1 - TESTING VERSION) Date: Tue, 13 Nov 2018 18:54:12 +0100 Message-ID: <60e93396-02c5-080a-af68-4a2769a70560@ipfire.org> In-Reply-To: <5dfbdfc2514d806c1bd8243a3a7a93e78b01136b.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5146613950408840315==" List-Id: --===============5146613950408840315== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 13.11.2018 16:02, Michael Tremer wrote: > Hey, > > On Sun, 2018-11-11 at 20:43 +0100, Matthias Fischer wrote: >> Hi, >> >> To save space linking the 'bind'-binaries was changed from statically to >> dynamically. >> >> Package shrinked from ~4800K to ~1700K. Needs testing and confirmation! >> >> Best, >> Matthias >> >> Signed-off-by: Matthias Fischer >> --- >> config/rootfiles/common/bind | 369 +++++++++++++++++++++++++++++++++++ >> lfs/bind | 18 +- >> 2 files changed, 378 insertions(+), 9 deletions(-) >> >> diff --git a/config/rootfiles/common/bind b/config/rootfiles/common/bind >> index 303c5b828..a9b4d7b64 100644 >> --- a/config/rootfiles/common/bind >> +++ b/config/rootfiles/common/bind >> @@ -3,7 +3,376 @@ usr/bin/dig >> usr/bin/host >> usr/bin/nslookup >> usr/bin/nsupdate >> ... >> +#usr/include/pkcs11/pkcs11t.h >> +#usr/lib/libbind9.la >> +usr/lib/libbind9.so >> +usr/lib/libbind9.so.161 >> +usr/lib/libbind9.so.161.0.0 > > There is no need to package the .so files. We only need the .so.* files. > >> +#usr/lib/libdns.la >> +usr/lib/libdns.so >> +usr/lib/libdns.so.1104 >> +usr/lib/libdns.so.1104.0.0 >> +#usr/lib/libisc.la >> +usr/lib/libisc.so >> +usr/lib/libisc.so.1100 >> +usr/lib/libisc.so.1100.0.0 >> +#usr/lib/libisccc.la >> +usr/lib/libisccc.so >> +usr/lib/libisccc.so.161 >> +usr/lib/libisccc.so.161.0.0 >> +#usr/lib/libisccfg.la >> +usr/lib/libisccfg.so >> +usr/lib/libisccfg.so.163 >> +usr/lib/libisccfg.so.163.0.0 >> +#usr/lib/liblwres.la >> +usr/lib/liblwres.so >> +usr/lib/liblwres.so.161 >> +usr/lib/liblwres.so.161.0.0 >> #usr/share/man/man1/dig.1 >> ... Made a V2 patch and installed the compiled 'package' for Core 124. Running. => https://patchwork.ipfire.org/patch/1984/ Best, Matthias --===============5146613950408840315==--