[Mimedefang] mimedefang.deb is debian lenny

sosogh sosogh at 126.com
Thu Jul 23 11:49:27 EDT 2009


2009-07-23 17:34:33 Steffen Kaiser wrot
>This is actually a Debian question, you need to get the source code, patch 
>and re-compile, e.g.:
>
>sudo apt-get build-dep [package-name]
>apt-get source [package-name]
>
>cd [directory]
>
>patch -p1 < [patch]
>
>dpkg-buildpackage -rfakeroot
>
>The parent dir should contain the new deb files now.
>
>Bye,
>

Thank you 
I still got the same error after I re-compiled && re-install mimedefang.deb
The way how I re-complied it is :

mkdir my
cd my/
apt-get -y build-dep mimedefang
apt-get -y source  mimedefang
tar zxf mimedefang_2.64.orig.tar.gz 
gzip  -d  mimedefang_2.64-6.diff.gz 
cd mimedefang-2.64
patch -p1 < ../mimedefang_2.64-6.diff 
chmod  777  debian/rules  
apt-get install  fakeroot
dpkg-buildpackage -rfakeroot



The output of 'dpkg-buildpackage -rfakeroot'  is:

dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package mimedefang
dpkg-buildpackage: source version 2.64-6
dpkg-buildpackage: source changed by Christoph Martin <Christoph.Martin at Uni-Mainz.DE>
dpkg-buildpackage: host architecture i386
dh_testdir
dh_testroot
rm -f build-stamp 
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make distclean
rm -f graphdefang.pl.1
#-test -r /usr/share/misc/config.sub && \
	#  cp -f /usr/share/misc/config.sub config.sub
#-test -r /usr/share/misc/config.guess && \
	#  cp -f /usr/share/misc/config.guess config.guess
