pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/unrealircd6 add chat/unrealircd6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00288f6bb291
branches:  trunk
changeset: 374954:00288f6bb291
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 04 08:44:33 2022 +0000

description:
add chat/unrealircd6.

Release notes:
https://www.unrealircd.org/docs/What%27s_new_in_UnrealIRCd_6

Note this package changes the pkgsrc file layout from chat/unrealircd
to a more standard affair:

--with-datadir=${VARBASE}/unrealircd
--with-cachedir=${VARBASE}/cache/unrealircd
--with-controlfile=${VARBASE}/run/unrealircd.ctl
--with-logdir=${VARBASE}/log/unrealircd
--with-tmpdir=${VARBASE}/tmp/unrealircd
--with-pidfile=${VARBASE}/run/unrealircd.pid
--with-scriptdir=${PREFIX}/share/unrealircd/scripts

diffstat:

 chat/unrealircd6/DESCR                     |    5 +
 chat/unrealircd6/Makefile                  |  128 +++++++++++++++
 chat/unrealircd6/PLIST                     |  247 +++++++++++++++++++++++++++++
 chat/unrealircd6/distinfo                  |    6 +
 chat/unrealircd6/files/smf/manifest.xml    |   32 +++
 chat/unrealircd6/files/unrealircd.sh       |   31 +++
 chat/unrealircd6/options.mk                |   31 +++
 chat/unrealircd6/patches/patch-include_h.h |   15 +
 8 files changed, 495 insertions(+), 0 deletions(-)

diffs (truncated from 527 to 300 lines):

