|
|
|
@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE] |
|
|
|
Group: Mail |
|
|
|
Group: Mail |
|
|
|
License: GPL |
|
|
|
License: GPL |
|
|
|
Version: 2.48 |
|
|
|
Version: 2.48 |
|
|
|
Release: 20030409 |
|
|
|
Release: 20030530 |
|
|
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
# list of sources |
|
|
|
Source0: ftp://metalab.unc.edu/pub/Linux/system/mail/mta/ssmtp-%{version}.tar.gz |
|
|
|
Source0: ftp://metalab.unc.edu/pub/Linux/system/mail/mta/ssmtp-%{version}.tar.gz |
|
|
|
@ -43,8 +43,8 @@ Patch0: ssmtp.patch |
|
|
|
# build information |
|
|
|
# build information |
|
|
|
Prefix: %{l_prefix} |
|
|
|
Prefix: %{l_prefix} |
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, make, gcc |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20030516, make, gcc |
|
|
|
PreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
PreReq: OpenPKG, openpkg >= 20030516 |
|
|
|
AutoReq: no |
|
|
|
AutoReq: no |
|
|
|
AutoReqProv: no |
|
|
|
AutoReqProv: no |
|
|
|
Provides: MTA |
|
|
|
Provides: MTA |
|
|
|
@ -62,7 +62,7 @@ Conflicts: sendmail, exim, postfix |
|
|
|
%setup -q |
|
|
|
%setup -q |
|
|
|
rm -rf RCS |
|
|
|
rm -rf RCS |
|
|
|
%patch0 -p0 |
|
|
|
%patch0 -p0 |
|
|
|
rm config.cache |
|
|
|
rm -f config.cache |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
CC="%{l_cc}" \ |
|
|
|
CC="%{l_cc}" \ |
|
|
|
@ -83,7 +83,6 @@ Conflicts: sendmail, exim, postfix |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/ssmtp |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/ssmtp |
|
|
|
%{l_shtool} install -c -s -m 755 \ |
|
|
|
%{l_shtool} install -c -s -m 755 \ |
|
|
|
ssmtp $RPM_BUILD_ROOT%{l_prefix}/sbin/ |
|
|
|
ssmtp $RPM_BUILD_ROOT%{l_prefix}/sbin/ |
|
|
|
chmod u+w ssmtp.8 |
|
|
|
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
-e 's;.B ssmtp;.B %{l_prefix}/sbin/ssmtp;' \ |
|
|
|
-e 's;.B ssmtp;.B %{l_prefix}/sbin/ssmtp;' \ |
|
|
|
-e 's;.B /usr/lib/sendmail;.B %{l_prefix}/sbin/sendmail;' \ |
|
|
|
-e 's;.B /usr/lib/sendmail;.B %{l_prefix}/sbin/sendmail;' \ |
|
|
|
|