Commit graph

178 commits

Author SHA1 Message Date
Matthias Andree
b46eb418a9 Update sysutils/e2fsprogs to new upstream release 1.44.5
Release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.5>

MFH:		2018Q4
2018-12-22 09:53:38 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Matthias Andree
b017a6d66f Align *_DEPENDS and use paths for bash in my ports; fix var name.
On systems where bash is in $PATH but not in ${LOCALBASE}/bin/bash,
ilmbase would fail to build, and e2fsprogs might fail if the
BASHTESTS option was enabled.
Make sure that the _DEPENDS and the actual path handed to the configure or
test rig match to the letter, to avoid a time-of-check vs. time-of-use
discrepancy.

In e2fsprogs, the helper variable was also mistyped and would never
amend to BUILD_DEPENDS. Fix typo.

Check my other ports, but wiggle and xmlto [textproc/] seem unaffected.

Reported by:	J R Matthews (direct email)
MFH:		2018Q4
2018-12-04 22:36:34 +00:00
Matthias Andree
d8967d87f6 Attempt to fix build on powerpc64.
Since the reporter has refused to test my proposed patch twice,
I am committing this anyways.

PR:		231570
Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>
2018-09-22 14:40:13 +00:00
Matthias Andree
d4f87f8b23 Update sysutils/e2fsprogs to new upstream release 1.44.4.
This is a bug fixing release.

Full release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.4>

MFH:		2018Q3
2018-08-27 23:45:26 +00:00
Matthias Andree
9867fe2790 Update to new upstream release 1.44.3.
* several features for debugfs added
* there is a new e2mmpstatus command
* there are several bug fixes, among them endianness fixes and robustness
  fixes against corrupted input.
* add hashmap.h header file, for libext2fs users
* a few type fixes for format strings,
  found while building for MIPS, ARM, or i386
* add new option SLOWTESTS which prevents skipping of slow tests
* add new option BASHTESTS which enables tests that require bash
  (currently affects only the test f_large_dir that is also marked
   as slow)

Full release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.3>

Reset PORTREVISION in slave ports, e2fsprogs{-libss,-libuuid} now
that we have bumped PORTVERSION.

MFH:		2018Q3
2018-07-10 13:48:31 +00:00
Matthias Andree
c12dbd3151 sysutils/e2fsprogs: unmark broken on MIPS and ARM:
f_pre_1970_date_encoding self-test passes on MIPS64 w/ releng/11.2.
2018-07-07 21:58:29 +00:00
Matthias Andree
51e56bef9c sysutils/e2fsprogs: fixup regression of MASTERDIR check. 2018-07-07 20:00:31 +00:00
Matthias Andree
0491fdc713 Apply no-sbrk() patch only to master port. 2018-07-07 19:20:59 +00:00
Matthias Andree
3f7114d870 Unbreak aarch64 compilation by removing sbrk() references. 2018-07-07 13:05:32 +00:00
Mark Linimon
85657604aa Also mark broken on other tier-2 archs.
Approved by:	portmgr (tier-2 blanket)
2018-06-08 03:59:36 +00:00
Matthias Andree
a268a9a651 Update to new upstream release 1.44.2.
Most important changes over 1.44.1_1:

e2fsck: adjust quota counters when clearing orphaned inodes
e2fsprogs: fix Free Software Foundation address
mke2fs: print error string if ext2fs_close_free() fails
po: update pl.po (from translationproject.org)
Use @AR@ instead of hardcoded 'ar'

Changelog over 1.44.1:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.2>

MFH:		2018Q2
2018-05-18 19:36:48 +00:00
Matthias Andree
0aeb79805c Cherry-pick upstream bug fixes from Git.
This is pending an 1.44.2 release, and contains these fixes from maint:
filefrag: avoid temporary buffer overflow
libext2fs: add sanity checks for ea_in_inode
e2image: fix metadata image handling on big endian systems
e2fsck: warn if checkinterval and broken_system_clock both set
tests: don't leave temp files behind after running i_bitmaps
tests: add new test f_ea_inode_self_ref
chattr.1: 'a' and 'i' attribute do not affect existing file

MFH:		2018Q2
2018-05-11 11:56:29 +00:00
Dag-Erling Smørgrav
41fa00b12b Don't set USE_LDCONFIG for child ports. They will do so themselves if
they need it.  Also, use PREFIX instead of LOCALBASE.

Not bumping PORTREVISION as the only observable effect is the absence of
a warning message caused by running ldconfig on a non-existent directory.

