FreeBSD Bugzilla – Attachment 175998 Details for
Bug 200005
irc/znc: rc script assumes a user that is not created with package
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
znc_user_group_v4_patch-compatible.patch
znc_user_group_v4_patch-compatible.patch (text/plain), 3.67 KB, created by
Danilo G. Baio
on 2016-10-20 23:54:59 UTC
(
hide
)
Description:
znc_user_group_v4_patch-compatible.patch
Filename:
MIME Type:
Creator:
Danilo G. Baio
Created:
2016-10-20 23:54:59 UTC
Size:
3.67 KB
patch
obsolete
>Index: ../../UIDs >=================================================================== >--- ../../UIDs (revision 424364) >+++ ../../UIDs (working copy) >@@ -843,7 +843,7 @@ > # free: 894 > # free: 895 > # free: 896 >-# free: 897 >+znc:*:897:897::0:0:ZNC User:/nonexistent:/usr/sbin/nologin > ufdb:*:898:898::0:0:ufdb user:/nonexistent:/usr/sbin/nologin > guacamole:*:899:899::0:0:Guacamole user:/nonexistent:/usr/sbin/nologin > seafile:*:900:900::0:0:Seafile user:/nonexistent:/usr/bin/nologin >Index: ../../GIDs >=================================================================== >--- ../../GIDs (revision 424364) >+++ ../../GIDs (working copy) >@@ -838,7 +838,7 @@ > # free: 894 > # free: 895 > # free: 896 >-# free: 897 >+znc:*:897: > ufdb:*:898: > guacamole:*:899: > seafile:*:900: >Index: Makefile >=================================================================== >--- Makefile (revision 424364) >+++ Makefile (working copy) >@@ -3,12 +3,12 @@ > > PORTNAME= znc > PORTVERSION= 1.6.3 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= irc ipv6 > MASTER_SITES= http://znc.in/releases/ \ > http://znc.in/releases/archive/ > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= dbaio@bsd.com.br > COMMENT= Advanced IRC bouncer > > LICENSE= APACHE20 >@@ -16,11 +16,15 @@ > > GNU_CONFIGURE= yes > USE_RC_SUBR= znc >+SUB_FILES= pkg-message > USES= compiler:c++11-lib cpe gmake iconv pkgconfig > MAKE_ENV= V=1 > > PORTDOCS= README.md > >+USERS= znc >+GROUPS= znc >+ > OPTIONS_DEFINE= CHARSET CYRUS DEBUG DOCS IPV6 OPENSSL PERL PYTHON TCL > OPTIONS_DEFAULT= OPENSSL PERL > OPTIONS_SUB= yes >@@ -77,4 +81,7 @@ > ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} > .endfor > >+post-install: >+ ${MKDIR} ${STAGEDIR}${ETCDIR} >+ > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 424364) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >+TIMESTAMP = 1475969471 > SHA256 (znc-1.6.3.tar.gz) = 631c46de76fe601a41ef7676bc974958e9a302b72b25fc92b4a603a25d89b827 > SIZE (znc-1.6.3.tar.gz) = 1464200 >Index: files/pkg-message.in >=================================================================== >--- files/pkg-message.in (nonexistent) >+++ files/pkg-message.in (working copy) >@@ -0,0 +1,19 @@ >+***************************************************************************** >+ >+If you are upgrading znc from a version prior to 1.0, please be aware that >+znc will modify your configuration file to incorporate support for new >+functionality. >+ >+Please visit the following URL for more information: >+ >+http://wiki.znc.in/ChangeLog/1.0 >+ >+***************************************************************************** >+ >+For generate your config file using znc user, execute: >+ >+su -m znc -c 'znc -d %%ETCDIR%% --makeconf' >+or >+sudo -u znc znc -d %%ETCDIR%% --makeconf >+ >+***************************************************************************** >Index: pkg-message >=================================================================== >--- pkg-message (revision 424364) >+++ pkg-message (nonexistent) >@@ -1,11 +0,0 @@ >-***************************************************************************** >- >-If you are upgrading znc from a version prior to 1.0, please be aware that >-znc will modify your configuration file to incorporate support for new >-functionality. >- >-Please visit the following URL for more information: >- >-http://wiki.znc.in/ChangeLog/1.0 >- >-***************************************************************************** >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 424364) >+++ pkg-plist (working copy) >@@ -169,3 +169,4 @@ > %%DATADIR%%/webskins/ice/pub/pagebg.gif > %%DATADIR%%/webskins/ice/tmpl/FooterTag.tmpl > %%DATADIR%%/webskins/ice/tmpl/Header.tmpl >+@dir(znc,znc,755) %%ETCDIR%%
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 200005
:
174356
|
174668
|
174679
|
174680
|
175572
|
175573
|
175574
|
175575
|
175658
|
175659
|
175997
|
175998
|
176055
|
176056
|
176061