diff options
author | mandree <mandree@FreeBSD.org> | 2014-10-08 03:15:52 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2014-10-08 03:15:52 +0800 |
commit | a9ed41a171c2cb3161ae57c5106e3b81e7968f02 (patch) | |
tree | 2e5c3d508a57e225621ddd0ec21507f8e6a4ca44 | |
parent | b50072b6d340fc509e448225b1364265534ad6fb (diff) | |
download | freebsd-ports-graphics-a9ed41a171c2cb3161ae57c5106e3b81e7968f02.tar.gz freebsd-ports-graphics-a9ed41a171c2cb3161ae57c5106e3b81e7968f02.tar.zst freebsd-ports-graphics-a9ed41a171c2cb3161ae57c5106e3b81e7968f02.zip |
Update to new upstream release 1.42.12.
Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.42.12
Reset PORTREVISION on slaves.
Remove @dirrm* from master's + slaves' pkg-plist.
Remove patches overcome by upstream events.
Ignore PORTSCOUT - it can't figure out the directory structure.
No longer run self-test in parallel - exhausts redports directory.
Mark BROKEN on 11-CURRENT - causes miscompilation (bogus numbers in
output, SIGSEGV/SIGBUS):
https://redports.org/~mandree/20141007190638-31576-251231/e2fsprogs-1.42.12.log
https://redports.org/~mandree/20141007185700-4151-251228/e2fsprogs-1.42.12.log
-rw-r--r-- | devel/e2fsprogs-libss/Makefile | 2 | ||||
-rw-r--r-- | devel/e2fsprogs-libss/pkg-plist | 2 | ||||
-rw-r--r-- | misc/e2fsprogs-libblkid/Makefile | 2 | ||||
-rw-r--r-- | misc/e2fsprogs-libblkid/pkg-plist | 1 | ||||
-rw-r--r-- | misc/e2fsprogs-libuuid/Makefile | 2 | ||||
-rw-r--r-- | misc/e2fsprogs-libuuid/pkg-plist | 1 | ||||
-rw-r--r-- | sysutils/e2fsprogs/Makefile | 12 | ||||
-rw-r--r-- | sysutils/e2fsprogs/distinfo | 4 | ||||
-rw-r--r-- | sysutils/e2fsprogs/files/patch-350897 | 68 | ||||
-rw-r--r-- | sysutils/e2fsprogs/files/patch-tests-md5sum | 44 | ||||
-rw-r--r-- | sysutils/e2fsprogs/pkg-plist | 2 |
11 files changed, 17 insertions, 123 deletions
diff --git a/devel/e2fsprogs-libss/Makefile b/devel/e2fsprogs-libss/Makefile index 019b4fe0120..77284590fe2 100644 --- a/devel/e2fsprogs-libss/Makefile +++ b/devel/e2fsprogs-libss/Makefile @@ -1,7 +1,7 @@ # Created by: Ben Kaduk <kaduk@mit.edu> # $FreeBSD$ -PORTREVISION= 1 +PORTREVISION= 0 CATEGORIES= devel PKGNAMESUFFIX= -libss diff --git a/devel/e2fsprogs-libss/pkg-plist b/devel/e2fsprogs-libss/pkg-plist index e9876c966c1..751d29c5b0e 100644 --- a/devel/e2fsprogs-libss/pkg-plist +++ b/devel/e2fsprogs-libss/pkg-plist @@ -9,5 +9,3 @@ libdata/pkgconfig/ss.pc man/man1/mk_cmds.1.gz share/ss/ct_c.awk share/ss/ct_c.sed -@dirrm include/ss -@dirrm share/ss diff --git a/misc/e2fsprogs-libblkid/Makefile b/misc/e2fsprogs-libblkid/Makefile index ac6a804d2e9..686568f5bf0 100644 --- a/misc/e2fsprogs-libblkid/Makefile +++ b/misc/e2fsprogs-libblkid/Makefile @@ -1,7 +1,7 @@ # Created by: Matthias Andree <matthias.andree@gmx.de> # $FreeBSD$ -PORTREVISION= 1 +PORTREVISION= 0 CATEGORIES= misc devel PKGNAMESUFFIX= -libblkid diff --git a/misc/e2fsprogs-libblkid/pkg-plist b/misc/e2fsprogs-libblkid/pkg-plist index 7f8ef814abf..3717831a765 100644 --- a/misc/e2fsprogs-libblkid/pkg-plist +++ b/misc/e2fsprogs-libblkid/pkg-plist @@ -5,5 +5,4 @@ lib/libblkid.so.1 lib/libblkid.so lib/libblkid.a libdata/pkgconfig/blkid.pc -@dirrm include/blkid man/man3/libblkid.3.gz diff --git a/misc/e2fsprogs-libuuid/Makefile b/misc/e2fsprogs-libuuid/Makefile index 53a13e6007f..3221cdbd17c 100644 --- a/misc/e2fsprogs-libuuid/Makefile +++ b/misc/e2fsprogs-libuuid/Makefile @@ -1,7 +1,7 @@ # Created by: Matthias Andree <matthias.andree@gmx.de> # $FreeBSD$ -PORTREVISION= 1 +PORTREVISION= 0 CATEGORIES= misc devel PKGNAMESUFFIX= -libuuid diff --git a/misc/e2fsprogs-libuuid/pkg-plist b/misc/e2fsprogs-libuuid/pkg-plist index 95b38725a5b..b1b02a07517 100644 --- a/misc/e2fsprogs-libuuid/pkg-plist +++ b/misc/e2fsprogs-libuuid/pkg-plist @@ -20,6 +20,5 @@ man/man3/uuid_generate_time.3.gz man/man8/uuidd.8.gz sbin/uuidd @exec mkdir -p /var/run/libuuid -@dirrm include/uuid @unexec %D/etc/rc.d/uuidd stop >/dev/null 2>&1 || true @unexec rmdir /var/run/libuuid >/dev/null 2>&1 || true diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile index 0c8c46c3ddd..b259ae30597 100644 --- a/sysutils/e2fsprogs/Makefile +++ b/sysutils/e2fsprogs/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= e2fsprogs -PORTVERSION= 1.42.10 +PORTVERSION= 1.42.12 PORTREVISION?= 0 CATEGORIES?= sysutils MASTER_SITES= KERNEL_ORG/linux/kernel/people/tytso/${PORTNAME}/v${PORTVERSION} @@ -12,6 +12,8 @@ COMMENT?= Utilities & library to manipulate ext2/3/4 filesystems LICENSE= GPLv2 +PORTSCOUT= ignore # cannot handle the version in the directory + PATCH_STRIP= -p1 USES= gmake pkgconfig tar:xz USE_CSTD= gnu99 @@ -51,6 +53,10 @@ USES+= gettext iconv:build .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 1100000 +BROKEN= Segfaults and miscalculations observed on redports +.endif + .if ${PORT_OPTIONS:MNLS} PLIST_SUB= NLS="" . if empty(ICONV_LIB) @@ -119,7 +125,9 @@ post-build: # There have been subtle failures induced by Linux-isms in the past. # -- Matthias Andree, package maintainer, 2007-09-18 @${ECHO_CMD} '===> Running e2fsprogs self-test suite' - cd ${WRKSRC}/tests && ${MKDIR} ${WRKDIR}/tmp && ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} check TMPDIR=${WRKDIR}/tmp \ +# do not add -j options to ${MAKE_CMD} below, this might break +# due to excessive disk space use. + cd ${WRKSRC}/tests && ${MKDIR} ${WRKDIR}/tmp && ${MAKE_CMD} check TMPDIR=${WRKDIR}/tmp \ || { head -n30000 ${WRKSRC}/tests/*.failed 2>/dev/null ; exit 1 ; } post-install: diff --git a/sysutils/e2fsprogs/distinfo b/sysutils/e2fsprogs/distinfo index 68d2bcd8426..a80cc52d96f 100644 --- a/sysutils/e2fsprogs/distinfo +++ b/sysutils/e2fsprogs/distinfo @@ -1,2 +1,2 @@ -SHA256 (e2fsprogs-1.42.10.tar.xz) = 1f3324e80b042e8b9c2791c5b5de57afa205989b170e5800764ea60cb3961599 -SIZE (e2fsprogs-1.42.10.tar.xz) = 4676804 +SHA256 (e2fsprogs-1.42.12.tar.xz) = 6dadcd3b759195150d20154ab9d6516e3b3cbb35d66d461f55ae94a2854e7de8 +SIZE (e2fsprogs-1.42.12.tar.xz) = 4777592 diff --git a/sysutils/e2fsprogs/files/patch-350897 b/sysutils/e2fsprogs/files/patch-350897 deleted file mode 100644 index ed221dcb95f..00000000000 --- a/sysutils/e2fsprogs/files/patch-350897 +++ /dev/null @@ -1,68 +0,0 @@ -http://patchwork.ozlabs.org/patch/350897/ -debugfs: fix string_to_time for MacOS strptime() - -The strptime() function does not update fields in struct tm that are -not specified in the input format. The glibc implementation sets the -tm_yday field (%j) when any of the year (%Y), month (%m), or day (%d) -fields are changed, but the MacOS strptime() does not set tm_yday in -this case. This caused string_to_time() to calculate the wrong Unix -epoch on MacOS. If tm_yday is unset, compute it in string_to_time(). - -Signed-off-by: Andreas Dilger <adilger@dilger.ca> ---- - debugfs/util.c | 14 ++++++++++++++ - tests/f_dup_resize/script | 2 +- - tests/f_uninit_last_uninit/script | 2 +- - 3 files changed, 16 insertions(+), 2 deletions(-) - -diff --git a/debugfs/util.c b/debugfs/util.c -index 9ddfe0b..20c6c61 100644 ---- a/debugfs/util.c -+++ b/debugfs/util.c -@@ -245,6 +245,20 @@ time_t string_to_time(const char *arg) - ts.tm_mday = 0; - #endif - ts.tm_isdst = -1; -+ /* strptime() may only update the specified fields, which does not -+ * necessarily include ts.tm_yday (%j). Calculate this if unset: -+ * -+ * Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec -+ * 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 -+ * -+ * Start with 31 days per month. Even months have only 30 days, but -+ * reverse in August, subtract one day for those months. February has -+ * only 28 days, not 30, subtract two days. Add day of month, minus -+ * one, since day is not finished yet. Leap years handled afterward. */ -+ if (ts.tm_yday == 0) -+ ts.tm_yday = (ts.tm_mon * 31) - -+ ((ts.tm_mon - (ts.tm_mon > 7)) / 2) - -+ 2 * (ts.tm_mon > 1) + ts.tm_mday - 1; - ret = ts.tm_sec + ts.tm_min*60 + ts.tm_hour*3600 + ts.tm_yday*86400 + - (ts.tm_year-70)*31536000 + ((ts.tm_year-69)/4)*86400 - - ((ts.tm_year-1)/100)*86400 + ((ts.tm_year+299)/400)*86400; -diff --git a/tests/f_dup_resize/script b/tests/f_dup_resize/script -index 659c92e..19fa120 100644 ---- a/tests/f_dup_resize/script -+++ b/tests/f_dup_resize/script -@@ -12,7 +12,7 @@ freeb 4 4 - freeb 8195 4 - write $TEST_DATA debugfs - set_current_time 20050411000000 --set_inode_field debugfs mtime 2005041100000000 -+set_inode_field debugfs mtime 20050411000000 - q - EOF - -diff --git a/tests/f_uninit_last_uninit/script b/tests/f_uninit_last_uninit/script -index 2fe4f3a..376c978 100644 ---- a/tests/f_uninit_last_uninit/script -+++ b/tests/f_uninit_last_uninit/script -@@ -5,7 +5,7 @@ SKIP_GUNZIP="true" - touch $TMPFILE - $MKE2FS -N 32 -F -o Linux -O uninit_bg -b 1024 $TMPFILE 10000 > /dev/null 2>&1 - $DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1 --set_current_time 200704102100 -+set_current_time 20070410210000 - set_super_value lastcheck 0 - set_super_value hash_seed null - set_super_value mkfs_time 0 diff --git a/sysutils/e2fsprogs/files/patch-tests-md5sum b/sysutils/e2fsprogs/files/patch-tests-md5sum deleted file mode 100644 index 5de19a4b39a..00000000000 --- a/sysutils/e2fsprogs/files/patch-tests-md5sum +++ /dev/null @@ -1,44 +0,0 @@ ---- a/tests/u_mke2fs/script.orig 2008-08-25 06:19:56.000000000 +0200 -+++ b/tests/u_mke2fs/script 2008-09-16 01:45:10.000000000 +0200 -@@ -11,16 +11,16 @@ - - echo mke2fs -q -F -o Linux -b 1024 test.img > $OUT - $MKE2FS -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1 --md5=`md5sum $TMPFILE | cut -d " " -f 1` -+md5=$(md5 -q $TMPFILE) - echo md5sum before mke2fs $md5 >> $OUT - - echo using mke2fs to test e2undo >> $OUT - $MKE2FS -q -F -o Linux -I 256 -O uninit_bg -E lazy_itable_init=1 -b 1024 $TMPFILE >> $OUT 2>&1 --new_md5=`md5sum $TMPFILE | cut -d " " -f 1` -+new_md5=$(md5 -q $TMPFILE) - echo md5sum after mke2fs $new_md5 >> $OUT - - $E2UNDO_EXE $TDB_FILE $TMPFILE >> $OUT 2>&1 --new_md5=`md5sum $TMPFILE | cut -d " " -f 1` -+new_md5=$(md5 -q $TMPFILE) - echo md5sum after e2undo $new_md5 >> $OUT - - if [ $md5 = $new_md5 ]; then ---- a/tests/u_tune2fs/script.orig 2008-08-25 06:19:56.000000000 +0200 -+++ b/tests/u_tune2fs/script 2008-09-16 01:46:32.000000000 +0200 -@@ -11,16 +11,16 @@ - - echo mke2fs -q -F -o Linux -b 1024 $TMPFILE > $OUT - $MKE2FS -q -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1 --md5=`md5sum $TMPFILE | cut -d " " -f 1` -+md5=$(md5 -q $TMPFILE) - echo md5sum before tune2fs $md5 >> $OUT - - echo using tune2fs to test e2undo >> $OUT - $TUNE2FS -I 256 $TMPFILE >> $OUT 2>&1 --new_md5=`md5sum $TMPFILE | cut -d " " -f 1` -+new_md5=$(md5 -q $TMPFILE) - echo md5sum after tune2fs $new_md5 >> $OUT - - $E2UNDO_EXE $TDB_FILE $TMPFILE >> $OUT 2>&1 --new_md5=`md5sum $TMPFILE | cut -d " " -f 1` -+new_md5=$(md5 -q $TMPFILE) - echo md5sum after e2undo $new_md5 >> $OUT - - if [ $md5 = $new_md5 ]; then diff --git a/sysutils/e2fsprogs/pkg-plist b/sysutils/e2fsprogs/pkg-plist index 5c118d77f77..01e66e5bd5b 100644 --- a/sysutils/e2fsprogs/pkg-plist +++ b/sysutils/e2fsprogs/pkg-plist @@ -59,6 +59,7 @@ sbin/tune2fs %%NLS%%share/locale/ca/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/cs/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/de/LC_MESSAGES/e2fsprogs.mo +%%NLS%%share/locale/eo/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/es/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/fr/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/id/LC_MESSAGES/e2fsprogs.mo @@ -67,5 +68,6 @@ sbin/tune2fs %%NLS%%share/locale/pl/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/sv/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/tr/LC_MESSAGES/e2fsprogs.mo +%%NLS%%share/locale/uk/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/vi/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/e2fsprogs.mo |