[arch-commits] Commit in ncftp/repos (6 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Thu Mar 6 11:24:46 UTC 2014


    Date: Thursday, March 6, 2014 @ 12:24:46
  Author: andrea
Revision: 206931

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  ncftp/repos/extra-i686/PKGBUILD
    (from rev 206930, ncftp/trunk/PKGBUILD)
  ncftp/repos/extra-i686/fix-build.patch
    (from rev 206930, ncftp/trunk/fix-build.patch)
  ncftp/repos/extra-x86_64/PKGBUILD
    (from rev 206930, ncftp/trunk/PKGBUILD)
  ncftp/repos/extra-x86_64/fix-build.patch
    (from rev 206930, ncftp/trunk/fix-build.patch)
Deleted:
  ncftp/repos/extra-i686/PKGBUILD
  ncftp/repos/extra-x86_64/PKGBUILD

------------------------------+
 /PKGBUILD                    |   82 +++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD          |   34 -----------------
 extra-i686/fix-build.patch   |   10 +++++
 extra-x86_64/PKGBUILD        |   34 -----------------
 extra-x86_64/fix-build.patch |   10 +++++
 5 files changed, 102 insertions(+), 68 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2014-03-06 11:24:27 UTC (rev 206930)
+++ extra-i686/PKGBUILD	2014-03-06 11:24:46 UTC (rev 206931)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=ncftp
-pkgver=3.2.5
-pkgrel=2
-pkgdesc="A set of free application programs implementing FTP"
-url="http://www.ncftp.com/"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('ncurses')
-source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2")
-md5sums=('b05c7a6d5269c04891f02f43d4312b30')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  install -d "${pkgdir}/usr/share"
-  make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
-
-  # Install license
-  install -Dm644 doc/LICENSE.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: ncftp/repos/extra-i686/PKGBUILD (from rev 206930, ncftp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-03-06 11:24:46 UTC (rev 206931)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ncftp
+pkgver=3.2.5
+pkgrel=3
+pkgdesc="A set of free application programs implementing FTP"
+url="http://www.ncftp.com/"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('ncurses')
+makedepends=('inetutils')
+source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2"
+        'fix-build.patch')
+md5sums=('b05c7a6d5269c04891f02f43d4312b30'
+         'f85fd4cc66b66952d67f864137f44029')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}"/fix-build.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  CPP=/usr/bin/cpp ./configure --prefix=/usr \
+    --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -d "${pkgdir}/usr/share"
+  make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
+
+  # Install license
+  install -Dm644 doc/LICENSE.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: ncftp/repos/extra-i686/fix-build.patch (from rev 206930, ncftp/trunk/fix-build.patch)
===================================================================
--- extra-i686/fix-build.patch	                        (rev 0)
+++ extra-i686/fix-build.patch	2014-03-06 11:24:46 UTC (rev 206931)
@@ -0,0 +1,10 @@
+--- ncftp-3.2.5/ncftp/main.c~	2014-03-06 11:20:05.006777392 +0000
++++ ncftp-3.2.5/ncftp/main.c	2014-03-06 11:20:25.739974714 +0000
+@@ -21,6 +21,7 @@
+ #include "log.h"
+ #include "spool.h"
+ #include "util.h"
++#include "locale.h"
+ 
+ int gStartupUrlParameterGiven = 0;
+ int gIsTTY, gIsTTYr;

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2014-03-06 11:24:27 UTC (rev 206930)
+++ extra-x86_64/PKGBUILD	2014-03-06 11:24:46 UTC (rev 206931)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=ncftp
-pkgver=3.2.5
-pkgrel=2
-pkgdesc="A set of free application programs implementing FTP"
-url="http://www.ncftp.com/"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('ncurses')
-source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2")
-md5sums=('b05c7a6d5269c04891f02f43d4312b30')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  install -d "${pkgdir}/usr/share"
-  make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
-
-  # Install license
-  install -Dm644 doc/LICENSE.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: ncftp/repos/extra-x86_64/PKGBUILD (from rev 206930, ncftp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-03-06 11:24:46 UTC (rev 206931)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ncftp
+pkgver=3.2.5
+pkgrel=3
+pkgdesc="A set of free application programs implementing FTP"
+url="http://www.ncftp.com/"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('ncurses')
+makedepends=('inetutils')
+source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2"
+        'fix-build.patch')
+md5sums=('b05c7a6d5269c04891f02f43d4312b30'
+         'f85fd4cc66b66952d67f864137f44029')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}"/fix-build.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  CPP=/usr/bin/cpp ./configure --prefix=/usr \
+    --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -d "${pkgdir}/usr/share"
+  make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
+
+  # Install license
+  install -Dm644 doc/LICENSE.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: ncftp/repos/extra-x86_64/fix-build.patch (from rev 206930, ncftp/trunk/fix-build.patch)
===================================================================
--- extra-x86_64/fix-build.patch	                        (rev 0)
+++ extra-x86_64/fix-build.patch	2014-03-06 11:24:46 UTC (rev 206931)
@@ -0,0 +1,10 @@
+--- ncftp-3.2.5/ncftp/main.c~	2014-03-06 11:20:05.006777392 +0000
++++ ncftp-3.2.5/ncftp/main.c	2014-03-06 11:20:25.739974714 +0000
+@@ -21,6 +21,7 @@
+ #include "log.h"
+ #include "spool.h"
+ #include "util.h"
++#include "locale.h"
+ 
+ int gStartupUrlParameterGiven = 0;
+ int gIsTTY, gIsTTYr;




More information about the arch-commits mailing list