pkgsrc/comms/conserver8/Makefile

74 lines
2 KiB
Makefile
Raw Normal View History

Update to version 8.1.14. Approved by maintainer. Changes since last packaged version (8.1.11): version 8.1.14 (Apr 9, 2006): - fixed rpm conserver.spec file - based on patch by Martin Evans <m.d.t.evans@qmul.ac.uk> - added 'uds' console type for unix domain socket connections - based on patch by DJ Gregor <dj@gregor.com> - probing of interfaces under cygwin (and possibly others?) now skips unconfigured interfaces (even if flagged as up!) - reported by Chris Riddoch <chrisr@digeo.com> - added the '!login' console option to prevent clients from connecting to a console - suggested by Greg Tillman <gregtillman@comcast.net> - added a 'noop' console type for consoles you'd like to name, but have no connection to - suggested by Greg Tillman <gregtillman@comcast.net> - deprecated escape commands removed from the code - added '^EcP' and '^EcR' sequences to set the playback and replay line lengths - new console config options 'playback' and 'replay' to let the client set prefered output lengths (with a special feature for a size of zero) - prefer strlcpy() over strcpy() - based on patch by Peter Valchev <pvalchev@openbsd.org> - fixed bug where '^Eco' by user on an 'exec' console with an 'initcmd' causes input by user to be ignored (could be other console types as well) - reported by Mark Wedel <Mark.Wedel@sun.com> - made POSIX termios code in autologin a requirement (since conserver requires it) and cleaned up a few other issues - based on reports by Arthur Clune <ajc22@york.ac.uk> version 8.1.13 (Jan 15, 2006): - use SIOCGIFNUM for interface count (if available) and catch EINVAL on Solaris - patch by Peter Jeremy <peter.jeremy@alcatel.com.au> - console output now resets idle timer - suggested by Peter Saunders <pajs@fodder.org.uk> - bug fix for conserver process running out of control and using up cpu - debugged with Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> version 8.1.12 (Sep 5, 2005): - printf() fix for autologin - patch by Menno Duursma <druiloor@zonnet.nl> - newly spawned (from SIGHUP) processes didn't properly close primary socket - SSL certificates now work again (anonymous ciphers are not allowed if a certificate is used) - client options -x, -u, -w, and -i can now take a console name to restrict output - suggested by Evan McClure <emcclure@internap.com> - convert program now installed in $libdir/conserver - patch by Petter Reinholdtsen <pere@hungry.com> - we now ignore SIGXFSZ, if it exists - added 'limited' access option to remove certain functionality from users - suggested by Sven Michels <sven@darkman.de> - added client option -z/-Z for sending commands to servers (reload, quit, etc) - based on suggestion by Joshua Pincus <Joshua.Pincus@Sun.COM> - added 'execrunas' and 'initrunas' console options to allow 'exec' and 'initcmd' execution as another user and/or group - based on patch by Gary Mills <mills@cc.umanitoba.ca> - the east coast mirror had to shut down (for now, at least) - crash from bad pointer manipulation during log replay - reported by Ryan Kirkpatrick <linux@rkirkpat.net>
2006-05-11 23:42:43 +02:00
# $NetBSD: Makefile,v 1.5 2006/05/11 21:42:43 seb Exp $
#
Update to version 8.1.14. Approved by maintainer. Changes since last packaged version (8.1.11): version 8.1.14 (Apr 9, 2006): - fixed rpm conserver.spec file - based on patch by Martin Evans <m.d.t.evans@qmul.ac.uk> - added 'uds' console type for unix domain socket connections - based on patch by DJ Gregor <dj@gregor.com> - probing of interfaces under cygwin (and possibly others?) now skips unconfigured interfaces (even if flagged as up!) - reported by Chris Riddoch <chrisr@digeo.com> - added the '!login' console option to prevent clients from connecting to a console - suggested by Greg Tillman <gregtillman@comcast.net> - added a 'noop' console type for consoles you'd like to name, but have no connection to - suggested by Greg Tillman <gregtillman@comcast.net> - deprecated escape commands removed from the code - added '^EcP' and '^EcR' sequences to set the playback and replay line lengths - new console config options 'playback' and 'replay' to let the client set prefered output lengths (with a special feature for a size of zero) - prefer strlcpy() over strcpy() - based on patch by Peter Valchev <pvalchev@openbsd.org> - fixed bug where '^Eco' by user on an 'exec' console with an 'initcmd' causes input by user to be ignored (could be other console types as well) - reported by Mark Wedel <Mark.Wedel@sun.com> - made POSIX termios code in autologin a requirement (since conserver requires it) and cleaned up a few other issues - based on reports by Arthur Clune <ajc22@york.ac.uk> version 8.1.13 (Jan 15, 2006): - use SIOCGIFNUM for interface count (if available) and catch EINVAL on Solaris - patch by Peter Jeremy <peter.jeremy@alcatel.com.au> - console output now resets idle timer - suggested by Peter Saunders <pajs@fodder.org.uk> - bug fix for conserver process running out of control and using up cpu - debugged with Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> version 8.1.12 (Sep 5, 2005): - printf() fix for autologin - patch by Menno Duursma <druiloor@zonnet.nl> - newly spawned (from SIGHUP) processes didn't properly close primary socket - SSL certificates now work again (anonymous ciphers are not allowed if a certificate is used) - client options -x, -u, -w, and -i can now take a console name to restrict output - suggested by Evan McClure <emcclure@internap.com> - convert program now installed in $libdir/conserver - patch by Petter Reinholdtsen <pere@hungry.com> - we now ignore SIGXFSZ, if it exists - added 'limited' access option to remove certain functionality from users - suggested by Sven Michels <sven@darkman.de> - added client option -z/-Z for sending commands to servers (reload, quit, etc) - based on suggestion by Joshua Pincus <Joshua.Pincus@Sun.COM> - added 'execrunas' and 'initrunas' console options to allow 'exec' and 'initcmd' execution as another user and/or group - based on patch by Gary Mills <mills@cc.umanitoba.ca> - the east coast mirror had to shut down (for now, at least) - crash from bad pointer manipulation during log replay - reported by Ryan Kirkpatrick <linux@rkirkpat.net>
2006-05-11 23:42:43 +02:00
DISTNAME= conserver-8.1.14
PKGNAME= conserver8-8.1.14
CATEGORIES= comms
MASTER_SITES= ftp://ftp.conserver.com/conserver/
MAINTAINER= awrede@users.sourceforge.net
HOMEPAGE= http://www.conserver.com/
COMMENT= Application that allows multiple users to watch serial consoles
CONFLICTS= conserver-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-master=${CONSERVER_DEFAULTHOST:Q}
CONFIGURE_ARGS+= --with-port=${CONSERVER_DEFAULTPORT:Q}
CONFIGURE_ARGS+= --with-regex
CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
Update to version 8.1.14. Approved by maintainer. Changes since last packaged version (8.1.11): version 8.1.14 (Apr 9, 2006): - fixed rpm conserver.spec file - based on patch by Martin Evans <m.d.t.evans@qmul.ac.uk> - added 'uds' console type for unix domain socket connections - based on patch by DJ Gregor <dj@gregor.com> - probing of interfaces under cygwin (and possibly others?) now skips unconfigured interfaces (even if flagged as up!) - reported by Chris Riddoch <chrisr@digeo.com> - added the '!login' console option to prevent clients from connecting to a console - suggested by Greg Tillman <gregtillman@comcast.net> - added a 'noop' console type for consoles you'd like to name, but have no connection to - suggested by Greg Tillman <gregtillman@comcast.net> - deprecated escape commands removed from the code - added '^EcP' and '^EcR' sequences to set the playback and replay line lengths - new console config options 'playback' and 'replay' to let the client set prefered output lengths (with a special feature for a size of zero) - prefer strlcpy() over strcpy() - based on patch by Peter Valchev <pvalchev@openbsd.org> - fixed bug where '^Eco' by user on an 'exec' console with an 'initcmd' causes input by user to be ignored (could be other console types as well) - reported by Mark Wedel <Mark.Wedel@sun.com> - made POSIX termios code in autologin a requirement (since conserver requires it) and cleaned up a few other issues - based on reports by Arthur Clune <ajc22@york.ac.uk> version 8.1.13 (Jan 15, 2006): - use SIOCGIFNUM for interface count (if available) and catch EINVAL on Solaris - patch by Peter Jeremy <peter.jeremy@alcatel.com.au> - console output now resets idle timer - suggested by Peter Saunders <pajs@fodder.org.uk> - bug fix for conserver process running out of control and using up cpu - debugged with Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> version 8.1.12 (Sep 5, 2005): - printf() fix for autologin - patch by Menno Duursma <druiloor@zonnet.nl> - newly spawned (from SIGHUP) processes didn't properly close primary socket - SSL certificates now work again (anonymous ciphers are not allowed if a certificate is used) - client options -x, -u, -w, and -i can now take a console name to restrict output - suggested by Evan McClure <emcclure@internap.com> - convert program now installed in $libdir/conserver - patch by Petter Reinholdtsen <pere@hungry.com> - we now ignore SIGXFSZ, if it exists - added 'limited' access option to remove certain functionality from users - suggested by Sven Michels <sven@darkman.de> - added client option -z/-Z for sending commands to servers (reload, quit, etc) - based on suggestion by Joshua Pincus <Joshua.Pincus@Sun.COM> - added 'execrunas' and 'initrunas' console options to allow 'exec' and 'initcmd' execution as another user and/or group - based on patch by Gary Mills <mills@cc.umanitoba.ca> - the east coast mirror had to shut down (for now, at least) - crash from bad pointer manipulation during log replay - reported by Ryan Kirkpatrick <linux@rkirkpat.net>
2006-05-11 23:42:43 +02:00
CONFIGURE_ARGS+= --with-logfile=${VARBASE:Q}/log/conserver
PKG_OPTIONS_VAR= PKG_OPTIONS.conserver8
PKG_SUPPORTED_OPTIONS= pam ssl uds
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam
.endif
.if !empty(PKG_OPTIONS:Muds)
CONFIGURE_ARGS+= --with-uds
.endif
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-openssl
.endif
BUILD_DEFS+= CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST
RCD_SCRIPTS= conserver8
TEST_TARGET= test
DOCDIR= ${PREFIX}/share/doc/conserver
EGDIR= ${PREFIX}/share/examples/conserver
CONF_FILES= ${EGDIR}/conserver.cf ${PKG_SYSCONFDIR}/conserver.cf
CONF_FILES+= ${EGDIR}/conserver.passwd ${PKG_SYSCONFDIR}/conserver.passwd
OWN_DIRS= ${VARBASE}/consoles
SUBST_CLASSES+= conf
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= conserver.cf/conserver.cf
SUBST_SED.conf= -e s,/var/consoles,${VARBASE}/consoles,
pre-install:
${INSTALL_DATA_DIR} ${EGDIR}
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
Update to version 8.1.14. Approved by maintainer. Changes since last packaged version (8.1.11): version 8.1.14 (Apr 9, 2006): - fixed rpm conserver.spec file - based on patch by Martin Evans <m.d.t.evans@qmul.ac.uk> - added 'uds' console type for unix domain socket connections - based on patch by DJ Gregor <dj@gregor.com> - probing of interfaces under cygwin (and possibly others?) now skips unconfigured interfaces (even if flagged as up!) - reported by Chris Riddoch <chrisr@digeo.com> - added the '!login' console option to prevent clients from connecting to a console - suggested by Greg Tillman <gregtillman@comcast.net> - added a 'noop' console type for consoles you'd like to name, but have no connection to - suggested by Greg Tillman <gregtillman@comcast.net> - deprecated escape commands removed from the code - added '^EcP' and '^EcR' sequences to set the playback and replay line lengths - new console config options 'playback' and 'replay' to let the client set prefered output lengths (with a special feature for a size of zero) - prefer strlcpy() over strcpy() - based on patch by Peter Valchev <pvalchev@openbsd.org> - fixed bug where '^Eco' by user on an 'exec' console with an 'initcmd' causes input by user to be ignored (could be other console types as well) - reported by Mark Wedel <Mark.Wedel@sun.com> - made POSIX termios code in autologin a requirement (since conserver requires it) and cleaned up a few other issues - based on reports by Arthur Clune <ajc22@york.ac.uk> version 8.1.13 (Jan 15, 2006): - use SIOCGIFNUM for interface count (if available) and catch EINVAL on Solaris - patch by Peter Jeremy <peter.jeremy@alcatel.com.au> - console output now resets idle timer - suggested by Peter Saunders <pajs@fodder.org.uk> - bug fix for conserver process running out of control and using up cpu - debugged with Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> version 8.1.12 (Sep 5, 2005): - printf() fix for autologin - patch by Menno Duursma <druiloor@zonnet.nl> - newly spawned (from SIGHUP) processes didn't properly close primary socket - SSL certificates now work again (anonymous ciphers are not allowed if a certificate is used) - client options -x, -u, -w, and -i can now take a console name to restrict output - suggested by Evan McClure <emcclure@internap.com> - convert program now installed in $libdir/conserver - patch by Petter Reinholdtsen <pere@hungry.com> - we now ignore SIGXFSZ, if it exists - added 'limited' access option to remove certain functionality from users - suggested by Sven Michels <sven@darkman.de> - added client option -z/-Z for sending commands to servers (reload, quit, etc) - based on suggestion by Joshua Pincus <Joshua.Pincus@Sun.COM> - added 'execrunas' and 'initrunas' console options to allow 'exec' and 'initcmd' execution as another user and/or group - based on patch by Gary Mills <mills@cc.umanitoba.ca> - the east coast mirror had to shut down (for now, at least) - crash from bad pointer manipulation during log replay - reported by Ryan Kirkpatrick <linux@rkirkpat.net>
2006-05-11 23:42:43 +02:00
set -e; for File in INSTALL README PROTOCOL; do \
${INSTALL_DATA} ${WRKSRC}/$${File} ${DOCDIR}/$${File}; \
done
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"