initial commit of file from CVS for DCC on Wed 12 Jul 13:57:39 BST 2023

This commit is contained in:
Brian Read 2023-07-12 13:57:39 +01:00
parent af82296393
commit b67d83fbed
7 changed files with 186 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

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

3
.gitignore vendored Normal file
View File

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

148
DCC.spec Normal file
View File

@ -0,0 +1,148 @@
%define homedir %{_sysconfdir}/dcc
%define cgibin %{_localstatedir}/dcc/cgibin
%define mylibexecdir %{_libexecdir}/dcc
Summary: A clients-server system for collecting checksums of mail messages
Name: DCC
Version: 2.3.167
Release: 1%{?dist}
URL: http://www.rhyolite.com/anti-spam/dcc/
Source0: http://www.rhyolite.com/anti-spam/dcc/source/dcc-%{version}.tar.Z
License: distributable for non-commercial use
Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: sendmail-devel
%description
The DCC or Distributed Checksum Clearinghouse is currently a system of
many clients and more than 120 servers that collects and count
checksums related to several million mail messages per day, most as
seen by Internet Service Providers. The counts can be used by SMTP
servers and mail user agents to detect and reject or filter spam or
unsolicited bulk mail. DCC servers exchange or "flood" common
checksums. The checksums include values that are constant across
common variations in bulk messages, including "personalizations."
%prep
%setup -q -n dcc-%{version}
find . -name Makefile.in | xargs sed -i -e's,chown,:,g'
%build
export CFLAGS="%{optflags}"
PERL=%{_bindir}/perl ./configure \
--with-installroot=%{buildroot} \
%{?_without_dccm:--disable-dccm} \
--homedir=%{homedir} \
--with-cgibin=%{cgibin} \
--libexecdir=%{mylibexecdir} \
--bindir=%{_bindir} \
--mandir=%{_mandir} \
--disable-sys-inst
make
%install
rm -rf %{buildroot}
make install
#make install \
# SET_BINOWN= SET_MANOWN= SET_DCCOWN=
perl -pi -e's,%{buildroot},,g' %{buildroot}%{homedir}/map.txt
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE FAQ* CHANGES
%dir %{homedir}
%config(noreplace) %{homedir}/dcc_conf
%config(noreplace) %{homedir}/flod
%config(noreplace) %{homedir}/grey_flod
%config(noreplace) %{homedir}/grey_whitelist
%config(noreplace) %{homedir}/ids
%config(noreplace) %{homedir}/log
%config(noreplace) %{homedir}/map
%config(noreplace) %{homedir}/map.txt
%config(noreplace) %{homedir}/whiteclnt
%config(noreplace) %{homedir}/whitecommon
%config(noreplace) %{homedir}/whitelist
%attr(4555,root,root) %{_bindir}/cdcc
%attr(4555,root,root) %{_bindir}/dccproc
%{_bindir}/dccif-test
%{mylibexecdir}
%{cgibin}
#%{_mandir}/man8/*
%changelog
* Wed Jul 12 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Tue Oct 27 2020 John Crisp <jcrisp@safeandsoundit.co.uk> - 2.3.167-1
- New build for SME
* Mon Jun 10 2013 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.145-24
- Update to 1.3.145.
* Sun Mar 1 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.103-23
- Update to 1.3.103.
* Wed Apr 30 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.90-22
- Update to 1.3.90.
* Wed Oct 17 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.66-20
- Update to 1.3.66.
* Sat Oct 13 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.64-19
- Update to 1.3.64.
* Wed Jun 13 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.57-18
- Update to 1.3.57.
* Wed May 23 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.56-17
- Update to 1.3.56.
* Mon Feb 12 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.50-16
- update to 1.3.50.
* Sun Oct 22 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.42-15
- Update to 1.3.42.
* Wed May 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.3.31.
* Sat Nov 26 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.3.21.
* Sun Apr 3 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.3.0.
* Sun Mar 6 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.71.
* Mon Jan 17 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.67.
* Fri Dec 17 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.64.
* Tue Nov 2 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.58.
* Fri Oct 22 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.57.
* Thu Sep 16 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.53.
* Mon May 31 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.49.
* Mon May 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Updated to 1.2.47.
* Sat Apr 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 1.2.39.
* Fri May 2 2003 Axel Thimm <Axel.Thimm@ATrpms.net>
- Initial build.

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: DCC
# $Id: Makefile,v 1.1 2020/10/28 22:41:46 jcrisp Exp $
NAME := DCC
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 @@
# DCC
3rd Party (Maintained by Koozali) git repo for DCC smeserver
3rd Party (Maintained by Koozali) git repo for DCC 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 />
DCC (Digital Command Control) is a system used to control model trains. It allows users to control multiple locomotives on the same track, and to program detailed actions such as speed, acceleration, braking, and lighting. It is compatible with all major model railroad brands.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10

BIN
dcc-2.3.167.tar.Z (Stored with Git LFS) Normal file

Binary file not shown.