diff -r 8c9b4de527c8 -r 00288f6bb291 chat/unrealircd6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd6/DESCR    Fri Mar 04 08:44:33 2022 +0000
@@ -0,0 +1,5 @@
+UnrealIRCd is an IRC server based on the branch of IRCu called
+Dreamforge, formerly used by the DALnet IRC Network.
+
+Key features include SSL, cloaking, its advanced anti-flood and
+anti-spam systems, swear filtering and module support.
diff -r 8c9b4de527c8 -r 00288f6bb291 chat/unrealircd6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd6/Makefile Fri Mar 04 08:44:33 2022 +0000
@@ -0,0 +1,128 @@
+# $NetBSD: Makefile,v 1.1 2022/03/04 08:44:33 nia Exp $
+
+DISTNAME=      unrealircd-6.0.2
+CATEGORIES=    chat
+MASTER_SITES=  https://www.unrealircd.org/downloads/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.unrealircd.org/
+COMMENT=       Advanced IRC server with IPv6 and SSL support
+LICENSE=       gnu-gpl-v2
+
+CONFLICTS+=    ircu-[0-9]*
+
+GNU_CONFIGURE= YES
+USE_TOOLS+=    gmake gunzip pkg-config
+
+.include "options.mk"
+
+SUBST_CLASSES+=                argon2
+SUBST_STAGE.argon2=    pre-configure
+SUBST_MESSAGE.argon2=  Fixing Argon2 version number
+SUBST_FILES.argon2+=   configure
+SUBST_SED.argon2+=     -e 's|0~20161029|ZERO|g'
+
+PKG_SYSCONFSUBDIR=     unrealircd
+
+# Quoth ./configure,
+# "noone knows if disabling dynamic linking actually does anything or not".
+# Also needed to configure non-interactively.
+CONFIGURE_ARGS+=       --enable-dynamic-linking
+
+CONFIGURE_ARGS+=       --enable-ssl=${BUILDLINK_PREFIX.openssl}
+
+CONFIGURE_ARGS+=       --with-system-cares
+CONFIGURE_ARGS+=       --with-system-pcre2
+
+CONFIGURE_ARGS+=       --with-permissions=0660
+CONFIGURE_ARGS+=       --with-datadir=${VARBASE}/unrealircd
+CONFIGURE_ARGS+=       --with-cachedir=${VARBASE}/cache/unrealircd
+CONFIGURE_ARGS+=       --with-controlfile=${VARBASE}/run/unrealircd.ctl
+CONFIGURE_ARGS+=       --with-logdir=${VARBASE}/log/unrealircd
+CONFIGURE_ARGS+=       --with-tmpdir=${VARBASE}/tmp/unrealircd
+CONFIGURE_ARGS+=       --with-pidfile=${VARBASE}/run/unrealircd.pid
+CONFIGURE_ARGS+=       --with-scriptdir=${PREFIX}/share/unrealircd/scripts
+CONFIGURE_ARGS+=       --with-bindir=${PREFIX}/bin
+CONFIGURE_ARGS+=       --with-modulesdir=${PREFIX}/lib/unrealircd/modules
+CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/unrealircd
+CONFIGURE_ARGS+=       --with-confdir=${PKG_SYSCONFDIR}
+
+OWN_DIRS_PERMS+=       ${VARBASE}/unrealircd ${UIRCD_USER} ${UIRCD_GROUP} 0755
+OWN_DIRS_PERMS+=       ${VARBASE}/cache/unrealircd ${UIRCD_USER} ${UIRCD_GROUP} 0700
+OWN_DIRS_PERMS+=       ${VARBASE}/log/unrealircd ${UIRCD_USER} ${UIRCD_GROUP} 0700
+OWN_DIRS_PERMS+=       ${VARBASE}/run/unrealircd ${UIRCD_USER} ${UIRCD_GROUP} 0700
+OWN_DIRS_PERMS+=       ${VARBASE}/tmp/unrealircd ${UIRCD_USER} ${UIRCD_GROUP} 0700
+
+CONFIGURE_ARGS+=       --with-nick-history=${UIRCD_NICKHIST:Q}
+
+CONFIGURE_ENV.SunOS+=  ac_cv_func_epoll_create=no
+CONFIGURE_ENV.SunOS+=  ac_cv_func_epoll_ctl=no
+CONFIGURE_ENV.SunOS+=  ac_cv_func_epoll_wait=no
+
+IRCD_EG=       ${PREFIX}/share/examples/unrealircd
+
+BUILD_DEFS+=   UIRCD_NICKHIST VARBASE
+
+PTHREAD_OPTS+= require
+
+.include "../../mk/bsd.prefs.mk"
+
+# The defaults for most of these here are from the standard Conf
+# script supplied with the UnrealIRCd package.
+#
+UIRCD_NICKHIST?=       2000
+UIRCD_USER?=           uircd
+UIRCD_GROUP?=          uircd
+
+PKG_USERS_VARS+=       UIRCD_USER
+PKG_GROUPS_VARS+=      UIRCD_GROUP
+
+PKG_GROUPS=            ${UIRCD_GROUP}
+PKG_USERS=             ${UIRCD_USER}:${UIRCD_GROUP}
+
+PKG_GECOS.${UIRCD_USER}=       UnrealIRCD user
+
+RCD_SCRIPTS=   unrealircd
+
+FILES_SUBST+=  UIRCD_USER=${UIRCD_USER}
+FILES_SUBST+=  UIRCD_GROUP=${UIRCD_GROUP}
+
+CFLAGS.Darwin+=        -DUSE_LOCALE
+CFLAGS.SunOS+= -DUSE_LOCALE
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    lib/unrealircd/modules
+INSTALLATION_DIRS+=    lib/unrealircd/modules/usermodes
+INSTALLATION_DIRS+=    lib/unrealircd/modules/chanmodes
+INSTALLATION_DIRS+=    lib/unrealircd/modules/extbans
+INSTALLATION_DIRS+=    share/doc/unrealircd
+INSTALLATION_DIRS+=    share/unrealircd/scripts
+INSTALLATION_DIRS+=    ${IRCD_EG}
+INSTALLATION_DIRS+=    ${IRCD_EG}/aliases
+INSTALLATION_DIRS+=    ${IRCD_EG}/help
+INSTALLATION_DIRS+=    ${IRCD_EG}/tls
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${DESTDIR}${PREFIX}/bin/unrealircd
+       ${INSTALL_DATA} ${WRKSRC}/doc/Authors ${DESTDIR}${PREFIX}/share/doc/unrealircd
+       ${INSTALL_DATA} ${WRKSRC}/doc/coding-guidelines ${DESTDIR}${PREFIX}/share/doc/unrealircd
+       ${INSTALL_DATA} ${WRKSRC}/doc/tao.of.irc ${DESTDIR}${PREFIX}/share/doc/unrealircd
+       ${INSTALL_DATA} ${WRKSRC}/doc/conf/*.conf ${DESTDIR}${IRCD_EG}
+       ${INSTALL_DATA} ${WRKSRC}/doc/conf/examples/*.conf ${DESTDIR}${IRCD_EG}
+       ${INSTALL_DATA} ${WRKSRC}/doc/conf/aliases/*.conf ${DESTDIR}${IRCD_EG}/aliases
+       ${INSTALL_DATA} ${WRKSRC}/doc/conf/help/*.conf ${DESTDIR}${IRCD_EG}/help
+       ${INSTALL_DATA} ${WRKSRC}/doc/conf/tls/curl-ca-bundle.crt ${DESTDIR}${IRCD_EG}/tls
+       ${INSTALL_SCRIPT} ${WRKSRC}/unrealircd ${DESTDIR}${PREFIX}/share/unrealircd/scripts
+       ${INSTALL_LIB} ${WRKSRC}/src/modules/*.so ${DESTDIR}${PREFIX}/lib/unrealircd/modules
+       ${INSTALL_LIB} ${WRKSRC}/src/modules/usermodes/*.so ${DESTDIR}${PREFIX}/lib/unrealircd/modules/usermodes
+       ${INSTALL_LIB} ${WRKSRC}/src/modules/chanmodes/*.so ${DESTDIR}${PREFIX}/lib/unrealircd/modules/chanmodes
+       ${INSTALL_LIB} ${WRKSRC}/src/modules/extbans/*.so ${DESTDIR}${PREFIX}/lib/unrealircd/modules/extbans
+
+.include "../../net/libcares/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../security/argon2/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8c9b4de527c8 -r 00288f6bb291 chat/unrealircd6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd6/PLIST    Fri Mar 04 08:44:33 2022 +0000
@@ -0,0 +1,247 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/04 08:44:33 nia Exp $
+bin/unrealircd
+lib/unrealircd/modules/account-notify.so
+lib/unrealircd/modules/account-tag.so
+lib/unrealircd/modules/addmotd.so
+lib/unrealircd/modules/addomotd.so
+lib/unrealircd/modules/admin.so
+lib/unrealircd/modules/antimixedutf8.so
+lib/unrealircd/modules/antirandom.so
+lib/unrealircd/modules/authprompt.so
+lib/unrealircd/modules/away.so
+lib/unrealircd/modules/batch.so
+lib/unrealircd/modules/blacklist.so
+lib/unrealircd/modules/bot-tag.so
+lib/unrealircd/modules/botmotd.so
+lib/unrealircd/modules/cap.so
+lib/unrealircd/modules/certfp.so
+lib/unrealircd/modules/chanmodes/censor.so
+lib/unrealircd/modules/chanmodes/chanadmin.so
+lib/unrealircd/modules/chanmodes/chanop.so
+lib/unrealircd/modules/chanmodes/chanowner.so
+lib/unrealircd/modules/chanmodes/delayjoin.so
+lib/unrealircd/modules/chanmodes/floodprot.so
+lib/unrealircd/modules/chanmodes/halfop.so
+lib/unrealircd/modules/chanmodes/history.so
+lib/unrealircd/modules/chanmodes/inviteonly.so
+lib/unrealircd/modules/chanmodes/isregistered.so
+lib/unrealircd/modules/chanmodes/issecure.so
+lib/unrealircd/modules/chanmodes/key.so
+lib/unrealircd/modules/chanmodes/limit.so
+lib/unrealircd/modules/chanmodes/link.so
+lib/unrealircd/modules/chanmodes/moderated.so
+lib/unrealircd/modules/chanmodes/nocolor.so
+lib/unrealircd/modules/chanmodes/noctcp.so
+lib/unrealircd/modules/chanmodes/noexternalmsgs.so
+lib/unrealircd/modules/chanmodes/noinvite.so
+lib/unrealircd/modules/chanmodes/nokick.so
+lib/unrealircd/modules/chanmodes/noknock.so
+lib/unrealircd/modules/chanmodes/nonickchange.so
+lib/unrealircd/modules/chanmodes/nonotice.so
+lib/unrealircd/modules/chanmodes/operonly.so
+lib/unrealircd/modules/chanmodes/permanent.so
+lib/unrealircd/modules/chanmodes/private.so
+lib/unrealircd/modules/chanmodes/regonly.so
+lib/unrealircd/modules/chanmodes/regonlyspeak.so
+lib/unrealircd/modules/chanmodes/secret.so
+lib/unrealircd/modules/chanmodes/secureonly.so
+lib/unrealircd/modules/chanmodes/stripcolor.so
+lib/unrealircd/modules/chanmodes/topiclimit.so
+lib/unrealircd/modules/chanmodes/voice.so
+lib/unrealircd/modules/channeldb.so
+lib/unrealircd/modules/charsys.so
+lib/unrealircd/modules/chathistory.so
+lib/unrealircd/modules/chghost.so
+lib/unrealircd/modules/chgident.so
+lib/unrealircd/modules/chgname.so
+lib/unrealircd/modules/clienttagdeny.so
+lib/unrealircd/modules/cloak_md5.so
+lib/unrealircd/modules/cloak_none.so
+lib/unrealircd/modules/cloak_sha256.so
+lib/unrealircd/modules/close.so
+lib/unrealircd/modules/connect.so
+lib/unrealircd/modules/connthrottle.so
+lib/unrealircd/modules/cycle.so
+lib/unrealircd/modules/dccallow.so
+lib/unrealircd/modules/dccdeny.so
+lib/unrealircd/modules/echo-message.so
+lib/unrealircd/modules/eos.so
+lib/unrealircd/modules/extbans/account.so
+lib/unrealircd/modules/extbans/certfp.so
+lib/unrealircd/modules/extbans/country.so
+lib/unrealircd/modules/extbans/inchannel.so
+lib/unrealircd/modules/extbans/join.so
+lib/unrealircd/modules/extbans/msgbypass.so
+lib/unrealircd/modules/extbans/nickchange.so
+lib/unrealircd/modules/extbans/operclass.so
+lib/unrealircd/modules/extbans/partmsg.so
+lib/unrealircd/modules/extbans/quiet.so
+lib/unrealircd/modules/extbans/realname.so
+lib/unrealircd/modules/extbans/securitygroup.so
+lib/unrealircd/modules/extbans/textban.so
+lib/unrealircd/modules/extbans/timedban.so
+lib/unrealircd/modules/extended-monitor.so
+lib/unrealircd/modules/extjwt.so
+lib/unrealircd/modules/geoip_base.so
+lib/unrealircd/modules/geoip_csv.so
+lib/unrealircd/modules/globops.so
+lib/unrealircd/modules/help.so
+lib/unrealircd/modules/hideserver.so
+lib/unrealircd/modules/history.so
+lib/unrealircd/modules/history_backend_mem.so
+lib/unrealircd/modules/history_backend_null.so
+lib/unrealircd/modules/ident_lookup.so
+lib/unrealircd/modules/invite.so
+lib/unrealircd/modules/ircops.so
+lib/unrealircd/modules/ison.so
+lib/unrealircd/modules/join.so
+lib/unrealircd/modules/jointhrottle.so
+lib/unrealircd/modules/json-log-tag.so
+lib/unrealircd/modules/jumpserver.so
+lib/unrealircd/modules/kick.so
+lib/unrealircd/modules/kill.so
+lib/unrealircd/modules/knock.so
+lib/unrealircd/modules/labeled-response.so
+lib/unrealircd/modules/lag.so
+lib/unrealircd/modules/link-security.so
+lib/unrealircd/modules/links.so
+lib/unrealircd/modules/list.so
+lib/unrealircd/modules/locops.so
+lib/unrealircd/modules/lusers.so
+lib/unrealircd/modules/map.so
+lib/unrealircd/modules/md.so
+lib/unrealircd/modules/message-ids.so
+lib/unrealircd/modules/message-tags.so
+lib/unrealircd/modules/message.so
+lib/unrealircd/modules/mkpasswd.so
+lib/unrealircd/modules/mode.so
+lib/unrealircd/modules/monitor.so
+lib/unrealircd/modules/motd.so
+lib/unrealircd/modules/names.so
+lib/unrealircd/modules/netinfo.so
+lib/unrealircd/modules/nick.so
+lib/unrealircd/modules/nocodes.so
+lib/unrealircd/modules/oper.so
+lib/unrealircd/modules/operinfo.so
+lib/unrealircd/modules/opermotd.so
+lib/unrealircd/modules/part.so
+lib/unrealircd/modules/pass.so
+lib/unrealircd/modules/pingpong.so
+lib/unrealircd/modules/plaintext-policy.so
+lib/unrealircd/modules/protoctl.so
+lib/unrealircd/modules/quit.so
+lib/unrealircd/modules/reply-tag.so
+lib/unrealircd/modules/reputation.so
+lib/unrealircd/modules/require-module.so
+lib/unrealircd/modules/restrict-commands.so
+lib/unrealircd/modules/rmtkl.so
+lib/unrealircd/modules/rules.so
+lib/unrealircd/modules/sajoin.so
+lib/unrealircd/modules/samode.so
+lib/unrealircd/modules/sapart.so
+lib/unrealircd/modules/sasl.so
+lib/unrealircd/modules/sdesc.so
+lib/unrealircd/modules/sendsno.so
+lib/unrealircd/modules/sendumode.so
+lib/unrealircd/modules/server-time.so
+lib/unrealircd/modules/server.so
+lib/unrealircd/modules/sethost.so
+lib/unrealircd/modules/setident.so
+lib/unrealircd/modules/setname.so
+lib/unrealircd/modules/silence.so
+lib/unrealircd/modules/sinfo.so
+lib/unrealircd/modules/sjoin.so
+lib/unrealircd/modules/slog.so
+lib/unrealircd/modules/sqline.so



Home | Main Index | Thread Index | Old Index