From 0c9f2d4e244c94d553d25751ba9f5dd88758f065 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Fri, 14 Jul 2023 13:47:28 +0100 Subject: [PATCH] initial commit of file from CVS for fastforward on Fri 14 Jul 13:47:28 BST 2023 --- .gitattributes | 1 + .gitignore | 3 + Makefile | 21 +++++ README.md | 10 ++- contriborbase | 1 + fastforward-0.51.patch.2001020500 | 134 ++++++++++++++++++++++++++++++ fastforward-0.51.tar.gz | 3 + fastforward.spec | 129 ++++++++++++++++++++++++++++ 8 files changed, 301 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 fastforward-0.51.patch.2001020500 create mode 100644 fastforward-0.51.tar.gz create mode 100644 fastforward.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..917ee7d --- /dev/null +++ b/Makefile @@ -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) diff --git a/README.md b/README.md index 32587c9..126a6de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # fastforward -3rd Party (Maintained by Koozali) git repo for fastforward smeserver \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for fastforward smeserver + +## Description + +
*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* +
+ +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. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/fastforward-0.51.patch.2001020500 b/fastforward-0.51.patch.2001020500 new file mode 100644 index 0000000..6673180 --- /dev/null +++ b/fastforward-0.51.patch.2001020500 @@ -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 diff --git a/fastforward-0.51.tar.gz b/fastforward-0.51.tar.gz new file mode 100644 index 0000000..aff9cc0 --- /dev/null +++ b/fastforward-0.51.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45a1a071d54701bf973fed7582b5ff76cb6ed3e43089da6da87caabbb4b4fd7e +size 40659 diff --git a/fastforward.spec b/fastforward.spec new file mode 100644 index 0000000..597aa42 --- /dev/null +++ b/fastforward.spec @@ -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 +- New build for sme10 + +* Sun Apr 29 2007 Shad L. Lords +- Clean up spec so package can be built by koji/plague + +* Thu Dec 07 2006 Shad L. Lords +- Update to new release naming. No functional changes. +- Make Packager generic + +* Tue Oct 11 2005 Charlie Brady 0.51-04 +- Rebuild under CentOS 4. Includes errno.h compiler configuration + fix. + +* Thu Feb 8 2001 Adrian Chung +- Rolling release number for GPG signing. + +* Mon Feb 5 2001 Peter Samuel +- [0.51-02] +- Now installs in its own root area prior to creating binary RPM. + +* Mon Mar 29 1999 Joseph Morrison +- [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