Reserve uid 734 for _taskd, and make uid & gid match. Also tweak

MASTER_SITES and remove unnecessary CONFIGURE_ENV while here.  Reported by
espie@ & viq, with suggestions from kn@ and sthen@.

ok sthen@
This commit is contained in:
kspillner
2018-05-29 04:11:49 +00:00
parent ba7d7a215e
commit b8f4c8bda5
3 changed files with 7 additions and 10 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
$OpenBSD: user.list,v 1.316 2018/05/28 17:29:00 jasper Exp $
$OpenBSD: user.list,v 1.317 2018/05/29 04:11:49 kspillner Exp $
This file lists all users and groups that are created by ports or that
users are encouraged to create after installing a port (these are marked
@@ -242,7 +242,7 @@ id user group port options
731 _geoclue _geoclue geo/geoclue2
732 _unifi _unifi net/unifi
733 _pop3d _pop3d mail/pop3d
#734 _icingacmd net/icinga
734 _taskd _taskd productivity/taskd
735 _wireshark net/wireshark
736 _conserver _conserver comms/conserver
737 _popa3d _popa3d mail/popa3d
+3 -6
View File
@@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.13 2018/01/11 19:27:08 rpe Exp $
# $OpenBSD: Makefile,v 1.14 2018/05/29 04:11:51 kspillner Exp $
COMMENT = lightweight server providing access to task data
DISTNAME = taskd-1.1.0
CATEGORIES = productivity net
REVISION = 2
REVISION = 3
HOMEPAGE = http://www.taskwarrior.org/
MAINTAINER = Kent R. Spillner <kspillner@openbsd.org>
MASTER_SITES = ${HOMEPAGE}/download/
MASTER_SITES = ${HOMEPAGE}download/
# MIT
PERMIT_PACKAGE_CDROM = Yes
@@ -27,9 +27,6 @@ CONFIGURE_ARGS += -DTASKD_DOCDIR=share/taskd \
-DTASKD_MAN1DIR=man/man1 \
-DTASKD_MAN5DIR=man/man5
CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_TEST = Yes
post-install:
+2 -2
View File
@@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.4 2016/02/14 11:31:25 sthen Exp $
@comment $OpenBSD: PLIST,v 1.5 2018/05/29 04:11:54 kspillner Exp $
@newgroup _taskd:734
@newuser _taskd:732:734:daemon:Taskwarrior Sync Server:/var/taskd:/sbin/nologin
@newuser _taskd:734:734:daemon:Taskwarrior Sync Server:/var/taskd:/sbin/nologin
@extraunexec rm -rf /var/taskd
@extraunexec rm -rf /var/log/taskd
@mode 0750