initial commit of file from CVS for qmailanalog on Fri 14 Jul 16:15:48 BST 2023
parent
f5f1fd946f
commit
3e6cbf08e3
@ -0,0 +1 @@
|
||||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
@ -0,0 +1,3 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: qmailanalog
|
||||
# $Id: Makefile,v 1.1 2016/02/04 13:28:18 vip-ire Exp $
|
||||
NAME := qmailanalog
|
||||
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 @@
|
||||
# qmailanalog
|
||||
|
||||
3rd Party (Maintained by Koozali) git repo for qmailanalog smeserver
|
||||
3rd Party (Maintained by Koozali) git repo for qmailanalog 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 />
|
||||
|
||||
Qmailanalog is a software package that provides graphical analysis of the qmail mail server. It allows users to view the breakdown of different types of emails sent and received, such as inbound and outbound messages, as well as the top senders and recipients of emails. Additionally, it can be used to analyze the performance of the server over time, and identify trends.
|
||||
|
@ -0,0 +1 @@
|
||||
sme10
|
@ -0,0 +1,63 @@
|
||||
diff -Nur ../qmailanalog-0.70.orig//zdeferrals.sh ./zdeferrals.sh
|
||||
--- ../qmailanalog-0.70.orig//zdeferrals.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zdeferrals.sh 2010-08-06 17:43:00.000000000 +0000
|
||||
@@ -5,4 +5,4 @@
|
||||
* xdelay is the total xdelay on those deliveries.
|
||||
'
|
||||
( echo del xdelay reason
|
||||
-HOME/bin/deferrals | sort +2 ) | HOME/bin/columnt | tr _ ' '
|
||||
+HOME/bin/deferrals | sort -k 3 ) | HOME/bin/columnt | tr _ ' '
|
||||
diff -Nur ../qmailanalog-0.70.orig//zfailures.sh ./zfailures.sh
|
||||
--- ../qmailanalog-0.70.orig//zfailures.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zfailures.sh 2010-08-06 17:43:08.000000000 +0000
|
||||
@@ -5,4 +5,4 @@
|
||||
* xdelay is the total xdelay on those deliveries.
|
||||
'
|
||||
( echo del xdelay reason
|
||||
-HOME/bin/failures | sort +2 ) | HOME/bin/columnt | tr _ ' '
|
||||
+HOME/bin/failures | sort -k 3 ) | HOME/bin/columnt | tr _ ' '
|
||||
diff -Nur ../qmailanalog-0.70.orig//zrecipients.sh ./zrecipients.sh
|
||||
--- ../qmailanalog-0.70.orig//zrecipients.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zrecipients.sh 2010-08-06 17:43:20.000000000 +0000
|
||||
@@ -7,4 +7,4 @@
|
||||
* xdelay is the total xdelay incurred by this recipient.
|
||||
'
|
||||
( echo sbytes mess tries xdelay recipient
|
||||
-HOME/bin/recipients | sort +4 ) | HOME/bin/columnt
|
||||
+HOME/bin/recipients | sort -k 5 ) | HOME/bin/columnt
|
||||
diff -Nur ../qmailanalog-0.70.orig//zrhosts.sh ./zrhosts.sh
|
||||
--- ../qmailanalog-0.70.orig//zrhosts.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zrhosts.sh 2010-08-06 17:44:27.000000000 +0000
|
||||
@@ -7,4 +7,4 @@
|
||||
* xdelay is the total xdelay incurred by this host.
|
||||
'
|
||||
( echo sbytes mess tries xdelay host
|
||||
-HOME/bin/rhosts | sort +4 ) | HOME/bin/columnt
|
||||
+HOME/bin/rhosts | sort -k 5 ) | HOME/bin/columnt
|
||||
diff -Nur ../qmailanalog-0.70.orig//zsenders.sh ./zsenders.sh
|
||||
--- ../qmailanalog-0.70.orig//zsenders.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zsenders.sh 2010-08-06 17:43:54.000000000 +0000
|
||||
@@ -10,4 +10,4 @@
|
||||
* xdelay is the total xdelay incurred by this sender.
|
||||
'
|
||||
( echo mess bytes sbytes rbytes recips tries xdelay sender
|
||||
-HOME/bin/senders | sort -n +7 ) | HOME/bin/columnt
|
||||
+HOME/bin/senders | sort -n -k 8 ) | HOME/bin/columnt
|
||||
diff -Nur ../qmailanalog-0.70.orig//zsuccesses.sh ./zsuccesses.sh
|
||||
--- ../qmailanalog-0.70.orig//zsuccesses.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zsuccesses.sh 2010-08-06 17:42:37.000000000 +0000
|
||||
@@ -5,4 +5,4 @@
|
||||
* xdelay is the total xdelay on those deliveries.
|
||||
'
|
||||
( echo del xdelay reason
|
||||
-HOME/bin/successes | sort +2 ) | HOME/bin/columnt | tr _ ' '
|
||||
+HOME/bin/successes | sort -k 3 ) | HOME/bin/columnt | tr _ ' '
|
||||
diff -Nur ../qmailanalog-0.70.orig//zsuids.sh ./zsuids.sh
|
||||
--- ../qmailanalog-0.70.orig//zsuids.sh 1998-08-30 21:39:27.000000000 +0000
|
||||
+++ ./zsuids.sh 2010-08-06 17:44:16.000000000 +0000
|
||||
@@ -10,4 +10,4 @@
|
||||
* xdelay is the total xdelay incurred by this uid.
|
||||
'
|
||||
( echo mess bytes sbytes rbytes recips tries xdelay uid
|
||||
-HOME/bin/suids | sort -n +7 ) | HOME/bin/columnt
|
||||
+HOME/bin/suids | sort -n -k 8 ) | HOME/bin/columnt
|
@ -0,0 +1,12 @@
|
||||
diff -ruN qmailanalog-0.70-02/Makefile qmailanalog-0.70-03/Makefile
|
||||
--- qmailanalog-0.70-02/Makefile Sun Aug 30 17:39:26 1998
|
||||
+++ qmailanalog-0.70-03/Makefile Mon Feb 5 19:28:00 2001
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
auto_home.c: \
|
||||
auto-str conf-home
|
||||
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
|
||||
+ ./auto-str auto_home `pwd`/root`head -1 conf-home` > auto_home.c
|
||||
|
||||
auto_home.o: \
|
||||
compile auto_home.c
|
Binary file not shown.
@ -0,0 +1,144 @@
|
||||
# $Id: qmailanalog.spec,v 1.1 2016/02/04 13:28:18 vip-ire Exp $
|
||||
|
||||
#
|
||||
# RPM spec file for Dan Bernstein's qmailanalog package
|
||||
#
|
||||
# $Id: qmailanalog.spec,v 1.1 2016/02/04 13:28:18 vip-ire Exp $
|
||||
#
|
||||
Summary: A collection of tools to help you analyze qmail's activity record.
|
||||
%define name qmailanalog
|
||||
Name: %{name}
|
||||
%define version 0.70
|
||||
%define release 8
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: Daniel J. Bernstein - http://cr.yp.to/distributors.html
|
||||
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
|
||||
Patch1: qmailanalog-0.70-sortfix.patch
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||
Provides: qmailanalog
|
||||
AutoReqProv: no
|
||||
BuildRequires: groff
|
||||
|
||||
%description
|
||||
qmailanalog is a collection of tools to help you analyze qmail's activity
|
||||
record. It supplies statistics to answer a wide variety of questions:
|
||||
|
||||
- overall: how many messages? recipients? attempts? etc.
|
||||
- ddist: how soon were 50% of the messages delivered? 90%? 95%? 99%?
|
||||
- rxdelay: what's the best order of recipients for mailing lists?
|
||||
- recipients, rhosts: who's getting mail? bytes? messages? attempts?
|
||||
- successes, failures, deferrals: why? how often? how much delay?
|
||||
- senders, suids: messages? bytes? load? recipients? attempts? delay?
|
||||
|
||||
qmailanalog also includes several tools to focus attention on particular
|
||||
senders, recipients, or messages.
|
||||
|
||||
%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 Jan 15 2012 Ian Wells <esmith@wellsi.com> 0.70-8.sme
|
||||
- Change sort options to fix mail reports, by Filippo Carletti [SME: 6813]
|
||||
|
||||
* 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 Dec 20 2005 Charlie Brady <charlieb@e-smith.com> 0.70-06
|
||||
- Change obsolete Copyright tag to a License tag, and include
|
||||
URL to DJB's information for distributors.
|
||||
|
||||
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au>
|
||||
- Bump release number only
|
||||
|
||||
* Fri Mar 18 2005 Charlie Brady <charlieb@e-smith.com>
|
||||
- [0.70-04]
|
||||
- Add workaround for glibc errno bug.
|
||||
|
||||
* Mon Feb 5 2001 Peter Samuel <peters@e-smith.com>
|
||||
- [0.70-03]
|
||||
- Now installs in its own root area prior to creating binary RPM.
|
||||
- Default installation locations are restored.
|
||||
|
||||
* Wed Aug 16 2000 Peter Samuel <peters@e-smith.com>
|
||||
- [0.70-2]
|
||||
- added patch to change default install location
|
||||
|
||||
* Fri Jun 16 2000 Peter Samuel <Peter.Samuel@gormand.com.au>
|
||||
- [0.70-1]
|
||||
- Initial build
|
||||
|
||||
%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
|
||||
%patch1 -p1
|
||||
|
||||
# Create the relative installation directory.
|
||||
|
||||
mkdir -p ./root/usr/local
|
||||
# Workaround glibc errno bug
|
||||
echo gcc -O --include /usr/include/errno.h > conf-cc
|
||||
|
||||
%build
|
||||
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) /usr/local/qmailanalog/bin/columnt
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/ddist
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/deferrals
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/failures
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/matchup
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/recipients
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/rhosts
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/rxdelay
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/senders
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/successes
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/suids
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/xqp
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/xrecipient
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/xsender
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zddist
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zdeferrals
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zfailures
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zoverall
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zrecipients
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zrhosts
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zrxdelay
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zsenders
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zsendmail
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zsuccesses
|
||||
%attr(755,root,root) /usr/local/qmailanalog/bin/zsuids
|
||||
%attr(644,root,root) /usr/local/qmailanalog/doc/ACCOUNTING
|
||||
%attr(644,root,root) /usr/local/qmailanalog/doc/MATCHUP
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/cat1/columnt.0
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/cat1/matchup.0
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/cat1/xqp.0
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/cat1/xrecipient.0
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/cat1/xsender.0
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/man1/columnt.1
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/man1/matchup.1
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/man1/xqp.1
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/man1/xrecipient.1
|
||||
%attr(644,root,root) /usr/local/qmailanalog/man/man1/xsender.1
|
Loading…
Reference in New Issue