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

Collapse All | Expand All

(-)b/irc/unreal/Makefile (-7 / +7 lines)
Lines 1-6 Link Here
1
PORTNAME=	unreal
1
PORTNAME=	unreal
2
DISTVERSION=	6.1.1.1
2
DISTVERSION=	6.1.8.1
3
PORTREVISION=	1
4
CATEGORIES=	irc
3
CATEGORIES=	irc
5
MASTER_SITES=	https://www.unrealircd.org/downloads/
4
MASTER_SITES=	https://www.unrealircd.org/downloads/
6
DISTNAME=	${PORTNAME}ircd-${PORTVERSION}
5
DISTNAME=	${PORTNAME}ircd-${PORTVERSION}
Lines 29-36 LOGDIR= /var/log/ircd Link Here
29
CACHEDIR=	/var/cache/ircd
28
CACHEDIR=	/var/cache/ircd
30
_TMPDIR=	/tmp
29
_TMPDIR=	/tmp
31
30
32
EXTRACT_AFTER_ARGS=	--exclude extras/*.tar.gz
33
34
HAS_CONFIGURE=	yes
31
HAS_CONFIGURE=	yes
35
USE_RC_SUBR=	unrealircd
32
USE_RC_SUBR=	unrealircd
36
33
Lines 44-50 SUB_LIST+= USERS=${USERS} Link Here
44
SUB_LIST+=	GROUPS=${GROUPS}
41
SUB_LIST+=	GROUPS=${GROUPS}
45
42
46
CONFIGURE_ARGS=	--with-nick-history=2000 \
43
CONFIGURE_ARGS=	--with-nick-history=2000 \
47
		--with-bindir=${LOCALBASE}/bin \
44
		--with-bindir=${LOCALBASE}/libexec \
48
		--with-scriptdir=${DATADIR} \
45
		--with-scriptdir=${DATADIR} \
49
		--with-confdir=${CONFIGDIR} \
46
		--with-confdir=${CONFIGDIR} \
50
		--with-builddir=${WRKSRC} \
47
		--with-builddir=${WRKSRC} \
Lines 58-77 CONFIGURE_ARGS= --with-nick-history=2000 \ Link Here
58
		--with-controlfile=${RUNDIR}/ircd.ctl \
55
		--with-controlfile=${RUNDIR}/ircd.ctl \
59
		--with-permissions=0600 \
56
		--with-permissions=0600 \
60
		--with-system-cares \
57
		--with-system-cares \
58
		--with-system-argon2 \
61
		--enable-dynamic-linking \
59
		--enable-dynamic-linking \
62
		--enable-libmaxminddb=yes \
60
		--enable-libmaxminddb=yes \
63
		--enable-ssl
61
		--enable-ssl
64
62
65
OPTIONS_DEFINE=	DOCS
63
OPTIONS_DEFINE=	DOCS
66
64
67
PORTDOCS=	${DOCS:T}
65
PORTDOCS=	*
68
DOCS=		Donation Authors coding-guidelines \
66
DOCS=		Donation Authors coding-guidelines \
69
		tao.of.irc translations.txt \
67
		tao.of.irc translations.txt \
70
		technical/005.txt technical/base64.txt \
68
		technical/005.txt technical/base64.txt \
71
		technical/serverprotocol.txt
69
		technical/serverprotocol.txt
72
70
73
do-install:
71
do-install:
74
	${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd
72
	${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/unrealircd
73
	${INSTALL_PROGRAM} ${WRKSRC}/src/unrealircdctl ${STAGEDIR}${PREFIX}/libexec/unrealircdctl
74
	${INSTALL_SCRIPT} ${WRKSRC}/unrealircd ${STAGEDIR}${PREFIX}/sbin/unrealircd
75
	${MKDIR} ${STAGEDIR}${CACHEDIR}
75
	${MKDIR} ${STAGEDIR}${CACHEDIR}
76
	${MKDIR} ${STAGEDIR}${CONFIGDIR}
76
	${MKDIR} ${STAGEDIR}${CONFIGDIR}
77
	${MKDIR} ${STAGEDIR}${CONFIGDIR}/aliases
77
	${MKDIR} ${STAGEDIR}${CONFIGDIR}/aliases
(-)b/irc/unreal/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1473082474
1
TIMESTAMP = 1729629794
2
SHA256 (unrealircd-6.1.1.1.tar.gz) = 0c8e4164f499f0f6a72ed6032acb034bd7e9bd10308f556a0d919a00c2eeb334
2
SHA256 (unrealircd-6.1.8.1.tar.gz) = f8f7a0b738614a527e2420ca3970bc735c6c5346dfa8dd9e2d5bd2eeaf992e93
3
SIZE (unrealircd-6.1.1.1.tar.gz) = 10341432
3
SIZE (unrealircd-6.1.8.1.tar.gz) = 10053933
(-)b/irc/unreal/files/patch-doc_conf_modules.default.conf (-14 / +9 lines)
Lines 1-16 Link Here
1
--- doc/conf/modules.default.conf.orig	2023-09-21 00:26:43 UTC
1
--- doc/conf/modules.default.conf.orig	2024-10-18 10:45:40 UTC
2
+++ doc/conf/modules.default.conf
2
+++ doc/conf/modules.default.conf
3
@@ -293,13 +293,3 @@ loadmodule "targetfloodprot"; /* set::anti-flood::targ
3
@@ -299,7 +299,7 @@ loadmodule "websocket_common"; /* helper functions for
4
 loadmodule "watch-backend"; /* used by watch and other modules */
