Up to [cvs.NetBSD.org] / pkgsrc / comms / conserver8
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for default Kerberos implementation switch
*: bump for openssl 3
*: Recursive revision bump for openssl 1.1.1.
More http -> https. Reviewed by hand.
Upgrade conserver8 to version 8.2.4.
Pkgsrc changes:
* Adapt to re-location to github
* Fix patching of the conserver.cf man page
* Adapt to README -> README.md change
* Enable LICENSE setting (even though there's more to it, see comment)
Upstream changes:
version 8.2.4 (March 26, 2019):
- Correct man page typo (Ed Maste <emaste@freebsd.org>)
- Remove autotools generated files from repo and create with release
- Better integration of Cirrus CI - FreeBSD, Linux, and MacOS
- Moving README to markdown
- Fix #12 - Remote infomation flags (i.e. "-x") cannot be filtered by console
- Fix #8 - defaultaccess appears broken
- Rename configure.in and use autoreconf
- Better use of version.h and letting configure build things with versions
version 8.2.3 (March 17, 2019):
- Correct 'impi' typo (Ed Maste <emaste@freebsd.org>)
- Correct argument type passed to time() (Ed Maste <emaste@freebsd.org>)
- Fix compilation without deprecated OpenSSL APIs
(Rosen Penev <rosenp@gmail.com>)
- Fix compilation without deprecated OpenSSL 1.1 APIs
(Rosen Penev <rosenp@gmail.com>)
- Fix #6 - clang "-Wstring-plus-int" warning
(Bryan Stansell <bryan@conserver.com>)
- configure.in: Add test for closefrom (Ed Maste <emaste@freebsd.org>)
- regenerate autoconf files (Ed Maste <emaste@freebsd.org>)
- Use closefrom if available (Ed Maste <emaste@freebsd.org>)
- Correct typo (Ed Maste <emaste@freebsd.org>)
- Add Cirrus-CI FreeBSD CI build config (Ed Maste <emaste@freebsd.org>)
- off by one found by Ed Maste (Bryan Stansell <bryan@conserver.com>)
version 8.2.2 (May 28, 2018):
- fixes for OpenSSL 1.1+ - patch by Eneas U de Queiroz
<cote2004-github@yahoo.com>
- adjustments to documentation after move to github
- removal of old RCS/CVS tags since we have git
*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
Pullup ticket #5212 - requested by he
comms/conserver8: bugfix
Revisions pulled up:
- comms/conserver8/Makefile 1.22-1.24
- comms/conserver8/distinfo 1.11
- comms/conserver8/options.mk 1.5
- comms/conserver8/patches/patch-aa 1.3
- comms/conserver8/patches/patch-ab 1.2
- comms/conserver8/patches/patch-conserver_access.c 1.1
- comms/conserver8/patches/patch-conserver_consent.c 1.1
---
Module Name: pkgsrc
Committed By: he
Date: Wed Jan 18 09:54:51 UTC 2017
Modified Files:
pkgsrc/comms/conserver8: Makefile distinfo
pkgsrc/comms/conserver8/patches: patch-aa patch-ab
Added Files:
pkgsrc/comms/conserver8/patches: patch-conserver_access.c
patch-conserver_consent.c
Log Message:
Add two patches so that this at least semi-works when the inet6
option is used:
* Use correct sockaddr length when doing getnameinfo() for inet6,
so we avoid an early return with "permanent failure" from getnameinfo()
* Use temp variables for walking the address lists so that we avoid trying
freeaddrinfo(NULL) and getting SEGV
This still isn't fully baked and backward compatible: with the
inet6 option turned on, on NetBSD the conserver process only opens
an inet6 server socket and no longer serves an inet socket (a
Linuxism, I suspect), making it troublesome to interoperate with
older versions of conserver or installations on hosts without IPv6
connectivity.
PKGREVISION bumped.
---
Module Name: pkgsrc
Committed By: he
Date: Fri Feb 10 10:35:06 UTC 2017
Modified Files:
pkgsrc/comms/conserver8: Makefile options.mk
Log Message:
Don't enable the inet6 option on the various BSDs, since their stack
require separate inet6 and inet sockets, and conserver as of 8.2.1
doesn't do that.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: he
Date: Fri Feb 10 10:38:42 UTC 2017
Modified Files:
pkgsrc/comms/conserver8: Makefile
Log Message:
Um, need bsd.prefs.mk before testing ${OPSYS}.
Um, need bsd.prefs.mk before testing ${OPSYS}.
Don't enable the inet6 option on the various BSDs, since their stack require separate inet6 and inet sockets, and conserver as of 8.2.1 doesn't do that. Bump PKGREVISION.
Add two patches so that this at least semi-works when the inet6 option is used: * Use correct sockaddr length when doing getnameinfo() for inet6, so we avoid an early return with "permanent failure" from getnameinfo() * Use temp variables for walking the address lists so that we avoid trying freeaddrinfo(NULL) and getting SEGV This still isn't fully baked and backward compatible: with the inet6 option turned on, on NetBSD the conserver process only opens an inet6 server socket and no longer serves an inet socket (a Linuxism, I suspect), making it troublesome to interoperate with older versions of conserver or installations on hosts without IPv6 connectivity. PKGREVISION bumped.
Revert changing the default away from "inet6".
Bump PGKREVISION (forgot to do that when updating the PLIST.).
Fix braces in post-install rule. Did this work?!
Upstream: Update to 8.2.1
version 8.2.1 (Jun 2, 2015):
- added TCP keepalives between client and server - TCP-based consoles
already had the code - this was mostly an oversight
- patch for SEGV and task execution - patch by Artem Savkov
<asavkov@redhat.com>
- expanded break sequences from [1-9] to [1-9a-z] - based on patch by
Artem Savkov <asavkov@redhat.com>
pkgsrc:
options.mk:
add support inet6
The way the conserver is coded, you get inet6 or you get uds
patches/patch-conserver_readcfg.c:
new patch, fixing a setproctitle() bug with inet6.
This needs to be sent upstream.
Makefile:
install sample configurations
Change maintainer to pkgsrc-users@netbsd.org
old maintainer address bounced.
drop ``--with-regex'' option, it's no longer supported.
Bump PKGREVISION for security/openssl ABI bump.
version 8.2.0 (Apr 20, 2014): - added --with-trust-uds-cred which uses getsockopt() to fetch and trust the client uid, bypassing password lookups - patch by Anton Lundin <glance@acc.umu.se> - missing closedir() causing memory leak - patch by Anton Lundin <glance@acc.umu.se> - sending a break signal over IPMI was broken - based on patch by Alexander Y. Fomichev <git.user@gmail.com> - IPv6 support (marked as experimental at this point because it's untested (except by the author), there's a lack of documentation, and I'm hoping for non-getifaddrs() system support) - patch by Milos Vyletel <milos.vyletel@gmail.com> - no more K&R compiler support
Update 8.1.18 to 8.1.20 version 8.1.20 (Apr 4, 2014): - IPMI serial over LAN support via FreeIPMI - based on patch by Anton D. Kachalov <mouse@yandex-team.ru> - minor cleanup of code, removal of gcc warnings and such that should have no fuctional change version 8.1.19 (Sep 26, 2013): - prevent select/read loop when EOF on non-pty input (console) - reported by Chris Marget <chris@marget.com> - "!" syntax prefixing use of group names not honored - reported by Zonker <consoleteam@gmail.com> - fixed memory leak using timestamps - patch by Karvendhan M. <Karvendhan.M@netapp.com> - deprecated --with-cycladests (noop now) - cross-compilation should work without it as autologin now expects setpgrp() to take two arugments instead of testing for it - no automatic checks for an empty password when using PAM authentication - based on discussion with Ryan Kirkpatrick <linux@rkirkpat.net> - added 'sslcacertificatefile' and 'sslcacertificatepath' client configuration options - based on patch by Aki Tuomi <cmouse@cmouse.fi> - added 'sslcacertificatefile' and 'sslreqclientcert' server configuration options - added --with-req-server-cert to force clients to require a certificate from the server when using SSL - based on emails with Thor Simon <tls@coyotepoint.com> - added server-side tasks (see conserver.cf man page) that are invoked by the client (useful for things like IPMI-based power control of servers, invoking resets of terminal server ports, or anything else that requires scripting) - ideas from patch by Anton Lundin <glance@acc.umu.se> and discussion on mailing list (2011) - added 'confirm' option to break sequences - added 'breaklist' option to limit exposure of break sequences to consoles - sending of break signals is now announced to all attached clients
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Recursive PKGREVISION bump for OpenSSL API version bump.
PKGREVISION bumps for the security/openssl 1.0.1d update.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
ftp.conserver.com re-directs to a machine that does not run an ftp server, so fetch the sources via http. Sort out pkg version, while we are here.
Updating conserver 8 to v8.18
version 8.1.18 (Nov 11, 2010):
- install man pages read-only and improved the contributed redhat init
script - patches by Eric Biederman <ebiederm@aristanetworks.com>
- spec file improvements in contrib/redhat-rpm - patch by Jodok Ole
Muellers <jodok.muellers@aschendorff.de>
- GSS-API patch for client code - patch by Andras Horvath
<Andras.Horvath@cern.ch>
version 8.1.17 (Sep 29, 2009):
- fix for interface detection when HAVE_SA_LEN is defined - first
detected on NetBSD 5.0 and patched by Chris Ross
<cross+conserver@distal.com>
- first person to connect to a console wanting read/write now gets it
once the active user drops read/write - suggested by Thomas Gardner
<tmg@pobox.com>
- fix typo when setting nonblocking socket for client connections,
fixing stall issues - patch by Eric Biederman
<ebiederm@aristanetworks.com>
- GSS-API patch (--with-gssapi) to help with Kerberos tokens - patch by
Nate Straz <nstraz@redhat.com>
- authenticate username without @REALM when using GSS-API
(--with-striprealm) - based on patch by Andras Horvath
<Andras.Horvath@cern.ch>
- various contrib/redhat-rpm fixes - patch by Fabien Wernli
<wernli@in2p3.fr>
- fix handling of read(stdin) returning -1 in console client - patch by
Ed Swierk <eswierk@arastra.com>
patch-ac has been included upstream.
Fix bug reported by Chris Ross on pkgsrc-users (patch-ac). While here, split off options into options.mk, convert to user-destdir, and add VARBASE to BUILD_DEFS. Bump PKGREVISION.
Per the process outlined in revbump(1), perform a recursive revbump on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
Update conserver8 to 8.1.16. Changes since 8.1.14: version 8.1.16 (Apr 10, 2007): - added 'replstring' substitution option - inspired by conversation with Owen DeLong <owen@c2company.com> - added '^Ecn' option for writing a note to the logfile - patch by Bryan Schmersal <bschmer@yahoo.com> - fixed leaking file descriptors when 'host' and 'uds' consoles fail to connect - based on patch by Michael Heironimus <michael_heironimus@archwayconcepts.com> version 8.1.15 (Dec 31, 2006): - protection again telnet option negotation loops - patch by Robby Griffin <rmg@yakshavers.com> - console now prints the attach/detach sequences when suspended - added --with-cycladests configure option to allow cross-compiling on a cyclades ts - patch by Matt Johnson <mwj@doc.ic.ac.uk> - added master conserver host to 'console -x' output for 'device' consoles - patch by Matt Johnson <mwj@doc.ic.ac.uk> - fixed parsing error when dealing with encapsulated client/server options
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>
Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
Ran "pkglint --autofix", which corrected some of the quoting issues in CONFIGURE_ARGS.
Add a patch to the conserver.cf(5) manual page, documenting a) the four predefined break strings b) the fact that \z is translated to the telnet "send break" protocol sequence I've tried to send this patch upstream, but have yet to receive a response. Bump package revision.
Import of conserver8 from pkgsrc-wip, provided by Andreas Wrede: Version 8 of Conserver as a separate package as the config file format of version 8 is incompatible with prior versions. Conserver is an application that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. The idea is that conserver will log all your serial traffic so you can go back and review why something crashed, look at changes (if done on the console), or tie the console logs into a monitoring system (just watch the logfiles it creates). With multi-user capabilities you can work on equipment with others, mentor, train, etc. It also does all that client-server stuff so that, assuming you have a network connection, you can interact with any of the equipment from home or wherever
Initial revision