[arch-commits] Commit in alpine/repos (5 files)

Eric Bélanger eric at archlinux.org
Sat Sep 19 01:09:31 UTC 2009


    Date: Friday, September 18, 2009 @ 21:09:31
  Author: eric
Revision: 52365

Merged revisions 52231,52363 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/alpine/trunk

........
  r52231 | allan | 2009-09-16 22:47:25 -0400 (Wed, 16 Sep 2009) | 2 lines
  
  upgpkg: alpine 2.00-4
      libldap rebuild
........
  r52363 | eric | 2009-09-18 20:56:27 -0400 (Fri, 18 Sep 2009) | 2 lines
  
  upgpkg: alpine 2.00-5
      Updated patchset to level 52, Security fix
........

Added:
  alpine/repos/extra-i686/2.00-lpam.patch
    (from rev 52363, alpine/trunk/2.00-lpam.patch)
  alpine/repos/extra-i686/CVE-2008-5514.patch
    (from rev 52363, alpine/trunk/CVE-2008-5514.patch)
Modified:
  alpine/repos/extra-i686/	(properties)
  alpine/repos/extra-i686/ChangeLog
  alpine/repos/extra-i686/PKGBUILD

---------------------+
 2.00-lpam.patch     |   13 +++++++++++++
 CVE-2008-5514.patch |   20 ++++++++++++++++++++
 ChangeLog           |   13 ++++++++++++-
 PKGBUILD            |   23 +++++++++++++----------
 4 files changed, 58 insertions(+), 11 deletions(-)


Property changes on: alpine/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /alpine/trunk:1-26427
   + /alpine/trunk:1-52364

Copied: alpine/repos/extra-i686/2.00-lpam.patch (from rev 52363, alpine/trunk/2.00-lpam.patch)
===================================================================
--- extra-i686/2.00-lpam.patch	                        (rev 0)
+++ extra-i686/2.00-lpam.patch	2009-09-19 01:09:31 UTC (rev 52365)
@@ -0,0 +1,13 @@
+--- alpine-2.00.orig/alpine/Makefile.in
++++ alpine-2.00/alpine/Makefile.in
+@@ -169,7 +169,7 @@
+ LIBICONV = @LIBICONV@
+ LIBINTL = @LIBINTL@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lpam
+ LIBTOOL = @LIBTOOL@
+ LN = @LN@
+ LN_S = @LN_S@
+ LTLIBICONV = @LTLIBICONV@
+ LTLIBINTL = @LTLIBINTL@

Copied: alpine/repos/extra-i686/CVE-2008-5514.patch (from rev 52363, alpine/trunk/CVE-2008-5514.patch)
===================================================================
--- extra-i686/CVE-2008-5514.patch	                        (rev 0)
+++ extra-i686/CVE-2008-5514.patch	2009-09-19 01:09:31 UTC (rev 52365)
@@ -0,0 +1,20 @@
+--- alpine-2.00/imap/src/c-client/rfc822.c
++++ alpine-2.00/imap/src/c-client/rfc822.c
+@@ -1351,6 +1351,7 @@
+ 
+ static long rfc822_output_char (RFC822BUFFER *buf,int c)
+ {
++  if ((buf->cur == buf->end) && !rfc822_output_flush (buf)) return NIL;
+   *buf->cur++ = c;		/* add character, soutr buffer if full */
+   return (buf->cur == buf->end) ? rfc822_output_flush (buf) : LONGT;
+ }
+@@ -1374,7 +1375,8 @@
+       len -= i;
+     }
+ 				/* soutr buffer now if full */
+-    if (len && !rfc822_output_flush (buf)) return NIL;
++    if ((len || (buf->cur == buf->end)) && !rfc822_output_flush (buf))
++      return NIL;
+   }
+   return LONGT;
+ }

Modified: extra-i686/ChangeLog
===================================================================
--- extra-i686/ChangeLog	2009-09-19 00:56:45 UTC (rev 52364)
+++ extra-i686/ChangeLog	2009-09-19 01:09:31 UTC (rev 52365)
@@ -1,7 +1,18 @@
+2009-09-18  Eric Belanger  <eric at archlinux.org>
+
+	* alpine 2.00-5
+	* Updated patchset to level 52
+	* Security fix
+
+2009-09-17  Allan McRae  <allan at archlinux.org>
+
+	* alpine 2.00-4
+	* libldap-2.4 rebuild
+
 2009-02-07  Eric Belanger  <eric at archlinux.org>
 
 	* alpine 2.00-3
-	* Updated patchset
+	* Updated patchset to level 20
 
 2008-12-05  Eric Belanger  <eric at archlinux.org>
 

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-09-19 00:56:45 UTC (rev 52364)
+++ extra-i686/PKGBUILD	2009-09-19 01:09:31 UTC (rev 52365)
@@ -4,8 +4,8 @@
 
 pkgname=alpine
 pkgver=2.00
-pkgrel=3
-_patchlevel=20
+pkgrel=5
+_patchlevel=52
 pkgdesc="The Apache-licensed PINE (a tool for reading, sending, and managing electronic messages)"
 arch=('i686' 'x86_64')
 url="http://www.washington.edu/alpine/"
@@ -16,19 +16,22 @@
 conflicts=('pine')
 replaces=('pine')
 options=('!makeflags')
-# patch from http://staff.washington.edu/chappa/alpine/ :
-# http://staff.washington.edu/chappa/alpine/patches/alpine-2.00/all.patch.gz
 source=(ftp://ftp.cac.washington.edu/${pkgname}/${pkgname}.tar.bz2 \
-	ftp://ftp.archlinux.org/other/$pkgname/all-${_patchlevel}.patch.gz)
-md5sums=('84e44cbf71ed674800a5d57eed9c1c52' '5952d830d64d321040b9a3c0a0e74134')
-sha1sums=('dcbd3c5419954f484ccf706feaba31ce48cdebc4' '3bc0006a5ff2bf5a67d2fc0ed390d653f5478a9b')
+        http://staff.washington.edu/chappa/alpine/patches/alpine-${pkgver}/all_${_patchlevel}.patch.gz \
+        2.00-lpam.patch CVE-2008-5514.patch)
+md5sums=('84e44cbf71ed674800a5d57eed9c1c52' '33d9fa000f896fce23cc58b56068428f'\
+         'cd3911c16fc6a072e853c0ccfc35857c' '1b52a54a656979116c09fb1d948a4325')
+sha1sums=('dcbd3c5419954f484ccf706feaba31ce48cdebc4' '1d952e652e8ccf11867af12fe6de70180e58acb1'\
+         '1b39525f91ebd5a9de5a1e04f5554f6fa5f58ae3' 'bc61d76a237ff42b00b3f60f2e6fc5c45e261dbb')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 < ../all-${_patchlevel}.patch || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 < ../all_${_patchlevel}.patch || return 1
+  patch -p1 < ../2.00-lpam.patch || return 1
+  patch -p1 < ../CVE-2008-5514.patch || return 1
   ./configure --prefix=/usr --without-passfile --without-tcl \
     --disable-shared --with-system-pinerc=/etc/alpine.d/pine.conf \
     --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed || return 1
   make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make DESTDIR="${pkgdir}" install || return 1
 }




More information about the arch-commits mailing list