mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 11:26:29 -04:00
CHANGES: - Fix updatedb writing incomplete .db files under Termux. Patch by Grisha Levit. - Make the systemd timer run more consistently during the night. Patch by Florian Schmaus. - Add an (undocumented) flag --ignore-visibility to plocate, giving the equivalent of building the database with --require-visibility no. Drops setgid, of course, so you will usually need to be root to use it. PR: 279130
34 lines
813 B
Makefile
34 lines
813 B
Makefile
PORTNAME= plocate
|
|
DISTVERSION= 1.1.22
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://plocate.sesse.net/download/
|
|
|
|
MAINTAINER= sec@42.org
|
|
COMMENT= Fast & privacy-respecting locate utility
|
|
WWW= https://plocate.sesse.net/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= meson:devel/meson
|
|
LIB_DEPENDS= libzstd.so:archivers/zstd
|
|
|
|
USES= meson pkgconfig
|
|
MESON_ARGS= --sharedstatedir=/var/db
|
|
|
|
SUB_FILES= 315.plocate
|
|
|
|
GROUPS= plocate
|
|
|
|
post-patch:
|
|
${CP} ${FILESDIR}/mntent_compat.c++ ${FILESDIR}/mntent.h ${WRKSRC}
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
${INSTALL_SCRIPT} ${WRKDIR}/315.plocate \
|
|
${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
${INSTALL_DATA} ${FILESDIR}/updatedb.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc
|
|
${MKDIR} ${STAGEDIR}/var/db/plocate
|
|
|
|
.include <bsd.port.mk>
|