debconf-updatepo
dh_clean
dpkg-source: info: using source format `1.0'
dpkg-source: info: building mimedefang using existing mimedefang_2.64.orig.tar.gz
dpkg-source: info: building mimedefang in mimedefang_2.64-6.diff.gz
dpkg-source: info: building mimedefang in mimedefang_2.64-6.dsc
dh_testdir
# Add here commands to configure the package.
./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --disable-anti-virus --with-confsubdir=/ --with-quarantinedir=/var/spool/MIMEDefang 
checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-linux-gnu-gcc accepts -g... yes
checking for i486-linux-gnu-gcc option to accept ANSI C... none needed
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking whether socklen_t is defined... yes
checking for Perl installation variable prefix... /usr
checking for Perl installation variable siteprefix... /usr/local
checking for Perl installation variable vendorprefix... /usr
checking for Perl installation variable installarchlib... /usr/lib/perl/5.10
checking for Perl installation variable installprivlib... /usr/share/perl/5.10
checking for Perl installation variable installbin... /usr/bin
checking for Perl installation variable installman1dir... /usr/share/man/man1
checking for Perl installation variable installman3dir... /usr/share/man/man3
checking for Perl installation variable installscript... /usr/bin
checking for Perl installation variable installsitearch... /usr/local/lib/perl/5.10.0
checking for Perl installation variable installsitelib... /usr/local/share/perl/5.10.0
checking for wait3 that fills in rusage... yes
checking for nm... /usr/bin/nm
checking for Perl module IO::Socket... ok
checking for Perl module MIME::Tools 5.410 ()... ok
checking for Perl module MIME::WordDecoder... ok
checking for Perl module Digest::SHA1... ok
checking for Perl module Mail::SpamAssassin 1.6 or better... yes
checking for Perl module Anomy::HTMLCleaner... yes
checking for Perl module HTML::Parser... yes
checking for Perl module Archive::Zip... yes
checking MIME-Tools version... 5.427
checking for Perl module Sys::Syslog... ok
checking for Perl module Unix::Syslog... ok
checking for Perl module ExtUtils::Embed... ok
checking if setlocksock('native') works... yes
checking if setlogsock('unix') works... yes
checking how to run the C preprocessor... i486-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking whether stdint.h defines uint32_t... yes
checking whether sys/types.h defines uint32_t... no
checking whether sig_atomic_t is defined... yes
checking whether i486-linux-gnu-gcc accepts -pthread... yes
checking if we can embed a Perl interpreter in C... yes
checking if it is safe to destroy and recreate a Perl interpreter... yes
checking for res_init in -lresolv... no
checking for htons in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for pthread_once in -lpthread... yes
checking for initgroups... yes
checking for getpwnam_r... yes
checking for setrlimit... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for readdir_r... yes
checking for pathconf... yes
checking for inet_ntop... yes
checking for libmilter/mfapi.h... /usr/include/libmilter/mfapi.h
checking for libmilter.a... /usr/lib/libmilter/libmilter.a
checking for libsm.a... /usr/lib/libmilter/libsm.a
checking for libmilter.so... /usr/lib/libmilter/libmilter.so
checking for sendmail... /usr/sbin/sendmail
checking for rm... /bin/rm
checking whether libmilter requires -lsm... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mimedefang.pl
config.status: creating examples/init-script
config.status: creating mimedefang-filter.5
config.status: creating mimedefang-multiplexor.8
config.status: creating mimedefang-protocol.7
config.status: creating mimedefang-notify.7
config.status: creating mimedefang.8
config.status: creating mimedefang.pl.8
config.status: creating md-mx-ctrl.8
config.status: creating watch-mimedefang
config.status: creating redhat/mimedefang-init
config.status: creating redhat/mimedefang-sysconfig
config.status: creating config.h

*** Virus scanner detection results:
All virus-scanner detection disabled by --disable-anti-virus

Could not find any recognized virus scanner... do not use
any of the contains_virus functions in your filter.
Found Mail::SpamAssassin.  You may use spam_assassin_* functions
Found Anomy::HTMLCleaner.  You may use anomy_clean_html()
Found HTML::Parser.  You may use append_html_boilerplate()

Note: SpamAssassin, HTML::Parser and Anomy::HTMLCleaner are
detected at run-time, so if you install or remove any of those modules, you
do not need to re-run ./configure and make a new mimedefang.pl.

Note:  The MIMEDefang user 'defang' does not seem to
exist.  Please create this user before continuing.
dh_testdir
# Add here commands to compile the package.
/usr/bin/make unstripped
make[1]: Entering directory `/root/my/mimedefang-2.64'
/usr/bin/make all DONT_STRIP=1
make[2]: Entering directory `/root/my/mimedefang-2.64'
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o mimedefang.o ./mimedefang.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o drop_privs_threaded.o ./drop_privs.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o utils.o ./utils.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o rm_r.o ./rm_r.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o syslog-fac.o ./syslog-fac.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o dynbuf.o ./dynbuf.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o milter_cap.o ./milter_cap.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o  -L/usr/lib/libmilter -lmilter -lpthread -lnsl 
test "1" != "1" && strip mimedefang
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o mimedefang-multiplexor.o ./mimedefang-multiplexor.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o event.o ./event.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o event_tcp.o ./event_tcp.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o drop_privs_nothread.o ./drop_privs.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o notifier.o ./notifier.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.10/CORE  -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o embperl.o ./embperl.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.10/CORE  -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o xs_init.o ./xs_init.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o syslog-fac.o notifier.o utils.o embperl.o xs_init.o -lnsl  -Wl,-E  -L/usr/local/lib  -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -lperl
test "1" != "1" && strip mimedefang-multiplexor
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\" -DCONFDIR=\"/etc\"  -c -o md-mx-ctrl.o ./md-mx-ctrl.c
i486-linux-gnu-gcc -g -O2 -Wall -Wstrict-prototypes -o md-mx-ctrl md-mx-ctrl.o -lnsl 
test "1" != "1" && strip md-mx-ctrl
make[2]: Leaving directory `/root/my/mimedefang-2.64'
make[1]: Leaving directory `/root/my/mimedefang-2.64'
#/usr/bin/docbook-to-man debian/mimedefang.sgml > mimedefang.1
pod2man contrib/graphdefang-0.9/graphdefang.pl > graphdefang.pl.1
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/mimedefang.
/usr/bin/make install DESTDIR=/root/my/mimedefang-2.64/debian/mimedefang
make[1]: Entering directory `/root/my/mimedefang-2.64'
mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/etc && chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/etc
if test "no" = "yes" -a ! -f "/root/my/mimedefang-2.64/debian/mimedefang/etc/mimedefang-ip-key" ; then \
		/usr/bin/perl ./gen-ip-validator.pl > /root/my/mimedefang-2.64/debian/mimedefang/etc/mimedefang-ip-key ;\
	fi
if test "yes" = "yes" ; then \
		mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/etc > /dev/null 2>&1; \
		chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/etc; \
	fi
mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/usr/bin && chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/usr/bin
mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man5 && chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man5
mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man7 && chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man7
mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8 && chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8
test ! -d /root/my/mimedefang-2.64/debian/mimedefang/var/spool/MIMEDefang && mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/var/spool/MIMEDefang && chmod 700 /root/my/mimedefang-2.64/debian/mimedefang/var/spool/MIMEDefang || true
test ! -d /root/my/mimedefang-2.64/debian/mimedefang/var/spool/MIMEDefang && mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/var/spool/MIMEDefang && chmod 700 /root/my/mimedefang-2.64/debian/mimedefang/var/spool/MIMEDefang || true
if test -f /root/my/mimedefang-2.64/debian/mimedefang/etc/mail/mimedefang-filter ; then \
		/usr/bin/install -c -m 644 examples/suggested-minimum-filter-for-windows-clients /root/my/mimedefang-2.64/debian/mimedefang/etc/mail/mimedefang-filter.example || exit 1; \
	else \
		/usr/bin/install -c -m 644 examples/suggested-minimum-filter-for-windows-clients /root/my/mimedefang-2.64/debian/mimedefang/etc/mail/mimedefang-filter || exit 1; \
	fi
