Index: head/sysutils/rmlint/Makefile =================================================================== --- head/sysutils/rmlint/Makefile (revision 564839) +++ head/sysutils/rmlint/Makefile (revision 564840) @@ -1,39 +1,35 @@ # $FreeBSD$ PORTNAME= rmlint DISTVERSIONPREFIX= v DISTVERSION= 2.10.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= jockl@pianojockl.org COMMENT= Remove duplicates and other lint from your filesystem LICENSE= GPLv3 -BUILD_DEPENDS= ${LOCALBASE}/lib/libglib-2.0.so:devel/glib20 \ - gettext:devel/gettext \ - pkgconf:devel/pkgconf \ - sphinx-build:textproc/py-sphinx@${PY_FLAVOR} +BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} LIB_DEPENDS= libelf.so:devel/libelf \ libjson-glib-1.0.so:devel/json-glib -USES= gnome python scons +USES= gnome pkgconfig python:build scons USE_GITHUB= yes GH_ACCOUNT= sahib -GH_PROJECT= rmlint -GH_TAGNAME= a726d0cbf839d7a0f35962d67e0f60054d0364f6 USE_GNOME= glib20 MAKE_ARGS= --actual-prefix=${PREFIX} \ --prefix=${STAGEDIR}${PREFIX} \ --without-gui PLIST_FILES= bin/rmlint \ share/man/man1/rmlint.1.gz OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime NLS_CONFIGURE_WITH= gettext .include Index: head/sysutils/rmlint/distinfo =================================================================== --- head/sysutils/rmlint/distinfo (revision 564839) +++ head/sysutils/rmlint/distinfo (revision 564840) @@ -1,3 +1,3 @@ -TIMESTAMP = 1612880853 -SHA256 (sahib-rmlint-v2.10.1-a726d0cbf839d7a0f35962d67e0f60054d0364f6_GH0.tar.gz) = ac564a89b5e6cc389c41bf1bf88b82c317373ad4b8c420cbe7416a8dd1fe6799 -SIZE (sahib-rmlint-v2.10.1-a726d0cbf839d7a0f35962d67e0f60054d0364f6_GH0.tar.gz) = 2495749 +TIMESTAMP = 1612925131 +SHA256 (sahib-rmlint-v2.10.1_GH0.tar.gz) = 10e72ba4dd9672d1b6519c0c94eae647c5069c7d11f1409a46e7011dd0c6b883 +SIZE (sahib-rmlint-v2.10.1_GH0.tar.gz) = 2494474 Index: head/sysutils/rmlint/files/patch-lib_xattr.c =================================================================== --- head/sysutils/rmlint/files/patch-lib_xattr.c (revision 564839) +++ head/sysutils/rmlint/files/patch-lib_xattr.c (revision 564840) @@ -1,46 +1,28 @@ --- lib/xattr.c.orig 2020-12-06 15:39:50 UTC +++ lib/xattr.c @@ -209,7 +209,7 @@ static int rm_xattr_del(RmFile *file, const char *key, // ACTUAL API FUNCTIONS // //////////////////////////// -int rm_xattr_write_hash(RmFile *file, RmSession *session) { +int rm_xattr_write_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) { g_assert(file); g_assert(file->digest); g_assert(session); @@ -236,7 +236,7 @@ int rm_xattr_write_hash(RmFile *file, RmSession *sessi return 0; } -gboolean rm_xattr_read_hash(RmFile *file, RmSession *session) { +gboolean rm_xattr_read_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) { g_assert(file); g_assert(session); @@ -287,7 +287,7 @@ gboolean rm_xattr_read_hash(RmFile *file, RmSession *s #endif } -int rm_xattr_clear_hash(RmFile *file, RmSession *session) { +int rm_xattr_clear_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) { g_assert(file); g_assert(session); - -@@ -316,6 +316,8 @@ int rm_xattr_clear_hash(RmFile *file, RmSession *sessi - - #if HAVE_XATTR - -+#if HAVE_XATTR -+ - GHashTable *rm_xattr_list(const char *path, bool follow_symlinks) { - const size_t buf_size = 4096; - const size_t val_size = 1024; -@@ -484,5 +486,7 @@ int rm_xattr_mark_deduplicated(const char *path, bool - g_hash_table_destroy(map); - return result; - } -+ -+#endif - - #endif Index: head/sysutils/rmlint/pkg-descr =================================================================== --- head/sysutils/rmlint/pkg-descr (revision 564839) +++ head/sysutils/rmlint/pkg-descr (revision 564840) @@ -1,5 +1,11 @@ -rmlint is an "extremely fast tool to remove duplicates and other lint -from your filesystem." +rmlint finds space waste and other broken things on your filesystem and +offers to remove it. It is able to find: -WWW: https://rmlint.rtfd.org/ -WWW: https://github.com/sahib/rmlint +- Duplicate files & directories +- Nonstripped Binaries +- Broken symlinks +- Empty files +- Recursive empty directories +- Files with broken user or group id. + +WWW: https://rmlint.readthedocs.io/en/latest/