Commit graph

37 commits

Author SHA1 Message Date
riastradh
08f14735fa comms/conserver8: Add gssapi option. 2023-06-03 01:05:47 +00:00
nia
4e24709b68 comms: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:05:57 +00:00
nia
1fad23390d comms: Remove SHA1 hashes for distfiles 2021-10-07 13:27:01 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
rillig
fc42239139 comms: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

Manually adjusted the indentation in asterisk15 and asterisk16 to avoid
too deep indentation.
2019-11-03 12:04:12 +00:00
nia
b21b6149c2 More http -> https.
Reviewed by hand.
2019-06-24 10:59:40 +00:00
he
8d6cff3365 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
2019-05-23 15:14:51 +00:00
jperkin
5393242c73 *: 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.
2018-07-04 13:40:07 +00:00
he
2b05ee7308 Um, need bsd.prefs.mk before testing ${OPSYS}. 2017-02-10 10:38:42 +00:00
he
c65ebb132e 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.
2017-02-10 10:35:06 +00:00
he
3f5ef9eb0e 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.
2017-01-18 09:54:51 +00:00
schnoebe
0d38a4e2fb Revert changing the default away from "inet6". 2016-06-20 15:25:39 +00:00
schnoebe
4107a5865d Bump PGKREVISION (forgot to do that when updating the PLIST.). 2016-06-16 16:05:51 +00:00
schnoebe
a0905a18be options.mk:
Don't default on inet6, since the inet6 code in conserver8 depends
    on some Linux-isms (ipv6 sockets can accept ipv4 packets.)

PLIST:
    add some example configurations that were missing.
2016-06-15 23:02:10 +00:00
wiz
0976093b1e Fix braces in post-install rule.
Did this work?!
2016-05-05 06:23:57 +00:00
schnoebe
e9fe9116f6 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.
2016-03-13 18:31:11 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
agc
ad1e2a0a92 Add SHA512 digests for distfiles for comms category
Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden).  Existing SHA1
digests retained for now as an audit trail.
2015-11-03 01:34:52 +00:00
mef
fd7025b609 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
2014-11-23 08:57:42 +00:00
mef
5fdde4047f 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
2014-11-23 08:51:26 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
asau
6b05a6f977 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 11:24:38 +00:00
hauke
d712263ab7 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.
2010-12-06 10:59:10 +00:00
hauke
220db16bff 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.
2010-12-05 21:25:55 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
wiz
a56aa3ac5e 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.
2009-06-14 07:52:51 +00:00
tnn
ad6ceadd25 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@
2008-01-18 05:06:18 +00:00
he
a5bd72e513 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
2007-06-07 09:30:59 +00:00
seb
a763c66219 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 21:42:43 +00:00
jlam
dc9594e09d 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.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
he
f013710c1e 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.
2005-08-12 14:39:06 +00:00
he
31660d5b1f Add the missing, but installed example rc.d script to PLIST. 2005-08-12 14:35:15 +00:00
wiz
207ef4af30 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
2005-06-03 20:08:04 +00:00