Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37514291
en ru br
Репозитории ALT
S:2.64-alt3.1
5.1: 2.62.2-alt10.M51.11
4.1: 2.60.9-alt4
4.0: 2.60.9-alt3.1
3.0: 2.60.9-alt2.3
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: ssmtp

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: ssmtp
Summary: ssmtp - extremely simple MTA to get mail off the system to a mail hub
Version: 2.64
Release: alt3
License: GPL
Group: System/Servers
BuildRequires: libssl-devel
Packager: Denis Smirnov <mithraen at altlinux.ru>
Url: http://packages.qa.debian.org/s/ssmtp.html
Source: %name-%version-%release.tar
Conflicts: sendmail sendmail-submit
Conflicts: postfix
Conflicts: masqmail
Conflicts: exim exim-common
Provides: MTA
Requires: ssmtp-common = %version-%release

%package common
Summary: ssmtp - common files
Group: System/Servers
Conflicts: exim-common
Requires: sendmail-common %_sbindir/mailq %_sbindir/newaliases

%description common
extremely simple MTA to get mail off the system to a mail hub
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.


%package docs
Summary: ssmtp documentation
Group: System/Servers

%description docs
extremely simple MTA to get mail off the system to a mail hub
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.


%package ssl
Summary: ssmtp - extremely simple MTA to get mail off the system to a mail hub
Group: System/Servers
Provides: ssmtp
Conflicts: sendmail sendmail-submit
Conflicts: postfix
Conflicts: masqmail
Conflicts: exim exim-common
Requires: ssmtp-common = %version-%release

%description ssl
extremely simple MTA to get mail off the system to a mail hub
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
extremely simple MTA to get mail off the system to a mail hub
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.


%prep
%setup
mkdir nossl
cp * nossl/ ||:
cp -a debian md5auth nossl/ ||:

%build
%autoreconf
%configure --enable-ssl --enable-md5auth --enable-inet6
%make_build
cd nossl/
%configure --disable-ssl --enable-md5auth --enable-inet6
%make_build

%install
mkdir -p %buildroot{%_sbindir,%_sysconfdir/%name,%_man8dir}
install %name %buildroot%_sbindir/%name-ssl
install nossl/%name %buildroot%_sbindir/%name
install -m 644 %name.conf %buildroot%_sysconfdir/%name
install -m 644 revaliases %buildroot%_sysconfdir/%name
install -m 644 %name.8 %buildroot%_man8dir
ln -sf %_sbindir/%name %buildroot%_sbindir/sendmail

%preun ssl
rm -f %_sbindir/sendmail

%post ssl
ln -sf %_sbindir/%name-ssl %_sbindir/sendmail

%files
%_sbindir/sendmail
%_sbindir/%name

%files common
%config(noreplace) %_sysconfdir/%name
%_man8dir/*

%files docs
%doc README TLS CHANGELOG_OLD INSTALL COPYING debian/changelog

%files ssl
%ghost %_sbindir/sendmail
%_sbindir/%name-ssl

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin