svn commit: r426896 - in head: . irc/znc irc/znc/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Nov 23 11:43:15 UTC 2016
Author: amdmi3
Date: Wed Nov 23 11:43:13 2016
New Revision: 426896
URL: https://svnweb.freebsd.org/changeset/ports/426896
Log:
- Create znc user/group
- Set permissions properly on ETCDIR
- Add an information on znc user/group to pkg-message
- Pass maintainership to dbaio
PR: 200005
Submitted by: josh+freebsd at zevlag.com, dbaio at bsd.com.br
Added:
head/irc/znc/files/pkg-message.in
- copied, changed from r426895, head/irc/znc/pkg-message
Deleted:
head/irc/znc/pkg-message
Modified:
head/GIDs
head/UIDs
head/irc/znc/Makefile
head/irc/znc/distinfo
head/irc/znc/pkg-plist
Modified: head/GIDs
==============================================================================
--- head/GIDs Wed Nov 23 11:30:00 2016 (r426895)
+++ head/GIDs Wed Nov 23 11:43:13 2016 (r426896)
@@ -838,7 +838,7 @@ graylog:*:848:
# free: 894
# free: 895
# free: 896
-# free: 897
+znc:*:897:
ufdb:*:898:
guacamole:*:899:
seafile:*:900:
Modified: head/UIDs
==============================================================================
--- head/UIDs Wed Nov 23 11:30:00 2016 (r426895)
+++ head/UIDs Wed Nov 23 11:43:13 2016 (r426896)
@@ -843,7 +843,7 @@ graylog:*:848:848::0:0:Graylog user:/non
# 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
Modified: head/irc/znc/Makefile
==============================================================================
--- head/irc/znc/Makefile Wed Nov 23 11:30:00 2016 (r426895)
+++ head/irc/znc/Makefile Wed Nov 23 11:43:13 2016 (r426896)
@@ -3,12 +3,12 @@
PORTNAME= znc
PORTVERSION= 1.6.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= irc ipv6
MASTER_SITES= http://znc.in/releases/ \
http://znc.in/releases/archive/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= dbaio at bsd.com.br
COMMENT= Advanced IRC bouncer
LICENSE= APACHE20
@@ -16,11 +16,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
USE_RC_SUBR= znc
+SUB_FILES= pkg-message
USES= compiler:c++11-lib cpe gmake iconv pathfix 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
@@ -74,4 +78,7 @@ post-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
+post-install:
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
+
.include <bsd.port.mk>
Modified: head/irc/znc/distinfo
==============================================================================
--- head/irc/znc/distinfo Wed Nov 23 11:30:00 2016 (r426895)
+++ head/irc/znc/distinfo Wed Nov 23 11:43:13 2016 (r426896)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1475969471
SHA256 (znc-1.6.3.tar.gz) = 631c46de76fe601a41ef7676bc974958e9a302b72b25fc92b4a603a25d89b827
SIZE (znc-1.6.3.tar.gz) = 1464200
Copied and modified: head/irc/znc/files/pkg-message.in (from r426895, head/irc/znc/pkg-message)
==============================================================================
--- head/irc/znc/pkg-message Wed Nov 23 11:30:00 2016 (r426895, copy source)
+++ head/irc/znc/files/pkg-message.in Wed Nov 23 11:43:13 2016 (r426896)
@@ -9,3 +9,11 @@ Please visit the following URL for more
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
+
+*****************************************************************************
Modified: head/irc/znc/pkg-plist
==============================================================================
--- head/irc/znc/pkg-plist Wed Nov 23 11:30:00 2016 (r426895)
+++ head/irc/znc/pkg-plist Wed Nov 23 11:43:13 2016 (r426896)
@@ -169,3 +169,4 @@ man/man1/znc.1.gz
%%DATADIR%%/webskins/ice/pub/pagebg.gif
%%DATADIR%%/webskins/ice/tmpl/FooterTag.tmpl
%%DATADIR%%/webskins/ice/tmpl/Header.tmpl
+ at dir(znc,znc,755) %%ETCDIR%%
More information about the svn-ports-all
mailing list