Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37048354
en ru br
ALT Linux repos
5.0: 0.8.7-alt1
4.1: 0.8.5-alt1.1
4.0: 0.8.3.4-alt1

Group :: System/Servers
RPM: greylistd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: greylistd
Version: 0.8.3.4
Release: alt1

Summary: Greylisting daemon for use with Exim
License: GPL
Group: System/Servers
URL: http://packages.debian.org/unstable/mail/greylistd
Source: http://ftp.debian.org/debian/pool/main/g/greylistd/greylistd_%version.tar.gz
Source1: greylistd.init
Patch: greylistd.patch

BuildArch: noarch

%description
This daemon provides a simple greylisting implementation for use with
the Exim Mail Transport Agent (MTA).

This daemon listens for sender and recipient data on a UNIX domain
socket. Your MTA would query the daemon during the incoming SMTP
transaction, and accept or defer the incoming message depending on its
response.

%prep
%setup -q
%patch -p1

%build
# We set "mail:mail" as owner of program socket:
%__subst 's/greylist:greylist/mail:mail/' program/greylistd

%install
install -pD -m755 program/greylist %buildroot%_bindir/greylist
install -pD -m755 program/greylistd %buildroot%_sbindir/greylistd
install -pD -m644 doc/man1/greylist.1 %buildroot%_man1dir/greylist.1
install -pD -m644 doc/man8/greylistd.8 %buildroot%_man8dir/greylistd.8
install -pD -m644 config/config %buildroot%_sysconfdir/%name/config
install -pD -m644 config/whitelist-hosts %buildroot%_sysconfdir/%name/whitelist-hosts
install -pD -m755 %_sourcedir/greylistd.init %buildroot%_initdir/greylistd

install -d %buildroot/var/lib/greylistd
install -d %buildroot/var/run/greylistd

%files
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/*
%_initdir/*
%_bindir/*
%_sbindir/*
%_man1dir/*
%_man8dir/*
%dir %attr(3775,root,mail) /var/lib/greylistd
%dir %attr(3775,root,mail) /var/run/greylistd
%doc doc/examples/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin