1 |
mschiff 14/02/22 23:31:23 |
2 |
|
3 |
Added: cfengine-3.4.5-ifconfig.patch |
4 |
cfengine-3.4.5-acl.patch |
5 |
Removed: cfengine-3.4.4-ifconfig.patch |
6 |
cfengine-3.4.4-acl.patch |
7 |
Log: |
8 |
Bump 3.4.4 -> 3.4.5. DEP cleanup. Should fix #464358 |
9 |
|
10 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134) |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: cfengine-3.4.5-ifconfig.patch |
19 |
=================================================================== |
20 |
Patch by clabbe.montjoie@×××××.com |
21 |
https://bugs.gentoo.org/444532 |
22 |
|
23 |
--- src/conf.h.in.old 2012-12-28 16:18:23.000000000 +0100 |
24 |
+++ src/conf.h.in 2012-12-28 16:19:08.000000000 +0100 |
25 |
@@ -773,3 +773,6 @@ |
26 |
|
27 |
/* Define to rpl_vsnprintf if the replacement function should be used. */ |
28 |
#undef vsnprintf |
29 |
+ |
30 |
+/* Define to the path for running ifconfig -a */ |
31 |
+#undef IFCONFIG_RUN |
32 |
--- src/unix.c.old 2012-12-28 16:05:28.000000000 +0100 |
33 |
+++ src/unix.c 2012-12-28 16:13:15.000000000 +0100 |
34 |
@@ -900,7 +900,7 @@ |
35 |
|
36 |
default: |
37 |
|
38 |
- if ((pp = cf_popen("/sbin/ifconfig -a", "r")) == NULL) |
39 |
+ if ((pp = cf_popen(IFCONFIG_RUN, "r")) == NULL) |
40 |
{ |
41 |
CfOut(cf_verbose, "", "Could not find interface info\n"); |
42 |
return; |
43 |
--- configure.ac.old 2012-12-29 11:38:20.000000000 +0100 |
44 |
+++ configure.ac 2012-12-29 11:49:11.000000000 +0100 |
45 |
@@ -882,6 +882,16 @@ |
46 |
|
47 |
|
48 |
dnl ###################################################################### |
49 |
+dnl Find the path to ifconfig |
50 |
+dnl ###################################################################### |
51 |
+ |
52 |
+AC_PATH_PROG(IFCONFIG_PATH,ifconfig) |
53 |
+if test x"$IFCONFIG_PATH" = x"" ; then |
54 |
+ AC_MSG_ERROR([Cannot found the ifconfig binary.]) |
55 |
+fi |
56 |
+AC_DEFINE_UNQUOTED(IFCONFIG_RUN, "$IFCONFIG_PATH -a", [the path to run ifconfig -a]) |
57 |
+ |
58 |
+dnl ###################################################################### |
59 |
dnl Summarize |
60 |
dnl ###################################################################### |
61 |
|
62 |
|
63 |
|
64 |
|
65 |
1.1 net-misc/cfengine/files/cfengine-3.4.5-acl.patch |
66 |
|
67 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/files/cfengine-3.4.5-acl.patch?rev=1.1&view=markup |
68 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/files/cfengine-3.4.5-acl.patch?rev=1.1&content-type=text/plain |
69 |
|
70 |
Index: cfengine-3.4.5-acl.patch |
71 |
=================================================================== |
72 |
From a12b5b3b8cd4397545104923d1de3297fd971f9e Mon Sep 17 00:00:00 2001 |
73 |
From: Christian Ruppert <idl0r@g.o> |
74 |
Date: Fri, 29 Mar 2013 00:23:21 +0100 |
75 |
Subject: [PATCH] Fix acl header detection |
76 |
|
77 |
|
78 |
Signed-off-by: Christian Ruppert <idl0r@g.o> |
79 |
--- |
80 |
configure.ac | 5 ++++- |
81 |
1 file changed, 4 insertions(+), 1 deletion(-) |
82 |
|
83 |
diff --git a/configure.ac b/configure.ac |
84 |
index 542d115..f3f0c04 100755 |
85 |
--- a/configure.ac |
86 |
+++ b/configure.ac |
87 |
@@ -335,7 +335,10 @@ AC_ARG_WITH([libacl], |
88 |
if test "x$with_libacl" != xno; then |
89 |
CF3_WITH_LIBRARY(libacl, [ |
90 |
AC_CHECK_LIB(acl, acl_init, [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library); fi]) |
91 |
- AC_CHECK_HEADERS([acl.h sys/acl.h acl/libacl.h], [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library headers); fi]) |
92 |
+ AC_CHECK_HEADERS([acl.h sys/acl.h acl/libacl.h], [found_acl_h=yes], []) |
93 |
+ if test "x$found_acl_h" != xyes; then |
94 |
+ AC_MSG_ERROR(Cannot find libacl library headers) |
95 |
+ fi |
96 |
]) |
97 |
fi |
98 |
|
99 |
-- |
100 |
1.8.1.5 |