3 messages in net.sourceforge.lists.courier-users[courier-users] Patch for courierfilt...
FromSent OnAttachments
Stefan Hornburg (Racke)Sep 19, 2001 10:32 am.patch, .patch
Stefan Hornburg (Racke)Sep 19, 2001 11:51 am 
Sam VarshavchikSep 19, 2001 2:44 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Patch for courierfilter using piddir configuration optionActions...
From:Stefan Hornburg (Racke) (rac@linuxia.de)
Date:Sep 19, 2001 10:32:46 am
List:net.sourceforge.lists.courier-users
Attachments:

The two attached diff were designed by me to modify the sources so that the PID file for courierfilter is located in $piddir instead of $localstatedir.

You need to run autoconf after applying them.

This'll fix the Debian bug #109423 with the next upload.

Ciao Racke

-- Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: in@cobolt.net; Phone: 0041-1-3884400)

--- courier-0.35.1-orig/courier/filters/Makefile.am Tue Mar 27 01:25:42 2001 +++ courier-0.35.1/courier/filters/Makefile.am Wed Sep 19 13:34:50 2001 @@ -4,6 +4,9 @@ # distribution information.

SUBDIRS=libfilter perlfilter + +piddir=@piddir@ + htmldocdir=@datadir@/htmldoc htmldoc_DATA=courierfilter.html courierperlfilter.html dupfilter.html

@@ -99,7 +102,7 @@ echo '#define FILTERACTIVEDIR "$(filteractivedir)"' >filteractivedir.h

pidfile.h: config.status - echo '#define PIDFILE "$(localstatedir)/tmp/courierfilter.pid"' >pidfile.h + echo '#define PIDFILE "$(piddir)/courierfilter.pid"' >pidfile.h

SUFFIXES=.html .1 .7 .8

--- courier-0.35.1-orig/courier/filters/configure.in Sat Apr 7 23:31:54 2001 +++ courier-0.35.1/courier/filters/configure.in Wed Sep 19 13:32:50 2001 @@ -47,6 +47,10 @@ LIBS="$saveLIBS" AC_SUBST(NETLIBS)

+AC_ARG_WITH(piddir, [ --with-piddir Directory where PID files are
located ], piddir="$withval", piddir=/var/run) + +AC_SUBST(piddir) + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

eval "prefix=$prefix"