One further tweak to the nss-mdns spec file. Localstatedir needs to be
set to /var to match localstatdir of Avahi (so nss-mdns can find the
socket file to connect to the daemon). Also, the stock nss-mdns
makefile has it's own .la file cleanup, so Mike's .la cleanup via the
spec file is not necessary in this case.
Patch attached below -- obsoletes nss-mdns part of the previous combined
patch.
Index: dist/lfs-5.1/nss-mdns/nss-mdns.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/nss-mdns/nss-mdns.spec,v
retrieving revision 1.1.1.1
diff -u -a -r1.1.1.1 nss-mdns.spec
--- dist/lfs-5.1/nss-mdns/nss-mdns.spec 6 Nov 2007 15:44:42 -0000
1.1.1.1
+++ dist/lfs-5.1/nss-mdns/nss-mdns.spec 28 Feb 2012 22:10:59 -0000
@@ -2,7 +2,7 @@
Summary : plugin for the GNU Name Service Switch providing
host name resolution via Multicast DNS
Name : nss-mdns
-Version : 0.8
+Version : 0.10
Release : 1
License : LGPL
Vendor : Freescale
@@ -20,7 +20,7 @@
%Build
export ac_cv_func_malloc_0_nonnull=yes
-./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
--mandir=%{_mandir}
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
--mandir=%{_mandir} --localstatedir=/var
make
%Install
@@ -34,5 +34,3 @@
%Files
%defattr(-,root,root)
%{pfx}/*
-
-
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib