Summary: | [PATCH] databases/kyototycoon: add rc.d script and daemon | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dave Cottlehuber <dch> | ||||||||||
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | Keywords: | patch | ||||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(sunpoet) |
||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Created attachment 179961 [details]
v2 patch
# QA
portlint -C produces following acceptable warnings:
WARN: Makefile: possible use of absolute pathname "/var/log/${PORTNAME}".
WARN: Makefile: possible use of absolute pathname "/var/db/${PORTNAME}".
WARN: Makefile: possible use of absolute pathname "/var/run/${PORTNAME}...".
This is my first round of using svn for diffs I hope its OK.
Created attachment 179988 [details]
v3 patch with corrected tabstops
Sorry, I made this port with incorrect tabstops - fixed.
(In reply to Dave Cottlehuber from comment #2) The script is missing. Created attachment 179991 [details] v4 patch with indents and rc.conf Sorry, it seems I missed some step in my svn diff work, I am very embarrassed! The attached patch via git diff is online at https://github.com/skunkwerks/ports/commit/2f0cf402dec36704c0c13b7b275b93da8038253d.diff https://github.com/skunkwerks/ports/commit/2f0cf402dec36704c0c13b7b275b93da8038253d.patch Is it possible at least to commit the UID/GID changes? This at least means I can keep bumping production ports tree without needing to re-chmod/chown all the files. BTW rc.d script has been fine for several months here, let me know if you prefer to make some changes A commit references this bug: Author: sunpoet Date: Sat May 20 21:51:02 UTC 2017 New revision: 441350 URL: https://svnweb.freebsd.org/changeset/ports/441350 Log: Add rc.d script - Assign default UID and GID - Bump PORTREVISION for package change PR: 217083 Submitted by: Dave Cottlehuber <dch@skunkwerks.at> Changes: head/GIDs head/UIDs head/databases/kyototycoon/Makefile head/databases/kyototycoon/files/kyototycoon.in Committed. Thanks! |
Created attachment 179960 [details] v1 patch This patch brings kyototycoon into line with other daemons - a start/stop script, and its own UID/GID.