ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] patch: nss-mdns, Avahi, dbus, libdaemon


From: Fritz Mueller
Subject: Re: [Ltib] patch: nss-mdns, Avahi, dbus, libdaemon
Date: Tue, 28 Feb 2012 14:26:31 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

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}/*
-
-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]