Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/squidguard/files: squidguard-1.3-autoheader.patch
Date: Fri, 20 Jun 2008 22:04:42
Message-Id: E1K9oii-0007VQ-Li@stork.gentoo.org
1 mrness 08/06/20 22:04:36
2
3 Added: squidguard-1.3-autoheader.patch
4 Log:
5 Fix bypass vulnerability (#228593). Use eautoreconf instead eautoconf.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 net-proxy/squidguard/files/squidguard-1.3-autoheader.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/files/squidguard-1.3-autoheader.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/files/squidguard-1.3-autoheader.patch?rev=1.1&content-type=text/plain
13
14 Index: squidguard-1.3-autoheader.patch
15 ===================================================================
16 diff -Nru squidGuard-1.3.orig/configure.in squidGuard-1.3/configure.in
17 --- squidGuard-1.3.orig/configure.in 2008-06-20 23:20:34.000000000 +0200
18 +++ squidGuard-1.3/configure.in 2008-06-20 23:28:06.000000000 +0200
19 @@ -58,18 +58,18 @@
20 sg_dbhome=$withval)
21
22 if test -n "$sg_config"; then
23 - AC_DEFINE(ACCONFIG)
24 + AC_DEFINE(ACCONFIG, 1, [Defined if you supply --with-sg-config])
25 changequote(, )dnl
26 sg_cfgdir=`echo $sg_config|sed "s%/[^/][^/]*$%%"`
27 changequote([, ])dnl
28 fi
29
30 if test -n "$sg_logdir"; then
31 - AC_DEFINE(ACLOGDIR)
32 + AC_DEFINE(ACLOGDIR, 1, [Defined if you supply --with-sg-logdir])
33 fi
34
35 if test -n "$sg_dbhome"; then
36 - AC_DEFINE(ACDBHOME)
37 + AC_DEFINE(ACDBHOME, 1, [Defined if you supply --with-sg-dbhome])
38 fi
39
40 CFLAGS="$CFLAGS $db_inc"
41 @@ -126,7 +126,7 @@
42 ])
43 fi
44 if test "$with_ldap" = "yes"; then
45 - AC_DEFINE(HAVE_LIBLDAP)
46 + AC_DEFINE(HAVE_LIBLDAP, 1, [Define if LDAP support should be compiled])
47 AC_RUN_IFELSE([
48 #include <ldap.h>
49 int main()
50 @@ -220,7 +220,7 @@
51 ], dbg2_ok_version=yes, dbg2_ok_version=no, dbg2_ok_version=no)
52
53 if test $dbg2_ok_version = yes; then
54 - AC_DEFINE(DB_VERSION_GT2)
55 + AC_DEFINE(DB_VERSION_GT2, 1, [Define if you have dbversion greater than 3.2])
56 fi
57
58 AC_RUN_IFELSE([
59 @@ -238,7 +238,7 @@
60 ], dbg3_ok_version=yes, dbg3_ok_version=no, dbg3_ok_version=no)
61
62 if test $dbg3_ok_version = yes; then
63 - AC_DEFINE(DB_VERSION_GT3)
64 + AC_DEFINE(DB_VERSION_GT3, 1, [Define if you have dbversion greater than 4.0])
65 fi
66
67
68
69
70
71 --
72 gentoo-commits@l.g.o mailing list