FreeBSD Bugzilla – Attachment 244744 Details for
Bug 273461
[NEW PORT] irc/unreal current version of unrealircd 6.1.1.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Initial Patch for adding UnrealIRCD 6.1.1.1 to Ports
unreal.diff (text/plain), 14.66 KB, created by
tanawts
on 2023-09-10 04:45:58 UTC
(
hide
)
Description:
Initial Patch for adding UnrealIRCD 6.1.1.1 to Ports
Filename:
MIME Type:
Creator:
tanawts
Created:
2023-09-10 04:45:58 UTC
Size:
14.66 KB
patch
obsolete
>From 2e38e5cce7380958ec0e04b25e702e68b88175ad Mon Sep 17 00:00:00 2001 >From: JR Aquino > <root@PortBuilder.gcrxwe3ol2huxec0eompel4rsh.cx.internal.cloudapp.net> >Date: Sun, 10 Sep 2023 04:37:15 +0000 >Subject: [PATCH] Initial Patch for adding UnrealIRCD 6.1.1.1 to Ports > >--- > irc/unreal/Makefile | 115 ++++++++++++++ > irc/unreal/distinfo | 3 + > irc/unreal/files/unrealircd.in | 38 +++++ > irc/unreal/pkg-descr | 6 + > irc/unreal/pkg-plist | 280 +++++++++++++++++++++++++++++++++ > 5 files changed, 442 insertions(+) > create mode 100644 irc/unreal/Makefile > create mode 100644 irc/unreal/distinfo > create mode 100644 irc/unreal/files/unrealircd.in > create mode 100644 irc/unreal/pkg-descr > create mode 100644 irc/unreal/pkg-plist > >diff --git a/irc/unreal/Makefile b/irc/unreal/Makefile >new file mode 100644 >index 000000000000..a29d161be8b7 >--- /dev/null >+++ b/irc/unreal/Makefile >@@ -0,0 +1,115 @@ >+PORTNAME= unreal >+PORTVERSION= 6.1.1.1 >+CATEGORIES= irc >+MASTER_SITES= https://www.unrealircd.org/downloads/ >+DISTNAME= ${PORTNAME}ircd-${PORTVERSION} >+ >+MAINTAINER= tanawts@gmail.com >+COMMENT= Unreal - the next generation ircd >+WWW= https://www.unrealircd.org/ >+ >+LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+LIB_DEPENDS= libcares.so:dns/c-ares libpcre2-8.so:devel/pcre2 >+ >+USES= pkgconfig cpe gmake localbase >+MODULESDIR= ${PREFIX}/lib/${PORTNAME} >+CONFIGDIR= ${PREFIX}/etc/${PORTNAME} >+RUNDIR= /var/run/ircd >+LOGDIR= /var/log/ircd >+CACHEDIR= /var/cache/ircd >+TMPDIR= /tmp >+ >+HAS_CONFIGURE= yes >+USE_RC_SUBR= unrealircd >+ >+USERS= ircd >+GROUPS= ircd >+CPE_VENDOR= unrealircd >+CPE_PRODUCT= unrealircd >+ >+SUB_LIST+= RUNDIR=${RUNDIR} >+SUB_LIST+= USERS=${USERS} >+SUB_LIST+= GROUPS=${GROUPS} >+ >+CONFIGURE_ARGS= --with-nick-history=2000 \ >+ --with-bindir=${LOCALBASE}/bin \ >+ --with-scriptdir=${DATADIR} \ >+ --with-confdir=${CONFIGDIR} \ >+ --with-builddir=${WRKSRC} \ >+ --with-modulesdir=${MODULESDIR} \ >+ --with-logdir=${LOGDIR} \ >+ --with-cachedir=${CACHEDIR} \ >+ --with-tmpdir=${TMPDIR} \ >+ --with-datadir=${DATADIR}/data \ >+ --with-docdir=${DATADIR}/doc \ >+ --with-pidfile=${RUNDIR}/ircd.pid \ >+ --with-controlfile=${RUNDIR}/ircd.ctl \ >+ --with-privatelibdir=${DATADIR}/lib \ >+ --with-permissions=0600 \ >+ --with-system-cares \ >+ --enable-dynamic-linking \ >+ --enable-geoip-classic \ >+ >+OPTIONS_DEFINE= SSL IPV6 DOCS >+OPTIONS_DEFAULT= SSL >+ >+PORTDOCS= * >+DOCS= doc/Donation doc/Authors doc/coding-guidelines \ >+ doc/conf/examples/example.conf doc/tao.of.irc \ >+ doc/translations.txt \ >+ doc/technical/005.txt doc/technical/base64.txt \ >+ doc/technical/serverprotocol.txt >+ >+SSL_CONFIGURE_ENABLE= ssl >+SSL_USES= ssl >+ >+post-patch: >+ @${REINPLACE_CMD} -e "/Your system does not support IPv6/ s|as_fn_error|echo|" ${WRKSRC}/configure >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd >+ ${MKDIR} ${STAGEDIR}${CACHEDIR} >+ ${MKDIR} ${STAGEDIR}${CONFIGDIR} >+ ${MKDIR} ${STAGEDIR}${CONFIGDIR}/aliases >+ ${MKDIR} ${STAGEDIR}${CONFIGDIR}/examples >+ ${MKDIR} ${STAGEDIR}${CONFIGDIR}/help >+ ${MKDIR} ${STAGEDIR}${CONFIGDIR}/tls >+ ${MKDIR} ${STAGEDIR}${LOGDIR} >+ ${MKDIR} ${STAGEDIR}${MODULESDIR} >+ ${MKDIR} ${STAGEDIR}${MODULESDIR}/chanmodes >+ ${MKDIR} ${STAGEDIR}${MODULESDIR}/extbans >+ ${MKDIR} ${STAGEDIR}${MODULESDIR}/rpc >+ ${MKDIR} ${STAGEDIR}${MODULESDIR}/usermodes >+ ${MKDIR} ${STAGEDIR}${RUNDIR} >+ ${TOUCH} ${STAGEDIR}${CONFIGDIR}/ircd.motd.sample >+ ${TOUCH} ${STAGEDIR}${CONFIGDIR}/ircd.rules.sample >+ ${INSTALL_DATA} ${WRKSRC}/doc/conf/modules.sources.list ${STAGEDIR}${CONFIGDIR}/modules.sources.list.sample >+ cd ${WRKSRC}/doc/conf && for f in *.conf ; do \ >+ ${INSTALL_DATA} ${WRKSRC}/doc/conf/$$f ${STAGEDIR}${CONFIGDIR}/$$f.sample; \ >+ done >+ cd ${WRKSRC}/doc/conf/aliases && for f in *.conf ; do \ >+ ${INSTALL_DATA} ${WRKSRC}/doc/conf/aliases/$$f ${STAGEDIR}${CONFIGDIR}/aliases/$$f.sample; \ >+ done >+ cd ${WRKSRC}/doc/conf/examples && for f in *.conf ; do \ >+ ${INSTALL_DATA} ${WRKSRC}/doc/conf/examples/$$f ${STAGEDIR}${CONFIGDIR}/examples/$$f.sample; \ >+ done >+ cd ${WRKSRC}/doc/conf/help && for f in *.conf ; do \ >+ ${INSTALL_DATA} ${WRKSRC}/doc/conf/help/$$f ${STAGEDIR}${CONFIGDIR}/help/$$f.sample; \ >+ done >+ cd ${WRKSRC}/doc/conf/tls && for f in * ; do \ >+ ${INSTALL_DATA} ${WRKSRC}/doc/conf/tls/$$f ${STAGEDIR}${CONFIGDIR}/tls/$$f.sample; \ >+ done >+ ${INSTALL} ${WRKSRC}/src/modules/*.so ${STAGEDIR}${MODULESDIR} >+ ${INSTALL} ${WRKSRC}/src/modules/chanmodes/*.so ${STAGEDIR}${MODULESDIR}/chanmodes/ >+ ${INSTALL} ${WRKSRC}/src/modules/extbans/*.so ${STAGEDIR}${MODULESDIR}/extbans/ >+ ${INSTALL} ${WRKSRC}/src/modules/rpc/*.so ${STAGEDIR}${MODULESDIR}/rpc/ >+ ${INSTALL} ${WRKSRC}/src/modules/usermodes/*.so ${STAGEDIR}${MODULESDIR}/usermodes/ >+do-install-DOCS-on: >+${MKDIR} ${STAGEDIR}${DOCSDIR} >+.for file in ${DOCS} >+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} >+.endfor >+ >+.include <bsd.port.mk> >diff --git a/irc/unreal/distinfo b/irc/unreal/distinfo >new file mode 100644 >index 000000000000..ea31959465d2 >--- /dev/null >+++ b/irc/unreal/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1473082474 >+SHA256 (unrealircd-6.1.1.1.tar.gz) = 0c8e4164f499f0f6a72ed6032acb034bd7e9bd10308f556a0d919a00c2eeb334 >+SIZE (unrealircd-6.1.1.1.tar.gz) = 10341432 >diff --git a/irc/unreal/files/unrealircd.in b/irc/unreal/files/unrealircd.in >new file mode 100644 >index 000000000000..a89a6c3c81ee >--- /dev/null >+++ b/irc/unreal/files/unrealircd.in >@@ -0,0 +1,38 @@ >+#!/bin/sh >+ >+# PROVIDE: unrealircd >+# REQUIRE: NETWORKING SERVERS >+# BEFORE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Add the following line to /etc/rc.conf to enable Unreal IRCd: >+# unrealircd_enable (bool): Set to "NO" by default. >+# Set it to "YES" to enable Unreal IRCd >+# >+ >+. /etc/rc.subr >+ >+name=unrealircd >+rcvar=unrealircd_enable >+load_rc_config $name >+ >+: ${unrealircd_enable=NO} >+: ${unrealircd_pidfile="/var/run/ircd/ircd.pid"} >+: ${unrealircd_user="ircd"} >+ >+command=%%PREFIX%%/libexec/ircd >+pidfile=%%RUNDIR%%/ircd.pid >+start_precmd=unreal_prestart >+ >+required_files="%%PREFIX%%/etc/unreal/unrealircd.conf" >+ >+unreal_prestart() >+{ >+ if [ ! -d ${pidfile%/*} ]; then >+ install -d -o %%USERS%% -g %%GROUPS%% ${pidfile%/*} >+ install -d -o %%USERS%% -g %%GROUPS%% ${pidfile%/*}/tmp >+ fi >+} >+ >+run_rc_command "$1" >diff --git a/irc/unreal/pkg-descr b/irc/unreal/pkg-descr >new file mode 100644 >index 000000000000..1e80970e1a95 >--- /dev/null >+++ b/irc/unreal/pkg-descr >@@ -0,0 +1,6 @@ >+Unreal IRCd - the next generation ircd >+ >+A highly advanced IRCd with a strong focus on modularity and security. >+Other key features include: full IRCv3 support, SSL/TLS, cloaking, >+advanced anti-flood and anti-spam systems, GeoIP, remote includes, >+and lots of other features. >diff --git a/irc/unreal/pkg-plist b/irc/unreal/pkg-plist >new file mode 100644 >index 000000000000..b228ec0f83a6 >--- /dev/null >+++ b/irc/unreal/pkg-plist >@@ -0,0 +1,280 @@ >+@owner ircd >+@group ircd >+@sample %%ETCDIR%%/aliases/aliases.conf.sample >+@sample %%ETCDIR%%/aliases/anope.conf.sample >+@sample %%ETCDIR%%/aliases/atheme.conf.sample >+@sample %%ETCDIR%%/aliases/auspice.conf.sample >+@sample %%ETCDIR%%/aliases/cygnus.conf.sample >+@sample %%ETCDIR%%/aliases/epona.conf.sample >+@sample %%ETCDIR%%/aliases/generic.conf.sample >+@sample %%ETCDIR%%/aliases/genericstats.conf.sample >+@sample %%ETCDIR%%/aliases/ircservices.conf.sample >+@sample %%ETCDIR%%/aliases/operstats.conf.sample >+@sample %%ETCDIR%%/badwords.conf.sample >+@sample %%ETCDIR%%/dccallow.conf.sample >+@sample %%ETCDIR%%/examples/example.conf.sample >+@sample %%ETCDIR%%/examples/example.es.conf.sample >+@sample %%ETCDIR%%/examples/example.fr.conf.sample >+@sample %%ETCDIR%%/examples/example.tr.conf.sample >+@sample %%ETCDIR%%/help/help.conf.sample >+@sample %%ETCDIR%%/help/help.de.conf.sample >+@sample %%ETCDIR%%/help/help.es.conf.sample >+@sample %%ETCDIR%%/help/help.fr.conf.sample >+@sample %%ETCDIR%%/help/help.it.conf.sample >+@sample %%ETCDIR%%/help/help.nl.conf.sample >+@sample %%ETCDIR%%/help/help.pl.conf.sample >+@sample %%ETCDIR%%/help/help.ru.conf.sample >+@sample %%ETCDIR%%/help/help.tr.conf.sample >+@sample %%ETCDIR%%/ircd.motd.sample >+@sample %%ETCDIR%%/ircd.rules.sample >+@sample %%ETCDIR%%/modules.default.conf.sample >+@sample %%ETCDIR%%/modules.optional.conf.sample >+@sample %%ETCDIR%%/modules.sources.list.sample >+@sample %%ETCDIR%%/operclass.default.conf.sample >+@sample %%ETCDIR%%/rpc.modules.default.conf.sample >+@sample %%ETCDIR%%/snomasks.default.conf.sample >+@sample %%ETCDIR%%/spamfilter.conf.sample >+@sample %%ETCDIR%%/tls/curl-ca-bundle.crt.sample >+lib/unreal/account-notify.so >+lib/unreal/account-tag.so >+lib/unreal/addmotd.so >+lib/unreal/addomotd.so >+lib/unreal/admin.so >+lib/unreal/antimixedutf8.so >+lib/unreal/antirandom.so >+lib/unreal/authprompt.so >+lib/unreal/away.so >+lib/unreal/batch.so >+lib/unreal/blacklist.so >+lib/unreal/bot-tag.so >+lib/unreal/botmotd.so >+lib/unreal/cap.so >+lib/unreal/certfp.so >+lib/unreal/chanmodes/censor.so >+lib/unreal/chanmodes/chanadmin.so >+lib/unreal/chanmodes/chanop.so >+lib/unreal/chanmodes/chanowner.so >+lib/unreal/chanmodes/delayjoin.so >+lib/unreal/chanmodes/floodprot.so >+lib/unreal/chanmodes/halfop.so >+lib/unreal/chanmodes/history.so >+lib/unreal/chanmodes/inviteonly.so >+lib/unreal/chanmodes/isregistered.so >+lib/unreal/chanmodes/issecure.so >+lib/unreal/chanmodes/key.so >+lib/unreal/chanmodes/limit.so >+lib/unreal/chanmodes/link.so >+lib/unreal/chanmodes/moderated.so >+lib/unreal/chanmodes/nocolor.so >+lib/unreal/chanmodes/noctcp.so >+lib/unreal/chanmodes/noexternalmsgs.so >+lib/unreal/chanmodes/noinvite.so >+lib/unreal/chanmodes/nokick.so >+lib/unreal/chanmodes/noknock.so >+lib/unreal/chanmodes/nonickchange.so >+lib/unreal/chanmodes/nonotice.so >+lib/unreal/chanmodes/operonly.so >+lib/unreal/chanmodes/permanent.so >+lib/unreal/chanmodes/private.so >+lib/unreal/chanmodes/regonly.so >+lib/unreal/chanmodes/regonlyspeak.so >+lib/unreal/chanmodes/secret.so >+lib/unreal/chanmodes/secureonly.so >+lib/unreal/chanmodes/stripcolor.so >+lib/unreal/chanmodes/topiclimit.so >+lib/unreal/chanmodes/voice.so >+lib/unreal/channel-context.so >+lib/unreal/channeldb.so >+lib/unreal/charsys.so >+lib/unreal/chathistory.so >+lib/unreal/chghost.so >+lib/unreal/chgident.so >+lib/unreal/chgname.so >+lib/unreal/clienttagdeny.so >+lib/unreal/cloak_md5.so >+lib/unreal/cloak_none.so >+lib/unreal/cloak_sha256.so >+lib/unreal/close.so >+lib/unreal/connect-flood.so >+lib/unreal/connect.so >+lib/unreal/connthrottle.so >+lib/unreal/creationtime.so >+lib/unreal/cycle.so >+lib/unreal/dccallow.so >+lib/unreal/dccdeny.so >+lib/unreal/echo-message.so >+lib/unreal/eos.so >+lib/unreal/extbans/account.so >+lib/unreal/extbans/certfp.so >+lib/unreal/extbans/country.so >+lib/unreal/extbans/flood.so >+lib/unreal/extbans/inchannel.so >+lib/unreal/extbans/join.so >+lib/unreal/extbans/msgbypass.so >+lib/unreal/extbans/nickchange.so >+lib/unreal/extbans/operclass.so >+lib/unreal/extbans/partmsg.so >+lib/unreal/extbans/quiet.so >+lib/unreal/extbans/realname.so >+lib/unreal/extbans/securitygroup.so >+lib/unreal/extbans/textban.so >+lib/unreal/extbans/timedban.so >+lib/unreal/extended-monitor.so >+lib/unreal/extjwt.so >+lib/unreal/geoip-tag.so >+lib/unreal/geoip_base.so >+lib/unreal/geoip_classic.so >+lib/unreal/geoip_csv.so >+lib/unreal/globops.so >+lib/unreal/help.so >+lib/unreal/hideserver.so >+lib/unreal/history.so >+lib/unreal/history_backend_mem.so >+lib/unreal/history_backend_null.so >+lib/unreal/ident_lookup.so >+lib/unreal/invite.so >+lib/unreal/ircops.so >+lib/unreal/ison.so >+lib/unreal/issued-by-tag.so >+lib/unreal/join.so >+lib/unreal/jointhrottle.so >+lib/unreal/json-log-tag.so >+lib/unreal/jumpserver.so >+lib/unreal/kick.so >+lib/unreal/kill.so >+lib/unreal/knock.so >+lib/unreal/labeled-response.so >+lib/unreal/lag.so >+lib/unreal/link-security.so >+lib/unreal/links.so >+lib/unreal/list.so >+lib/unreal/locops.so >+lib/unreal/lusers.so >+lib/unreal/map.so >+lib/unreal/max-unknown-connections-per-ip.so >+lib/unreal/md.so >+lib/unreal/message-ids.so >+lib/unreal/message-tags.so >+lib/unreal/message.so >+lib/unreal/mkpasswd.so >+lib/unreal/mode.so >+lib/unreal/monitor.so >+lib/unreal/motd.so >+lib/unreal/names.so >+lib/unreal/netinfo.so >+lib/unreal/nick.so >+lib/unreal/nocodes.so >+lib/unreal/oper.so >+lib/unreal/operinfo.so >+lib/unreal/opermotd.so >+lib/unreal/part.so >+lib/unreal/pass.so >+lib/unreal/pingpong.so >+lib/unreal/plaintext-policy.so >+lib/unreal/protoctl.so >+lib/unreal/quit.so >+lib/unreal/real-quit-reason.so >+lib/unreal/reply-tag.so >+lib/unreal/reputation.so >+lib/unreal/require-module.so >+lib/unreal/restrict-commands.so >+lib/unreal/rmtkl.so >+lib/unreal/rpc/channel.so >+lib/unreal/rpc/log.so >+lib/unreal/rpc/name_ban.so >+lib/unreal/rpc/rpc.so >+lib/unreal/rpc/server.so >+lib/unreal/rpc/server_ban.so >+lib/unreal/rpc/server_ban_exception.so >+lib/unreal/rpc/spamfilter.so >+lib/unreal/rpc/stats.so >+lib/unreal/rpc/user.so >+lib/unreal/rpc/whowas.so >+lib/unreal/rules.so >+lib/unreal/sajoin.so >+lib/unreal/samode.so >+lib/unreal/sapart.so >+lib/unreal/sasl.so >+lib/unreal/sdesc.so >+lib/unreal/sendsno.so >+lib/unreal/sendumode.so >+lib/unreal/server-time.so >+lib/unreal/server.so >+lib/unreal/sethost.so >+lib/unreal/setident.so >+lib/unreal/setname.so >+lib/unreal/silence.so >+lib/unreal/sinfo.so >+lib/unreal/sjoin.so >+lib/unreal/slog.so >+lib/unreal/sqline.so >+lib/unreal/squit.so >+lib/unreal/sreply.so >+lib/unreal/staff.so >+lib/unreal/standard-replies.so >+lib/unreal/starttls.so >+lib/unreal/stats.so >+lib/unreal/sts.so >+lib/unreal/svsjoin.so >+lib/unreal/svskill.so >+lib/unreal/svslogin.so >+lib/unreal/svslusers.so >+lib/unreal/svsmode.so >+lib/unreal/svsmotd.so >+lib/unreal/svsnick.so >+lib/unreal/svsnline.so >+lib/unreal/svsnolag.so >+lib/unreal/svsnoop.so >+lib/unreal/svso.so >+lib/unreal/svspart.so >+lib/unreal/svssilence.so >+lib/unreal/svssno.so >+lib/unreal/svswatch.so >+lib/unreal/swhois.so >+lib/unreal/targetfloodprot.so >+lib/unreal/time.so >+lib/unreal/tkl.so >+lib/unreal/tkldb.so >+lib/unreal/tline.so >+lib/unreal/tls_antidos.so >+lib/unreal/tls_cipher.so >+lib/unreal/topic.so >+lib/unreal/trace.so >+lib/unreal/tsctl.so >+lib/unreal/typing-indicator.so >+lib/unreal/umode2.so >+lib/unreal/unreal_server_compat.so >+lib/unreal/unsqline.so >+lib/unreal/user.so >+lib/unreal/userhost-tag.so >+lib/unreal/userhost.so >+lib/unreal/userip-tag.so >+lib/unreal/userip.so >+lib/unreal/usermodes/bot.so >+lib/unreal/usermodes/censor.so >+lib/unreal/usermodes/noctcp.so >+lib/unreal/usermodes/nokick.so >+lib/unreal/usermodes/privacy.so >+lib/unreal/usermodes/privdeaf.so >+lib/unreal/usermodes/regonlymsg.so >+lib/unreal/usermodes/secureonlymsg.so >+lib/unreal/usermodes/servicebot.so >+lib/unreal/usermodes/showwhois.so >+lib/unreal/usermodes/wallops.so >+lib/unreal/vhost.so >+lib/unreal/watch-backend.so >+lib/unreal/watch.so >+lib/unreal/webirc.so >+lib/unreal/webredir.so >+lib/unreal/webserver.so >+lib/unreal/websocket.so >+lib/unreal/websocket_common.so >+lib/unreal/who_old.so >+lib/unreal/whois.so >+lib/unreal/whowas.so >+lib/unreal/whowasdb.so >+lib/unreal/whox.so >+libexec/ircd >+@dir /var/cache/ircd >+@dir /var/log/ircd >+@dir /var/run/ircd >-- >2.42.0 >
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 273461
:
244491
|
244524
|
244742
|
244744
|
244759
|
244760
|
245125
|
245127