]> git.pld-linux.org Git - packages/ssmtp.git/blob - ssmtp.spec
- enabled ssl
[packages/ssmtp.git] / ssmtp.spec
1 Summary:        Extremely simple MTA to get mail off the system to a mail hub
2 Summary(pl.UTF-8):      Skrajnie prosty MTA do przekazywania poczty z systemu do huba
3 Name:           ssmtp
4 Version:        2.64
5 Release:        2
6 License:        GPL
7 Group:          Networking/Daemons/SMTP
8 Source0:        http://http.us.debian.org/debian/pool/main/s/ssmtp/%{name}_%{version}.orig.tar.bz2
9 # Source0-md5:  65b4e0df4934a6cd08c506cabcbe584f
10 Patch0:         %{name}-nonsl.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  openssl-devel
14 Provides:       smtpdaemon
15 Obsoletes:      courier
16 Obsoletes:      exim
17 Obsoletes:      masqmail
18 Obsoletes:      omta
19 Obsoletes:      qmail
20 Obsoletes:      sendmail
21 Obsoletes:      sendmail-cf
22 Obsoletes:      sendmail-doc
23 Obsoletes:      smail
24 Obsoletes:      smtpdaemon
25 Obsoletes:      zmailer
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 A secure, effective and simple way of getting mail off a system to
30 your mail hub. It contains no suid-binaries or other dangerous things
31 - no mail spool to poke around in, and no daemons running in the
32   background. Mail is simply forwarded to the configured mailhost.
33   Extremely easy configuration. WARNING: the above is all it does; it
34   does not receive mail, expand aliases or manage a queue. That belongs
35   on a mail hub with a system administrator.
36
37 %description -l pl.UTF-8
38 Bezpieczny, efektywny i prosty sposób przekazywania poczty z systemu
39 do własnego huba pocztowego. Nie zawiera suidowych binarek ani innych
40 niebezpiecznych rzeczy - nie ma spoola do wpychania czegokolwiek ani
41 demonów działających w tle. Poczta jest po prostu przekazywana do
42 zewnętrznego, skonfigurowanego serwera pocztowego. Skrajnie prosta
43 konfiguracja. UWAGA: powyższe to wszystko, co robi ten program; nie
44 odbiera poczty, nie rozwija aliasów ani nie zarządza kolejką. To
45 należy do huba pocztowego z własnym administratorem.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 rm -f missing
53 %{__aclocal}
54 %{__autoconf}
55 %configure \
56         --enable-ssl
57
58 %{__make} \
59         SSMTPCONFDIR=%{_sysconfdir}/mail
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/mail,%{_prefix}/lib}
64
65 install ssmtp $RPM_BUILD_ROOT%{_sbindir}/ssmtp
66 install ssmtp.8 $RPM_BUILD_ROOT%{_mandir}/man8/ssmtp.8
67 install ssmtp.conf revaliases $RPM_BUILD_ROOT%{_sysconfdir}/mail
68 ln -sf %{_sbindir}/ssmtp $RPM_BUILD_ROOT%{_prefix}/lib/sendmail
69 ln -sf ssmtp $RPM_BUILD_ROOT%{_sbindir}/sendmail
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc README TLS
77 %attr(755,root,root) %{_sbindir}/*
78 %attr(755,root,root) %{_prefix}/lib/sendmail
79 %dir %{_sysconfdir}/mail
80 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/ssmtp.conf
81 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/revaliases
82 %{_mandir}/man8/ssmtp*
This page took 0.055285 seconds and 4 git commands to generate.