/usr/bin/install -c -m 755 mimedefang-multiplexor   /root/my/mimedefang-2.64/debian/mimedefang/usr/bin/mimedefang-multiplexor
/usr/bin/install -c -m 755 md-mx-ctrl               /root/my/mimedefang-2.64/debian/mimedefang/usr/bin/md-mx-ctrl
/usr/bin/install -c -m 755 watch-mimedefang         /root/my/mimedefang-2.64/debian/mimedefang/usr/bin/watch-mimedefang
/usr/bin/install -c -m 755 watch-multiple-mimedefangs.tcl /root/my/mimedefang-2.64/debian/mimedefang/usr/bin/watch-multiple-mimedefangs.tcl
/usr/bin/install -c -m 755 mimedefang               /root/my/mimedefang-2.64/debian/mimedefang/usr/bin/mimedefang
/usr/bin/install -c -m 755 mimedefang.pl            /root/my/mimedefang-2.64/debian/mimedefang/usr/bin/mimedefang.pl
/usr/bin/install -c -m 644 mimedefang.8             /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8/mimedefang.8
/usr/bin/install -c -m 644 watch-mimedefang.8       /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8/watch-mimedefang.8
/usr/bin/install -c -m 644 watch-multiple-mimedefangs.8 /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8/watch-multiple-mimedefangs.8
/usr/bin/install -c -m 644 mimedefang.pl.8          /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8/mimedefang.pl.8
/usr/bin/install -c -m 644 mimedefang-multiplexor.8 /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8/mimedefang-multiplexor.8
/usr/bin/install -c -m 644 md-mx-ctrl.8             /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man8/md-mx-ctrl.8
/usr/bin/install -c -m 644 mimedefang-filter.5      /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man5/mimedefang-filter.5
/usr/bin/install -c -m 644 mimedefang-protocol.7    /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man7/mimedefang-protocol.7
/usr/bin/install -c -m 644 mimedefang-notify.7      /root/my/mimedefang-2.64/debian/mimedefang/usr/share/man/man7/mimedefang-notify.7
if test "yes" = "yes" ; then \
		mkdir -p /root/my/mimedefang-2.64/debian/mimedefang/etc > /dev/null 2>&1 ; \
		chmod 755 /root/my/mimedefang-2.64/debian/mimedefang/etc ;\
		if test -f /root/my/mimedefang-2.64/debian/mimedefang/etc/mail/sa-mimedefang.cf ; then \
			/usr/bin/install -c -m 644 SpamAssassin/spamassassin.cf /root/my/mimedefang-2.64/debian/mimedefang/etc/mail/sa-mimedefang.cf.example || exit 1; \
		else \
			/usr/bin/install -c -m 644 SpamAssassin/spamassassin.cf /root/my/mimedefang-2.64/debian/mimedefang/etc/mail/sa-mimedefang.cf || exit 1; \
		fi \
	fi

Please create the spool directory, '/var/spool/MIMEDefang',
if it does not exist.  Give it mode 700 or 750, and make
it owned by the user and group you intend to run MIMEDefang as.
make[1]: Leaving directory `/root/my/mimedefang-2.64'
cp debian/mimedefang.conf debian/mimedefang/etc/default/mimedefang
cp debian/mimedefang.pl.conf debian/mimedefang/etc/mail/mimedefang.pl.conf
rmdir debian/mimedefang/usr/sbin
# Install graphdefang
cp -pr contrib/graphdefang-0.9/event debian/graphdefang/usr/share/graphdefang/
cp -p contrib/graphdefang-0.9/graphdefang-config debian/graphdefang/etc/graphdefang/
cp -p contrib/graphdefang-0.9/graphdefang.pl debian/graphdefang/usr/bin/
cp -p contrib/graphdefang-0.9/graphdefanglib.pl debian/graphdefang/usr/share/graphdefang/
cp -p contrib/graphdefang-0.9/reset-max-date.pl debian/graphdefang/usr/share/graphdefang/
cp -p contrib/graphdefang-0.9/web/graphdefang.cgi debian/graphdefang/usr/lib/cgi-bin
install -m 644 contrib/graphdefang-0.9/web/index.php debian/graphdefang/var/lib/graphdefang
cp -p graphdefang.pl.1 debian/graphdefang/usr/share/man/man1
dh_testdir
dh_testroot
dh_installdebconf	
dh_installdocs
dh_installexamples examples/stream-by-domain-filter examples/suggested-minimum-filter-for-windows-clients
dh_installmenu
cp -p examples/redhat-logrotate-file debian/logrotate
dh_installlogrotate
cp -p examples/init-script debian/init.d
dh_installinit
dh_installcron
dh_installman
dh_installinfo
dh_installchangelogs Changelog
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `mimedefang' in `../mimedefang_2.64-6_i386.deb'.
dpkg-deb: building package `graphdefang' in `../graphdefang_2.64-6_i386.deb'.

dpkg-buildpackage: binary and diff upload (original source NOT included)

------------------				 
sosogh
2009-07-23






More information about the MIMEDefang mailing list