[package] e2fsprogs: update to 1.42.8 and add e4defrag

Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37588 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Luka Perkov 2013-07-28 23:27:29 +00:00
parent 3b2469b34a
commit e43af87f94
4 changed files with 18 additions and 29 deletions

View File

@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=e2fsprogs PKG_NAME:=e2fsprogs
PKG_VERSION:=1.42.4 PKG_VERSION:=1.42.8
PKG_MD5SUM:=b6e296f210d642361b7394437ff0f318 PKG_MD5SUM:=8ef664b6eb698aa6b733df59b17b9ed4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -56,6 +56,12 @@ $(call Package/e2fsprogs)
DEPENDS:= +e2fsprogs DEPENDS:= +e2fsprogs
endef endef
define Package/e4defrag
$(call Package/e2fsprogs)
TITLE:=Ext4 Filesystem defrag utility
DEPENDS:= +e2fsprogs
endef
define Package/resize2fs define Package/resize2fs
$(call Package/e2fsprogs) $(call Package/e2fsprogs)
TITLE:=Ext2 Filesystem resize utility TITLE:=Ext2 Filesystem resize utility
@ -139,6 +145,11 @@ define Package/tune2fs/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tune2fs $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tune2fs $(1)/usr/sbin/
endef endef
define Package/e4defrag/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/e4defrag $(1)/usr/sbin/
endef
define Package/resize2fs/install define Package/resize2fs/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/resize2fs $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/resize2fs $(1)/usr/sbin/
@ -152,5 +163,6 @@ endef
$(eval $(call BuildPackage,e2fsprogs)) $(eval $(call BuildPackage,e2fsprogs))
$(eval $(call BuildPackage,libext2fs)) $(eval $(call BuildPackage,libext2fs))
$(eval $(call BuildPackage,tune2fs)) $(eval $(call BuildPackage,tune2fs))
$(eval $(call BuildPackage,e4defrag))
$(eval $(call BuildPackage,resize2fs)) $(eval $(call BuildPackage,resize2fs))
$(eval $(call BuildPackage,badblocks)) $(eval $(call BuildPackage,badblocks))

View File

@ -1,6 +1,6 @@
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -5038,7 +5038,7 @@ if test "${ac_cv_lib_blkid_blkid_get_cac @@ -5111,7 +5111,7 @@ if ${ac_cv_lib_blkid_blkid_get_cache+:}
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
@ -11,7 +11,7 @@
--- a/misc/Makefile.in --- a/misc/Makefile.in
+++ b/misc/Makefile.in +++ b/misc/Makefile.in
@@ -146,10 +146,10 @@ partinfo: partinfo.o @@ -147,10 +147,10 @@ partinfo: partinfo.o
$(E) " LD $@" $(E) " LD $@"
$(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o $(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o
@ -24,7 +24,7 @@
tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \ tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
$(DEPLIBUUID) $(DEPLIBQUOTA) $(LIBEXT2FS) $(DEPLIBUUID) $(DEPLIBQUOTA) $(LIBEXT2FS)
@@ -289,9 +289,9 @@ dumpe2fs.profiled: $(PROFILED_DUMPE2FS_O @@ -290,9 +290,9 @@ dumpe2fs.profiled: $(DUMPE2FS_OBJS) $(PR
$(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \ $(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \
$(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL) $(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL)
@ -34,5 +34,5 @@
- $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBINTL) - $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBINTL)
+ $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBUUID) $(LIBINTL) + $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBUUID) $(LIBINTL)
fsck.profiled: $(PROFILED_FSCK_OBJS) $(PROFILED_DEPLIBBLKID) fsck.profiled: $(FSCK_OBJS) $(PROFILED_DEPLIBBLKID)
$(E) " LD $@" $(E) " LD $@"

View File

@ -1,10 +0,0 @@
--- a/util/symlinks.c
+++ b/util/symlinks.c
@@ -8,7 +8,6 @@
#endif
#include <stdio.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <fcntl.h>
#include <sys/param.h>

View File

@ -1,13 +0,0 @@
--- a/lib/et/Makefile.in
+++ b/lib/et/Makefile.in
@@ -25,8 +25,8 @@ SHARE_FILES= et_c.awk et_h.awk
LIBRARY= libcom_err
LIBDIR= et
-ELF_VERSION = 2.1
-ELF_SO_VERSION = 2
+ELF_VERSION = 0.0
+ELF_SO_VERSION = 0
ELF_IMAGE = libcom_err
ELF_MYDIR = et
ELF_INSTALL_DIR = $(root_libdir)