Skip to content

Commit

Permalink
Merge tag 'v1.47.2-rc1' into debian/master
Browse files Browse the repository at this point in the history
v1.47.2-rc1
  • Loading branch information
tytso committed Nov 29, 2024
2 parents 1d356bc + 2aa6075 commit 6b30400
Show file tree
Hide file tree
Showing 40 changed files with 1,629 additions and 1,111 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is the new version (1.47.1) of the second extended file
This is the new version (1.47.2) of the second extended file
system management programs.

From time to time, I release new versions of e2fsprogs, to fix
Expand Down
5 changes: 5 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -13018,6 +13018,11 @@ if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
else
echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
fi
if grep SIZEOF_TIME_T confdefs.h > tmp_config.$$; then
uniq tmp_config.$$ >> public_config.h
else
echo "#undef SIZEOF_TIME_T" >> public_config.h
fi
if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
uniq tmp_config.$$ >> public_config.h
else
Expand Down
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,11 @@ if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
else
echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
fi
if grep SIZEOF_TIME_T confdefs.h > tmp_config.$$; then
uniq tmp_config.$$ >> public_config.h
else
echo "#undef SIZEOF_TIME_T" >> public_config.h
fi
if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
uniq tmp_config.$$ >> public_config.h
else
Expand Down
32 changes: 32 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
e2fsprogs (1.47.2~rc1-1) unstable; urgency=medium

* New upstream version
* Remove the -r option from tune2fs and replace it with an extended
option since most users will never need to request a file system
suitable for pre-1995 1.2 version kernels and a typo will just end up
confusing the user and leaving them with a file system missing most
modern ext4 features, including no support for on-line resizing and no
support for post-2038 timestamps. Closes: #1086603)
* Add support for gnu.translator extended attrbitues in tar files fed to
mke2fs -d.
* Avoid a spurious failure in badblocks when -n or -w is specified
twice. (Closes: #1087341)
* Fix a bug which caused e2fsck to skip checking a file system with the
orphan_file feature if there are orphaned files which need to be
cleaned up.
* Fix a bug which caused tune2fs to corrupt a revision 0 file system
when changing the inode size by updating the revision to the current
standard revision supported by all Linux kernels since 1995.
* Fix fuse2fs --helpfull so that it displays the full help message.
* Allow resize2fs to perform an offline resize past the 256 TiB boundary
* Fix unused parameter warnings for packages which including ext2fs.h.
(Closes: #1082500)
* Provide fuseext2 to replace the debian package src:fuse-umfuse-ext2.
(Closes: #1085590)
* Clean up groff warnings in man pages. (Closes: #1086892, #1082787,
#1072866, #1087898)
* Document the orphan_file feature in the ext4(5) and tune2fs(8) man
pages. (Closes: #1073062)

-- Theodore Y. Ts'o <tytso@mit.edu> Thu, 28 Nov 2024 23:35:35 -0500

e2fsprogs (1.47.1-1) unstable; urgency=medium

* New upstream version
Expand Down
11 changes: 11 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,23 @@ Package: fuse2fs
Build-Profiles: <!pkg.e2fsprogs.no-fuse2fs>
Priority: optional
Depends: ${shlibs:Depends}, ${misc:Depends}
Breaks: fuseext2 (<< 1.47.1-2~)
Replaces: fuseext2 (<< 1.47.1-2~)
Architecture: linux-any kfreebsd-any
Description: ext2 / ext3 / ext4 file system driver for FUSE
fuse2fs is a FUSE file system client that supports reading and
writing from devices or image files containing ext2, ext3, and ext4
file systems.

Package: fuseext2
Build-Profiles: <!pkg.e2fsprogs.no-fuse2fs>
Depends: fuse2fs (>= 1.47.1-2), ${misc:Depends}
Architecture: all
Priority: optional
Section: oldlibs
Description: transitional package
This is a transitional package. It can safely be removed.

Package: logsave
Priority: optional
Depends: ${shlibs:Depends}, ${misc:Depends}
Expand Down
40 changes: 40 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ Copyright: 2003-2007 Theodore Ts'o <tytso@mit.edu>
1995-1996 Michael Nonweiler <mrn20@cam.ac.uk>
License: GPL-2

Files: debian/fuse-ext2
Copyright: 2008-2010 Alper Akcan <alper.akcan@gmail.com>
2009-2010 Renzo Davoli <renzo@cs.unibo.it>
License: GPL-2+

Files: debian/fuse-ext2.1
Copyright: 2024 наб <nabijaczleweli@nabijaczleweli.xyz>
License: 0BSD

Files: lib/et/*
lib/ss/*
Copyright: 1987-1988 MIT Student Information Processing Board
Expand Down Expand Up @@ -471,6 +480,37 @@ Comment:
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program (in the main directory of the fuse-ext2
distribution in the file COPYING); if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Comment:
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: 0BSD
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

License: LGPL-2
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
Expand Down
65 changes: 65 additions & 0 deletions debian/fuse-ext2
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#!/bin/sh
usage() {
printf 'usage: %s [-hv] [-o ro|force|allow_others[,...]]... device|image mountpoint\n\nUse fuse2fs instead.\n' "${0##*/}"
exit 9
}

args="$(getopt -o 'hvo:' --long 'help,verbose,options:' -n "${0##*/}" -s 'sh' -- "$@")" || exit
eval set -- "$args"

original_options=
readonly=
force=
while :; do
case "$1" in
-o|--options)
original_options="$original_options,$2"
shift 2
;;
-h|--help)
usage
shift
;;
-v|--verbose)
shift
;;
--)
shift
break
;;
esac
done

