From owner-freebsd-ports-bugs@freebsd.org Mon Nov 23 01:57:45 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7428A358E6 for ; Mon, 23 Nov 2015 01:57:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF12B13DC for ; Mon, 23 Nov 2015 01:57:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAN1vj3x059594 for ; Mon, 23 Nov 2015 01:57:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204757] [PATCH] deskutils/taskd: Add rc.d script, pkg-message, and taskd user Date: Mon, 23 Nov 2015 01:57:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ike@michaeleichorn.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: skreuzer@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 01:57:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204757 Bug ID: 204757 Summary: [PATCH] deskutils/taskd: Add rc.d script, pkg-message, and taskd user Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: skreuzer@FreeBSD.org Reporter: ike@michaeleichorn.com Flags: maintainer-feedback?(skreuzer@FreeBSD.org) Keywords: patch Assignee: skreuzer@FreeBSD.org Created attachment 163443 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163443&action=edit Preliminary patch Taskd is a server/daemon and could use a rc.d script to start at boot. After consulting with the maintainer, I have come up with a preliminary patch to add a basic rc.d script, taskd, and it is attached to this PR. Since taskd uses a self-signed X509 certificate authority, it requires significant user configuration. As the rc.d script does not perfectly integrate with upstream's configuration instructions, a pkg-message is provided to instruct the user. KNOWN PROBLEMS WITH PATCH: 1) Does not include modifications to ports/UIDs and ports/GIDs to add taskd user and group. (I couldn't figure out how (new to svn)) 2) portslint had concerns with paths in pkg-message, I don't know what to do. 3) I could not figure out how to improve permissions handling with the unprivileged user (TASKDDATA directory and /var/log/taskd.log). This would be a substantial improvement, but in lieu of it the pkg-message provides instructions to modify the permissions. 4) There is a prexisting problem (CHMOD) that portslint has detected. 5) This is my first ever patch to anything, please review CAREFULLY. -- You are receiving this mail because: You are the assignee for the bug.