Package: hfsprogs / 332.25-11

Metadata

Package Version Patches format
hfsprogs 332.25-11 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Create short Makefiles for Debian.patch | (download)

Makefile.lnx | 8 8 + 0 - 0 !
fsck_hfs.tproj/Makefile.lnx | 16 16 + 0 - 0 !
fsck_hfs.tproj/dfalib/Makefile.lnx | 15 15 + 0 - 0 !
newfs_hfs.tproj/Makefile.lnx | 12 12 + 0 - 0 !
4 files changed, 51 insertions(+)

 create short makefiles for debian

Create short Makefiles for compiling just the necessary parts for a
Debian-based (and possibly other distributions) HFS+ filesystem
utilities.

0002 Add exclude Darwin specific code.patch | (download)

fsck_hfs.tproj/cache.c | 4 4 + 0 - 0 !
fsck_hfs.tproj/dfalib/BTree.c | 2 2 + 0 - 0 !
fsck_hfs.tproj/dfalib/BlockCache.c | 3 3 + 0 - 0 !
fsck_hfs.tproj/dfalib/SBTree.c | 2 2 + 0 - 0 !
fsck_hfs.tproj/dfalib/SDevice.c | 92 65 + 27 - 0 !
fsck_hfs.tproj/dfalib/SKeyCompare.c | 2 2 + 0 - 0 !
fsck_hfs.tproj/dfalib/SRepair.c | 2 2 + 0 - 0 !
fsck_hfs.tproj/dfalib/SRuntime.h | 7 6 + 1 - 0 !
fsck_hfs.tproj/dfalib/SUtils.c | 5 3 + 2 - 0 !
fsck_hfs.tproj/dfalib/SVerify2.c | 7 7 + 0 - 0 !
fsck_hfs.tproj/dfalib/Scavenger.h | 11 10 + 1 - 0 !
fsck_hfs.tproj/dfalib/hfs_endian.c | 4 4 + 0 - 0 !
fsck_hfs.tproj/dfalib/hfs_endian.h | 7 6 + 1 - 0 !
fsck_hfs.tproj/fsck_hfs.c | 61 48 + 13 - 0 !
fsck_hfs.tproj/utilities.c | 8 7 + 1 - 0 !
include/missing.h | 115 115 + 0 - 0 !
newfs_hfs.tproj/hfs_endian.c | 5 5 + 0 - 0 !
newfs_hfs.tproj/hfs_endian.h | 5 5 + 0 - 0 !
newfs_hfs.tproj/makehfs.c | 72 53 + 19 - 0 !
newfs_hfs.tproj/newfs_hfs.c | 74 65 + 9 - 0 !
newfs_hfs.tproj/newfs_hfs.h | 26 15 + 11 - 0 !
21 files changed, 429 insertions(+), 85 deletions(-)

 add/exclude darwin-specific code

Modify some of the files so that they can be compiled without the
Apple owned frameworks in a Debian system (and possibly others).

0003 Add helper include files absent from the upstream pa.patch | (download)

include/bitstring.h | 164 164 + 0 - 0 !
include/hfs/hfs_format.h | 689 689 + 0 - 0 !
include/hfs/hfs_mount.h | 78 78 + 0 - 0 !
include/sys/appleapiopts.h | 52 52 + 0 - 0 !
4 files changed, 983 insertions(+)

 add helper include files absent from the upstream package

Add some include files from an Apple system that contain the definition of
the data structures used by the programs that manipulate the filesystems.

0004 Fix compilation on 64 bit arches.patch | (download)

fsck_hfs.tproj/dfalib/BTreePrivate.h | 5 4 + 1 - 0 !
fsck_hfs.tproj/dfalib/SControl.c | 8 4 + 4 - 0 !
fsck_hfs.tproj/dfalib/SVerify1.c | 14 7 + 7 - 0 !
fsck_hfs.tproj/dfalib/hfs_endian.c | 2 1 + 1 - 0 !
4 files changed, 16 insertions(+), 13 deletions(-)

 fix compilation on 64-bit arches


0005 Remove Apple specific p from strings.patch | (download)

fsck_hfs.tproj/dfalib/BTreeTreeOps.c | 48 24 + 24 - 0 !
fsck_hfs.tproj/dfalib/SBTree.c | 14 7 + 7 - 0 !
2 files changed, 31 insertions(+), 31 deletions(-)

 remove (apple-specific?) \p from strings

Modify the way that debug messages are sent to the user, by eliminating one
character of them.

0006 Adjust types for printing.patch | (download)

fsck_hfs.tproj/dfalib/SControl.c | 2 1 + 1 - 0 !
fsck_hfs.tproj/dfalib/hfs_endian.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 adjust types for printing

0007 Fix path for HFS wrapper block.patch | (download)

newfs_hfs.tproj/makehfs.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix path for hfs wrapper block

Fix the installation of the HFS wrapper block to be compliant in Linux
systems (since it is arch independent).

0008 Provide command line option a.patch | (download)

fsck_hfs.tproj/fsck_hfs.c | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 provide command line option -a

Create a new command line option (-a) for the fsck.hfsplus that has the same
behavior that the -p option has, for greater compatibility with other tools.

0009 Rename dprintf to dbg_printf.patch | (download)

fsck_hfs.tproj/dfalib/SRepair.c | 18 9 + 9 - 0 !
fsck_hfs.tproj/dfalib/SVerify1.c | 6 3 + 3 - 0 !
fsck_hfs.tproj/fsck_debug.c | 10 5 + 5 - 0 !
fsck_hfs.tproj/fsck_debug.h | 10 5 + 5 - 0 !
4 files changed, 22 insertions(+), 22 deletions(-)

 rename dprintf to dbg_printf


0010 Rename custom macro nil with NULL.patch | (download)

fsck_hfs.tproj/dfalib/BTree.c | 142 71 + 71 - 0 !
fsck_hfs.tproj/dfalib/BTreeAllocate.c | 14 7 + 7 - 0 !
fsck_hfs.tproj/dfalib/BTreeMiscOps.c | 26 13 + 13 - 0 !
fsck_hfs.tproj/dfalib/BTreeNodeOps.c | 30 15 + 15 - 0 !
fsck_hfs.tproj/dfalib/BTreeTreeOps.c | 38 19 + 19 - 0 !
fsck_hfs.tproj/dfalib/SControl.c | 56 28 + 28 - 0 !
fsck_hfs.tproj/dfalib/SRepair.c | 6 3 + 3 - 0 !
fsck_hfs.tproj/dfalib/SUtils.c | 6 3 + 3 - 0 !
fsck_hfs.tproj/dfalib/SVerify1.c | 32 16 + 16 - 0 !
fsck_hfs.tproj/dfalib/SVerify2.c | 4 2 + 2 - 0 !
10 files changed, 177 insertions(+), 177 deletions(-)

 rename custom macro nil with null


0011 Fix types.patch | (download)

fsck_hfs.tproj/cache.c | 30 16 + 14 - 0 !
1 file changed, 16 insertions(+), 14 deletions(-)

 fix types


0012 Fix mkfs not creating UUIDs for new filesystems.patch | (download)

include/missing.h | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 fix mkfs not creating uuids for new filesystems.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix mkfs not creating UUIDs for new filesystems.

Thanks to Lars Noodn for reporting the bug at
 <https://bugs.launchpad.net/bugs/737002>.

This closes LP: #737002.

0013 Fix manpages.patch | (download)

fsck_hfs.tproj/fsck_hfs.8 | 18 7 + 11 - 0 !
newfs_hfs.tproj/newfs_hfs.8 | 23 8 + 15 - 0 !
2 files changed, 15 insertions(+), 26 deletions(-)

 fix manpages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Remove typos, references in the "See also" sections of the manpages to
commands that are not available in Debian systems (and, quite probably,
other systems too) and non-Linux specific comments.

Authored also by Christoph Hellwig <hch@lst.de> and  "A. Costa" <agcosta@gis.net>

Bug-Debian: http://bugs.debian.org/598714
Bug-Debian: http://bugs.debian.org/575201