--- filter-2.6.3.orig/doc/Makefile +++ filter-2.6.3/doc/Makefile @@ -3,18 +3,18 @@ # Variables established by Configure CHMOD = /bin/chmod CP = /bin/cp -DEST = $(DESTDIR)/usr/local/bin +DEST = $(DESTDIR)/usr/bin ECHO = /bin/echo -FORMATTER = /bin/troff +FORMATTER = /usr/bin/troff FORMATTER_OPTS = LN = /bin/ln -MAKE = /usr/ccs/bin/make -MAN = $(DESTDIR)/usr/man/mann -MANEXT = .n +MAKE = /usr/bin/make +MAN = $(DESTDIR)/usr/share/man/man1 +MANEXT = .1 CATMAN = none CATMANEXT = RM = /bin/rm -f -TBL = /bin/tbl +TBL = /usr/bin/tbl MANROFF = MANROFF_OPTS = MV = /bin/mv --- filter-2.6.3.orig/doc/filter.1 +++ filter-2.6.3/doc/filter.1 @@ -6,22 +6,22 @@ .\} .TH FILTER 1 "19 April 2004" "USENET Comm. Trust" .SH NAME -filter - filter incoming messages before adding to mailbox +filter \- filter incoming messages before adding to mailbox .SH SYNOPSIS .B filter -[-q] [-v] [-l] [-o output] [-f rules-file] [-m mailbox] +[\-q] [\-v] [\-l] [\-o output] [\-f rules-file] [\-m mailbox] .br .B filter -[-n] [-f rules-file] +[\-n] [\-f rules-file] .br .B filter -[-r] [-o output] [-f rules-file] +[\-r] [\-o output] [\-f rules-file] .br .B filter -[-c] [-s] [-o output] [-f rules-file] +[\-c] [\-s] [\-o output] [\-f rules-file] .br .B filter -[-c] [-S] [-o output] [-f rules-file] +[\-c] [\-S] [\-o output] [\-f rules-file] .SH DESCRIPTION In brief, \fIfilter\fR is designed to sort incoming mail based on user @@ -32,46 +32,46 @@ .SH OPTIONS The flags the \fIfilter\fR program understands are; .TP 1.0i -.B "-c" +.B "\-c" Clear logs. If this flag is used, the log files will be removed after -being summarized by either "-s" or "-S" (see below). +being summarized by either "\-s" or "\-S" (see below). .TP -\fB-f \fIrules-file\fR +\fB\-f \fIrules-file\fR Get rules from specified file instead of default $HOME/.filter/filter-rules .TP -.B "-l" +.B "\-l" Log actions only. Do not log information about mailed messages. .TP -.B "-n" +.B "\-n" Not really. Output what would happen if given message from standard input, but don't actually do anything with it. .TP -\fB-o \fIfile\fR +\fB\-o \fIfile\fR Redirect stdout messages to the specified file or device. Logging of filter actions is not affected. (This is added to more gracefully deal with changes in the file system (since sendmail is quite picky about modes of files being redirected into.)) .TP -\fB-m \fImailbox\fR +\fB\-m \fImailbox\fR Override the compiled in definition of your primary 'mailbox'. This is disabled if filter is setgid. .TP -.B "-q" +.B "\-q" Quiet. Do not log filtering actions. .TP -.B "-r" +.B "\-r" Rules. List the rules currently being used. .TP -.B "-s" +.B "\-s" Summarize. List a summary of the message filtering log. .TP -.B "-S" -This is the same as `-s' but includes message-by-message +.B "\-S" +This is the same as `\-s' but includes message-by-message information additionally. .TP -.B "-v" +.B "\-v" Verbose. Give output on standard out for each message filtered. May be useful -to set output to ``/dev/console'' or other logging device. (see \fB-o\fR). +to set output to ``/dev/console'' or other logging device. (see \fB\-o\fR). .SH USAGE --- filter-2.6.3.orig/Configure +++ filter-2.6.3/Configure @@ -21,9 +21,15 @@ PATH=".:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH" export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$) -if test ! -t 0; then +case "$1" in +-d) shift; fastread='yes';; +esac + +if test -z "$fastread" ; then + if test ! -t 0; then echo "Say 'sh Configure', not 'sh /dev/null 2>&1 && \ @@ -37,10 +43,6 @@ cd UU fi -case "$1" in --d) shift; fastread='yes';; -esac - bin='' contains='' cppstdin='' @@ -395,10 +397,12 @@ n='' c='\c' fi -echo $n "Type carriage return to continue. Your cursor should be here-->$c" -read ans rm -f .echotmp +#We want things fully automated +#echo $n "Type carriage return to continue. Your cursor should be here-->$c" +#read ans + : now set up to do reads with possible shell escape and default assignment cat <myread case "\$fastread" in @@ -3704,15 +3708,16 @@ echo " " dflt='' fastread='' -echo "If you didn't make any mistakes, then just type a carriage return here." -rp="If you need to edit config.sh, do it as a shell escape here:" -$echo $n "$rp $c" -. UU/myread -case "$ans" in -'') ;; -*) : in case they cannot read - eval $ans;; -esac +#We want things fully automated +#echo "If you didn't make any mistakes, then just type a carriage return here." +#rp="If you need to edit config.sh, do it as a shell escape here:" +#$echo $n "$rp $c" +#. UU/myread +#case "$ans" in +#'') ;; +#*) : in case they cannot read +# eval $ans;; +#esac : if this fails, just run all the .SH files by hand . ./config.sh --- filter-2.6.3.orig/Makefile +++ filter-2.6.3/Makefile @@ -5,16 +5,16 @@ CHGRP = /bin/chgrp CHMOD = /bin/chmod CP = /bin/cp -DEST = $(DESTDIR)/usr/local/bin +DEST = $(DESTDIR)/usr/bin ECHO = /bin/echo LFLAGS = LIB = -LIB2 = -lintl -lnls +LIB2 = LIBS = -lcurses -LINT = /usr/ucb/lint +LINT = lint MAILGRP = mail -MAILERMODE = 755 -MAKE = /usr/ccs/bin/make +MAILERMODE = 2755 +MAKE = /usr/bin/make MV = /bin/mv OPTIMIZE = -O RM = /bin/rm -f @@ -67,7 +67,7 @@ $(RM) $(DEST)/filter clean: - $(RM) $(FILTER_OBJ) filter core tags + $(RM) $(FILTER_OBJ) filter core reallyclean: clean $(RM) config.sh --- filter-2.6.3.orig/config.h +++ filter-2.6.3/config.h @@ -8,20 +8,13 @@ * For a more permanent change edit config.sh and rerun config.h.SH. */ -/* yes, this is not Configur-able. Sorry. most people should leave this - * this as-is. It is to escape lines beginning with 'From ', - * if they are not actually the first line - * If for some reason you dont want this behaviour, then edit config.h - * by hand, and remove or comment out the ESCAPE_FROM_LINE define - */ -#define ESCAPE_FROM_LINE 1 /* BIN: * This symbol holds the name of the directory in which the user wants * to put publicly executable images for the package in question. It * is most often a local directory such as /usr/local/bin. */ -#define BIN "/usr/local/bin" +#define BIN "/usr/bin" /* CPPSTDIN: * This symbol contains the first part of the string which will invoke @@ -34,7 +27,7 @@ * output. This symbol will have the value "-" if CPPSTDIN needs a minus * to specify standard input, otherwise the value is "". */ -#define CPPSTDIN "/usr/lib/cpp" +#define CPPSTDIN "/usr/bin/cpp" #define CPPMINUS "" @@ -84,7 +77,7 @@ * This symbol, if defined, indicates that toupper and tolower * routines/macros are not safe to use. */ -#define BROKE_CTYPE +/*#undef BROKE_CTYPE */ /* HAS_CUSERID: * This symbol, if defined, means not to include our own cuserid(). @@ -108,9 +101,9 @@ #define USE_DOTLOCK_LOCKING -#define USE_FCNTL_LOCKING +/*#undef USE_FCNTL_LOCKING */ -#define LOCK_DIR "/usr/spool/locks" +#define LOCK_DIR "/tmp" /* GETHOSTNAME: * This symbol, if defined, indicates that the C program may use the @@ -124,9 +117,9 @@ * This symbol, if defined, indicated that the host name is compiled * in from the string hostname */ -#define GETHOSTNAME +/*#undef GETHOSTNAME */ /*#undef DOUNAME */ -/*#undef HOSTCOMPILED */ +#define HOSTCOMPILED /* index: * This preprocessor symbol is defined, along with rindex, if the system @@ -158,15 +151,15 @@ * are being used instead of the system NLS libraries. */ #define I_LOCALE -#define I_NL_TYPES +/*#undef I_NL_TYPES */ #define MSGCAT -/*#undef USENLS */ +#define USENLS /* MALLOCVOID: * This symbol, if defined, indicates that the malloc_t type should * be void * instead of char * */ -/*#undef MALLOCVOID */ +#define MALLOCVOID /* MMDF: * This symbol, if defined, indicates that mailboxes are in @@ -184,7 +177,7 @@ * This symbol, if defined, means that the kill(pid, 0) will * check for an active pid. */ -/*#undef PIDCHECK */ +#define PIDCHECK /* SIGVEC: * This symbol, if defined, indicates that BSD reliable signals routine @@ -249,7 +242,7 @@ /* UTIMBUF: * This symbol is defined if this system defines struct utimbuf. */ -/*#undef UTIMBUF */ +#define UTIMBUF /* HOSTNAME: * This symbol contains name of the host the program is going to run on. @@ -264,7 +257,7 @@ * the program. If the host name is derived from PHOSTNAME, the domain * may or may not already be there, and the program should check. */ -#define HOSTNAME "speedy" +#define HOSTNAME "vore" #define MYDOMAIN "" /* I_MEMORY: @@ -277,7 +270,7 @@ * This symbol, if defined, indicates that the file stdarg.h * should be included instead of varargs */ -#define I_STDARG +/*#undef I_STDARG */ /* I_STDLIB: * This symbol, if defined, indicates that the file stdlib.h @@ -307,8 +300,8 @@ * This symbol is defined if the program should include * with KERNEL defined. */ -/*#undef I_TIME */ -/*#undef I_SYSTIME */ +#define I_TIME +#define I_SYSTIME /*#undef SYSTIMEKERNEL */ --- filter-2.6.3.orig/config.h.SH +++ filter-2.6.3/config.h.SH @@ -22,13 +22,6 @@ * For a more permanent change edit config.sh and rerun config.h.SH. */ -/* yes, this is not Configur-able. Sorry. most people should leave this - * this as-is. It is to escape lines beginning with 'From ', - * if they are not actually the first line - * If for some reason you dont want this behaviour, then edit config.h - * by hand, and remove or comment out the ESCAPE_FROM_LINE define - */ -#define ESCAPE_FROM_LINE 1 /* BIN: * This symbol holds the name of the directory in which the user wants --- filter-2.6.3.orig/sysdefs.h +++ filter-2.6.3/sysdefs.h @@ -1,19 +1,19 @@ -#define mailhome "/var/mail/%u" -#define sendmail "/usr/lib/sendmail" +#define mailhome "/var/spool/mail/%u" +#define sendmail "/usr/sbin/sendmail" #define smflags "-oi -oem" /* ignore dots and mail back errors */ #define smflagsv "-oi -oem -v" /* Verbose voyuer mode */ #define smflagmt " -om" /* metoo copy to sender */ #define submitmail "" #define submitflags "-mlrnvxto,cc*" #define submitflags_s "-mlrnv" -#define mailer "/usr/lib/sendmail" +#define mailer "/usr/sbin/sendmail" #define remove_cmd "/bin/rm -f" /* how to remove a file */ #define cat "/bin/cat" /* how to display files */ #define sed_cmd "/bin/sed" /* how to access sed */ #define move_cmd "/bin/mv" /* how to access sed */ -#define uuname "/bin/uuname" /* how to get a uuname */ +#define uuname "uuname" /* how to get a uuname */ #define MSG_SEPARATOR "\001\001\001\001\n" /* mmdf message seperator */ --- filter-2.6.3.orig/config.sh +++ filter-2.6.3/config.sh @@ -2,16 +2,16 @@ # config.sh # This file was produced by running the Configure script. -bin='/usr/local/bin' +bin='/usr/bin' contains='grep' -cppstdin='/usr/lib/cpp' +cppstdin='/usr/bin/cpp' cppminus='' d_havetlib='define' termlib='-lcurses' d_memcpy='define' d_whoami='undef' -n='' -c='\c' +n='-n' +c='' package='filter' startsh='#!/bin/sh' d_eunice='undef' @@ -34,7 +34,7 @@ touch tr ' -expr='/bin/expr' +expr='/usr/bin/expr' sed='/bin/sed' echo='/bin/echo' cat='/bin/cat' @@ -42,7 +42,7 @@ mv='/bin/mv' cp='/bin/cp' tail='' -tr='/bin/tr' +tr='/usr/bin/tr' mkdir='' sort='' uniq='' @@ -78,24 +78,24 @@ vi='' mailx='' mail='' -cpp='/usr/lib/cpp' +cpp='/usr/bin/cpp' perl='' emacs='' ls='/bin/ls' -rmail='/bin/rmail' -sendmail='/usr/lib/sendmail' +rmail='rmail' +sendmail='/usr/sbin/sendmail' shar='' smail='smail' submit='' -tbl='/bin/tbl' -troff='/bin/troff' -nroff='/bin/nroff' +tbl='/usr/bin/tbl' +troff='/usr/bin/troff' +nroff='/usr/bin/nroff' uname='/bin/uname' -uuname='/bin/uuname' -line='/bin/line' +uuname='uuname' +line='/usr/bin/line' chgrp='/bin/chgrp' chmod='/bin/chmod' -lint='/usr/ucb/lint' +lint='lint' sleep='' pr='' tar='' @@ -103,42 +103,42 @@ lpr='' lp='' touch='/bin/touch' -make='/usr/ccs/bin/make' +make='/usr/bin/make' date='' csh='' pmake='pmake' mips='false' col='' -pack='/bin/pack' -compress='/bin/compress' +pack='pack' +compress='compress' execmail='' libswanted='intl nls' -d_broke_ctype='define' +d_broke_ctype='undef' d_chown_neg1='' d_cuserid='define' d_flock='undef' d_dotlock='define' -d_fcntlock='define' -lock_dir='/usr/spool/locks' -has_flock='define' -has_fcntl='define' -d_gethname='define' +d_fcntlock='undef' +lock_dir='/tmp' +has_flock='undef' +has_fcntl='undef' +d_gethname='undef' d_douname='undef' -d_host_comp='undef' -ign_hname='n' +d_host_comp='define' +ign_hname='y' d_index='define' d_internet='define' d_locale='define' -d_nl_types='define' +d_nl_types='undef' d_msgcat='define' -d_usenls='undef' -d_mallocvoid='undef' +d_usenls='define' +d_mallocvoid='define' d_mmdf='undef' d_noxheader='undef' -d_pidcheck='undef' -d_setgid='undef' +d_pidcheck='define' +d_setgid='define' d_savegrpmboxid='' -mailermode='755' +mailermode='2755' d_sigvec='undef' d_sigvectr='undef' d_sigset='undef' @@ -152,30 +152,30 @@ includepath='' d_strstr='' d_useembed='define' -d_utimbuf='undef' -hostname='speedy' +d_utimbuf='define' +hostname='vore' phostname='hostname' mydomain='' autohostname='define' i_memory='define' -i_stdarg='define' +i_stdarg='undef' i_stdlib='define' -i_time='undef' -i_systime='undef' +i_time='define' +i_systime='define' d_systimekernel='undef' i_unistd='define' i_utime='define' i_sysutime='undef' lib='' -libc='/usr/lib/libc.so' -maildir='/var/mail' -mailhome='/var/mail/%u' -mailer='/usr/lib/sendmail' +libc='/usr/lib/libc.a' +maildir='/var/spool/mail' +mailhome='/var/spool/mail/%u' +mailer='/usr/sbin/sendmail' mailgrp='mail' -mansrc='/usr/local/man/mann' +mansrc='/usr/share/man/man1' catmansrc='none' -manext='.n' -manext_choice='.n' +manext='.1' +manext_choice='.1' catmanext='' catmanext_choice='' packed='' @@ -194,14 +194,14 @@ cppflags='' ldflags='' cc='cc' -libs='-lintl -lnls' +libs='' nametype='' d_passnames='' d_berknames='' d_usgnames='' rcpthdr='none' passcat='cat /etc/passwd' -roff='/bin/troff' +roff='/usr/bin/troff' roffopts='' d_rcpthdr='undef' sigtype='void' --- filter-2.6.3.orig/debian/README.Debian +++ filter-2.6.3/debian/README.Debian @@ -0,0 +1,7 @@ +filter for Debian +----------------- + +Yes, okay, 'filter' isnt the greatest name. But it has about 10 years of +UNIX history, so it's fair to say it has first claim to the name :-) + + -- Philip Brown , Sat, 28 Jul 2001 09:44:50 -0700 --- filter-2.6.3.orig/debian/changelog +++ filter-2.6.3/debian/changelog @@ -0,0 +1,44 @@ +filter (2.6.3-1) unstable; urgency=medium + + * New upstream release + * Security bug fixed upstream + * New feature for matching, "alphasubject" + * (Closes #124616 grammar "bug") + * (Closes #287048 security bug) + + + -- Philip Brown Fri, 24 Dec 2004 01:31:48 -0500 + +filter (2.4.2-1) unstable; urgency=low + + * New upstream release + * made "lines" comparison work + * added "mailinglist" header check, to look for "x-mailing-list: " + * made if(xx != "yy") work again + * added "resend" command + + -- Philip Brown Wed, 17 Sep 2003 08:14:43 +0200 + +filter (2.3.1-3) unstable; urgency=low + + * ANOTHER fix for the auto-build process. oops. + Tweaked Configure some more + + -- Philip Brown Thu, 16 aug 2001 09:44:50 -0700 + +filter (2.3.1-2) unstable; urgency=low + + * adjustment to build process to make the default be + fully automated + + -- Philip Brown Sat, 11 aug 2001 09:44:50 -0700 + +filter (2.3.1-1) unstable; urgency=low + + * Initial Release. + + -- Philip Brown Sat, 28 Jul 2001 09:44:50 -0700 + +Local variables: +mode: debian-changelog +End: --- filter-2.6.3.orig/debian/dirs +++ filter-2.6.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- filter-2.6.3.orig/debian/watch +++ filter-2.6.3/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +ftp.bolthole.com /pub filter(.*)\.tar\.gz debian uupdate --- filter-2.6.3.orig/debian/manpage.sgml.ex +++ filter-2.6.3/debian/manpage.sgml.ex @@ -0,0 +1,143 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + --> + + + FIRSTNAME"> + SURNAME"> + + July 28, 2001"> + + SECTION"> + root@unknown"> + + FILTER"> + + + Debian GNU/Linux"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2001 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + OPTIONS + + These programs follow the usual GNU command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + Info files. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the Free + Software Foundation; with no Invariant Sections, no Front-Cover + Texts and no Back-Cover Texts. + + +
+ + --- filter-2.6.3.orig/debian/copyright +++ filter-2.6.3/debian/copyright @@ -0,0 +1,97 @@ +This package was debianized by Philip Brown on +Sat, 28 Jul 2001 09:44:50 -0700. + +It was downloaded from http://www.bolthole.com/filter/ + +Upstream Author(s): Philip Brown + +Copyright: + +I, Philip Brown, am the new maintainer of the "filter" program, as of +approximately April, 1998. It was handed over to me by Bill Pemberton, who +is/was a member of the elm group at the time. +'filter' was officially separated from the elm releases, starting with +elm 2.5 + +As such, even though it is now a "separate" program, it is still licensed +under the original ELM license, which follows: + + ====================================================================== + The Elm(tm) Mail System General Public License + + + (C) Copyright 1988-1992, USENET Community Trust + (C) Copyright 1986,1987, by Dave Taylor + + + COPYING POLICIES + + Permission is hereby granted for copying and distribution of copies of + the Elm source files, and that of any part thereof, subject to the following + license conditions: + + 1. You may, without additional permission from the authors, distribute + Elm or components of Elm, with or without additions developed by + you or by others at no charge. You may also distribute Elm along + with any other product for sale, provided that the cost of the + bundled package is the same regardless of whether Elm is included, + and provided that those interested only in Elm must be notified + and provided that those interested only in Elm must be notified + that it is a product freely available from the Elm + Development Group. + + 2. You may, without additional permission from the authors, distribute + copies of the Elm Documentation, with or without additions + developed by you or by others at no charge or at a charge that + covers the cost of reproducing the copies, provided that the Elm + copyright notice is retained. + + 3. Furthermore, if you distribute Elm software or parts of Elm, with + or without additions developed by you or others, then you must + either make available the source to all portions of the Elm system + (exclusive of any additions made by you or by others) upon request, + or instead you may notify anyone requesting source that it is + freely available from the Elm Development Group. + + 4. In addition, you may not omit any of the copyright notices + on either the source files, the executable file, or the + documentation, and + + 5. Also, you may not omit transmission of this License agreement with + whatever portions of Elm that are distributed. + + 6. Lastly, any users of this software must be notified that it is + without warrantee or guarantee of any nature, express or implied, + nor is there any fitness for use represented. + +Software is a malleable thing - especially UNIX - and the authors can in no +way guarantee that using this program will not cause grievous damage to your +system. Of course this isn't anticipated, but if it does happen, the authors +cannot be held liable for any damages either directly or indirectly caused +by this event. + +Modification of the system is encouraged, providing that the portions of +the system that are from the original still carry the appropriate copyright +notices and that the changed sections are clearly delimited as such. The +authors requests copies of any changes made to ensure that the various versions +stay reasonably in sync with each other. Please send all revisions to +elm@DSI.COM. [actually, SEE NOTE AT BOTTOM] + +NOTE that it is not permitted to copy, sublicense, distribute or transfer any +of the Elm software except as expressly indicated herein. Any attempts to +do otherwise will be considered a violation of this license and your rights +to the Elm software will be voided. + +Comments on the system and/or this licensing agreement is encouraged. Send +electronic mail to "taylor@intuitive.com". [SEE NOTE AT BOTTOM] +This license was written with help from Scott McGregor. Thanks Scott! + +---- +Elm is a trademark of Dave Taylor. + + ========================================================================= + +Please note that the license text above, is included unmodified from the +original. However, the email addresses given should not be used in +conjunction with feedback for 'filter'. +Instead you should send email to "filter@bolthole.com" --- filter-2.6.3.orig/debian/control +++ filter-2.6.3/debian/control @@ -0,0 +1,15 @@ +Source: filter +Section: mail +Priority: optional +Maintainer: Philip Brown +Build-Depends: debhelper (>> 3.0.0) +Standards-Version: 3.5.2 + +Package: filter +Architecture: any +Depends: ${shlibs:Depends} +Description: A program that filters local email via forward/pipe + filter is one of the original mail filtering programs written for UNIX. + (originally a part of the 'elm' mailer) + Install it via a pipe(|) reference in $HOME/.forward, and let it + separate your incoming email into different personal mailboxes. --- filter-2.6.3.orig/debian/rules +++ filter-2.6.3/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +configure: configure-stamp +configure-stamp: + dh_testdir + # If you want to answer the questions yourself, comment out + # the -d option + ./Configure -d + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/filter.sgml > filter.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/filter. + $(MAKE) install DESTDIR=$(CURDIR)/debian/filter + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs CHANGELOG + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- filter-2.6.3.orig/debian/docs +++ filter-2.6.3/debian/docs @@ -0,0 +1,3 @@ +BUGS +README +TODO