parent
47160096a5
commit
f1628ed761
22
mutt-1.9.5-nodotlock.patch
Normal file
22
mutt-1.9.5-nodotlock.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff -up mutt-1.9.5/configure.ac.nodotlock mutt-1.9.5/configure.ac
|
||||||
|
--- mutt-1.9.5/configure.ac.nodotlock 2018-04-18 17:30:32.856796564 +0200
|
||||||
|
+++ mutt-1.9.5/configure.ac 2018-04-18 17:33:07.047923724 +0200
|
||||||
|
@@ -524,9 +524,7 @@ int main (int argc, char **argv)
|
||||||
|
}]])],[mutt_cv_worldwrite=yes],[mutt_cv_worldwrite=no],[mutt_cv_worldwrite=no])])
|
||||||
|
|
||||||
|
mutt_cv_setgid=no
|
||||||
|
- if test $mutt_cv_worldwrite = yes; then
|
||||||
|
- AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ])
|
||||||
|
- else
|
||||||
|
+ if test $mutt_cv_worldwrite != yes; then
|
||||||
|
|
||||||
|
AC_CACHE_CHECK(if $mutt_cv_mailpath is group writable, mutt_cv_groupwrite, [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
@@ -542,7 +540,6 @@ int main (int argc, char **argv)
|
||||||
|
}]])],[mutt_cv_groupwrite=yes],[mutt_cv_groupwrite=no],[mutt_cv_groupwrite=no])])
|
||||||
|
|
||||||
|
if test $mutt_cv_groupwrite = yes; then
|
||||||
|
- AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ])
|
||||||
|
AC_DEFINE(USE_SETGID,1,[ Define if mutt should run setgid "mail". ])
|
||||||
|
mutt_cv_setgid=yes
|
||||||
|
fi
|
10
mutt.spec
10
mutt.spec
@ -20,7 +20,7 @@
|
|||||||
Summary: A text mode mail user agent
|
Summary: A text mode mail user agent
|
||||||
Name: mutt
|
Name: mutt
|
||||||
Version: 1.9.5
|
Version: 1.9.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 5
|
Epoch: 5
|
||||||
# The entire source code is GPLv2+ except
|
# The entire source code is GPLv2+ except
|
||||||
# pgpewrap.c setenv.c sha1.c wcwidth.c which are Public Domain
|
# pgpewrap.c setenv.c sha1.c wcwidth.c which are Public Domain
|
||||||
@ -38,6 +38,7 @@ Patch8: mutt-1.5.23-system_certs.patch
|
|||||||
Patch9: mutt-1.9.0-ssl_ciphers.patch
|
Patch9: mutt-1.9.0-ssl_ciphers.patch
|
||||||
Patch10: mutt-1.9.4-lynx_no_backscapes.patch
|
Patch10: mutt-1.9.4-lynx_no_backscapes.patch
|
||||||
Patch11: mutt-1.9.5-add_libidn2_support.patch
|
Patch11: mutt-1.9.5-add_libidn2_support.patch
|
||||||
|
Patch12: mutt-1.9.5-nodotlock.patch
|
||||||
Url: http://www.mutt.org
|
Url: http://www.mutt.org
|
||||||
Requires: mailcap, urlview
|
Requires: mailcap, urlview
|
||||||
BuildRequires: ncurses-devel, gettext, automake
|
BuildRequires: ncurses-devel, gettext, automake
|
||||||
@ -84,6 +85,7 @@ sed -i -r 's|install-exec-hook|my-useless-label|' Makefile.am
|
|||||||
|
|
||||||
%patch10 -p1 -b .lynx_no_backscapes
|
%patch10 -p1 -b .lynx_no_backscapes
|
||||||
%patch11 -p1 -b .add_libidn2_support
|
%patch11 -p1 -b .add_libidn2_support
|
||||||
|
%patch12 -p1 -b .nodotlock
|
||||||
|
|
||||||
autoreconf --install
|
autoreconf --install
|
||||||
%patch1 -p1 -b .muttrc
|
%patch1 -p1 -b .muttrc
|
||||||
@ -93,8 +95,6 @@ autoreconf --install
|
|||||||
%patch9 -p1 -b .ssl_ciphers
|
%patch9 -p1 -b .ssl_ciphers
|
||||||
|
|
||||||
sed -i -r 's/`$GPGME_CONFIG --libs`/"\0 -lgpg-error"/' configure
|
sed -i -r 's/`$GPGME_CONFIG --libs`/"\0 -lgpg-error"/' configure
|
||||||
# disable mutt_dotlock program - remove support from mutt binary
|
|
||||||
sed -i -r 's|^(.*USE_DOTLOCK.*)$|//\1|' configure
|
|
||||||
|
|
||||||
install -p -m644 %{SOURCE1} mutt_ldap_query
|
install -p -m644 %{SOURCE1} mutt_ldap_query
|
||||||
|
|
||||||
@ -207,6 +207,10 @@ ln -sf ./muttrc.5 %{buildroot}%{_mandir}/man5/muttrc.local.5
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 19 2018 Matej Mužila <mmuzila@redhat.com> - 5:1.9.5-4
|
||||||
|
- Disable dotlock by patch instead of sed
|
||||||
|
- Resolves: #1568597
|
||||||
|
|
||||||
* Wed Apr 18 2018 Matej Mužila <mmuzila@redhat.com> - 5:1.9.5-3
|
* Wed Apr 18 2018 Matej Mužila <mmuzila@redhat.com> - 5:1.9.5-3
|
||||||
- Apply patches of autoreconf related configuration files before running
|
- Apply patches of autoreconf related configuration files before running
|
||||||
autoreconf
|
autoreconf
|
||||||
|
Loading…
Reference in New Issue
Block a user