Changeset 26755


Ignore:
Timestamp:
2011-04-25T22:37:11+02:00 (7 years ago)
Author:
luka
Message:

upgrade mdadm package

Location:
packages/utils/mdadm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/mdadm/Makefile

    r23266 r26755  
    11# 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=mdadm 
    11 PKG_VERSION:=2.6.7.2 
     11PKG_VERSION:=3.2 
    1212PKG_RELEASE:=1 
    13 PKG_MD5SUM:=e4badb4a8ded4344ba0fa785883955d8 
    1413 
    1514PKG_SOURCE_URL:=@KERNEL/linux/utils/raid/mdadm 
    1615PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     16PKG_MD5SUM:=4ac70ccead74f947bf5aa4d189a977a0 
     17 
     18PKG_BUILD_PARALLEL:=1 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
     
    2426  URL:=http://www.kernel.org/pub/linux/utils/raid/mdadm/ 
    2527  DEPENDS:=@!LINUX_2_4 
     28  MAINTAINER:=Luka Perkov <openwrt@lukaperkov.net> 
     29endef 
     30 
     31define Package/at/description 
     32 A tool for managing Linux Software RAID arrays. 
    2633endef 
    2734 
  • packages/utils/mdadm/patches/001-makefile-fixes.patch

    r13309 r26755  
    1 Only in mdadm-2.6.7.2: .prepared_52c8003c1cfc25b1e96897208f1a6856 
    2 Only in mdadm-2.6.7.2.orig/: .prepared_b70de0be5a277506820fdcd9a21e9deb 
    3 diff -ur mdadm-2.6.7.2.orig/Makefile mdadm-2.6.7.2/Makefile 
    4 --- mdadm-2.6.7.2.orig/Makefile 2008-11-21 18:21:35.000000000 +0100 
    5 +++ mdadm-2.6.7.2/Makefile      2008-11-21 19:13:54.000000000 +0100 
    6 @@ -52,7 +52,7 @@ 
    7  CONFFILE2 = $(SYSCONFDIR)/mdadm/mdadm.conf 
    8  MAILCMD =/usr/sbin/sendmail -t 
    9  CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)\" -DCONFFILE2=\"$(CONFFILE2)\" 
    10 -CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) 
    11 +#CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) 
     1Index: mdadm-3.2/Makefile 
     2=================================================================== 
     3--- mdadm-3.2.orig/Makefile 
     4+++ mdadm-3.2/Makefile 
     5@@ -76,7 +76,6 @@ FAILED_SLOTS_DIR = /dev/.mdadm/failed-sl 
     6 DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\" 
     7 DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\" 
     8 DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\" 
     9-CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) 
    1210  
    13  # If you want a static binary, you might uncomment these 
    14  # LDFLAGS = -static 
    15 @@ -124,7 +124,7 @@ 
     11 # The glibc TLS ABI requires applications that call clone(2) to set up 
     12 # TLS data structures, use pthreads until mdmon implements this support 
     13@@ -184,7 +183,7 @@ test_stripe : restripe.c mdadm.h 
    1614  
    17  mdassemble : $(ASSEMBLE_SRCS) mdadm.h 
     15 mdassemble : $(ASSEMBLE_SRCS) $(INCL) 
    1816        rm -f $(OBJS) 
    1917-       $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS)  $(STATICSRC) 
    2018+       $(CC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS)  $(STATICSRC) 
    2119  
    22  mdassemble.static : $(ASSEMBLE_SRCS) mdadm.h 
     20 mdassemble.static : $(ASSEMBLE_SRCS) $(INCL) 
    2321        rm -f $(OBJS) 
    24 Only in mdadm-2.6.7.2: mdadm 
Note: See TracChangeset for help on using the changeset viewer.