Approved by:	maintainer (mandree@)
2018-05-11 10:51:36 +00:00
Matthias Andree
f6c54f567f Regression/bug fix update to e2fsprogs 1.44.1.
ChangeLog:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.1>

MFH:		2018Q2
2018-04-28 14:30:24 +00:00
Matthias Andree
de9abc3317 Security/bug fix update to e2fsprogs 1.44.0
Changelog:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.0>

Reported by:	Dutchman01
MFH:		2018Q1
Security:	2aa9967c-27e0-11e8-9ae1-080027ac955c
2018-03-14 23:40:02 +00:00
Matthias Andree
f9e7b577cc Bugfix update e2fsprogs to new upstream release 1.43.9.
Changelog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.9>

Reset e2fsprogs-libuuid's PORTREVISION.
2018-02-20 22:14:17 +00:00
Mark Linimon
e4bf9eda16 Mark broken on both armv6 and armv7.
Approved by:	portmgr (tier-2 blanket)
2018-02-19 05:18:06 +00:00
Matthias Andree
ae9c8bdf77 Bugfix update to new upstream release 1.43.8.
This fixes a few important bugs where updates are missed, displayed data is
incorrect, a use-after-free-bug and fixes important bugs WRT super block
handling on big-endian systems (missed byte-swaps).

Changelog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.8>

MFH:		2018Q1
2018-01-03 12:35:12 +00:00
Ed Maste
fda7443dba sysutils/e2fsprogs: set LLD_UNSAFE to avoid linking with lld
One test fails when this port is linked with lld:

d_loaddump: debugfs load/dump test: failed

--- d_loaddump/expect	2017-10-16 05:45:45.000000000 +0000
+++ d_loaddump.log	2017-12-28 13:00:42.099973000 +0000
@@ -10,7 +10,7 @@
 Pass 3: Checking directory connectivity
 Pass 4: Checking reference counts
 Pass 5: Checking group summary information
-test_filesys: 12/64 files (0.0% non-contiguous), 158/512 blocks
+test_filesys: 12/64 files (0.0% non-contiguous), 156/512 blocks
 Exit status is 0
 debugfs -R ''dump test_data d_loaddump.ver.tmp'' test.img
 Exit status is 0

This looks like a very unusual failure and careful investigation into
lld's behaviour is warranted, but for now set LLD_UNSAFE to fall back
to ld.bfd so the port continues to build for users using lld as
/usr/bin/ld.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2017-12-29 15:20:54 +00:00
Matthias Andree
ef45605556 e2fsprogs, prepend new .so dir to RPATH/RUNPATH...
...so that the tools other than e2fsck find their libraries.

Reported by: ehaupt@
2017-10-30 19:04:02 +00:00
Matthias Andree
a25818bf29 Reconcile e2fsprogs ./. krb5-* conflicts.
* Move conflicting e2fsprogs headers & libs into .../e2fsprogs/... subdirs.
* Move conflicting awk scripts into ${DATADIR}.
* Rename and patch compile_et to e2fsprogs-compile_et.
* Remove conflict markers (from e2fsprogs and krb5-*).
* Add CPPFLAGS/LDFLAGS to sysutils/fusefs-ext2, including
  --rpath setting.

While here, also:
* sort pkg-plist and files/unwanted
* use FUSEFS_CONFIGURE_ENABLE=fuse2fs to prevent e2fsprogs from picking up
  fusefs (implies --disable-fuse2fs if the option remains disabled)
* add --without-included-gettext to CONFIGURE_ARGS just to be on the safe
  side.

And of course, bump PORTREVISION to 3 in e2fsprogs. Since other ports
do not change files or runtime behaviour, their PORTREVISION remains
untouched.
2017-10-30 16:55:26 +00:00
Matthias Andree
2435367970 Add CONFLICTS between krb5-* and e2fsprogs.
Reported by: jbeich@
2017-10-30 00:16:28 +00:00
Matthias Andree
b5a8749dc8 Also add com_err headers, .pc file, and compile_et.
Reported by: ehaupt@
2017-10-29 23:59:46 +00:00
Matthias Andree
11a1e89fc7 Install header and .pc (pkg-config) files, too.
Reported by:	ehaupt@
2017-10-29 15:42:09 +00:00
Matthias Andree
627a084eea Update to new upstream 1.43.7, install libext2fs.so [1].
Install shared libraries, and use them (except for e2fsck, which links it
statically so it can be used from /sbin), requested by pgf@ and fsu@.

