aboutsummaryrefslogtreecommitdiff
path: root/sysutils/oddjob/Makefile
blob: 73a07c890293ff8497d3f018315f5e09f48797e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	oddjob
DISTVERSION=	0.34.7
CATEGORIES=	sysutils
MASTER_SITES=	https://codeberg.org/freeipa/oddjob/archive/

MAINTAINER=	joneum@FreeBSD.org
COMMENT=	D-Bus service that runs privileged jobs for client applications
WWW=		https://codeberg.org/freeipa/oddjob

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libdbus-1.so:devel/dbus \
		libxml2.so:textproc/libxml2

USES=		autoreconf gmake libtool pkgconfig
USE_RC_SUBR=	oddjobd
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static \
		--disable-systemd \
		--disable-sysvinit \
		--without-python \
		--without-selinux-labels \
		--without-selinux-acls \
		--disable-xml-docs

WRKSRC=		${WRKDIR}/oddjob

# sanity.sh is plain POSIX sh; drop the upstream /bin/bash shebang (which does
# not exist on FreeBSD and fails stage-qa) in favour of /bin/sh.
post-patch:
	@${REINPLACE_CMD} -e '1s|/bin/bash|/bin/sh|' ${WRKSRC}/src/sanity.sh

.include <bsd.port.mk>