f979c19da9fac1521232656454b9d93a3e8bef0a
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / nut / 0002-parallel-build.patch
1 conf: fix parallel install
2
3 Do not reference the upsmon.conf.sample twice, otherwise install, with
4 a high number of make jobs, may fail, like so:
5     http://autobuild.buildroot.net/results/256/2567e13cd5bc702bc3a38a1d6fc8e34022cc7db5/build-end.log
6
7 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8
9 ---
10 Upstream status:
11     https://github.com/networkupstools/nut/pull/147
12
13 diff -durB nut-2.7.2.orig/conf/Makefile.am nut-2.7.2/conf/Makefile.am
14 --- nut-2.7.2.orig/conf/Makefile.am     2014-02-14 09:56:53.000000000 +0100
15 +++ nut-2.7.2/conf/Makefile.am  2014-08-17 11:33:46.804439240 +0200
16 @@ -2,7 +2,7 @@
17  
18  INSTALL_0600 = $(INSTALL) -m 0600
19  
20 -SECFILES = upsmon.conf.sample upsd.conf.sample upsd.users.sample
21 +SECFILES = upsd.conf.sample upsd.users.sample
22  PUBFILES = nut.conf.sample ups.conf.sample
23  CGIPUB = hosts.conf.sample upsset.conf.sample upsstats.html.sample     \
24   upsstats-single.html.sample