From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 10/20] nbd: bump to version 3.0
Date: Sun, 11 Mar 2012 23:19:22 +0100 [thread overview]
Message-ID: <87r4wywzkl.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1331502489-5036-10-git-send-email-gustavo@zacarias.com.ar> (Gustavo Zacarias's message of "Sun, 11 Mar 2012 18:47:59 -0300")
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> ---
Gustavo> package/nbd/nbd-fix-non-lfs.patch | 37 -----------------------------
Gustavo> package/nbd/nbd-server-susv3-legacy.patch | 11 --------
Gustavo> package/nbd/nbd.mk | 5 +++-
Gustavo> 3 files changed, 4 insertions(+), 49 deletions(-)
Gustavo> delete mode 100644 package/nbd/nbd-fix-non-lfs.patch
Gustavo> delete mode 100644 package/nbd/nbd-server-susv3-legacy.patch
Gustavo> diff --git a/package/nbd/nbd-fix-non-lfs.patch b/package/nbd/nbd-fix-non-lfs.patch
Gustavo> deleted file mode 100644
Gustavo> index 41a80cd..0000000
Gustavo> --- a/package/nbd/nbd-fix-non-lfs.patch
Gustavo> +++ /dev/null
Gustavo> @@ -1,37 +0,0 @@
Gustavo> -From 8dd182693e9995bc1aeb907f9fd4ec06c18fc56f Mon Sep 17 00:00:00 2001
Gustavo> -From: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo> -Date: Mon, 5 Dec 2011 23:27:30 +0100
Gustavo> -Subject: [PATCH] lfs.h: fix !LFS builds
Gustavo> -
Gustavo> -Commit 448637fba4 (Fix 32/64 bit confusion) broke !LFS builds as it
Gustavo> -added the PARAM_OFFT defines inside the wrong conditional.
Gustavo> -
Gustavo> -Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo> ----
Gustavo> - lfs.h | 4 ++--
Gustavo> - 1 files changed, 2 insertions(+), 2 deletions(-)
Gustavo> -
Gustavo> -diff --git a/lfs.h b/lfs.h
Gustavo> -index 64a03de..68d3b81 100644
Gustavo> ---- a/lfs.h
Gustavo> -+++ b/lfs.h
Gustavo> -@@ -6,14 +6,14 @@
Gustavo> - #define _FILE_OFFSET_BITS 64
Gustavo> - #ifndef _LARGEFILE_SOURCE
Gustavo> - #define _LARGEFILE_SOURCE
Gustavo> -+#endif
Gustavo> - #define PARAM_OFFT PARAM_INT64
Gustavo> - #else
Gustavo> - #define PARAM_OFFT PARAM_INT
Gustavo> --#endif
Gustavo> -+#endif /* NBD_LFS */
Gustavo> - #ifdef HAVE_SYNC_FILE_RANGE
Gustavo> - #define USE_SYNC_FILE_RANGE
Gustavo> - #define _GNU_SOURCE
Gustavo> - #endif /* HAVE_SYNC_FILE_RANGE */
Gustavo> --#endif /* NBD_LFS */
Gustavo> -
Gustavo> - #endif /* LFS_H */
Gustavo> ---
Gustavo> -1.7.7.1
Gustavo> -
Gustavo> diff --git a/package/nbd/nbd-server-susv3-legacy.patch b/package/nbd/nbd-server-susv3-legacy.patch
Gustavo> deleted file mode 100644
Gustavo> index 58d38e1..0000000
Gustavo> --- a/package/nbd/nbd-server-susv3-legacy.patch
Gustavo> +++ /dev/null
Gustavo> @@ -1,11 +0,0 @@
Gustavo> ---- nbd-2.9.11/nbd-server.c 2009-10-01 16:10:15.000000000 +0200
Gustavo> -+++ nbd-2.9.11/nbd-server.c 2009-10-01 16:10:32.000000000 +0200
Gustavo> -@@ -264,7 +264,7 @@
Gustavo> -
Gustavo> - inet_aton(opts->clientname, &client);
Gustavo> - while (fgets(line,LINELEN,f)!=NULL) {
Gustavo> -- if((tmp=index(line, '/'))) {
Gustavo> -+ if((tmp=strchr(line, '/'))) {
Gustavo> - if(strlen(line)<=tmp-line) {
Gustavo> - msg4(LOG_CRIT, ERRMSG, line, opts->server->authname);
Gustavo> - return 0;
Gustavo> diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk
Gustavo> index d9d0a85..21071fa 100644
Gustavo> --- a/package/nbd/nbd.mk
Gustavo> +++ b/package/nbd/nbd.mk
Gustavo> @@ -4,11 +4,14 @@
Gustavo> #
Gustavo> #############################################################
Gustavo> -NBD_VERSION = 2.9.24
Gustavo> +NBD_VERSION = 3.0
Gustavo> NBD_SOURCE = nbd-$(NBD_VERSION).tar.bz2
Gustavo> NBD_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/nbd/
Gustavo> NBD_CONF_OPT = $(if $(BR2_LARGEFILE),--enable-lfs,--disable-lfs)
Gustavo> NBD_DEPENDENCIES = libglib2
Gustavo> +# We have linux/falloc.h
Gustavo> +# but uClibc lacks fallocate(2) which is a glibc-ism
Gustavo> +NBD_CONF_ENV = ac_cv_header_linux_falloc_h=no
I but this in a:
ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_CTNG_uClibc),y)
conditional. Other that that it looks fine, committed - Thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-03-11 22:19 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 21:47 [Buildroot] [PATCH 01/20] squid: bump to version 3.1.19 Gustavo Zacarias
2012-03-11 21:47 ` [Buildroot] [PATCH 02/20] gmp: bump to version 5.0.4 Gustavo Zacarias
2012-03-11 22:03 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 03/20] mpd: bump to version 0.16.7 Gustavo Zacarias
2012-03-11 22:06 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 04/20] util-linux: bump to version 2.20.1 Gustavo Zacarias
2012-03-11 22:10 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 05/20] radvd: bump version to 1.8.5 Gustavo Zacarias
2012-03-11 22:11 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 06/20] usbutils: bump version to 005 Gustavo Zacarias
2012-03-11 22:12 ` Peter Korsgaard
2012-03-11 22:35 ` Gustavo Zacarias
2012-03-11 23:05 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 07/20] ntfs-3g: bump to version 2012.1.15 Gustavo Zacarias
2012-03-11 22:12 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 08/20] ntfsprogs: remove deprecated Gustavo Zacarias
2012-03-11 22:13 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 09/20] libnl: bump to version 3.2.7 Gustavo Zacarias
2012-03-11 22:14 ` Peter Korsgaard
2012-03-11 21:47 ` [Buildroot] [PATCH 10/20] nbd: bump to version 3.0 Gustavo Zacarias
2012-03-11 22:19 ` Peter Korsgaard [this message]
2012-03-11 21:48 ` [Buildroot] [PATCH 11/20] smartmontools: bump to version 5.42 Gustavo Zacarias
2012-03-11 22:14 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 12/20] libfuse: bump to version 2.8.7 Gustavo Zacarias
2012-03-11 22:14 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 13/20] hdparm: bump to version 9.39 Gustavo Zacarias
2012-03-11 22:19 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 14/20] sysstat: bump to version 10.0.3 Gustavo Zacarias
2012-03-11 22:20 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 15/20] mpfr: bump to version 3.1.0-p6 Gustavo Zacarias
2012-03-11 22:58 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 16/20] grep: bump to version 2.11 Gustavo Zacarias
2012-03-11 22:20 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 17/20] file: bump to version 5.11 Gustavo Zacarias
2012-03-11 22:21 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 18/20] wipe: bump to version 2.3.1 and switch to sourceforge Gustavo Zacarias
2012-03-11 22:22 ` Peter Korsgaard
2012-03-11 21:48 ` [Buildroot] [PATCH 19/20] alsa-lib: bump to version 1.0.25 Gustavo Zacarias
2012-03-11 22:25 ` Peter Korsgaard
2012-03-13 23:36 ` Arnout Vandecappelle
2012-03-14 14:27 ` Gustavo Zacarias
2012-03-15 20:30 ` Thomas Petazzoni
2012-03-15 20:51 ` Gustavo Zacarias
2012-03-15 21:05 ` Thomas Petazzoni
2012-03-15 21:11 ` Gustavo Zacarias
2012-03-15 22:55 ` Arnout Vandecappelle
2012-03-15 23:09 ` Gustavo Zacarias
2012-03-11 21:48 ` [Buildroot] [PATCH 20/20] alsa-utils: " Gustavo Zacarias
2012-03-11 22:22 ` Peter Korsgaard
2012-03-11 22:02 ` [Buildroot] [PATCH 01/20] squid: bump to version 3.1.19 Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4wywzkl.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox