Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 3eb851844a446bd3305e0dd209908a41 > files > 3

rblcheck-1.5-2mdk.src.rpm

%define	name	rblcheck
%define	version	1.5
%define	release	2mdk

Summary:	A program for performing checks against RBL-style blacklists.
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Networking/Other
URL:		http://rblcheck.sourceforge.net/
Source0:	%{name}-%{version}.tar.bz2
Patch0:		%{name}-%{version}-sites.patch.bz2
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
Rblcheck is a lightweight C program for performing checks against
RBL-style IP address blacklists. It works well in conjunction with
Procmail for filtering unwanted bulk email. 

This package also includes several tools that try to extract an
originating IP address from e-mail header.

See %{_bindir}/origip-* and the documentation

%prep

%setup -q -n %{name}-%{version}
%patch0 -p1

%build
#export CFLAGS="%{optflags}"
#LDLIBS=-lresolv make 
%configure

%make

%make -C utils/qmail

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_bindir}
install -m755 rblcheck %{buildroot}%{_bindir}/
install -m755 utils/qmail/origip.awk %{buildroot}%{_bindir}/origip-qmail.awk
install -m755 utils/qmail/origip %{buildroot}%{_bindir}/origip-qmail
install -m755 utils/sendmail/origip.pl %{buildroot}%{_bindir}/origip-sendmail.pl

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README docs/rblcheck.* utils/test*.sh
%{_bindir}/rblcheck
%{_bindir}/origip-*

%changelog
* Sun Aug  4 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.5-2mdk
- rebuilt with gcc-3.2

* Mon May 20 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.5-1mdk
- new version
- rebuilt with gcc3.1
- added P0

* Wed Nov 28 2001 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.4-1mdk
- initial cooker contrib
- added P0