lgcosta d3925f1521 Modernize the build system so it builds on current toolchains
The autotools setup could not bootstrap with modern autoconf/libtool:
`autoreconf -fi` failed with "possibly undefined macro: AC_PROG_LIBTOOL",
and several other macros used here were removed or deprecated long ago.

configure.ac:
  - AC_PROG_LIBTOOL -> LT_INIT (with AC_CONFIG_MACRO_DIRS/AC_CONFIG_AUX_DIR);
    add AM_PROG_AR required by newer libtool/automake.
  - AM_CONFIG_HEADER -> AC_CONFIG_HEADERS; AC_OUTPUT(files...) -> AC_OUTPUT
    with an explicit AC_CONFIG_FILES list.
  - AC_TRY_COMPILE -> AC_COMPILE_IFELSE; drop AC_HEADER_STDC,
    AC_PROG_GCC_TRADITIONAL, AC_STRUCT_ST_RDEV, AC_C_CONST and AC_C_INLINE
    (all obsolete or unconditionally available).
  - Drop AC_FUNC_MEMCMP/STRFTIME/VPRINTF; the corresponding HAVE_* macros
    were never referenced. Keep the register_printf_* check but test the
    ac_cv_func_* names that AC_CHECK_FUNCS actually sets.
  - Pin -std=gnu11 (the sources predate C99 and rely on implicit-int-era
    behaviour that newer C standards reject) and fix the -Wuninitialized
    probe, which never set its cache variable.
  - off_t/blkcnt_t sizeof fallbacks 64 -> 8 (bytes, not bits).

reiserfscore.pc.in: substitute @PACKAGE_VERSION@; REISERFSPROGS_VERSION was
never defined, so the generated .pc always carried an empty Version.

lib/parse_time.c: define _GNU_SOURCE, not _XOPEN_SOURCE. The valueless
_XOPEN_SOURCE disables _DEFAULT_SOURCE, which hides loff_t in <sys/types.h>
and broke the build. Every other translation unit already uses _GNU_SOURCE.

reiserfscore/xattr.c: drop the unused <sys/acl.h> include; no libacl symbol
is used (the reiserfs_acl_* structs come from reiserfs_fs.h), and the header
is not a declared build dependency.

Add autogen.sh to regenerate the build system after a fresh clone, and
update .gitignore for the build-aux/m4 layout and generated artifacts.

Verified: ./autogen.sh && ./configure && make completes on gcc 16 /
automake 1.18 / autoconf 2.72. mkreiserfs, reiserfsck --check,
debugreiserfs -S and reiserfstune all run against a freshly formatted
64 MiB image.
2026-11-11 21:29:42 -03:00
2016-06-06 14:05:43 -04:00
2012-10-30 17:51:42 -04:00
2013-07-01 15:05:13 -04:00

Reiserfs is a file system based on balanced tree algorithms, which is described
at www.namesys.com.

[LICENSING]

ReiserFSprogs is hereby licensed under the GNU General Public License version 2
but with the following "Anti-Plagiarism" modification:   You may not remove any
credits  or  brand marks,  or cause them to not display,  unless you are an end
user  (that is,  you are not redistributing to others).  Yes,  there really are
people with the nerve  to remove credits from software  they did not write,  or
only wrote a small part of,  and they are even frequently occurring sad to say.
Credits are not ads,  credits describe  someone's  contribution  to the project
(e.g. labor or money) whereas an ad says something else.

Source   code   files   that   contain   the   phrase  "licensing  governed  by
reiserfsprogs/README" are "governed files" throughout that file. Governed files
are licensed under this license.  The portions of them owned by Hans Reiser, or
authorized to be licensed by him, have been in the past,  and likely will be in
the future,  licensed to other parties  under  other licenses.  If you add your
code to governed files,  and don't want it to be owned by Hans Reiser, put your
copyright label on that code  so  we  can  keep  things straight.  It will be a
kindness if you identify whether Hans Reiser is allowed to license code labeled
as owned by you on your behalf other than under this license,  because he wants
to  know  if  it  is  okay  to  do  so and  put a check in the mail to you (for
non-trivial improvements)  when he makes his next sale.  He makes no guarantees
as to  the amount if any,  though he feels motivated  to motivate contributors,
and you can surely discuss this with him before or after contributing. You have
the right to decline  to allow him to license your code contribution other than
under  this  license or the GPL.  Further  licensing  options are available for
commercial and/or other interests directly from reiser@namesys.com<P>
[END LICENSING]

Send bug reports to reiserfs-devel@vger.kernel.org.

Hideous  Commercial  Pitch: Spread  your  development  costs  across  other  OS
vendors.  Select from the best in the world,  not the best in your building, by
buying from third party OS component suppliers. Leverage the software component
development power  of the internet.  Be the most aggressive in taking advantage
of the commercial possibilities of decentralized internet development,  and add
value through your branded integration  that  you  sell as an operating system. 
Let your competitors  be the ones  to compete  against  the entire  internet by
themselves.  Be hip,  get with the new economic trend,  before your competitors 
do. Send email to reiser@namesys.com.

To understand the code,  after reading the website,  start reading  the code by
reading reiserfs_fs.h first.

IMPORTANT NOTE: As of approximately October 2007, namesys.com has been
offline and all of the original Namesys staff have gone on to other ventures
or are otherwise unavailable. All removals of the namesys.com domain from
the code and documentation are to avoid confusion by users, not to avoid
proper attribution. Reiserfsprogs has been maintained by the ReiserFS
development community for some time and can be reached at
reiserfs-devel@vger.kernel.org.
S
Description
ReiserFS userspace utilities (mkreiserfs, reiserfsck, debugreiserfs, resize_reiserfs, reiserfstune) with a modernized build system
Readme GPL-2.0
1.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 95.5%
Roff 2.7%
Shell 0.8%
M4 0.4%
Python 0.3%
Other 0.3%