FreeBSD Bugzilla – Attachment 150019 Details for
Bug 195523
[MAINTAINER] japanese/ebnetd: add user/group for daemon processes.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add user/group for daemon processes.
patch-japanese_ebnetd (text/plain), 2.17 KB, created by
Bugzilla Automation
on 2014-11-30 10:38:39 UTC
(
hide
)
Description:
Add user/group for daemon processes.
Filename:
MIME Type:
Creator:
Bugzilla Automation
Created:
2014-11-30 10:38:39 UTC
Size:
2.17 KB
patch
obsolete
>Index: UIDs >=================================================================== >--- UIDs (revision 373656) >+++ UIDs (working copy) >@@ -310,4 +310,5 @@ > spark:*:987:987::0:0:Apache Spark user:/nonexistent:/usr/sbin/nologin > toxdht:*:988:65534::0:0:Tox DHT bootstrap user:/nonexistent:/usr/sbin/nologin > mediabrowser:*:989:989::0:0:MediaBrowser:/nonexistent:/usr/sbin/nologin >+ebnetd:*:999:999::0:0:EBNETD:/nonexistent:/usr/sbin/nologin > nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin >Index: GIDs >=================================================================== >--- GIDs (revision 373656) >+++ GIDs (working copy) >@@ -301,5 +301,6 @@ > kamailio:*:986: > spark:*:987: > mediabrowser:*:989: >+ebnetd:*:999: > nogroup:*:65533: > nobody:*:65534: >Index: japanese/ebnetd/Makefile >=================================================================== >--- japanese/ebnetd/Makefile (revision 373656) >+++ japanese/ebnetd/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= ebnetd > PORTVERSION= 1.0 >-PORTREVISION= 9 >+PORTREVISION= 10 > CATEGORIES= japanese ipv6 > MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/ > >@@ -18,16 +18,26 @@ > CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR} > CONFIGURE_ENV= PERL=${PREFIX}/bin/perl > >+USERS= ${EBNETD_USER} >+GROUPS= ${EBNETD_GROUP} >+ > # Local variables > LOGDIR= /var/log > RUNDIR= /var/run >+EBNETD_USER= ebnetd >+EBNETD_GROUP= ebnetd > > USE_RC_SUBR= ebhttpd ebnetd ndtpd > SUB_FILES= pkg-message >-PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} >+PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} \ >+ EBNETD_USER=${EBNETD_USER} \ >+ EBNETD_GROUP=${EBNETD_GROUP} > > INFO= ebnetd ebnetd-ja > >+post-patch: >+ ${REINPLACE_CMD} -e "s/%%EBNETD_USER%%/${EBNETD_USER}/" -e "s/%%EBNETD_GROUP%%/${EBNETD_GROUP}/" ${WRKSRC}/ebnetd.conf.sample.in >+ > post-stage: > ${MKDIR} -m 0755 ${STAGEDIR}${RUNDIR}/${PORTNAME} > >Index: japanese/ebnetd/pkg-plist >=================================================================== >--- japanese/ebnetd/pkg-plist (revision 373656) >+++ japanese/ebnetd/pkg-plist (working copy) >@@ -13,4 +13,4 @@ > sbin/ndtpcheck > sbin/ndtpcontrol > sbin/ndtpd >-@dir(,,0755) %%EBNETD_RUNDIR%% >+@dir(%%EBNETD_USER%%,%%EBNETD_GROUP%%,0755) %%EBNETD_RUNDIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195523
: 150019 |
150022