initial commit of file from CVS for fastforward on Fri 14 Jul 13:47:28 BST 2023

This commit is contained in:
Brian Read 2023-07-14 13:47:28 +01:00
parent 5cd91c262c
commit 0c9f2d4e24
8 changed files with 301 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: fastforward
# $Id: Makefile,v 1.1 2016/02/07 14:12:56 stephdl Exp $
NAME := fastforward
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,3 +1,11 @@
# fastforward
3rd Party (Maintained by Koozali) git repo for fastforward smeserver
## Description
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
*Once it has been checked, then this comment will be deleted*
<br />
FastForward is a software package designed to help organizations accelerate their digital transformation journey. It provides a framework to build and deliver enterprise applications more quickly and securely. It provides a set of tools and services to help organizations create, deploy, and manage their digital transformation projects, including process automation, document sharing, collaboration and communication, and mobile access. The platform is designed to be easy to use and can be used by developers and non-technical users alike.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10

View File

@ -0,0 +1,134 @@
diff -ruN fastforward-0.51-01/Makefile fastforward-0.51-02/Makefile
--- fastforward-0.51-01/Makefile Tue May 19 12:25:42 1998
+++ fastforward-0.51-02/Makefile Mon Feb 5 17:59:59 2001
@@ -39,6 +39,14 @@
compile auto_qmail.c
./compile auto_qmail.c
+root_auto_qmail.c: \
+auto-str conf-qmail
+ ./auto-str root_auto_qmail `pwd`/root`head -1 conf-qmail` > root_auto_qmail.c
+
+root_auto_qmail.o: \
+compile root_auto_qmail.c
+ ./compile root_auto_qmail.c
+
byte_chr.o: \
compile byte_chr.c byte.h
./compile byte_chr.c
@@ -223,13 +231,13 @@
rm -f trywaitp.o trywaitp
hier.o: \
-compile hier.c auto_qmail.h
+compile hier.c root_auto_qmail.h
./compile hier.c
install: \
-load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \
+load install.o hier.o root_auto_qmail.o strerr.a substdio.a error.a open.a \
str.a
- ./load install hier.o auto_qmail.o strerr.a substdio.a \
+ ./load install hier.o root_auto_qmail.o strerr.a substdio.a \
error.a open.a str.a
install.o: \
@@ -238,9 +246,9 @@
./compile install.c
instcheck: \
-load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \
+load instcheck.o hier.o root_auto_qmail.o strerr.a substdio.a error.a \
str.a
- ./load instcheck hier.o auto_qmail.o strerr.a substdio.a \
+ ./load instcheck hier.o root_auto_qmail.o strerr.a substdio.a \
error.a str.a
instcheck.o: \
diff -ruN fastforward-0.51-01/hier.c fastforward-0.51-02/hier.c
--- fastforward-0.51-01/hier.c Tue May 19 12:25:42 1998
+++ fastforward-0.51-02/hier.c Mon Feb 5 17:56:53 2001
@@ -1,39 +1,39 @@
-#include "auto_qmail.h"
+#include "root_auto_qmail.h"
void hier()
{
- h(auto_qmail,-1,-1,0755);
+ h(root_auto_qmail,-1,-1,0755);
- d(auto_qmail,"bin",-1,-1,0755);
- d(auto_qmail,"doc",-1,-1,0755);
- d(auto_qmail,"doc/fastforward",-1,-1,0755);
- d(auto_qmail,"man",-1,-1,0755);
- d(auto_qmail,"man/man1",-1,-1,0755);
- d(auto_qmail,"man/cat1",-1,-1,0755);
-
- c(auto_qmail,"bin","fastforward",-1,-1,0755);
- c(auto_qmail,"bin","printforward",-1,-1,0755);
- c(auto_qmail,"bin","setforward",-1,-1,0755);
- c(auto_qmail,"bin","newaliases",-1,-1,0755);
- c(auto_qmail,"bin","printmaillist",-1,-1,0755);
- c(auto_qmail,"bin","setmaillist",-1,-1,0755);
- c(auto_qmail,"bin","newinclude",-1,-1,0755);
-
- c(auto_qmail,"doc/fastforward","ALIASES",-1,-1,0644);
-
- c(auto_qmail,"man/man1","fastforward.1",-1,-1,0644);
- c(auto_qmail,"man/man1","printforward.1",-1,-1,0644);
- c(auto_qmail,"man/man1","setforward.1",-1,-1,0644);
- c(auto_qmail,"man/man1","newaliases.1",-1,-1,0644);
- c(auto_qmail,"man/man1","printmaillist.1",-1,-1,0644);
- c(auto_qmail,"man/man1","setmaillist.1",-1,-1,0644);
- c(auto_qmail,"man/man1","newinclude.1",-1,-1,0644);
-
- c(auto_qmail,"man/cat1","fastforward.0",-1,-1,0644);
- c(auto_qmail,"man/cat1","printforward.0",-1,-1,0644);
- c(auto_qmail,"man/cat1","setforward.0",-1,-1,0644);
- c(auto_qmail,"man/cat1","newaliases.0",-1,-1,0644);
- c(auto_qmail,"man/cat1","printmaillist.0",-1,-1,0644);
- c(auto_qmail,"man/cat1","setmaillist.0",-1,-1,0644);
- c(auto_qmail,"man/cat1","newinclude.0",-1,-1,0644);
+ d(root_auto_qmail,"bin",-1,-1,0755);
+ d(root_auto_qmail,"doc",-1,-1,0755);
+ d(root_auto_qmail,"doc/fastforward",-1,-1,0755);
+ d(root_auto_qmail,"man",-1,-1,0755);
+ d(root_auto_qmail,"man/man1",-1,-1,0755);
+ d(root_auto_qmail,"man/cat1",-1,-1,0755);
+
+ c(root_auto_qmail,"bin","fastforward",-1,-1,0755);
+ c(root_auto_qmail,"bin","printforward",-1,-1,0755);
+ c(root_auto_qmail,"bin","setforward",-1,-1,0755);
+ c(root_auto_qmail,"bin","newaliases",-1,-1,0755);
+ c(root_auto_qmail,"bin","printmaillist",-1,-1,0755);
+ c(root_auto_qmail,"bin","setmaillist",-1,-1,0755);
+ c(root_auto_qmail,"bin","newinclude",-1,-1,0755);
+
+ c(root_auto_qmail,"doc/fastforward","ALIASES",-1,-1,0644);
+
+ c(root_auto_qmail,"man/man1","fastforward.1",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","printforward.1",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","setforward.1",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","newaliases.1",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","printmaillist.1",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","setmaillist.1",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","newinclude.1",-1,-1,0644);
+
+ c(root_auto_qmail,"man/cat1","fastforward.0",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","printforward.0",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","setforward.0",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","newaliases.0",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","printmaillist.0",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","setmaillist.0",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","newinclude.0",-1,-1,0644);
}
diff -ruN fastforward-0.51-01/root_auto_qmail.h fastforward-0.51-02/root_auto_qmail.h
--- fastforward-0.51-01/root_auto_qmail.h Wed Dec 31 19:00:00 1969
+++ fastforward-0.51-02/root_auto_qmail.h Mon Feb 5 17:57:35 2001
@@ -0,0 +1,6 @@
+#ifndef ROOT_AUTO_QMAIL_H
+#define ROOT_AUTO_QMAIL_H
+
+extern char root_auto_qmail[];
+
+#endif

