[arch-commits] Commit in lftp/repos (6 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Fri Sep 28 20:06:46 UTC 2012
Date: Friday, September 28, 2012 @ 16:06:45
Author: andyrtr
Revision: 167231
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
lftp/repos/extra-i686/PKGBUILD
(from rev 167230, lftp/trunk/PKGBUILD)
lftp/repos/extra-i686/lftp-4.3.8-gets.patch
(from rev 167230, lftp/trunk/lftp-4.3.8-gets.patch)
lftp/repos/extra-x86_64/PKGBUILD
(from rev 167230, lftp/trunk/PKGBUILD)
lftp/repos/extra-x86_64/lftp-4.3.8-gets.patch
(from rev 167230, lftp/trunk/lftp-4.3.8-gets.patch)
Deleted:
lftp/repos/extra-i686/PKGBUILD
lftp/repos/extra-x86_64/PKGBUILD
------------------------------------+
extra-i686/PKGBUILD | 61 ++++++++++++++++++-----------------
extra-i686/lftp-4.3.8-gets.patch | 16 +++++++++
extra-x86_64/PKGBUILD | 61 ++++++++++++++++++-----------------
extra-x86_64/lftp-4.3.8-gets.patch | 16 +++++++++
4 files changed, 96 insertions(+), 58 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-09-28 20:05:53 UTC (rev 167230)
+++ extra-i686/PKGBUILD 2012-09-28 20:06:45 UTC (rev 167231)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=lftp
-pkgver=4.3.8
-pkgrel=1
-pkgdesc="Sophisticated command line based FTP client"
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
-optdepends=('perl: needed for convert-netscape-cookies and verify-file')
-url="http://lftp.yar.ru/"
-backup=('etc/lftp.conf')
-source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('adced9c3e0f6b96821811dc87c0a1eeb')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --with-gnutls \
- --without-openssl --disable-static
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- rm -rf ${pkgdir}/usr/lib
-}
Copied: lftp/repos/extra-i686/PKGBUILD (from rev 167230, lftp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-09-28 20:06:45 UTC (rev 167231)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=lftp
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="Sophisticated command line based FTP client"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
+optdepends=('perl: needed for convert-netscape-cookies and verify-file')
+url="http://lftp.yar.ru/"
+backup=('etc/lftp.conf')
+source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2
+ lftp-4.3.8-gets.patch)
+md5sums=('9d6a048bb6be9bc3baecfea53b0d8330'
+ '77168a7f368b07eec7e079b55496fa97')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/lftp-4.3.8-gets.patch
+ ./configure --prefix=/usr --with-gnutls \
+ --without-openssl --disable-static
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/usr/lib
+}
Copied: lftp/repos/extra-i686/lftp-4.3.8-gets.patch (from rev 167230, lftp/trunk/lftp-4.3.8-gets.patch)
===================================================================
--- extra-i686/lftp-4.3.8-gets.patch (rev 0)
+++ extra-i686/lftp-4.3.8-gets.patch 2012-09-28 20:06:45 UTC (rev 167231)
@@ -0,0 +1,16 @@
+diff -up lftp-4.3.8/lib/stdio.in.h.gets lftp-4.3.8/lib/stdio.in.h
+--- lftp-4.3.8/lib/stdio.in.h.gets 2012-07-22 15:07:15.101115146 -0400
++++ lftp-4.3.8/lib/stdio.in.h 2012-07-22 15:08:09.777098512 -0400
+@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning; besides, C11
+ removed it. */
++#if defined gets
+ #undef gets
+ #if HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
++#endif // if defined gets
+
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-09-28 20:05:53 UTC (rev 167230)
+++ extra-x86_64/PKGBUILD 2012-09-28 20:06:45 UTC (rev 167231)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=lftp
-pkgver=4.3.8
-pkgrel=1
-pkgdesc="Sophisticated command line based FTP client"
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
-optdepends=('perl: needed for convert-netscape-cookies and verify-file')
-url="http://lftp.yar.ru/"
-backup=('etc/lftp.conf')
-source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('adced9c3e0f6b96821811dc87c0a1eeb')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --with-gnutls \
- --without-openssl --disable-static
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- rm -rf ${pkgdir}/usr/lib
-}
Copied: lftp/repos/extra-x86_64/PKGBUILD (from rev 167230, lftp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-09-28 20:06:45 UTC (rev 167231)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=lftp
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="Sophisticated command line based FTP client"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
+optdepends=('perl: needed for convert-netscape-cookies and verify-file')
+url="http://lftp.yar.ru/"
+backup=('etc/lftp.conf')
+source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2
+ lftp-4.3.8-gets.patch)
+md5sums=('9d6a048bb6be9bc3baecfea53b0d8330'
+ '77168a7f368b07eec7e079b55496fa97')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/lftp-4.3.8-gets.patch
+ ./configure --prefix=/usr --with-gnutls \
+ --without-openssl --disable-static
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/usr/lib
+}
Copied: lftp/repos/extra-x86_64/lftp-4.3.8-gets.patch (from rev 167230, lftp/trunk/lftp-4.3.8-gets.patch)
===================================================================
--- extra-x86_64/lftp-4.3.8-gets.patch (rev 0)
+++ extra-x86_64/lftp-4.3.8-gets.patch 2012-09-28 20:06:45 UTC (rev 167231)
@@ -0,0 +1,16 @@
+diff -up lftp-4.3.8/lib/stdio.in.h.gets lftp-4.3.8/lib/stdio.in.h
+--- lftp-4.3.8/lib/stdio.in.h.gets 2012-07-22 15:07:15.101115146 -0400
++++ lftp-4.3.8/lib/stdio.in.h 2012-07-22 15:08:09.777098512 -0400
+@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning; besides, C11
+ removed it. */
++#if defined gets
+ #undef gets
+ #if HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
++#endif // if defined gets
+
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
More information about the arch-commits
mailing list