SHA256
1
0
forked from pool/msmtp

Accepting request 37844 from server:mail

Copy from server:mail/msmtp based on submit request 37844 from user puzel

OBS-URL: https://build.opensuse.org/request/show/37844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/msmtp?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-04-15 23:06:41 +00:00 committed by Git OBS Bridge
parent 2bcec1af65
commit 9a16796e25
4 changed files with 98 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6bf3f6f796041fc7d6653c022cc696238fdf8b2d538c4b2cd6c0aae5f056c66
size 820041

3
msmtp-1.4.20.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:328abd95370c6a5a9ea2fd38b55fc50d6fb3b03d96b3da40de2441650d53ebdb
size 845014

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Mar 21 11:03:36 UTC 2010 - pascal.bleser@opensuse.org
- update to version 1.4.20
- adds support for the authentication mechanism SCRAM-SHA-1 via
GNU SASL (only on openSUSE >= 11.2)
- the new command tls_fingerprint allows one to trust one
particular TLS certificate, in case tls_trust_file cannot be
used for some reason
- the new script msmtp-gnome-tool.py manages Gnome Keyring
passwords for msmtp (currently disabled in this build)
- moved documentation files to a -doc subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 20 15:28:11 UTC 2009 - mrueckert@suse.de Fri Nov 20 15:28:11 UTC 2009 - mrueckert@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package msmtp (Version 1.4.19) # spec file for package msmtp (Version 1.4.20)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -19,7 +19,7 @@
Name: msmtp Name: msmtp
Version: 1.4.19 Version: 1.4.20
Release: 1 Release: 1
# #
License: GPLv3+ License: GPLv3+
@ -27,16 +27,36 @@ Group: Productivity/Networking/Email/Utilities
# #
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libidn-devel openssl-devel BuildRequires: libidn-devel openssl-devel
%if 0%{?suse_version} >= 1120
BuildRequires: libgsasl-devel
%endif
# for the directory # for the directory
%if 0%{?centos_version}
BuildRequires: vim-common
Requires: vim-common
%else
%if 0%{?suse_version} < 1030
# old openSUSE and SLES and Fedora and RHEL:
BuildRequires: vim
Requires: vim
%else
# recent openSUSE:
BuildRequires: vim-base
Requires: vim-base Requires: vim-base
%endif #suse_version
%endif #centos_version
%if 0%{?suse_version} %if 0%{?suse_version}
PreReq: %install_info_prereq PreReq: %install_info_prereq
%endif %endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Requires(post): /sbin/install-info
Requires(preun):/sbin/install-info
%endif
# #
Url: http://msmtp.sourceforge.net/ Url: http://msmtp.sourceforge.net/
Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{version}.tar.bz2 Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{version}.tar.bz2
# #
Summary: An SMTP Client Summary: Lightweight SMTP Client
%description %description
msmtp is an SMTP client that can be used as a plug-in for Mutt and msmtp is an SMTP client that can be used as a plug-in for Mutt and
@ -45,10 +65,25 @@ the delivery. msmtp supports multiple accounts.
Authors: Authors:
-------- --------
Martin Lambers <marlam@marlam.de> Martin Lambers <marlam@marlam.de>
%package doc
License: GPLv3+
Summary: Documentation for %{name}
Group: Documentation/Other
Requires: %{name} = %{version}
%description doc
msmtp is an SMTP client that can be used as a plug-in for Mutt and
other mail user agents. It forwards mail to an SMTP server that does
the delivery. msmtp supports multiple accounts.
This subpackage contains the documentation for %{name}, including
examples and sample configuration files.
%prep %prep
%setup -q %setup -q
@ -56,8 +91,8 @@ Authors:
%if 0%{?suse_version} > 1000 %if 0%{?suse_version} > 1000
export CFLAGS="%{optflags} -fstack-protector" export CFLAGS="%{optflags} -fstack-protector"
%endif %endif
%configure --docdir=%{_docdir}/%{name} --with-ssl=openssl %configure --docdir="%{_docdir}/%{name}" --with-ssl=openssl
%{__make} %__make %{?jobs:-j%{jobs}}
%install %install
%makeinstall %makeinstall
@ -77,22 +112,52 @@ done
scripts/vim/msmtp.vim \ scripts/vim/msmtp.vim \
%{buildroot}%{_datadir}/vim/current/syntax/msmtp.vim %{buildroot}%{_datadir}/vim/current/syntax/msmtp.vim
# main package doc files
for f in \
COPYING\
; do
%__install -D -m0644 "$f" "%{buildroot}%{_docdir}/%{name}/$f"
done
# doc files
echo -n >docfiles.lst
for f in \
AUTHORS ChangeLog* NEWS README README.msmtpqueue README.msmtpq THANKS \
doc/msmtp.html doc/Mutt+msmtp.txt doc/*.example \
scripts/set_sendmail/set_sendmail.conf \
; do
ff="${f##*/}"
%__install -D -m0644 "$f" "%{buildroot}%{_docdir}/%{name}/$ff"
echo "%doc %{_docdir}/%{name}/$ff" >>docfiles.lst
done
# not properly ignored on Fedora 10:
%__rm -f "%{buildroot}%{_infodir}/dir"
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%if 0%{?suse_version} %if 0%{?suse_version}
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/msmtp.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/msmtp.info%{ext_info}
%postun %postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/msmtp.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/msmtp.info%{ext_info}
%endif %endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
%post
[ "$1" = "1" ] && /sbin/install-info "%{_infodir}/%{name}.info%{ext_info}" || :
%preun
[ "$1" = "0" ] && /sbin/install-info --delete "%{_infodir}/%{name}.info%{ext_info}" || :
%endif # fedora
%files -f %{name}.lang %files -f %{name}.lang
%defattr (-, root, root) %defattr (-, root, root)
%doc AUTHORS ChangeLog* COPYING NEWS README README.msmtpqueue README.msmtpq THANKS %doc %dir %{_docdir}/%{name}
%doc doc/msmtp.html doc/Mutt+msmtp.txt doc/*.example %doc %{_docdir}/%{name}/COPYING
%doc scripts/set_sendmail/set_sendmail.conf
%{_bindir}/msmtp %{_bindir}/msmtp
%{_bindir}/msmtpq %{_bindir}/msmtpq
%{_bindir}/msmtpQ %{_bindir}/msmtpQ
@ -101,8 +166,12 @@ done
%{_bindir}/msmtp-listqueue.sh %{_bindir}/msmtp-listqueue.sh
%{_bindir}/set_sendmail.sh %{_bindir}/set_sendmail.sh
%{_bindir}/find_alias_for_msmtp.sh %{_bindir}/find_alias_for_msmtp.sh
%{_mandir}/man1/msmtp.1* %{_mandir}/man1/msmtp.1%{ext_man}
%{_infodir}/msmtp.info* %{_infodir}/msmtp.info%{ext_info}
%{_datadir}/vim/current/syntax/msmtp.vim %{_datadir}/vim/current/syntax/msmtp.vim
%files doc -f docfiles.lst
%defattr (-, root, root)
%doc %dir %{_docdir}/%{name}
%changelog %changelog