[-]
[+]
|
Changed |
amavis-stats.spec
|
|
[-]
[+]
|
Added |
amavis-stats-configure.patch
^
|
@@ -0,0 +1,95 @@
+--- configure.in.orig 2008-10-14 10:45:35.000000000 +0200
++++ configure.in 2008-10-14 19:15:44.000000000 +0200
+@@ -22,39 +22,12 @@
+ dnl Checks for the configure options
+ dnl
+
+-AC_DEFUN([AS_WITH_PHP_CONFIG],[
+- AC_ARG_WITH(php-config,
+-[ --with-php-config=PATH],[
+- PHP_CONFIG=$withval
+-],[
+- PHP_CONFIG=php-config
+-])
+-
+-if test -n "$PHP_CONFIG"; then
+- PHP_SHLIB_SUFFIX_NAMES
+- PHP_PREFIX=`$PHP_CONFIG --prefix 2>/dev/null`
+- PHP_INCLUDES=`$PHP_CONFIG --includes 2>/dev/null`
+- PHP_EXTENSION_DIR=`$PHP_CONFIG --extension-dir`
+-
+- if test -z "$PHP_PREFIX"; then
+- AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH)
+- fi
+- AC_MSG_CHECKING(for PHP prefix)
+- AC_MSG_RESULT($PHP_PREFIX)
+- AC_MSG_CHECKING(for PHP includes)
+- AC_MSG_RESULT($PHP_INCLUDES)
+- AC_MSG_CHECKING(for PHP extension directory)
+- AC_MSG_RESULT($PHP_EXTENSION_DIR)
+-fi
+-])
+-
+ CONFIGURE_PART(Configuring build)
+
+ AC_CANONICAL_SYSTEM
+
+ AM_INIT_AUTOMAKE(amavis-stats, "0.1.22")
+
+-build_php="no"
+ enable_static=no
+ enable_shared=yes
+
+@@ -66,7 +39,7 @@
+ AC_PATH_PROG(CP, cp, cp)
+ AC_PATH_PROG(CHMOD, chmod, chmod)
+ AC_PATH_PROG(CHOWN, chown, chown)
+-AC_PATH_PROGS(GZCAT, gzcat, no)
++AC_PATH_PROGS(GZCAT, zcat, no)
+ AC_PATH_PROGS(NROFF, gnroff nroff)
+ AC_PATH_PROGS(TROFF, groff troff)
+ AC_PROG_LIBTOOL
+@@ -104,7 +77,7 @@
+ if test "$GZCAT" = no; then
+ AC_MSG_ERROR([
+
+-gzcat not found!!!
++zcat not found!!!
+
+ ])
+ fi
+@@ -134,10 +107,6 @@
+ fi
+
+
+-if test "$enable_debug" != "yes"; then
+- PHP_SET_LIBTOOL_VARIABLE([--silent])
+-fi
+-
+ sinclude(config.rrdtool)
+
+ AC_ARG_WITH(log-file,
+@@ -277,7 +246,6 @@
+ build_startup="no"
+ fi
+
+-AM_CONDITIONAL(BUILD_PHP, test "$build_php" = "yes")
+ AM_CONDITIONAL(BUILD_STARTUP, test "$build_startup" = "yes")
+ AM_CONDITIONAL(BUILD_DARWIN_TIGER, test "$is_darwin" = "TIGER")
+ AM_CONDITIONAL(SETRGID, test "$HAVE_SETRGID" = "yes")
+@@ -359,7 +327,6 @@
+ sbin/Makefile
+ share/Makefile
+ startup/Makefile
+-php/Makefile
+ Makefile
+ ])
+
+@@ -404,7 +371,6 @@
+ Perl Version: $PERL_VERSION
+ Perl setrgid: $HAVE_SETRGID
+ Startup Item: $can_build_startup
+- PHP module: $build_php
+
+
+ Thank you for choosing $PACKAGE-$VERSION
|
[-]
[+]
|
Changed |
amavis-stats-gzcat.patch
^
|
@@ -1,23 +1,3 @@
---- configure.in.orig 2008-10-14 10:45:35.000000000 +0200
-+++ configure.in 2008-10-14 10:46:12.000000000 +0200
-@@ -66,7 +66,7 @@
- AC_PATH_PROG(CP, cp, cp)
- AC_PATH_PROG(CHMOD, chmod, chmod)
- AC_PATH_PROG(CHOWN, chown, chown)
--AC_PATH_PROGS(GZCAT, gzcat, no)
-+AC_PATH_PROGS(GZCAT, zcat, no)
- AC_PATH_PROGS(NROFF, gnroff nroff)
- AC_PATH_PROGS(TROFF, groff troff)
- AC_PROG_LIBTOOL
-@@ -104,7 +104,7 @@
- if test "$GZCAT" = no; then
- AC_MSG_ERROR([
-
--gzcat not found!!!
-+zcat not found!!!
-
- ])
- fi
--- sbin/amavis-stats.in.orig 2008-10-14 10:46:22.000000000 +0200
+++ sbin/amavis-stats.in 2008-10-14 10:46:27.000000000 +0200
@@ -1616,7 +1616,7 @@
|