To that end, we need to add LIB_DEPENDS and tweak CONFIGURE_ARGS (notably
LDFLAGS need to be passed there already, not in MAKE_ARGS, so that we can find
libuuid/libblkid).

Use @comment trick in pkg-plist to ignore not-to-install libraries (libss,
libblkid - these have their own ports) while shutting up make check-plist and
poudriere checks at the same time.

Reported by:	pgf@, fsu@ [1]
2017-10-29 09:10:56 +00:00
Jan Beich
8474edb3cc misc/e2fsprogs-{libblkid,libuuid}: lift BROKEN
After r450705 www/firefox requires -libuuid via audio/jack. Both slaves
built fine on 11.0, 11.1 and 12.0 aarch64.

Pointy hat to:	mandree (r450553)
2017-09-28 19:32:19 +00:00
Matthias Andree
e621855e39 Add FUSEFS option. Assorted fixes.
This adds a FUSEFS option based on earlier work by Fedor Uporov (fsu@)
and Pedro Giffuni (pfg@).

While here, repair DOCS/NLS options, broken since r418578 (1.43.1).

Leverage OPTIONS_SUB to replace NLS and FUSEFS in pkg-plist.

Add --enable-libuuid to avoid picking up a dynamic system libuuid.so
from /usr/local which would break the static /sbin/e2fsck (by
including a lib below /usr).

Bump PORTREVISION.

Reported by:	pfg@
2017-09-24 22:38:26 +00:00
Matthias Andree
578bf2e843 Update to new upstream release 1.43.6.
This fixes FreeBSD-related regressions observed in 1.43.4 and 1.43.5,
and portability issues around quota support on 32-bit builds.

Changelog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.6>

[The MFH request will also need to take 1.43.5 upgrades into account,
so the easiest would probably to merge the entire history since branching.]

MFH:		2017Q3
2017-09-10 16:01:18 +00:00
Matthias Andree
ddc195e183 Fix "invalid argument" regression.
e2fsprogs v1.43.4 and .5 appear to attempt unaligned writes to disk
devices, which causes "invalid argument" errors and failures.

Patch unix_io.c to always obtain the alignment requirements on
FreeBSD, so that e2fsprogs uses its own write buffers and read-
modify-write cycles when writing only parts of a block.

Bump PORTREVISION, as crucial executables and libs change.

While here, bump self-test requirement to FreeBSD >= 12,
since the maintainer has tested these on 11.0/11.1 amd64/i386.

Reported by:	Artyon Mirgorodsky (in private)
2017-08-27 12:21:09 +00:00
Matthias Andree
145ef684d5 Reenable four architectures for now. 2017-08-12 21:49:59 +00:00
Matthias Andree
8cb747b5f3 Fix quota warnings in non-LP64 mode (11.x i386).
PR:		221447
Reported by:	vvd@unislabs.com
2017-08-12 21:49:49 +00:00
Matthias Andree
e76b66fc16 Upgrade to new upstream release 1.43.5, assorted fixes.
Changelog:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.5>

Add proper LICENSE* statements to all the Makefiles of e2fsprogs
and its slave ports.

Update e2fsprogs-libuuid's pkg-plist to use @preunexec and @dir,
instead of @[un]exec.

Add BLKID_FILE to e2fsprogs's Makefile to prevent f_detect_xfs
from polluting the system's /etc/blkid.tab in make check.
2017-08-12 10:12:47 +00:00
Mark Linimon
98885b3265 This port itself fails on tier-2, but its slave port does not.
I had not noticed it had a working slave port.

Noticed by:	mmel
Approved by:	portmgr (tier-2 blanket)
Pointy hat to:	linimon
2017-05-30 16:02:52 +00:00
Mark Linimon
c52a715800 Mark some ports failing on armv6, for errors classified as "???",
part 2.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-27 00:20:19 +00:00
Mark Linimon
17509a431f Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-13 23:50:49 +00:00
Matthias Andree
7841256d5c Remove GNUism in grep basic regular expression in self-test.
Versus Kyle's submission, replace "egrep" by "grep -E" to avoid
reintroducing deprecated tools.

PR:		218614
Submitted by:	Kyle Evans <bsdports@kyle-evans.net>
2017-04-21 22:59:11 +00:00
Matthias Andree
67e8c89276 Fix build without NLS, adding %%NLS%% to pkg-plist.
Broken since r433466, update to 1.43.4, which added .mo files to
pkg-plist but forgot to add the %%NLS%% prefixes.

