Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
qmail-spp-plugins
> qmail-spp-plugins.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qmail-spp-plugins.spec of Package qmail-spp-plugins (Revision 5)
Currently displaying revision
5
,
show latest
%define qdir /var/qmail Name: qmail-spp-plugins Version: 0.1 Release: 1 Url: http://qmail-spp.sourceforge.net/plugins/ Summary: qmail-spp plugin collection Group: Productivity/Networking/Email/Servers License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root/ Source0: checkmx2.c Source1: helodnscheck2.c Source2: ext_log.c BuildRequires: gcc Requires: netqmail %description A collection of simple qmail-spp plugins: checkmx2 helodnscheck2 ext_log %prep %build %__install -m 0755 -d %{buildroot}%{qdir}/plugins %__install -m 0755 -d %{buildroot}%{qdir}/supervise/qmail-smtpd/env gcc -o %{buildroot}%{qdir}/plugins/checkmx -lresolv %{S:0} gcc -o %{buildroot}%{qdir}/plugins/helodnscheck -lresolv %{S:1} gcc -o %{buildroot}%{qdir}/plugins/ext_log %{S:2} strip %{buildroot}%{qdir}/plugins/checkmx strip %{buildroot}%{qdir}/plugins/helodnscheck strip %{buildroot}%{qdir}/plugins/ext_log echo "DLHR" > %{buildroot}%{qdir}/supervise/qmail-smtpd/env/HELO_DNS_CHECK %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{qdir}/plugins/* %attr(-,qmaill,qmail) %{qdir}/supervise/qmail-smtpd/env/HELO_DNS_CHECK