All of lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/mdadm
Date: Tue, 15 May 2007 04:25:41 -0700 (PDT)	[thread overview]
Message-ID: <20070515112541.DCFFD48029@busybox.net> (raw)

Author: aldot
Date: 2007-05-15 04:25:41 -0700 (Tue, 15 May 2007)
New Revision: 18623

Log:
- bump version


Modified:
   trunk/buildroot/package/mdadm/mdadm.mk


Changeset:
Modified: trunk/buildroot/package/mdadm/mdadm.mk
===================================================================
--- trunk/buildroot/package/mdadm/mdadm.mk	2007-05-15 11:24:27 UTC (rev 18622)
+++ trunk/buildroot/package/mdadm/mdadm.mk	2007-05-15 11:25:41 UTC (rev 18623)
@@ -4,18 +4,32 @@
 #
 #############################################################
 MDADM_VERSION:=2.6.1
-MDADM_SOURCE:=mdadm-$(MDADM_VERSION).tar.bz2
-MDADM_CAT:=$(BZCAT)
-MDADM_SITE:=http://www.kernel.org/pub/linux/utils/raid/mdadm
+MDADM_SOURCE:=mdadm_$(MDADM_VERSION).orig.tar.gz
+MDADM_PATCH:=mdadm_$(MDADM_VERSION)-1~exp.5.diff.gz
+MDADM_CAT:=$(ZCAT)
+MDADM_SITE:=http://ftp.debian.org/debian/pool/main/m/mdadm
 MDADM_DIR:=$(BUILD_DIR)/mdadm-$(MDADM_VERSION)
 MDADM_BINARY:=mdadm
 MDADM_TARGET_BINARY:=sbin/mdadm
 
-$(DL_DIR)/$(MDADM_SOURCE):
+ifneq ($(MDADM_PATCH),)
+MDADM_PATCH_FILE:=$(DL_DIR)/$(MDADM_PATCH)
+$(MDADM_PATCH_FILE):
+	$(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_PATCH)
+endif
+
+$(DL_DIR)/$(MDADM_SOURCE): $(MDADM_PATCH_FILE)
 	$(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_SOURCE)
+	touch -c $@
 
 $(MDADM_DIR)/.unpacked: $(DL_DIR)/$(MDADM_SOURCE)
 	$(MDADM_CAT) $(DL_DIR)/$(MDADM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ifneq ($(MDADM_PATCH),)
+	(cd $(MDADM_DIR) && $(MDADM_CAT) $(MDADM_PATCH_FILE) | patch -p1)
+	if [ -d $(MDADM_DIR)/debian/patches ]; then \
+	  toolchain/patch-kernel.sh $(MDADM_DIR) $(MDADM_DIR)/debian/patches \*patch ; \
+	fi
+endif
 	toolchain/patch-kernel.sh $(MDADM_DIR) package/mdadm mdadm-$(MDADM_VERSION)\*.patch
 	touch $@
 

             reply	other threads:[~2007-05-15 11:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15 11:25 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-05-11  6:43 [Buildroot] svn commit: trunk/buildroot/package/mdadm ulf at uclibc.org
2008-03-24 19:19 nkukard at uclibc.org
2007-10-30 21:32 ulf at uclibc.org
2007-06-26 16:35 aldot at uclibc.org
2007-05-18  9:55 aldot at uclibc.org
2007-04-18 19:55 aldot at uclibc.org
2007-04-17 15:48 aldot at uclibc.org
2007-04-16 19:14 aldot at uclibc.org
2007-04-16 19:08 aldot at uclibc.org

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=20070515112541.DCFFD48029@busybox.net \
    --to=aldot@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.