[packages/mailsync] Up to 5.2.7
arekm
arekm at pld-linux.org
Fri Nov 27 22:00:21 CET 2026
commit bd25b2fa9d8614fb8c5f23523e600611dcf36f52
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:55:01 2026 +0100
Up to 5.2.7
mailsync-ksh.patch | 38 ++------------------------------------
mailsync.spec | 22 ++++++++++++----------
x32.patch | 32 +++++---------------------------
3 files changed, 19 insertions(+), 73 deletions(-)
---
diff --git a/mailsync.spec b/mailsync.spec
index 128fbf7..77882c2 100644
--- a/mailsync.spec
+++ b/mailsync.spec
@@ -1,12 +1,12 @@
Summary: MailSync - synchronizing a collection of mailboxes
Summary(pl.UTF-8): MailSync - synchronizacja zbioru skrzynek pocztowych
Name: mailsync
-Version: 5.2.1
-Release: 16
+Version: 5.2.7
+Release: 1
License: GPL
Group: Applications/Mail
-Source0: http://dl.sourceforge.net/%{name}/%{name}_%{version}.orig.tar.gz
-# Source0-md5: 67c9f68575756b76581cf9be74608aa5
+Source0: https://dl.sourceforge.net/%{name}/%{name}_%{version}-1.tar.gz
+# Source0-md5: 5e34e21640ddbbddd99306e020ffa409
Patch0: %{name}-ksh.patch
Patch1: x32.patch
URL: http://mailsync.sourceforge.net/
@@ -15,7 +15,7 @@ BuildRequires: automake
BuildRequires: imap-devel >= 2004
#BuildRequires: heimdal-devel
BuildRequires: libstdc++-devel
-BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: libxcrypt-devel
#BuildRequires: pam-devel
Requires: imap-lib >= 2004
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,14 +37,16 @@ skrzynkami. Działa to na tej samej zasadzie co CVS, z wyjątkiem tego,
że nie występują konflikty.
%prep
-%setup -q
-%patch -P0 -p0
+%setup -q -n %{name}
+%patch -P0 -p1
%patch -P1 -p1
%build
-./autogen.sh
-%configure \
- --with-openssl
+%{__aclocal} -I acinclude
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+%configure
%{__make}
diff --git a/mailsync-ksh.patch b/mailsync-ksh.patch
index b9efa46..c5f1285 100644
--- a/mailsync-ksh.patch
+++ b/mailsync-ksh.patch
@@ -1,6 +1,5 @@
-diff -ur acinclude.orig/ac_with_cclient.m4 acinclude/ac_with_cclient.m4
---- acinclude.orig/ac_with_cclient.m4 2004-06-09 19:24:00.000000000 +0200
-+++ acinclude/ac_with_cclient.m4 2007-01-01 01:56:47.000000000 +0100
+--- mailsync/acinclude/ac_with_cclient.m4.orig
++++ mailsync/acinclude/ac_with_cclient.m4
@@ -20,6 +20,7 @@
fi
]
@@ -9,36 +8,3 @@ diff -ur acinclude.orig/ac_with_cclient.m4 acinclude/ac_with_cclient.m4
if test -z "${CCLIENTLOCATIONS}" ; then
ifelse([$2], , :, [$2])
else
-diff -ur acinclude.orig/ac_with_krb5.m4 acinclude/ac_with_krb5.m4
---- acinclude.orig/ac_with_krb5.m4 2003-01-24 00:56:17.000000000 +0100
-+++ acinclude/ac_with_krb5.m4 2007-01-01 01:56:41.000000000 +0100
-@@ -18,6 +18,7 @@
- fi
- ]
- )
-+ case `(set -o) 2>/dev/null` in *braceexpand*) set -o braceexpand;; esac
- if test -z "${KRB5LOCATIONS}" ; then
- ifelse([$2], , :, [$2])
- else
-diff -ur acinclude.orig/ac_with_openssl.m4 acinclude/ac_with_openssl.m4
---- acinclude.orig/ac_with_openssl.m4 2003-04-22 12:26:34.000000000 +0200
-+++ acinclude/ac_with_openssl.m4 2007-01-01 01:56:35.000000000 +0100
-@@ -18,6 +18,7 @@
- fi
- ]
- )
-+ case `(set -o) 2>/dev/null` in *braceexpand*) set -o braceexpand;; esac
- if test -z "${OPENSSLLOCATIONS}" ; then
- ifelse([$2], , :, [$2])
- else
-diff -ur acinclude.orig/ac_with_pam.m4 acinclude/ac_with_pam.m4
---- acinclude.orig/ac_with_pam.m4 2003-04-22 12:27:10.000000000 +0200
-+++ acinclude/ac_with_pam.m4 2007-01-01 01:56:53.000000000 +0100
-@@ -17,6 +17,7 @@
- fi
- ]
- )
-+ case `(set -o) 2>/dev/null` in *braceexpand*) set -o braceexpand;; esac
- if test -z "${PAMLOCATIONS}" ; then
- ifelse([$2], , :, [$2])
- else
diff --git a/x32.patch b/x32.patch
index b0c9d2e..fc4187e 100644
--- a/x32.patch
+++ b/x32.patch
@@ -1,33 +1,11 @@
---- mailsync-5.2.1/acinclude/ac_with_cclient.m4~ 2026-05-08 11:29:50.000000000 +0200
-+++ mailsync-5.2.1/acinclude/ac_with_cclient.m4 2026-05-08 11:33:02.530014979 +0200
-@@ -49,7 +49,7 @@
+--- mailsync/acinclude/ac_with_cclient.m4.orig
++++ mailsync/acinclude/ac_with_cclient.m4
+@@ -46,7 +46,7 @@
dnl Looking for c-client libraries
dnl
AC_MSG_CHECKING([for c-client library])
-- for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64}/{libc-client,libc-client4,c-client}{${SOP}}"` ; do
-+ for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64,/libx32}/{libc-client,libc-client4,c-client}{${SOP}}"` ; do
+- for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64}/{libc-client,libc-client4,c-client}.so"` ; do
++ for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64,/libx32}/{libc-client,libc-client4,c-client}.so"` ; do
if test -r "$l" ; then
AC_MSG_RESULT([found ${l}])
CCLIENT_LIBS="$l"
---- mailsync-5.2.1/acinclude/ac_with_openssl.m4~ 2026-05-08 11:34:30.000000000 +0200
-+++ mailsync-5.2.1/acinclude/ac_with_openssl.m4 2026-05-08 11:36:53.546681713 +0200
-@@ -23,7 +23,7 @@
- ifelse([$2], , :, [$2])
- else
- AC_MSG_CHECKING([for libssl])
-- for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
-+ for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64,/libx32}"` ; do
- if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
- OPENSSL_LDFLAGS="-L${p}"
- AC_MSG_RESULT([found in ${p}])
---- mailsync-5.2.1/acinclude/ac_with_pam.m4~ 2026-05-08 11:34:30.000000000 +0200
-+++ mailsync-5.2.1/acinclude/ac_with_pam.m4 2026-05-08 11:37:07.216681724 +0200
-@@ -22,7 +22,7 @@
- ifelse([$2], , :, [$2])
- else
- AC_MSG_CHECKING([for pam library])
-- for p in `eval "echo {${PAMLOCATIONS}}{/lib,/lib64}"` ; do
-+ for p in `eval "echo {${PAMLOCATIONS}}{/lib,/lib64,/libx32}"` ; do
- if test -r "${p}/libpam.a" -o -r "${p}/libpam.so" ; then
- PAM_LDFLAGS="-L${p}"
- AC_MSG_RESULT([found in ${p}])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mailsync.git/commitdiff/bd25b2fa9d8614fb8c5f23523e600611dcf36f52
More information about the pld-cvs-commit
mailing list