View | Details | Raw Unified | Return to bug 200005 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-12 / +9 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	znc
4
PORTNAME=	znc
5
PORTVERSION=	1.6.3
5
PORTVERSION=	1.6.3
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	irc ipv6
7
CATEGORIES=	irc ipv6
8
MASTER_SITES=	http://znc.in/releases/ \
8
MASTER_SITES=	http://znc.in/releases/ \
9
		http://znc.in/releases/archive/
9
		http://znc.in/releases/archive/
Lines 16-22 Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USE_RC_SUBR=	znc
18
USE_RC_SUBR=	znc
19
USES=		compiler:c++11-lib cpe gmake iconv pkgconfig
19
SUB_FILES=	pkg-message
20
USES=	ssl compiler:c++11-lib cpe gmake iconv pkgconfig
21
22
USERS=	znc
23
GROUPS=	znc
20
24
21
OPTIONS_DEFINE=	CHARSET CYRUS DEBUG DOCS IPV6 OPENSSL PERL PYTHON TCL
25
OPTIONS_DEFINE=	CHARSET CYRUS DEBUG DOCS IPV6 OPENSSL PERL PYTHON TCL
22
OPTIONS_DEFAULT=	OPENSSL PERL
26
OPTIONS_DEFAULT=	OPENSSL PERL
Lines 38-44 Link Here
38
IPV6_CONFIGURE_OFF=	--disable-ipv6
42
IPV6_CONFIGURE_OFF=	--disable-ipv6
39
OPENSSL_CONFIGURE_OFF=	--disable-openssl
43
OPENSSL_CONFIGURE_OFF=	--disable-openssl
40
OPENSSL_CONFIGURE_ON=	--with-openssl=${OPENSSLBASE}
44
OPENSSL_CONFIGURE_ON=	--with-openssl=${OPENSSLBASE}
41
OPENSSL_USE=	openssl=yes
42
PERL_BUILD_DEPENDS=	swig30>=3.0.0:devel/swig30
45
PERL_BUILD_DEPENDS=	swig30>=3.0.0:devel/swig30
43
PERL_CONFIGURE_ENABLE=	perl
46
PERL_CONFIGURE_ENABLE=	perl
44
PERL_CONFIGURE_ON=	--enable-swig
47
PERL_CONFIGURE_ON=	--enable-swig
Lines 54-68 Link Here
54
57
55
PORTDOCS=	README.md
58
PORTDOCS=	README.md
56
59
57
# Instead of using bundled swig generated files, delete them to force
58
# regeneration using swig 2.0.11+ (fixes port compilation using clang)
59
#
60
pre-configure-PERL-on:
61
	@${RM} ${WRKSRC}/modules/modperl/ZNC.cpp
62
63
pre-configure-PYTHON-on:
64
	@${RM} ${WRKSRC}/modules/modpython/_znc_core.cpp
65
66
post-patch:
60
post-patch:
67
	@${REINPLACE_CMD} -e \
61
	@${REINPLACE_CMD} -e \
68
		's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' \
62
		's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' \
Lines 77-80 Link Here
77
.endfor
71
.endfor
78
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}"
72
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}"
79
73
74
post-install:
75
	${MKDIR} ${STAGEDIR}${ETCDIR}
76
80
.include <bsd.port.mk>
77
.include <bsd.port.mk>
(-)files/pkg-message.in (+19 lines)
Line 0 Link Here
1
*****************************************************************************
2
3
If you are upgrading znc from a version prior to 1.0, please be aware that
4
znc will modify your configuration file to incorporate support for new
5
functionality.
6
7
Please visit the following URL for more information:
8
9
http://wiki.znc.in/ChangeLog/1.0
10
11
*****************************************************************************
12
13
For generate your config file using znc user, execute:
14
15
su -m znc -c 'znc -d %%ETCDIR%% --makeconf'
16
or
17
sudo -u znc znc -d %%ETCDIR%% --makeconf
18
19
*****************************************************************************
(-)pkg-message (-11 lines)
Lines 1-11 Link Here
1
*****************************************************************************
2
3
If you are upgrading znc from a version prior to 1.0, please be aware that
4
znc will modify your configuration file to incorporate support for new
5
functionality.
6
7
Please visit the following URL for more information:
8
9
http://wiki.znc.in/ChangeLog/1.0
10
11
*****************************************************************************
(-)pkg-plist (+1 lines)
Lines 169-171 Link Here
169
%%DATADIR%%/webskins/ice/pub/pagebg.gif
169
%%DATADIR%%/webskins/ice/pub/pagebg.gif
170
%%DATADIR%%/webskins/ice/tmpl/FooterTag.tmpl
170
%%DATADIR%%/webskins/ice/tmpl/FooterTag.tmpl
171
%%DATADIR%%/webskins/ice/tmpl/Header.tmpl
171
%%DATADIR%%/webskins/ice/tmpl/Header.tmpl
172
@dir(znc,znc,755) %%ETCDIR%%
(-)../../UIDs (-1 / +1 lines)
Lines 843-849 Link Here
843
# free: 894
843
# free: 894
844
# free: 895
844
# free: 895
845
# free: 896
845
# free: 896
846
# free: 897
846
znc:*:897:897::0:0:ZNC User:/nonexistent:/usr/sbin/nologin
847
ufdb:*:898:898::0:0:ufdb user:/nonexistent:/usr/sbin/nologin
847
ufdb:*:898:898::0:0:ufdb user:/nonexistent:/usr/sbin/nologin
848
guacamole:*:899:899::0:0:Guacamole user:/nonexistent:/usr/sbin/nologin
848
guacamole:*:899:899::0:0:Guacamole user:/nonexistent:/usr/sbin/nologin
849
seafile:*:900:900::0:0:Seafile user:/nonexistent:/usr/bin/nologin
849
seafile:*:900:900::0:0:Seafile user:/nonexistent:/usr/bin/nologin
(-)../../GIDs (-1 / +1 lines)
Lines 838-844 Link Here
838
# free: 894
838
# free: 894
839
# free: 895
839
# free: 895
840
# free: 896
840
# free: 896
841
# free: 897
841
znc:*:897:
842
ufdb:*:898:
842
ufdb:*:898:
843
guacamole:*:899:
843
guacamole:*:899:
844
seafile:*:900:
844
seafile:*:900:

Return to bug 200005