Makefile.am #4

  • //
  • guest/
  • bryan_costales/
  • Makefile.am
  • View
  • Commits
  • Open Download .zip Download (1 KB)
## Makefile.am -- Process this file with automake to produce Makefile.in
# $Id: Makefile.am,v 0.3 2003/12/15 15:03:33 bcx Exp bcx $

bindir=@SLOWMILT_DIR@
bin_PROGRAMS =slowmilt
slowmilt_SOURCES= readconf.c edit.c mx.c util.c database.c header.c test.c milter.c compat.c
slowmilt_LDADD = -lmilter

auxdir			= @ac_aux_dir@
AUX_DIST		= $(auxdir)/install-sh $(auxdir)/missing \
	$(auxdir)/mkinstalldirs \
	$(auxdir)/config.guess $(auxdir)/build \
	$(auxdir)/dh.m4

EXTRA_DIST		= README slow.h \
			  etc/slow.conf.pat etc/slow.honey.pat \
			  etc/slow.init.pat etc/slow.run.pat \
			  patches tests docs

AUTOMAKE_OPTIONS 	= foreign
MAINTAINERCLEANFILES 	= Makefile.in aclocal.m4 configure \
			  $(AUX_DIST)

ACLOCAL			= aclocal -I $(auxdir)

test:
	rm -f slowedit
	$(LN_S) slowmilt slowedit
	cd tests; $(MAKE) test

dist-hook:	
	rm -rf $(distdir)/docs/RCS
	rm -rf $(distdir)/man/RCS

install-exec-local:
	-rm -f /usr/local/bin/@SLOWMILT_EDIT@
	-$(LN_S) $(DESTDIR)$(bindir)/slowmilt /usr/local/bin/@SLOWMILT_EDIT@
	$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) etc/slow.conf.pat $(DESTDIR)$(bindir)/slow.conf.pat
	$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) etc/slow.honey.pat $(DESTDIR)$(bindir)/slow.honey.pat
	$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) etc/slow.run.pat $(DESTDIR)$(bindir)/slow.run.pat
	$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) etc/slow.init.pat $(DESTDIR)$(bindir)/slow.init.pat


# Change User Description Committed
#6 4222 bryan_costales Massive rewrite to speed up the database writes.
Using a single database now with duplicate keys
where the keys are the IP numbers. Added a purge
command and removed the garbage command. Fixed
some leaking memory bugs and properly closed the
database in a few places were it was not
properly closed. Updated the docs to reflect
this and bumped both the database version and
release number. Running on a FreeBSD 3.x machine
and a Solaris 9 machine.
#5 4052 bryan_costales Implimented:
    whitelisting
    AddMXHost for MX servers that lie
    Converted to thread safe DNS routines
    garbage collection
    RunAsUser and RunAsGroup for root startups
    rebuild the database
    summarize by IP number
Finished all documentation.
Moved release from alpha to beta
#4 4030 bryan_costales Finished documenting the configuration file
Fixed a race condition and a core dump bug.
Added hooks for whitelisting and IP aliasing
Added support for Berkeley DB 4.2
Converted to htonl() and ntohl()

Known Bugs:
    ip.db cannot be shared over NFS
    IP tracking from MX hosts can fail
    A RunAsUser config option is needed.
#3 3998 bryan_costales Brought the whole distribution up to V0.9
Added a huge abount of documentation.
Added slowedit find
Created startup scripts to launch for testing
Fixed numerous bugs.
Fixed a few portablity issues.
Installed hooks for whitelisting and IP aliases.
#2 3957 bryan_costales Added rbl lookup support and testing for same.
Folded in support for smfi_stop().
Added lots of slowedit commands
Fixed a serious bug in MX lookups.
Added to documentation.
#1 3890 bryan_costales This is the 0.6 release. The following have been
added with the uses indicated:

    Source files: edit.c -- the slowedit functions
              compat.c -- missing system files
    Autoconf:     configure.ac, makefile.am config.h
              aclocal.m4 acinclude.m4 build/
    Documents:    doc/ -- html and man(1) documents
    Testing:      tests/ -- regressive testing
    TODO:          -- revised to show actual progress