changeset 22:7e1318da6d12

added missing files
author Simon Horman <horms@verge.net.au>
date Sun, 19 Oct 2003 14:16:57 +0900
parents 932d22ff55b5
children 76613e8f8db9
files INSTALL.in README debian/control etc/init.d/Makefile.in etc/init.d/perdition-pbs.debian.in packaging/.cvsignore packaging/Makefile.am packaging/lsb/.cvsignore packaging/lsb/Makefile.am packaging/lsb/perdition-pbs.spec.in pbs/Makefile.in
diffstat 11 files changed, 217 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL.in	Thu May 16 17:53:45 2002 +0900
+++ b/INSTALL.in	Sun Oct 19 14:16:57 2003 +0900
@@ -18,14 +18,18 @@
 To build RPMS
 -------------
 
-rpm -ta perdition-pbs-@VERSION@.tar.gz
+rpmbuild -ta perdition-pbs-@VERSION@.tar.gz
 
 or
 
 cd perdition-@VERSION@
 ./configure --prefix=/usr
 make distcheck
-rpm -ta perdition-@VERSION@.tar.gz
+rpmbuild -ta perdition-@VERSION@.tar.gz
+
+N.B: If you have an older version of rpm you may need to use
+     the "rpm" command instead of "rpmbuild". The command line
+     options should be the same.
 
 
 To build Debian Packages
--- a/README	Thu May 16 17:53:45 2002 +0900
+++ b/README	Sun Oct 19 14:16:57 2003 +0900
@@ -39,11 +39,11 @@
     
 perdition requires the vanessa_logger generic logging library
 available from
-ftp://ftp.vergenet.net/pub/vanessa/vanessa_logger/ and mirrors.
+http://www.vergenet.net/linux/vanessa/download/vanessa_logger/ and mirrors.
 
 perdition requires the vanessa_socket TCP socket interface library
 available from
-ftp://ftp.vergenet.net/pub/vanessa/vanessa_socket/ and mirrors.
+http://www.vergenet.net/linux/vanessa/download/vanessa_socket/ and mirrors.
 
 perdition requires the berkely DB library available from
 http://www.sleepycat.com/ and mirrors
--- a/debian/control	Thu May 16 17:53:45 2002 +0900
+++ b/debian/control	Sun Oct 19 14:16:57 2003 +0900
@@ -3,7 +3,7 @@
 Section: mail
 Priority: optional
 Maintainer: Simon Horman <horms@vergenet.net>
-Standards-Version: 3.5.2
+Standards-Version: 3.5.10
 
 Package: perdition-pbs
 Architecture: any
--- a/etc/init.d/Makefile.in	Thu May 16 17:53:45 2002 +0900
+++ b/etc/init.d/Makefile.in	Sun Oct 19 14:16:57 2003 +0900
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
 
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -82,11 +82,16 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
 AWK = @AWK@
 CC = @CC@
 CPP = @CPP@
 CXX = @CXX@
+HAVE_LIB = @HAVE_LIB@
+LIB = @LIB@
 LN_S = @LN_S@
+LTLIB = @LTLIB@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
@@ -104,7 +109,7 @@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 all: all-redirect
 .SUFFIXES:
--- a/etc/init.d/perdition-pbs.debian.in	Thu May 16 17:53:45 2002 +0900
+++ b/etc/init.d/perdition-pbs.debian.in	Sun Oct 19 14:16:57 2003 +0900
@@ -35,11 +35,11 @@
 
 case "$1" in
   start)
-    start-stop-daemon --start --verbose --name perdition-pbs \
+    start-stop-daemon --start --verbose \
         --exec @prefix@/sbin/perdition-pbs -- $FLAGS
     ;;
   stop)
