initial commit of file from CVS for dot-forward on Fri 14 Jul 13:47:08 BST 2023
This commit is contained in:
parent
c046cd67d3
commit
bbf86fb961
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: dot-forward
|
||||||
|
# $Id: Makefile,v 1.1 2016/02/04 18:20:05 vip-ire Exp $
|
||||||
|
NAME := dot-forward
|
||||||
|
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)
|
@ -1,3 +1,11 @@
|
|||||||
# dot-forward
|
# dot-forward
|
||||||
|
|
||||||
3rd Party (Maintained by Koozali) git repo for dot-forward smeserver
|
3rd Party (Maintained by Koozali) git repo for dot-forward 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 />
|
||||||
|
|
||||||
|
Dot-forward is a Unix software package that is used to forward emails sent to a certain address to a different address. It allows administrators to set up rules and filters to forward emails from a particular address, such as an alias, to a different email address without having to manually set up a forwarding rule for each message.
|
||||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
sme10
|
86
dot-forward-0.71.patch.2001020500
Normal file
86
dot-forward-0.71.patch.2001020500
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
diff -ruN dot-forward-0.71-01/Makefile dot-forward-0.71-02/Makefile
|
||||||
|
--- dot-forward-0.71-01/Makefile Tue May 19 06:15:50 1998
|
||||||
|
+++ dot-forward-0.71-02/Makefile Mon Feb 5 18:47:49 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
|
||||||
|
@@ -177,13 +185,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: \
|
||||||
|
@@ -192,9 +200,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 dot-forward-0.71-01/hier.c dot-forward-0.71-02/hier.c
|
||||||
|
--- dot-forward-0.71-01/hier.c Tue May 19 06:15:50 1998
|
||||||
|
+++ dot-forward-0.71-02/hier.c Mon Feb 5 18:44:49 2001
|
||||||
|
@@ -1,16 +1,16 @@
|
||||||
|
-#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,"man",-1,-1,0755);
|
||||||
|
- d(auto_qmail,"man/man1",-1,-1,0755);
|
||||||
|
- d(auto_qmail,"man/cat1",-1,-1,0755);
|
||||||
|
+ d(root_auto_qmail,"bin",-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(auto_qmail,"bin","dot-forward",-1,-1,0755);
|
||||||
|
+ c(root_auto_qmail,"bin","dot-forward",-1,-1,0755);
|
||||||
|
|
||||||
|
- c(auto_qmail,"man/man1","dot-forward.1",-1,-1,0644);
|
||||||
|
- c(auto_qmail,"man/cat1","dot-forward.0",-1,-1,0644);
|
||||||
|
+ c(root_auto_qmail,"man/man1","dot-forward.1",-1,-1,0644);
|
||||||
|
+ c(root_auto_qmail,"man/cat1","dot-forward.0",-1,-1,0644);
|
||||||
|
}
|
||||||
|
diff -ruN dot-forward-0.71-01/root_auto_qmail.h dot-forward-0.71-02/root_auto_qmail.h
|
||||||
|
--- dot-forward-0.71-01/root_auto_qmail.h Wed Dec 31 19:00:00 1969
|
||||||
|
+++ dot-forward-0.71-02/root_auto_qmail.h Mon Feb 5 18:44:34 2001
|
||||||
|
@@ -0,0 +1,6 @@
|
||||||
|
+#ifndef ROOT_AUTO_QMAIL_H
|
||||||
|
+#define ROOT_AUTO_QMAIL_H
|
||||||
|
+
|
||||||
|
+extern char root_auto_qmail[];
|
||||||
|
+
|
||||||
|
+#endif
|
BIN
dot-forward-0.71.tar.gz
(Stored with Git LFS)
Normal file
BIN
dot-forward-0.71.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
93
dot-forward.spec
Normal file
93
dot-forward.spec
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
# $Id: dot-forward.spec,v 1.1 2016/02/04 18:20:05 vip-ire Exp $
|
||||||
|
|
||||||
|
#
|
||||||
|
# RPM spec file for Dan Bernstein's dot-forward package
|
||||||
|
#
|
||||||
|
# $Id: dot-forward.spec,v 1.1 2016/02/04 18:20:05 vip-ire Exp $
|
||||||
|
#
|
||||||
|
Summary: dot-forward reads sendmail's .forward files under qmail
|
||||||
|
%define name dot-forward
|
||||||
|
Name: %{name}
|
||||||
|
%define version 0.71
|
||||||
|
%define release 4
|
||||||
|
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
|
||||||
|
Requires: qmail
|
||||||
|
Provides: dot-forward
|
||||||
|
AutoReqProv: no
|
||||||
|
BuildRequires: groff
|
||||||
|
|
||||||
|
%description
|
||||||
|
dot-forward reads sendmail's .forward files under qmail. You can run
|
||||||
|
it in the qmail startup script to support all your existing .forward
|
||||||
|
files automatically. Individual users can switch to the .qmail
|
||||||
|
mechanism at their leisure.
|
||||||
|
|
||||||
|
dot-forward supports forwarding, program deliveries, and comments. It
|
||||||
|
does not support file deliveries or :include:. (However, it recognizes
|
||||||
|
file delivery attempts, and defers delivery to give you a chance to
|
||||||
|
set up a .qmail file.)
|
||||||
|
|
||||||
|
%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 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.71-03
|
||||||
|
- 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.71-02]
|
||||||
|
- Now installs in its own root area prior to creating binary RPM.
|
||||||
|
|
||||||
|
* Mon Mar 29 1999 Joseph Morrison <jdm@e-smith.com>
|
||||||
|
- [0.71-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/dot-forward
|
||||||
|
%attr(644,root,root) /var/qmail/man/man1/dot-forward.1
|
||||||
|
%attr(644,root,root) /var/qmail/man/cat1/dot-forward.0
|
Loading…
Reference in New Issue
Block a user