PR:		217378
Submitted by:	Andrew Romanenko
Reported by:	Andrew Romanenko
MFH:		2017Q1
Pointyhat:	Matthias Andree
2017-02-26 21:34:35 +00:00
Matthias Andree
b907987b54 Update e2fsprogs to new upstream release 1.43.4.
This is predominantly a bug-fix release, it however ceases installing
the *ext4dev files, which have been replaced by *ext4 for quite a while,
and adds two translations [fi, ms].

While here, reset PORTREVISION on two slave ports.

ChangeLog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4>

Note in particular this part of the ChangeLog:
«Replace a test file but which had a "non-commercial use-only" copyright
permission file with a newer version from the Cyrus imapd package which
now has a 4-clause BSD license, which was making some lawyers nervous,
even though the test file in question was only used in lib/et's
regression testing and was never included in any compiled binary.
(Addresses Debian Bug: #840733)»

PR:		216774
Reported by:	Thomas Zander (riggs@)
MFH:		2017Q1
2017-02-05 23:39:14 +00:00
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Alexey Dokuchaev
50c7b417e3 Do not terminate BROKEN messages with period, it is added by the framework. 2016-11-14 11:26:59 +00:00
Mark Linimon
631eab01cc Mark as broken on aarch64: fails to link with sbrk.
While here, pet portlint and remove stale ia64 lines.

Approved by:	portmgr (tier-2 blanket)
2016-11-10 01:21:43 +00:00
Mathieu Arnold
d26ef18700 Cleanup no longer needed CHMOD usage after r424898.
PR:		213743
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-11-02 22:45:14 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Dmitry Marakasov
15e66fb575 - Switch couple more ports to verbose build
- Remove --disable-silent-rules which are used by default

Approved by:	portmgr blanket
2016-10-13 13:08:09 +00:00
Matthias Andree
25ddbb284b Fix bounced I/O on unaligned buffers (FreeBSD 11+)
The bounce-buffer I/O driver fix in patch-lib_ext2fs_unix__io.c is a
prototypical fix, and has been forwarded upstream, but it permits us to
pass all self-tests (mostly undo-related) that were still failing on
11.0-RC2 amd64.  There is some potential for optimization,
posix_memalign() might save us quite a few memcpy() calls and replace
the now-repaired code paths by a simple pread[64]() or pwrite[64]().

Remove BROKEN, but insist (by setting BROKEN conditionally) on anything
that is FreeBSD 11 or newer, or non-i386/non-amd64, that the user runs
at least the small self-tests.

Revise option descriptions a bit.

Bump PORTREVISION.
2016-09-12 23:05:22 +00:00
Matthias Andree
c0c8ea3531 Fix most of the FreeBSD 11+ issues, except e2undo.
Pull in upstream Git patch for lib/ext2fs/unix_io.c to fix unaligned
multi-block writes, and disable the two known failing e2undo patches
ONLY for the exact 1.43.3_2, even if "ALLTESTS" is enabled.
(Modify the post-patch:: target to avoid that.)

The port is still marked BROKEN on FreeBSD 11+ to protect the innocent,
but a TRYBROKEN=1 build that will not use e2undo should be fine now.

Obtained from:	Ted Y. Ts'o (upstream maintainer)
2016-09-11 10:26:24 +00:00
Matthias Andree
9249e847d5 Ignore SIGINFO during self-tests.
In the FreeBSD-specific patch, when the environment variable
e2fsprogs_inhibit_SIGINFO exists (whatever its content, even if empty),
do NOT install the SIGINFO handler.  Leverage this when running the
self-tests.  This is to avoid false negatives during the self-tests due
to interspersed SIGINFO output redirected from stderr to the log files.

Bump PORTREVISION because this changes the e2fsck utility.
2016-09-10 18:53:56 +00:00
Matthias Andree
fd78a097fb Update to new upstream release 1.43.3.
ChangeLog: (also see the log for 1.43.2 that the port skipped!)
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.3>

While here, refresh patches, and time-limit programs in self-test suite
to 60 s CPU time each, to avoid runaway processes from stalling the
self-tests for too long.

Still no joy on FreeBSD 11+ - the self-test results hint to massive data
loss, and more than 10 self-tests fail.
2016-09-10 18:00:53 +00:00
Matthias Andree
63dcd8625f Disable one self-test due to strange failures. 2016-07-29 13:29:21 +00:00