[ $# -eq 2 ] || usage
device="$1"
mountpoint="$2"

# let fuse2fs check $device

options=
while [ -n "${original_options#,}" ]; do
original_options="${original_options#,}"
full="${original_options%%,*}"
original_options="${original_options#*,},"
case "${full%%=*}" in
"ro" ) readonly=y ;; # Read-only mount.
"rw" ) readonly= ;; # Read-write mount
"rw+" ) readonly=; force=y ;; # Read-write mount
"silent") ;; # keep silent
"force" ) force=y ;; # enable read/write
* ) options="$options,$full"; continue ;;
esac
[ "$full" = "${full%=*}" ] || {
printf '%s: %s: value given but not allowed\n' "${0##*/}" "$full" >&2
exit 254
}
done

[ -z "$readonly" ] && [ -z "$force" ] && {
printf '%s: Mounting %s Read-Only. Use '\''force'\'' or '\''rw+'\'' options to enable Read-Write mode\n' "${0##*/}" "$device" >&2
readonly=y
}

[ -n "$readonly" ] && options="$options,ro" || options="$options,rw"

exec /usr/bin/fuse2fs "$device" "$mountpoint" -o "${options#,}"
67 changes: 67 additions & 0 deletions debian/fuse-ext2.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
.\" SPDX-License-Identifier: 0BSD
.\"
.Dd October 24, 2024
.Dt FUSE-EXT2 1
.Os fuse2fs
.
.Sh NAME
.Nm fuse-ext2
.Nd fuse2fs compatibility wrapper
.Sh SYNOPSIS
.Nm
.Op Fl hv
.Oo Fl o Cm ro Ns \&| Ns Cm force Ns \&| Ns Cm allow_others Ns Oo ,… Oc Oc Ns
.Ar device Ns \&| Ns Ar image
.Ar mountpoint
.
.Sh DESCRIPTION
This wrapper provides the
.Nm
interface via
.Xr fuse2fs 1 ,
which you should migrate to instead.
.
.Sh OPTIONS
.Bl -tag -compact -width ".Fl o , -options Ar option Ns Op ,…"
.It Fl h , -help
Show usage string.
.
.It Fl v , -verbose
Ignored.
.
.It Fl o , -options Ar option Ns Op ,…
.Xr mount.fuse3 8
options, of which these are handled specially:
.Bl -tag -compact -offset 4n -width ".Cm silent"
.It Cm ro
Mount read-only.
.
.It Cm rw
Mount read-write
.Em if
.Cm force
also given.
This is the default.
.
.It Cm rw+
Same as
.Fl o Cm rw , Ns Cm force
.It Cm silent
Ignored.
.It Cm force
If
.Cm rw ,
mount read-write.
.El
all other
.Ar option Ns s
are forwarded to
.Nm fuse2fs
directly.
.Pp
If
.Cm rw
but not
.Cm force ,
the mount is read-only and a warning is issued.
.El
3 changes: 3 additions & 0 deletions debian/fuse2fs.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/usr/bin/fuse2fs
/usr/share/man/man1/fuse2fs.1

debian/fuse-ext2 /usr/bin/
debian/fuse-ext2.1 /usr/share/man/man1/
7 changes: 7 additions & 0 deletions debian/fuse2fs.links
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/usr/bin/fuse-ext2 /usr/bin/fuseext2
/usr/bin/fuse-ext2 /usr/sbin/mount.fuse-ext2
/usr/sbin/mount.fuse-ext2 /usr/sbin/mount.fuseext2

/usr/share/man/man1/fuse-ext2.1 /usr/share/man/man1/fuseext2.1
/usr/share/man/man1/fuse-ext2.1 /usr/share/man/man8/mount.fuse-ext2.8
/usr/share/man/man8/mount.fuse-ext2.8 /usr/share/man/man8/mount.fuseext2.8
3 changes: 3 additions & 0 deletions debian/salsa-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
Loading

0 comments on commit 6b30400

Please sign in to comment.