-    start-stop-daemon --stop --verbose --name perdition-pbs
+    start-stop-daemon --stop --verbose \
         --exec @prefix@/sbin/perdition-pbs
   restart)
     $0 stop 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/.cvsignore	Sun Oct 19 14:16:57 2003 +0900
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/Makefile.am	Sun Oct 19 14:16:57 2003 +0900
@@ -0,0 +1,29 @@
+######################################################################
+# Makefile.am                                                 May 2002
+# Horms                                             horms@vergenet.net
+#
+# Perdition PBS
+# Pop Before SMTP Tools
+# Copyright (C) 2002 Horms
+# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307  USA
+#
+######################################################################/
+
+
+SUBDIRS = lsb
+
+EXTRA_DIST = 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/lsb/.cvsignore	Sun Oct 19 14:16:57 2003 +0900
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+perdition-pbs.spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/lsb/Makefile.am	Sun Oct 19 14:16:57 2003 +0900
@@ -0,0 +1,28 @@
+######################################################################
+# Makefile.am                                                 May 2002
+# Horms                                             horms@vergenet.net
+#
+# Perdition PBS
+# Pop Before SMTP Tools
+# Copyright (C) 2002 Horms
+# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307  USA
+#
+######################################################################/
+
+EXTRA_DIST = \
+perdition-pbs.spec.in \
+perdition-pbs.spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/lsb/perdition-pbs.spec.in	Sun Oct 19 14:16:57 2003 +0900
@@ -0,0 +1,127 @@
+%define ver      @VERSION@
+%define rel      1
+%define prefix   /usr
+
+#Uncomment these if they are not defined by your rpm macros file
+#%define _prefix                /usr
+#%define _exec_prefix           %{_prefix}
+#%define _bindir                %{_exec_prefix}/bin
+#%define _sbindir               %{_exec_prefix}/sbin
+#%define _libexecdir            %{_exec_prefix}/libexec
+#%define _datadir               %{_prefix}/share
+#%define _sysconfdir            %{_prefix}/etc
+#%define _sharedstatedir        %{_prefix}/com
+#%define _localstatedir         %{_prefix}/var
+#%define _lib                   lib
+#%define _libdir                %{_exec_prefix}/%{_lib}
+#%define _includedir            %{_prefix}/include
+#%define _oldincludedir         /usr/include
+#%define _infodir               %{_prefix}/info
+#%define _mandir                %{_prefix}/man
+
+Summary: Mail Retrieval Proxy
+Name: perdition-pbs
+Version: %ver
+Release: %rel
+Copyright: GPL
+Group: Applications/Internet
+Source: ftp://ftp.vergenet.net/pub/perdition-pbs/perdition-pbs-%{ver}.tar.gz
+BuildRoot: /var/tmp/perdition-pbs-%{PACKAGE_VERSION}-root
+Packager: Horms <horms@vergenet.net>
+URL: http://vergenet.net/linux/perdition-pbs/
+Docdir: %{prefix}/doc
+Provides: perdition-pbs-%{ver}-%{rel}
+BuildPrereq: automake autoconf libtool vanessa_logger-devel vanessa_socket-devel popt db3-devel
+
+%description
+POP before SMTP is the process by which users are permitted to relay mail
+using SMTP for a period of time after they have authenticated themselves to
+retrieve  mail  via POP or IMAP.
+
+Perdition-PBS is toolkit to provide POP before SMTP support. It may be used
+with any pop server that provides logs that include the connection's source
+IP address when a user is authenticated. This includes perdition itself. At
+this stage the sendmail and qmail SMTP servers are supported.
+
+%prep
+%setup
+
+%build
+
+# I am providing my own configure macro replacement. Hopefully this
+# will result in fewer portability problems than using the one supplied
+# by various vendours. I fear that I hope in vein.
+CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
+if [ -f confgure.in ]; then
+	aclocal
+	libtoolize --force --copy
+	autoheader
+	automake
+	autoconf
+fi
+./configure %{_target_platform} \
+       --prefix=%{_prefix} \
+       --exec-prefix=%{_exec_prefix} \
+       --bindir=%{_bindir} \
+       --sbindir=%{_sbindir} \
+       --sysconfdir=/etc \
+       --datadir=%{_datadir} \
+       --includedir=%{_includedir} \
+       --libdir=%{_libdir} \
+       --libexecdir=%{_libexecdir} \
+       --localstatedir=%{_localstatedir} \
+       --sharedstatedir=%{_sharedstatedir} \
+       --mandir=%{_mandir} \
+       --infodir=%{_infodir}
+
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p ${RPM_BUILD_ROOT}/etc/{init.d,sysconfig}
+
+make DESTDIR=$RPM_BUILD_ROOT install-strip
+
+install -m755 \
+  ${RPM_BUILD_DIR}/perdition-pbs-%{ver}/etc/init.d/perdition-pbs.rh \
+  ${RPM_BUILD_ROOT}/etc/init.d/perdition-pbs
+install -m644 \
+  ${RPM_BUILD_DIR}/perdition-pbs-%{ver}/etc/sysconfig/perdition-pbs \
+  ${RPM_BUILD_ROOT}/etc/sysconfig/perdition-pbs
+  
+
+%clean
+rm -rf $RPM_BUILD_DIR/perdition-pbs-%{ver}
+rm -rf $RPM_BUILD_ROOT
+
+%post
+
+%postun
+
+%preun
+
+
+%files
+%defattr(-,root,root)
+%doc %attr(-, root, root) README
+%doc %attr(-, root, root) ChangeLog NEWS TODO
+/etc/init.d/perdition-pbs
+%{_sbindir}/perdition-pbs
+%{_sbindir}/perdition-pbs-daemon
+%{_sbindir}/perdition-pbs-list
+%{_sbindir}/perdition-pbs-insert
+%{_sbindir}/perdition-pbs-remove
+%{_sbindir}/perdition-pbs-setenv
+%{_sbindir}/perdition-pbs-purge
+%{_mandir}/man8/perdition-pbs.*
+%{_mandir}/man8/perdition-pbs-daemon.*
+%{_mandir}/man8/perdition-pbs-list.*
+%{_mandir}/man8/perdition-pbs-insert.*
+%{_mandir}/man8/perdition-pbs-remove.*
+%{_mandir}/man8/perdition-pbs-setenv.*
+%{_mandir}/man8/perdition-pbs-purge.*
+%config /etc/sysconfig/perdition-pbs
+
+%changelog
+* Tue May 15 2002 Horms <horms@vergenet.net>
+- Begin
--- a/pbs/Makefile.in	Thu May 16 17:53:45 2002 +0900
+++ b/pbs/Makefile.in	Sun Oct 19 14:16:57 2003 +0900
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
 
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -82,11 +82,16 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
 AWK = @AWK@
 CC = @CC@
 CPP = @CPP@
 CXX = @CXX@
+HAVE_LIB = @HAVE_LIB@
+LIB = @LIB@
 LN_S = @LN_S@
+LTLIB = @LTLIB@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
@@ -137,7 +142,7 @@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 DEP_FILES =  .deps/pbs.P .deps/pbs_db.P .deps/pbs_option.P \
 .deps/pbs_record.P .deps/pbs_record_db.P
@@ -257,7 +262,7 @@
 	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
-	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+	  || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
 
 mostlyclean-tags: