filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
sysutils/e2fsprogs: bugfix update to 1.46.6
ChangeLog: https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.46.6
Add patch to make m_offset reliable. Due to some race conditions on the
pipeline between FreeBSD's yes a, which emits 8190-long writes on
13-STABLE, and GNU dd (gdd), which it pipes its output into, gdd can
sometimes receive short reads occasionally, and because the count=
normally is the number of read(2) calls dispatched, this then leads to a
shorter reference "file system" that we crcsum, and that causes false
negative test results. gdd warns that iflag=fullblock would avoid
effects of short reads, but this warning is discarded in the test
script. Anyways, patch m_offset to use dd's and gdd's iflag=fullblock,
which causes (g)dd to call read(2) again until the block is full for
each nominal block, so we definitely read the desired output size 512 kB
no matter what shorter blocks might travel through the pipeline.
MFH: 2023Q1
sysutils/e2fsprogs: 1/2 rename to -core, strip FLAVORS and /sbin
This is the first commit that renames e2fsprogs to e2fsprogs-core,
makes the necessary changes to Makefiles, strips the FLAVORs that
determined how to link or copy to /sbin. The latter feature will
be placed into a new e2fsprogs port that just copies two files to /sbin.
A followup 2/2 commit will then add the new e2fsprogs port.
This is done so that Git can properly track the rename.
While here, switch from FreeBSD's dd to GNU coreutils's dd
in an attempt to fix sporadic m_offset self-test failures.
Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
a) just using the pkg-descr from the parents
b) or had their own separate pkg-descr with custom WWW
Use WWW?= in parents when the child's WWW is different.
Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.
Approved by: portmgr (implicit)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
misc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adam@vectors.cx>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan E <alane@FreeBSD.org>
* Alex Semenyaka <alex@rinet.ru>
* Alex Stangl <alex@stangl.us>
* Alexander Logvinov <avl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Nusov <alexander.nusov@nfvexpress.com>
* Alexander Timoshenko <gonzo@univ.kiev.ua>
(Only the first 15 lines of the commit message are shown above )
Update e2fsprogs suite to v1.45.0.
Sorry that this happens so short before the 2019Q2 branch; the
e2fsprogs.sourceforge.net website hadn't been updated for 1.44.6 and 1.45.0.
I am not packaging e2scrub[_all] as FreeBSD does not support LVM,
Linux's logical volume manager.
Changelogs:
<https://raw.githubusercontent.com/tytso/e2fsprogs/master/doc/RelNotes/v1.44.6.txt>
<https://raw.githubusercontent.com/tytso/e2fsprogs/master/doc/RelNotes/v1.45.0.txt>
While here, reset misc/e2fsprogs-libuuid PORTREVISION back to 0 now that
the included PORTVERSION got bumped.
Update to new upstream release 1.44.3.
* several features for debugfs added
* there is a new e2mmpstatus command
* there are several bug fixes, among them endianness fixes and robustness
fixes against corrupted input.
* add hashmap.h header file, for libext2fs users
* a few type fixes for format strings,
found while building for MIPS, ARM, or i386
* add new option SLOWTESTS which prevents skipping of slow tests
* add new option BASHTESTS which enables tests that require bash
(currently affects only the test f_large_dir that is also marked
as slow)
Full release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.3>
Reset PORTREVISION in slave ports, e2fsprogs{-libss,-libuuid} now
that we have bumped PORTVERSION.
MFH: 2018Q3
Update to new upstream 1.43.7, install libext2fs.so [1].
Install shared libraries, and use them (except for e2fsck, which links it
statically so it can be used from /sbin), requested by pgf@ and fsu@.
To that end, we need to add LIB_DEPENDS and tweak CONFIGURE_ARGS (notably
LDFLAGS need to be passed there already, not in MAKE_ARGS, so that we can find
libuuid/libblkid).
Use @comment trick in pkg-plist to ignore not-to-install libraries (libss,
libblkid - these have their own ports) while shutting up make check-plist and
poudriere checks at the same time.
Reported by: pgf@, fsu@ [1]
Upgrade to new upstream release 1.43.5, assorted fixes.
Changelog:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.5>
Add proper LICENSE* statements to all the Makefiles of e2fsprogs
and its slave ports.
Update e2fsprogs-libuuid's pkg-plist to use @preunexec and @dir,
instead of @[un]exec.
Add BLKID_FILE to e2fsprogs's Makefile to prevent f_detect_xfs
from polluting the system's /etc/blkid.tab in make check.
Update e2fsprogs to new upstream release 1.43.4.
This is predominantly a bug-fix release, it however ceases installing
the *ext4dev files, which have been replaced by *ext4 for quite a while,
and adds two translations [fi, ms].
While here, reset PORTREVISION on two slave ports.
ChangeLog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4>
Note in particular this part of the ChangeLog:
<<Replace a test file but which had a "non-commercial use-only" copyright
permission file with a newer version from the Cyrus imapd package which
now has a 4-clause BSD license, which was making some lawyers nervous,
even though the test file in question was only used in lib/et's
regression testing and was never included in any compiled binary.
(Addresses Debian Bug: #840733)>>
PR: 216774
Reported by: Thomas Zander (riggs@)
MFH: 2017Q1
net/guacamole-server, misc/e2fsprogs-libuuid, misc/p5-OSSP-uuid, misc/ossp-uuid
Currently when requiring both ossp-uuid and e2fspogs-libuuid is an
impossibility without the use of a jail. This patch was created to
fix this conflict. The patch includes updating revisions for removal
of CONFLICTS, and change LIBDEPEND change for all affected ports.
The changes on ossp-uuid port includes renaming of the shared/static
libs created, C/C++ manpage, and rename of pkgconfig file.
PR: 207004
Submitted by: Ultima1252@gmail.com
Approved by: vd
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends
With hat: portmgr
Dispose of OPTIONSFILE for the nonce, to fix the build.
There are no dialog(1)-based options for now.
This isn't the final solution, but works until the proper fix becomes known.
The problem is that OPTIONS_EXCLUDE=NLS does not work, it gets overridden
when the options.mk file reads e2fsprogs's $OPTIONSFILE.
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
* misc/e2fsprogs-libuuid:
- bump revision, as we're changing files and fixing a bug even for
those who had successfully built libuuid before
- patch one more source file to make sure the clock.txt state file
gets saved to the right directory
- try to run the newly-build uuidd for our self-test (ignoring
failures, as they are non-fatal)
- (the actual build fix is inherited from the other port)
* sysutils/e2fsprogs:
- add files/patch-uuid-loop to actually fix the "self-test does not
terminate" bug. What causes the client to see EOF prematurely or the
server to fail to send a response remains unknown, but we'll fix the
worse part of the issue: loop on EOF (read returning 0).
PR: 134156
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
fix rc.d script to provide a default for its _enable variable.
Andrew Pantyukhin <infofarmer@FreeBSD.org>
PR: ports/123419
Submitted by: infofarmer@
Approved by: maintainer
Clean up to sync with the master port.
PR: ports/116232
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by: shaun (mentor)
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run