Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
31f69bc889
!7 Modify invalid source
From: @cherry530 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-11-21 09:51:41 +00:00
cherry530
519d8c3c91 Modify invalid source
Signed-off-by: cherry530 <xuping33@huawei.com>
2022-11-21 17:00:42 +08:00
openeuler-ci-bot
bc81cec5f2 !4 Del rpath for binaries in /sbin
From: @si-gui
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-09-10 02:27:01 +00:00
sunguoshuai
24f830de4d Del rpath for binaries in /sbin 2021-09-09 16:07:56 +08:00
openeuler-ci-bot
8cbea6da7b !3 Completing build dependencies to fix gcc compiler missing error
From: @hht8
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-02 20:52:47 +08:00
hht8
164c7607cf Completing build dependencies to fix gcc compiler missing error 2021-06-02 15:36:01 +08:00
openeuler-ci-bot
a94bc05ee2 !2 add reiserfs-utils.yaml
Merge pull request !2 from 成子晗/master
2020-05-09 19:24:48 +08:00
chengzihan2
88015fea59 add reiserfs-utils.yaml 2020-05-07 16:25:15 +08:00
openeuler-ci-bot
4b42ff1e94 !1 pacage init
Merge pull request !1 from chenholmes/cl
2020-02-27 10:07:57 +08:00
chenholmes
fda41a3306 init 2020-02-26 16:33:56 +08:00
4 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Description: Fix compilation with newer glibc
Fixes compilation with newer glibc.
If _XOPEN_SOURCE is defined _DEFAULT_SOURCE needs to be defined explicit
to have the definition of loff_t.
Author: Felix Zielcke <fzielcke@z-51.de>
Bug-Debian: https://bugs.debian.org/916166
Last-Update: 2018-12-12
--- reiserfsprogs-3.6.27.orig/lib/parse_time.c
+++ reiserfsprogs-3.6.27/lib/parse_time.c
@@ -1,4 +1,5 @@
#define _XOPEN_SOURCE
+#define _DEFAULT_SOURCE
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

66
reiserfs-utils.spec Normal file
View File

@ -0,0 +1,66 @@
Name: reiserfs-utils
Version: 3.6.27
Release: 5
Summary: Tools for creating, repairing, and debugging ReiserFS filesystems
URL: http://ftp.kernel.org/pub/linux/utils/fs/reiserfs/
Source0: https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v%{version}/reiserfsprogs-%{version}.tar.xz
Patch0001: parse_time_build_fix.patch
License: GPLv2 with exceptions
BuildRequires: e2fsprogs-devel libuuid-devel libacl-devel gcc chrpath
%description
The reiserfs-utils package contains a number of utilities for creating, checking, modifying,
and correcting any inconsistencies in ReiserFS filesystems, including reiserfsck (used to
repair filesystem inconsistencies), mkreiserfs (used to initialize a partition to contain an empty
ReiserFS filesystem), debugreiserfs (used to examine the internal structure of a filesystem,
to manually repair a corrupted filesystem, or to create test cases for reiserfsck), and some other
ReiserFS filesystem utilities.
You should install the reiserfs-utils package if you want to use ReiserFS on any of your partitions.
%package help
Summary: Help package for reiserfs-utils
%description help
Help package for reiserfs-utils
%prep
%autosetup -n reiserfsprogs-%{version} -p1
%build
%configure
%make_build
%install
%make_install
mv -f $RPM_BUILD_ROOT/usr/sbin $RPM_BUILD_ROOT/sbin
install -d $RPM_BUILD_ROOT%{_mandir}/man8
install -m644 debugreiserfs/debugreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8
install -m644 fsck/reiserfsck.8 $RPM_BUILD_ROOT%{_mandir}/man8
install -m644 mkreiserfs/mkreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8
( cd $RPM_BUILD_ROOT/sbin; ln -fs mkreiserfs mkfs.reiserfs; ln -fs reiserfsck fsck.reiserfs )
chrpath -d $RPM_BUILD_ROOT/sbin/*reiserfs*
%files
%doc ChangeLog CREDITS README COPYING
/sbin/*reiserfs*
%{_includedir}/reiserfs/
%{_libdir}/libreiserfscore*
%{_libdir}/pkgconfig/reiserfscore.pc
%files help
%{_mandir}/*/*
%changelog
* Mon Nov 21 2022 xu_ping <xuping33@h-partners.com> - 3.6.27-5
- Modify invalid source
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.6.27-4
- Del rpath for binaries in /sbin
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 3.6.27-3
- Completing build dependencies to fix gcc compiler missing error
* Mon Feb 24 2020 chenli <chenli147@huawei.com> - 3.6.27-2
- Init Package

4
reiserfs-utils.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://git.kernel.org/pub/scm/linux/kernel/git/jeffm/reiserfsprogs.git/
tag_prefix: ^v
seperator: .

BIN
reiserfsprogs-3.6.27.tar.xz Normal file

Binary file not shown.