Репозиторий Sisyphus
Последнее обновление: 23 января 2021 | Пакетов: 17776 | Посещений: 20115281
en ru br
Репозитории ALT

Группа :: Система/Настройка/Оборудование
Пакет: hfsprogs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: hfsprogs
Version: 332.25
Release: alt2

Summary: mkfs and fsck for HFS and HFS+ file systems
Summary(ru_RU.UTF-8): пёя┌п╦п╩п╦я┌я▀ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ я└п╟п╧п╩п╬п╡я▀п╪п╦ я│п╦я│я┌п╣п╪п╟п╪п╦ Linux

License: APSL
Group: System/Configuration/Hardware
Url: http://packages.debian.org/ru/sid/hfsprogs

Source: %name-%version.tar
Packager: Vitaly Lipatov <lav at altlinux.ru>

Patch0: 00-create_makefiles.patch
Patch1: 10-linux_specific_code.patch
Patch2: 20-apple_specific_files.patch
Patch3: 25-64-bit-fix.patch
Patch4: 30-formatting_strings.patch
Patch5: 40-printf_types.patch
Patch6: 50-typo-new_fs-manpage.diff
Patch7: 60-hfs-wrapper-boot-in-usr-share.diff
Patch8: 70-diskdev_cmds_system_check-332.14.patch
Patch9: 80-fix_manpages.patch
Patch10: 90-rename_dprintf.patch
Patch11: 91-remove-nils.patch
Patch12: 92-fix-types.patch

# Automatically added by buildreq on Fri Dec 16 2011

BuildRequires: libbsd-devel libssl-devel

The HFS+ file system used by Apple Computer for their Mac OS is
supported by the Linux kernel.  Apple provides mkfs and fsck for
HFS+ with the Unix core of their operating system, Darwin.

This package is a port of Apple's tools for HFS+ filesystems.

For users, HFS+ seems to be a good compromise to carry files between
MacOS X and Linux Machines, as HFS+ doesn't suffer the problems of
FAT32 like:

* huge space waste (in slack space as devices grow faster);
* ability to create files that are more than 4GB in size (especially
  good for those working with multimedia and that need to carry large
  ISO files);
* ability to use case preserving (and even sensitivity!);
* ability to use uid's and gid's on the filesystem.

Users in general can enjoy such benefits since it is expected to have
more HFS+ filesystems in use, as Apple has announced Macintoshes for
ix86-64, besides the filesystem being already supported by PowerPC
systems since the beginning.

%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

# DeallocateFile at SExtents.c:701:8: call to __builtin___memset_chk will always overflow destination buffer
%add_optflags -U_FORTIFY_SOURCE
%add_optflags -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -I$(pwd)/include
%make_build -f Makefile.lnx CFLAGS="%optflags"

mkdir -p %buildroot%_sbindir/ %buildroot%_man8dir/ %buildroot%_datadir/hfsbootdata/
install -m 644 newfs_hfs.tproj/hfsbootdata.img %buildroot%_datadir/hfsbootdata/
install -m 755 newfs_hfs.tproj/newfs_hfs   %buildroot%_sbindir/mkfs.hfsplus
install -m 755 fsck_hfs.tproj/fsck_hfs     %buildroot%_sbindir/fsck.hfsplus
install -m 644 newfs_hfs.tproj/newfs_hfs.8 %buildroot%_man8dir/mkfs.hfsplus.8
install -m 644 fsck_hfs.tproj/fsck_hfs.8   %buildroot%_man8dir/fsck.hfsplus.8



Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin