]> git.pld-linux.org Git - packages/cyrus-imapd.git/commitdiff
- fix cyrus-imapd-shared.patch auto/th/cyrus-imapd-2_4_10-1
authorArtur Frysiak <artur@frysiak.net>
Sun, 31 Jul 2011 18:30:06 +0000 (18:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: patchutils (for lsdiff)

Changed files:
    cyrus-imapd-shared.patch -> 1.20
    cyrus-imapd.spec -> 1.152

cyrus-imapd-shared.patch
cyrus-imapd.spec

index b1d4f4b48428791a4644c050f5a00c73b47884d8..b80b2a7230e6806562c298c7d8220a9f9b231d6e 100644 (file)
  
  /*
   * Decrement the refcounts of the Perl SV's in the passed rock, then free the
---- cyrus-imapd-2.4.4/perl/imap/Makefile.PL    2010-11-30 07:53:22.211954414 +0200
-+++ cyrus-imapd-2.4.4-shared-patch//perl/imap/Makefile.PL      2010-11-29 08:40:48.980296564 +0200
-@@ -65,7 +65,7 @@
-     'clean'   => {'FILES' => 'libcyrperl.la cyradm'},
-     'OBJECT'    => 'IMAP.lo',
-     'MYEXTLIB'  => '../../lib/libcyrus.la ../../lib/libcyrus_min.la',
--    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto"],
-+    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto -L../../lib/.libs -lcyrus -lcyrus_min"],
-     'DEFINE'  => '-DPERL_POLLUTE',    # e.g., '-DHAVE_SOMETHING' 
-     'INC'     => "-I../../lib -I../.. -I../../com_err/et $SASL_INC $OPENSSL_INC", 
-     'EXE_FILES' => [cyradm],
 --- cyrus-imapd-2.4.4/perl/sieve/lib/Makefile.in       2010-11-30 07:53:22.211954414 +0200
 +++ cyrus-imapd-2.4.4-shared-patch//perl/sieve/lib/Makefile.in 2010-11-29 08:44:40.675056075 +0200
 @@ -49,7 +49,8 @@
  
  distclean: clean
        rm -f Makefile
---- cyrus-imapd-2.4.4/perl/sieve/managesieve/Makefile.PL       2010-11-30 07:53:22.211954414 +0200
-+++ cyrus-imapd-2.4.4-shared-patch//perl/sieve/managesieve/Makefile.PL 2010-11-29 08:46:22.825182931 +0200
-@@ -61,8 +61,8 @@
-     'NAME'    => 'Cyrus::SIEVE::managesieve',
-     'ABSTRACT'  => 'Cyurs Sieve management interface',
-     'VERSION_FROM' => 'managesieve.pm', # finds $VERSION
--    'MYEXTLIB'  => '../lib/isieve.lo ../lib/lex.lo ../lib/mystring.lo ../lib/request.lo ../../../lib/libcyrus.la ../../../lib/libcyrus_min.la',
--    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto"], 
-+    'MYEXTLIB'  => '../lib/isieve.o ../lib/lex.o ../lib/mystring.o ../lib/request.o',
-+    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto -L../../../lib/.libs -lcyrus -lcyrus_min"], 
-     'DEFINE'  => '-DPERL_POLLUTE',     # e.g., '-DHAVE_SOMETHING' 
-     'INC'     => "-I../lib/ -I../../../lib/ $SASL_INC $OPENSSL_INC",
- );
 --- cyrus-imapd-2.4.4/perl/sieve/managesieve/managesieve.xs    2010-11-30 07:53:22.211954414 +0200
 +++ cyrus-imapd-2.4.4-shared-patch//perl/sieve/managesieve/managesieve.xs      2010-11-29 08:14:14.304704736 +0200
 @@ -72,6 +72,7 @@
       COM_ERR_LIBS="-lcom_err"
       COM_ERR_CPPFLAGS="-I${with_com_err}/include"
       # Ever get the feeling people hide this stuff on purpose?
+--- cyrus-imapd-2.4.10/perl/sieve/managesieve/Makefile.PL.wiget        2011-07-04 17:05:01.000000000 +0200
++++ cyrus-imapd-2.4.10/perl/sieve/managesieve/Makefile.PL      2011-07-31 19:33:33.426399853 +0200
+@@ -61,8 +61,8 @@ WriteMakefile(
+     'NAME'    => 'Cyrus::SIEVE::managesieve',
+     'ABSTRACT'  => 'Cyurs Sieve management interface',
+     'VERSION_FROM' => 'managesieve.pm', # finds $VERSION
+-    'MYEXTLIB'  => '../lib/isieve.o ../lib/lex.o ../lib/mystring.o ../lib/request.o ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a',
+-    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto"], 
++    'MYEXTLIB'  => '../lib/isieve.o ../lib/lex.o ../lib/mystring.o ../lib/request.o',
++    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto -L../../../lib/.libs -lcyrus -lcyrus_min"], 
+     'DEFINE'  => '-DPERL_POLLUTE',     # e.g., '-DHAVE_SOMETHING' 
+     'INC'     => "-I../lib/ -I../../../lib/ $SASL_INC $OPENSSL_INC",
+ );
+--- cyrus-imapd-2.4.10/perl/imap/Makefile.PL.wiget     2011-07-04 17:05:01.000000000 +0200
++++ cyrus-imapd-2.4.10/perl/imap/Makefile.PL   2011-07-31 20:20:12.772972475 +0200
+@@ -73,8 +73,8 @@ WriteMakefile(
+     'macro'   => {'IMCLIENT_LIBS' => ''},     # hack
+     'clean'   => {'FILES' => 'libcyrperl.a cyradm'},
+     'OBJECT'    => 'IMAP.o',
+-    'MYEXTLIB'  => '../../lib/libcyrus.a ../../lib/libcyrus_min.a',
+-    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto"],
++    'MYEXTLIB'  => '',
++    'LIBS'    => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto -L../../lib/.libs -lcyrus -lcyrus_min"],
+     'DEFINE'  => '-DPERL_POLLUTE',    # e.g., '-DHAVE_SOMETHING' 
+     'INC'     => "-I../../lib -I../.. -I../../com_err/et $SASL_INC $OPENSSL_INC", 
+     'EXE_FILES' => [cyradm],
index 54aaccbbd286492daf4b0dc12b6fae78cc60febc..5fbbab9ff060e2175c7fe311ceee0e8039a37234 100644 (file)
@@ -43,6 +43,7 @@ BuildRequires:        libcom_err-devel >= 1.21
 BuildRequires: libtool
 BuildRequires: net-snmp-devel
 BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: patchutils
 %{?with_perl:BuildRequires:    perl-devel >= 1:5.8.0}
 %{?with_perl:BuildRequires:    rpm-perlprov}
 BuildRequires: rpmbuild(macros) >= 1.268
@@ -181,7 +182,7 @@ Cyrus-IMAP HTML documentation.
 %patch6 -p1
 %patch0 -p1
 %if %{with shared}
-lsdiff --strip 1 %{PATCH1} | xargs %{__sed} -i -e '
+lsdiff --strip 1 %{PATCH1} |grep -E '(configure.in|Makefile.in)'| xargs %{__sed} -i -e '
        s/\.o/.lo/g
        s/\.a/.la/g
 '
This page took 0.045475 seconds and 4 git commands to generate.