BIN
fastforward-0.51.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

129
fastforward.spec Normal file
View File

@ -0,0 +1,129 @@
# $Id: fastforward.spec,v 1.1 2016/02/07 14:12:56 stephdl Exp $
#
# RPM spec file for Dan Bernstein's fastforward package
#
# $Id: fastforward.spec,v 1.1 2016/02/07 14:12:56 stephdl Exp $
#
Summary: fastforward handles qmail forwarding according to a cdb database
%define name fastforward
Name: %{name}
%define version 0.51
%define release 04
Version: %{version}
Release: %{release}%{?dist}
License: Daniel J. Bernstein
Group: Networking/Daemons
Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz
URL: http://cr.yp.to/%{name}.html
Patch0: %{name}-%{version}.patch.2001020500
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
Provides: fastforward
Requires: qmail
BuildRequires: groff
AutoReqProv: no
%description
fastforward handles qmail forwarding according to a cdb database. It
can create forwarding databases from a sendmail-style /etc/aliases or
from user-oriented virtual-domain tables.
fastforward supports external mailing lists, stored in a binary format
for fast access. It has a tool to convert sendmail-style include files
into binary lists.
fastforward is more reliable than sendmail. sendmail can't deal with
long aliases, or deeply nested aliases, or deeply nested include
files; fastforward has no limits other than memory. sendmail can
produce corrupted alias files if the system crashes; fastforward is
crashproof.
fastforward's database-building tools are much faster than sendmail's
newaliases. Even better, fastforward deliveries don't pause while the
database is being rebuilt.
fastforward does not support insecure sendmail-style program
deliveries from include files; you can use qmail's secure built-in
mechanisms instead. fastforward does support program deliveries from
/etc/aliases.
%changelog
* Fri Jul 14 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Sun Feb 7 2016 stephane de Labrusse <stephdl@de-labrusse.fr>
- New build for sme10
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
- Clean up spec so package can be built by koji/plague
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
- Update to new release naming. No functional changes.
- Make Packager generic
* Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com> 0.51-04
- Rebuild under CentOS 4. Includes errno.h compiler configuration
fix.
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
- Rolling release number for GPG signing.
* Mon Feb 5 2001 Peter Samuel <peters@e-smith.com>
- [0.51-02]
- Now installs in its own root area prior to creating binary RPM.
* Mon Mar 29 1999 Joseph Morrison <jdm@e-smith.com>
- [0.51-1]
- initial release
%prep
%setup
# This patch allows files to be installed in a relative directory prior
# to creating the binary RPM. It does not change the files or their
# final installed locations.
%patch0 -p1
# Create the relative installation directory.
mkdir -p ./root/var/qmail
%build
echo gcc --include /usr/include/errno.h > conf-cc
make
%install
make setup
make check
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%attr(755,root,root) /var/qmail/bin/fastforward
%attr(755,root,root) /var/qmail/bin/printforward
%attr(755,root,root) /var/qmail/bin/setforward
%attr(755,root,root) /var/qmail/bin/newaliases
%attr(755,root,root) /var/qmail/bin/printmaillist
%attr(755,root,root) /var/qmail/bin/setmaillist
%attr(755,root,root) /var/qmail/bin/newinclude
%attr(755,root,root) %dir /var/qmail/doc/fastforward
%attr(644,root,root) /var/qmail/doc/fastforward/ALIASES
%attr(644,root,root) /var/qmail/man/man1/fastforward.1
%attr(644,root,root) /var/qmail/man/man1/printforward.1
%attr(644,root,root) /var/qmail/man/man1/setforward.1
%attr(644,root,root) /var/qmail/man/man1/newaliases.1
%attr(644,root,root) /var/qmail/man/man1/printmaillist.1
%attr(644,root,root) /var/qmail/man/man1/setmaillist.1
%attr(644,root,root) /var/qmail/man/man1/newinclude.1
%attr(644,root,root) /var/qmail/man/cat1/fastforward.0
%attr(644,root,root) /var/qmail/man/cat1/printforward.0
%attr(644,root,root) /var/qmail/man/cat1/setforward.0
%attr(644,root,root) /var/qmail/man/cat1/newaliases.0
%attr(644,root,root) /var/qmail/man/cat1/printmaillist.0
%attr(644,root,root) /var/qmail/man/cat1/setmaillist.0
%attr(644,root,root) /var/qmail/man/cat1/newinclude.0