4
 loadmodule "spamreport"; /* Spam reporting to a blacklist */
5
 loadmodule "geoip_base"; /* needed for ALL geoip functions */
5
 loadmodule "crule"; /* Rules in spamfilter::rule and deny link::rule */
6
 loadmodule "websocket_common"; /* helper functions for websocket (internal) */
6
 
7
-
8
-loadmodule "geoip_classic";
7
-loadmodule "geoip_classic";
9
-@if module-loaded("geoip_classic")
8
+# loadmodule "geoip_classic";
10
-set {
9
 @if module-loaded("geoip_classic")
11
-	geoip-classic {
10
 set {
12
-		ipv4-database "https://www.unrealircd.org/files/geo/classic/GeoIP.dat" { url-refresh 14d; }
11
 	geoip-classic {
13
-		ipv6-database "https://www.unrealircd.org/files/geo/classic/GeoIPv6.dat" { url-refresh 14d; }
14
-	}
15
-}
16
-@endif
(-)b/irc/unreal/files/patch-doc_conf_modules.sources.list (+13 lines)
Added Link Here
1
--- doc/conf/modules.sources.list.orig	2024-10-24 06:41:55 UTC
2
+++ doc/conf/modules.sources.list
3
@@ -14,7 +14,9 @@
4
 # as well, then read the rules and procedure at:
5
 # https://www.unrealircd.org/docs/Rules_for_3rd_party_modules_in_unrealircd-contrib
6
 #
7
-https://modules.unrealircd.org/modules.list
8
+# disable, FreeBSD ports are not allowed network activity while building
9
+# (BZ 251357)
10
+# https://modules.unrealircd.org/modules.list
11
 
12
 # You can add more repositories here. However, do note that all
13
 # URLs MUST start with https://
(-)b/irc/unreal/files/unrealircd.in (-1 / +1 lines)
Lines 21-27 load_rc_config $name Link Here
21
: ${unrealircd_pidfile="/var/run/ircd/ircd.pid"}
21
: ${unrealircd_pidfile="/var/run/ircd/ircd.pid"}
22
: ${unrealircd_user="ircd"}
22
: ${unrealircd_user="ircd"}
23
23
24
command=%%PREFIX%%/libexec/ircd
24
command=%%PREFIX%%/libexec/unrealircd
25
pidfile=%%RUNDIR%%/ircd.pid
25
pidfile=%%RUNDIR%%/ircd.pid
26
start_precmd=unreal_prestart
26
start_precmd=unreal_prestart
27
27
(-)b/irc/unreal/pkg-plist (-2 / +11 lines)
Lines 16-21 Link Here
16
%%ETCDIR%%/examples/example.conf
16
%%ETCDIR%%/examples/example.conf
17
%%ETCDIR%%/examples/example.es.conf
17
%%ETCDIR%%/examples/example.es.conf
18
%%ETCDIR%%/examples/example.fr.conf
18
%%ETCDIR%%/examples/example.fr.conf
19
%%ETCDIR%%/examples/example.pt.conf
19
%%ETCDIR%%/examples/example.tr.conf
20
%%ETCDIR%%/examples/example.tr.conf
20
%%ETCDIR%%/help/help.conf
21
%%ETCDIR%%/help/help.conf
21
%%ETCDIR%%/help/help.de.conf
22
%%ETCDIR%%/help/help.de.conf
Lines 51-56 lib/unreal/bot-tag.so Link Here
51
lib/unreal/botmotd.so
52
lib/unreal/botmotd.so
52
lib/unreal/cap.so
53
lib/unreal/cap.so
53
lib/unreal/certfp.so
54
lib/unreal/certfp.so
55
lib/unreal/central-api.so
56
lib/unreal/central-blocklist.so
54
lib/unreal/chanmodes/censor.so
57
lib/unreal/chanmodes/censor.so
55
lib/unreal/chanmodes/chanadmin.so
58
lib/unreal/chanmodes/chanadmin.so
56
lib/unreal/chanmodes/chanop.so
59
lib/unreal/chanmodes/chanop.so
Lines 100-105 lib/unreal/connect-flood.so Link Here
100
lib/unreal/connect.so
103
lib/unreal/connect.so
101
lib/unreal/connthrottle.so
104
lib/unreal/connthrottle.so
102
lib/unreal/creationtime.so
105
lib/unreal/creationtime.so
106
lib/unreal/crule.so
103
lib/unreal/cycle.so
107
lib/unreal/cycle.so
104
lib/unreal/dccallow.so
108
lib/unreal/dccallow.so
105
lib/unreal/dccdeny.so
109
lib/unreal/dccdeny.so
Lines 120-125 lib/unreal/extbans/realname.so Link Here
120
lib/unreal/extbans/securitygroup.so
124
lib/unreal/extbans/securitygroup.so
121
lib/unreal/extbans/textban.so
125
lib/unreal/extbans/textban.so
122
lib/unreal/extbans/timedban.so
126
lib/unreal/extbans/timedban.so
127
lib/unreal/extbans/asn.so
128
lib/unreal/extbans/inherit.so
123
lib/unreal/extended-monitor.so
129
lib/unreal/extended-monitor.so
124
lib/unreal/extjwt.so
130
lib/unreal/extjwt.so
125
lib/unreal/geoip-tag.so
131
lib/unreal/geoip-tag.so
Lines 165-170 lib/unreal/names.so Link Here
165
lib/unreal/netinfo.so
171
lib/unreal/netinfo.so
166
lib/unreal/nick.so
172
lib/unreal/nick.so
167
lib/unreal/nocodes.so
173
lib/unreal/nocodes.so
174
lib/unreal/no-implicit-names.so
168
lib/unreal/oper.so
175
lib/unreal/oper.so
169
lib/unreal/operinfo.so
176
lib/unreal/operinfo.so
170
lib/unreal/opermotd.so
177
lib/unreal/opermotd.so
Lines 208-213 lib/unreal/silence.so Link Here
208
lib/unreal/sinfo.so
215
lib/unreal/sinfo.so
209
lib/unreal/sjoin.so
216
lib/unreal/sjoin.so
210
lib/unreal/slog.so
217
lib/unreal/slog.so
218
lib/unreal/spamreport.so
211
lib/unreal/sqline.so
219
lib/unreal/sqline.so
212
lib/unreal/squit.so
220
lib/unreal/squit.so
213
lib/unreal/sreply.so
221
lib/unreal/sreply.so
Lines 275-281 lib/unreal/whois.so Link Here
275
lib/unreal/whowas.so
283
lib/unreal/whowas.so
276
lib/unreal/whowasdb.so
284
lib/unreal/whowasdb.so
277
lib/unreal/whox.so
285
lib/unreal/whox.so
278
libexec/ircd
286
libexec/unrealircd
287
libexec/unrealircdctl
288
sbin/unrealircd
279
@dir /var/cache/ircd
289
@dir /var/cache/ircd
280
@dir /var/log/ircd
290
@dir /var/log/ircd
281
@dir /var/run/ircd
291
@dir /var/run/ircd
282
- 

Return to bug 275987