pkgsrc/chat/ircservices/Makefile

85 lines
2.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2006/02/05 23:08:24 joerg Exp $
#
Update to 5.0.56 Create the services group using PKG_GROUPS From the ChangeLog: > 2005/11/20 .56 Fixed a bug in StatServ that could cause a crash if > StatServ was unloaded with a rehash while Services > was running. > 2005/11/07 Changed NickServ and ChanServ SET PASSWORD to prevent the > use of spaces in passwords. > 2005/11/07 The NickServ commands DROP, RECOVER, RELEASE, and GHOST now > report a syntax error rather than "password incorrect" > when too many parameters are given. (As a result, > passwords containing spaces can no longer be used with > these commands. Use IDENTIFY followed by SET PASSWORD > to set a new password without spaces.) > 2005/10/26 Fixed incorrect end-of-/WHOIS responses for several > pseudoclients. Reported by Robin Burchell > <surreal.w00t@xxxxx.xxx> > 2005/09/26 .55 Added documentation on CSSetChannelTime configuration option. > 2005/08/25 Fixed rare bug allowing users to gain voice status > improperly. Reported by Anton Wolkov <phan70m@xxxxx.xxx> > 2005/08/23 Added "authed" callback for newly-authorized nicknames. > Suggested by Robin Burchell <surreal.w00t@xxxxx.xxx> > 2005/08/16 .54 The ChanServ check_kick callback now passes the channel > name as a string instead of the Channel structure, so > the channel name can be known even if the channel is > empty. Reported by Olly <olly@xxxxxxx.xx.xx> > 2005/08/13 The S-line commands (SGLINE, SQLINE, and SZLINE) now check > that "*" or similarly overbroad masks are not used. > Suggested by Dionisios K. <vonitsa_net@xxxxx.xx> > 2005/08/13 Fixed minor bugs in the code to check whether a new > autokill is too broad (such as "*"). > 2005/08/13 Fixed a compilation error (and many warnings) when > compiling with GCC 4. > 2005/08/13 Added UNSET callbacks for NickServ and ChanServ. Suggested > by Craig McLure <Craig@xxxxxxxxx.xxx> > 2005/05/12 .53 Fixed bug causing server connection to fail. > 2005/05/12 .52 Fixed occasional corruption of the NickServ REGISTER syntax > string upon reconfiguration (OperServ REHASH). > Reported by <alm@xxxxxxx.xx> > 2005/05/06 Fixed attempts to send PING messages before connecting to > the server. Reported by Craig McLure > <Craig@xxxxxxxxx.xxx> > 2005/04/02 .51 convert-db now checks for more potential problems with the > imported databases before writing out the XML data. > 2005/04/02 Fixed bugs when converting databases from old versions of > PTlink Services. > 2005/04/01 Fixed handling of links to forbidden nicks when converting > Auspice databases. > 2005/03/31 ChanServ KICK no longer allows Services opers to be kicked. > 2005/03/31 Ensured that usermode +r is cleared from nicks which lose > their identification status (e.g. from FORBID/SUSPEND). > 2005/03/31 NickServ SUSPEND now forces the user of the suspended > nick to change nicknames, as FORBID does. Reported by > Dionisios K. <vonitsa_net@xxxxx.xx> > 2005/03/31 ChanServ now stops non-identified users from joining > channels with mode +R locked on. Suggested by > Dionisios K. <vonitsa_net@xxxxx.xx> > 2005/03/29 .50 Fixed security hole in NickServ LISTLINKS allowing any user > to view a nick's links. Reported by > <katarn@xxxxxxxxxx.xxx>
2005-11-30 18:47:54 +01:00
DISTNAME= ircservices-5.0.56
PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= ftp://ftp.esper.net/ircservices/ \
- Update to 5.0.44 2004/12/13 .44 Fixed a careless error in the va_copy workaround. 2004/12/02 .43 Added workaround for va_copy with obsolete compilers. Reported by <us44ever (at) hotmail.com> 2004/12/02 Added support for SGlines on Unreal. Reported by Dionisios K. <vonitsa_net (at) yahoo.gr> 2004/12/02 Fixed "unknown message" on Unreal SWHOIS. Reported by Anton Wolkov <phan70m (at) gmail.com> 2004/11/22 Fixed URLs in the documentation to point to the new website. 2004/11/22 .42 The mail/smtp module now allows multiple RelayHost configuration directives for backup relay servers. Suggested by Torbjorn Svennson <azoff (at) se.linux.org> 2004/11/22 Fixed extraneous "Unknown message" log messages on Unreal. Reported by Ali Sor <alisor (at) softhome.net> 2004/10/29 Clarified "please change your nick" message text. Suggested by Dylan v.d Merwe <dylanvdm (at) icon.co.za> 2004/10/25 Fixed crash when using the Japanese language file with the OperServ SLINE COUNT command. 2004/10/19 Fixed bug allowing StatServ and global noticer nicknames to be registered/linked. Reported by M. van Cuijk <mark (at) phedny.net> 2004/10/14 Fixed various bugs and warnings when compiling on x86-64. Reported by <liverbugg (at) rinux.org> 2004/10/14 Added workaround for GNU coreutils (>=5.2) brokenness. 2004/10/13 SET MLOCK no longer allows locking +K without +i on Unreal. Reported by <help (at) thaiirc.in.th> 2004/10/13 Fixed cosmetic bug in MemoServ IGNORE. Reported by <saman (at) ttnet.net.tr> 2004/10/11 Fixed disconnect on incoming data flood. Reported by <ballsy (at) mystical.net> 2004/10/03 Updated the README file for the current manual structure.
2005-01-19 22:59:24 +01:00
ftp://ftp.esper.net/ircservices/old/ \
http://www.ircservices.esper.net/download/ \
ftp://ftp.freenet.de/pub/ftp.ircservices.za.net/pub/ircservices/
MAINTAINER= virtus@wanadoo.nl
- Update to 5.0.44 2004/12/13 .44 Fixed a careless error in the va_copy workaround. 2004/12/02 .43 Added workaround for va_copy with obsolete compilers. Reported by <us44ever (at) hotmail.com> 2004/12/02 Added support for SGlines on Unreal. Reported by Dionisios K. <vonitsa_net (at) yahoo.gr> 2004/12/02 Fixed "unknown message" on Unreal SWHOIS. Reported by Anton Wolkov <phan70m (at) gmail.com> 2004/11/22 Fixed URLs in the documentation to point to the new website. 2004/11/22 .42 The mail/smtp module now allows multiple RelayHost configuration directives for backup relay servers. Suggested by Torbjorn Svennson <azoff (at) se.linux.org> 2004/11/22 Fixed extraneous "Unknown message" log messages on Unreal. Reported by Ali Sor <alisor (at) softhome.net> 2004/10/29 Clarified "please change your nick" message text. Suggested by Dylan v.d Merwe <dylanvdm (at) icon.co.za> 2004/10/25 Fixed crash when using the Japanese language file with the OperServ SLINE COUNT command. 2004/10/19 Fixed bug allowing StatServ and global noticer nicknames to be registered/linked. Reported by M. van Cuijk <mark (at) phedny.net> 2004/10/14 Fixed various bugs and warnings when compiling on x86-64. Reported by <liverbugg (at) rinux.org> 2004/10/14 Added workaround for GNU coreutils (>=5.2) brokenness. 2004/10/13 SET MLOCK no longer allows locking +K without +i on Unreal. Reported by <help (at) thaiirc.in.th> 2004/10/13 Fixed cosmetic bug in MemoServ IGNORE. Reported by <saman (at) ttnet.net.tr> 2004/10/11 Fixed disconnect on incoming data flood. Reported by <ballsy (at) mystical.net> 2004/10/03 Updated the README file for the current manual structure.
2005-01-19 22:59:24 +01:00
HOMEPAGE= http://www.ircservices.esper.net/
COMMENT= Services for IRC networks
HAS_CONFIGURE= YES
USE_TOOLS+= gmake grep gsed perl
RCD_SCRIPTS= ircservices
Update to 5.0.56 Create the services group using PKG_GROUPS From the ChangeLog: > 2005/11/20 .56 Fixed a bug in StatServ that could cause a crash if > StatServ was unloaded with a rehash while Services > was running. > 2005/11/07 Changed NickServ and ChanServ SET PASSWORD to prevent the > use of spaces in passwords. > 2005/11/07 The NickServ commands DROP, RECOVER, RELEASE, and GHOST now > report a syntax error rather than "password incorrect" > when too many parameters are given. (As a result, > passwords containing spaces can no longer be used with > these commands. Use IDENTIFY followed by SET PASSWORD > to set a new password without spaces.) > 2005/10/26 Fixed incorrect end-of-/WHOIS responses for several > pseudoclients. Reported by Robin Burchell > <surreal.w00t@xxxxx.xxx> > 2005/09/26 .55 Added documentation on CSSetChannelTime configuration option. > 2005/08/25 Fixed rare bug allowing users to gain voice status > improperly. Reported by Anton Wolkov <phan70m@xxxxx.xxx> > 2005/08/23 Added "authed" callback for newly-authorized nicknames. > Suggested by Robin Burchell <surreal.w00t@xxxxx.xxx> > 2005/08/16 .54 The ChanServ check_kick callback now passes the channel > name as a string instead of the Channel structure, so > the channel name can be known even if the channel is > empty. Reported by Olly <olly@xxxxxxx.xx.xx> > 2005/08/13 The S-line commands (SGLINE, SQLINE, and SZLINE) now check > that "*" or similarly overbroad masks are not used. > Suggested by Dionisios K. <vonitsa_net@xxxxx.xx> > 2005/08/13 Fixed minor bugs in the code to check whether a new > autokill is too broad (such as "*"). > 2005/08/13 Fixed a compilation error (and many warnings) when > compiling with GCC 4. > 2005/08/13 Added UNSET callbacks for NickServ and ChanServ. Suggested > by Craig McLure <Craig@xxxxxxxxx.xxx> > 2005/05/12 .53 Fixed bug causing server connection to fail. > 2005/05/12 .52 Fixed occasional corruption of the NickServ REGISTER syntax > string upon reconfiguration (OperServ REHASH). > Reported by <alm@xxxxxxx.xx> > 2005/05/06 Fixed attempts to send PING messages before connecting to > the server. Reported by Craig McLure > <Craig@xxxxxxxxx.xxx> > 2005/04/02 .51 convert-db now checks for more potential problems with the > imported databases before writing out the XML data. > 2005/04/02 Fixed bugs when converting databases from old versions of > PTlink Services. > 2005/04/01 Fixed handling of links to forbidden nicks when converting > Auspice databases. > 2005/03/31 ChanServ KICK no longer allows Services opers to be kicked. > 2005/03/31 Ensured that usermode +r is cleared from nicks which lose > their identification status (e.g. from FORBID/SUSPEND). > 2005/03/31 NickServ SUSPEND now forces the user of the suspended > nick to change nicknames, as FORBID does. Reported by > Dionisios K. <vonitsa_net@xxxxx.xx> > 2005/03/31 ChanServ now stops non-identified users from joining > channels with mode +R locked on. Suggested by > Dionisios K. <vonitsa_net@xxxxx.xx> > 2005/03/29 .50 Fixed security hole in NickServ LISTLINKS allowing any user > to view a nick's links. Reported by > <katarn@xxxxxxxxxx.xxx>
2005-11-30 18:47:54 +01:00
PKG_GROUPS= services
CONFIGURE_ARGS+= -prefix ${PREFIX:Q}
SUBST_CLASSES+= install
SUBST_STAGE.install= post-patch
SUBST_FILES.install= install-script tools/ircservices-chk.in
SUBST_SED.install= -e "s|/bin/cp|${CP}|g" \
-e "s|/bin/chown|${CHOWN}|g" \
-e "s|/bin/chgrp|${CHGRP}|g" \
-e "s|/bin/chmod|${CHMOD}|g" \
-e "s|@DATDEST@|${VARBASE}/run|g"
SUBST_MESSAGE.install= "Fixing scripts."
SUBST_CLASSES+= utils
SUBST_STAGE.utils= post-patch
SUBST_FILES.utils= data/Makefile tools/Makefile
SUBST_SED.utils= -e "s|chgrp|${CHGRP}|g" \
-e "s|chmod|${CHMOD}|g" \
-e "s|find|${FIND}|g"
SUBST_MESSAGE.utils= "Fixing paths of hard-coded utilities."
SUBST_CLASSES+= conf
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= data/example-ircservices.conf data/example-modules.conf
SUBST_SED.conf= -e "s|/usr/local|${PREFIX}|g" \
-e "s|ircservices.log|${VARBASE}/log/ircservices.log|g"\
-e "s|ircservices.pid|${VARBASE}/run/ircservices.pid|g"\
-e "s|/usr/lib/sendmail|/usr/sbin/sendmail|g"
SUBST_MESSAGE.conf= "Fixing configuration files."
CONF_FILES_PERMS= ${PREFIX}/share/examples/ircservices/ircservices.conf \
${PREFIX}/lib/services/ircservices.conf \
${BINOWN} ${BINGRP} 0640
CONF_FILES_PERMS+= ${PREFIX}/share/examples/ircservices/modules.conf \
${PREFIX}/lib/services/modules.conf \
${BINOWN} ${BINGRP} 0640
INSTALLATION_DIRS= lib/services man/man8 sbin
.include "../../mk/bsd.prefs.mk"
# Only some platforms build the dynamically-loadable modules. On
# others, the modules are statically-linked into the ircservices
# executable.
#
.if exists(${WRKDIR}/${DISTNAME}/modules/mail/main.so)
PLIST_SRC= ${.CURDIR}/PLIST.shared
.endif
PLIST_SRC+= ${.CURDIR}/PLIST
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ircservices
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircservices
${INSTALL_MAN_DIR} ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/docs/*.html \
${PREFIX}/share/doc/html/ircservices
${INSTALL_MAN} ${WRKSRC}/docs/*.8 ${PREFIX}/man/man8
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/lib/services/helpfiles
${INSTALL_DATA} ${WRKSRC}/data/example-ircservices.conf \
${PREFIX}/share/examples/ircservices/ircservices.conf
${INSTALL_DATA} ${WRKSRC}/data/example-modules.conf \
${PREFIX}/share/examples/ircservices/modules.conf
.include "../../mk/bsd.pkg.mk"