packages: ssmtp/ssmtp.spec - added -base subpackage, main subpackage contai...
wiget
wiget at pld-linux.org
Thu Feb 2 10:36:59 CET 2012
Author: wiget Date: Thu Feb 2 09:36:59 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- added -base subpackage, main subpackage contains only sendmail compatibility symlinks
- added ssmtp.conf man page
- rel. 4
---- Files affected:
packages/ssmtp:
ssmtp.spec (1.25 -> 1.26)
---- Diffs:
================================================================
Index: packages/ssmtp/ssmtp.spec
diff -u packages/ssmtp/ssmtp.spec:1.25 packages/ssmtp/ssmtp.spec:1.26
--- packages/ssmtp/ssmtp.spec:1.25 Wed Jul 20 10:44:17 2011
+++ packages/ssmtp/ssmtp.spec Thu Feb 2 10:36:54 2012
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Skrajnie prosty MTA do przekazywania poczty z systemu do huba
Name: ssmtp
Version: 2.64
-Release: 3
+Release: 4
License: GPL
Group: Networking/Daemons/SMTP
Source0: http://http.us.debian.org/debian/pool/main/s/ssmtp/%{name}_%{version}.orig.tar.bz2
@@ -13,6 +13,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: openssl-devel
+Requires: %{name}-base = %{version}-%{release}
Provides: smtpdaemon
Obsoletes: courier
Obsoletes: exim
@@ -46,6 +47,30 @@
odbiera poczty, nie rozwija aliasów ani nie zarządza kolejką. To
należy do huba pocztowego z własnym administratorem.
+%package base
+Summary: Extremely simple MTA to get mail off the system to a mail hub
+Summary(pl.UTF-8): Skrajnie prosty MTA do przekazywania poczty z systemu do huba
+Group: Networking/Daemons/SMTP
+
+%description base
+A secure, effective and simple way of getting mail off a system to
+your mail hub. It contains no suid-binaries or other dangerous things
+- no mail spool to poke around in, and no daemons running in the
+ background. Mail is simply forwarded to the configured mailhost.
+ Extremely easy configuration. WARNING: the above is all it does; it
+ does not receive mail, expand aliases or manage a queue. That belongs
+ on a mail hub with a system administrator.
+
+%description base -l pl.UTF-8
+Bezpieczny, efektywny i prosty sposób przekazywania poczty z systemu
+do własnego huba pocztowego. Nie zawiera suidowych binarek ani innych
+niebezpiecznych rzeczy - nie ma spoola do wpychania czegokolwiek ani
+demonów działających w tle. Poczta jest po prostu przekazywana do
+zewnętrznego, skonfigurowanego serwera pocztowego. Skrajnie prosta
+konfiguracja. UWAGA: powyższe to wszystko, co robi ten program; nie
+odbiera poczty, nie rozwija aliasów ani nie zarządza kolejką. To
+należy do huba pocztowego z własnym administratorem.
+
%prep
%setup -q
%patch0 -p1
@@ -63,10 +88,11 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/mail,%{_prefix}/lib}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},%{_sysconfdir}/mail,%{_prefix}/lib}
install ssmtp $RPM_BUILD_ROOT%{_sbindir}/ssmtp
install ssmtp.8 $RPM_BUILD_ROOT%{_mandir}/man8/ssmtp.8
+install ssmtp.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/ssmtp.conf.5
install ssmtp.conf revaliases $RPM_BUILD_ROOT%{_sysconfdir}/mail
ln -sf %{_sbindir}/ssmtp $RPM_BUILD_ROOT%{_prefix}/lib/sendmail
ln -sf ssmtp $RPM_BUILD_ROOT%{_sbindir}/sendmail
@@ -76,13 +102,18 @@
%files
%defattr(644,root,root,755)
-%doc README TLS
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/sendmail
%attr(755,root,root) %{_prefix}/lib/sendmail
+
+%files base
+%defattr(644,root,root,755)
+%doc README TLS
+%attr(755,root,root) %{_sbindir}/ssmtp
%dir %{_sysconfdir}/mail
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/ssmtp.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/revaliases
-%{_mandir}/man8/ssmtp*
+%{_mandir}/man8/ssmtp.8*
+%{_mandir}/man5/ssmtp.conf.5*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -90,6 +121,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.26 2012/02/02 09:36:54 wiget
+- added -base subpackage, main subpackage contains only sendmail compatibility symlinks
+- added ssmtp.conf man page
+- rel. 4
+
Revision 1.25 2011/07/20 08:44:17 dzeus
- fixed --enable-ssl build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ssmtp/ssmtp.spec?r1=1.25&r2=1.26&f=u
More information about the pld-cvs-commit
mailing list