summaryrefslogtreecommitdiff
path: root/app-admin/conserver
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/conserver')
-rw-r--r--app-admin/conserver/Manifest9
-rw-r--r--app-admin/conserver/conserver-8.1.18-r1.ebuild89
-rw-r--r--app-admin/conserver/files/conserver-8.1.18-dmalloc.patch100
-rw-r--r--app-admin/conserver/files/conserver-prestrip.patch24
-rw-r--r--app-admin/conserver/files/conserver.confd6
-rw-r--r--app-admin/conserver/files/conserver.initd37
-rw-r--r--app-admin/conserver/files/conserver.initd-r137
-rw-r--r--app-admin/conserver/files/conserver.pam-pambase6
-rw-r--r--app-admin/conserver/metadata.xml25
9 files changed, 0 insertions, 333 deletions
diff --git a/app-admin/conserver/Manifest b/app-admin/conserver/Manifest
deleted file mode 100644
index ee5901f90d69..000000000000
--- a/app-admin/conserver/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX conserver-8.1.18-dmalloc.patch 2806 BLAKE2B 0ce6a09d90c82a455bb706f755e8485df1d8aec4f7a8cb534ac97d584ccb94715c68568d46496a3a298cd258a5e68219ce3f37cc33a6239d3b533636b53d85bf SHA512 90d3a4bd6fb3a58ece053e4680dab5b24f23c7265e5244f3185b67a143c58ccd2c200c2fccc0a6cec8444ab2895f358138cba05be27119b014187e539dfa78d6
-AUX conserver-prestrip.patch 882 BLAKE2B b5a327827a6a56ead78821e9fa091cabba0b914d94a8cb273b6fc5003e927948483d7a32ad858a7c94f7c7422f1a124fd42b65544b198bea317cd2caf68c96ac SHA512 aeb112f8df0bd97ac3e3b909a42c54d2d16d6d59d39ea10dca9c86d2a6f866ba33c56fca77fb551c706314692469ed668a0158ff04712594192856b363bcb4af
-AUX conserver.confd 170 BLAKE2B f6bc04796726454fec2c24207d3342c72c1789db5aeb39e47928e12d12300a16cec51f82e9447bf4546f732e3f9184724936450a852392671d4725fa3df99985 SHA512 af326d215eb7b6e4bdf68a9fc8b58c42dae9d0b31f653af181097c7cf4ee663bcc7c848f77ef051327e54a18e0202536b524b1b82d36693751f07d2c37f5b071
-AUX conserver.initd 1055 BLAKE2B a515ff3c81c1e66b53f49d28db082d2a9eb3cd69a60f73bf7a1405a242801f145fe788935a63212a8990135cae3537369ee36c39503d859a96c90d1fec678215 SHA512 4bd10a1cd95707d6ebde6774ed88ef69552ed1b823baac4942958f9ecc2c5185f45d08d9a4707ad31320645c80e13a34b5fecbfb6eac9f282c2c422820986ac6
-AUX conserver.initd-r1 1088 BLAKE2B 2ab26bafddf29f24488b147c2a90dca6e482361af96fc008df0029581a0308f380db36b7985ac8fdfc1884e0eeb897d3e84fed9ed3341e2b9ba35c9393850200 SHA512 332e59313f066a8e313f65b0f04c4a7f464cb77f9ac2b3ab5beb24b5fee393d9036b9f80a1c9cc0f6ba43a5c3519801aea6d61f96bed861d5caa3130ab4ff1e3
-AUX conserver.pam-pambase 194 BLAKE2B ad284008c94f4c19b911a93279b12893a1c686806b22f7f19500e7216c19768ab161f9ba5cf2405d9d46f412a08c0cb04de0bc05ead15fb75da931575c2c3be2 SHA512 5368394be5b9d97e0ae751d84fbb4848aa27fd57b1a2eea8c7919e56246e390985deca80f0019c2104034103f73ac382a5ab2129113a0ff0b63b0b8bd83648c9
-DIST conserver-8.1.18.tar.gz 323247 BLAKE2B 48176ba8be648df16ddb18c1a760af8069f7d926d2e0767e3b7ef903276d6104cfa9464a6ebdce009720fe5118862d89cf5371e104d17b967e11fe8e8968e8f9 SHA512 a8029aef5fd84f93eb3ae56ba7f751d79a6065c012bfd805e050f8c9edf09fd660c272d3f3ce0a47cfb17678574babbecad63f8bfd50ad4fdccdbabc2249435f
-EBUILD conserver-8.1.18-r1.ebuild 2294 BLAKE2B ed919fd5d042acb254861e7caa29becfa4637bf9077a791d5828e5c873f4479ce398ef8da72316d4059f63ae3c2b75550e78c8f778b8a20fbb1924bd5f033fff SHA512 ffbadfef4f779a87d0e6631be8e9bdad909176076713502d053f4acd538358281a20bdd94ea74d45d4311b3ae5e580114ea13114cff8a6835e488a03b620143b
-MISC metadata.xml 1170 BLAKE2B cb2e515dc5e79cd5bea66d737f507c4a65be82b46968fa3f07ead05d5467756ca3a3f6b348ff50fe21c20dada080b1ddf2f2b24d703752b0266259d74d3c3327 SHA512 8b8babc1d68eadb8e5ffac32145fd28fe5c372cb87ad9d12c6266e17aef59511c7e20db0a97958e6da7120d9f7555ad708197395263c301eac222c1f7718eed1
diff --git a/app-admin/conserver/conserver-8.1.18-r1.ebuild b/app-admin/conserver/conserver-8.1.18-r1.ebuild
deleted file mode 100644
index 0ab9102d365a..000000000000
--- a/app-admin/conserver/conserver-8.1.18-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit ssl-cert eutils pam autotools
-
-DESCRIPTION="Serial Console Manager"
-HOMEPAGE="https://www.conserver.com/"
-SRC_URI="https://www.conserver.com/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc x86"
-IUSE="kerberos libressl pam ssl tcpd debug"
-
-DEPEND="ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
- pam? ( virtual/pam )
- tcpd? ( sys-apps/tcp-wrappers )
- debug? ( dev-libs/dmalloc )
- kerberos? (
- virtual/krb5
- net-libs/libgssglue
- )"
-RDEPEND="${DEPEND}
- pam? ( >=sys-auth/pambase-20080219.1 )"
-
-src_prepare() {
- # Apply patch to prevent package from stripping binaries
- epatch "${FILESDIR}"/${PN}-prestrip.patch
-
- # Apply patch to use custom dmalloc macro
- epatch "${FILESDIR}"/${P}-dmalloc.patch
-
- AT_M4DIR="m4" eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_with ssl openssl) \
- $(use_with pam) \
- $(use_with tcpd libwrap) \
- $(use_with debug dmalloc) \
- $(use_with kerberos gssapi) \
- --with-logfile=/var/log/conserver.log \
- --with-pidfile=/var/run/conserver.pid \
- --with-cffile=conserver/conserver.cf \
- --with-pwdfile=conserver/conserver.passwd \
- --with-master=localhost \
- --with-port=7782
-}
-
-src_install() {
- emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install
-
- ## create data directory
- dodir /var/consoles
- fowners daemon:daemon /var/consoles
- fperms 700 /var/consoles
-
- ## add startup and sample config
- newinitd "${FILESDIR}"/conserver.initd-r1 conserver
- newconfd "${FILESDIR}"/conserver.confd conserver
-
- dodir /etc/conserver
- fperms 700 /etc/conserver
- insinto /etc/conserver
- newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample
- newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample
-
- ## add docs
- dohtml conserver.html
- dodoc CHANGES FAQ PROTOCOL README TODO
- dodoc conserver/Sun-serial contrib/maketestcerts
- newdoc conserver.cf/conserver.cf conserver.cf.sample
-
- # Add pam config
- newpamd "${FILESDIR}"/conserver.pam-pambase conserver
-}
-
-pkg_postinst() {
- # Add certs if SSL use flag is enabled
- if use ssl && [ ! -f "${ROOT}"/etc/ssl/conserver/conserver.key ]; then
- install_cert /etc/ssl/conserver/conserver
- fi
-}
diff --git a/app-admin/conserver/files/conserver-8.1.18-dmalloc.patch b/app-admin/conserver/files/conserver-8.1.18-dmalloc.patch
deleted file mode 100644
index ff82f74b261c..000000000000
--- a/app-admin/conserver/files/conserver-8.1.18-dmalloc.patch
+++ /dev/null
@@ -1,100 +0,0 @@
---- configure.in 2011-08-19 01:11:06.000000000 -0400
-+++ configure.in 2011-08-19 02:06:50.000000000 -0400
-@@ -320,6 +320,8 @@
- AC_PROG_LN_S
- AC_PROG_MAKE_SET
-
-+AM_WITH_DMALLOC([cons_with_dmalloc="YES"],[cons_with_dmalloc="NO"])
-+
- dnl ### Compiler characteristics. ##################################
- AC_AIX
- AC_C_CONST
-@@ -578,51 +580,6 @@
- fi]
- )
-
--cons_with_dmalloc="NO"
--AC_ARG_WITH(dmalloc,
-- AS_HELP_STRING([--with-dmalloc@<:@=PATH@:>@],
-- [Compile in dmalloc support]),
-- [if test "$withval" != "no"; then
-- if test "$withval" != "yes"; then
-- DMALLOCCPPFLAGS="-I$withval/include"
-- if test "$use_dash_r" != "yes"; then
-- DMALLOCLDFLAGS="-L$withval/lib"
-- else
-- DMALLOCLDFLAGS="-L$withval/lib -R$withval/lib"
-- fi
-- else
-- DMALLOCCPPFLAGS=""
-- DMALLOCLDFLAGS=""
-- fi
--
-- oCPPFLAGS="$CPPFLAGS"
-- oLDFLAGS="$LDFLAGS"
-- oLIBS="$LIBS"
-- have_dmalloc=no
--
-- CPPFLAGS="$CPPFLAGS $DMALLOCCPPFLAGS"
-- LDFLAGS="$LDFLAGS $DMALLOCLDFLAGS"
--
-- AC_CHECK_HEADER([dmalloc.h],
-- [LIBS="$LIBS -ldmalloc"
-- AC_MSG_CHECKING(for dmalloc libraries -ldmalloc)
-- AC_TRY_LINK([#include <dmalloc.h>
-- ],[dmalloc_debug(0)],
-- [AC_MSG_RESULT(yes)
-- cons_with_dmalloc="YES"
-- AC_DEFINE(HAVE_DMALLOC)
-- have_dmalloc=yes],
-- [AC_MSG_RESULT(no)])],)
--
-- if test $have_dmalloc = no; then
-- LIBS="$oLIBS"
-- CPPFLAGS="$oCPPFLAGS"
-- LDFLAGS="$oLDFLAGS"
-- fi
-- fi]
--)
--
--
- dnl ### Check for needed functions. ################################
-
- dnl dnl The following basically stollen from the less-358 distribution, but
---- /dev/null 2011-08-07 13:18:05.535976733 -0400
-+++ m4/dmalloc.m4 2011-08-19 03:49:03.755073497 -0400
-@@ -0,0 +1,34 @@
-+## ----------------------------------- ## -*- Autoconf -*-
-+## Check if --with-dmalloc was given. ##
-+## From Franc,ois Pinard ##
-+## ----------------------------------- ##
-+
-+# Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2010,
-+# 2011 Free Software Foundation, Inc.
-+#
-+# This file is free software; the Free Software Foundation
-+# gives unlimited permission to copy and/or distribute it,
-+# with or without modifications, as long as this notice is preserved.
-+
-+# serial 7
-+
-+dnl AM_WITH_DMALLOC([ACTION-IF-FOUND],[ACTION-IF-NOT])
-+AC_DEFUN([AM_WITH_DMALLOC],
-+[AC_MSG_CHECKING([if malloc debugging is wanted])
-+AC_ARG_WITH([dmalloc],
-+[AS_HELP_STRING([--with-dmalloc],
-+ [use dmalloc, as in http://www.dmalloc.com])],
-+[if test "$withval" = yes; then
-+ AC_MSG_RESULT([yes])
-+ AC_DEFINE([WITH_DMALLOC], [1],
-+ [Define if using the dmalloc debugging malloc package])
-+ LIBS="$LIBS -ldmalloc"
-+ LDFLAGS="$LDFLAGS -g"
-+ [$1]
-+else
-+ AC_MSG_RESULT([no])
-+ [$2]
-+fi], [AC_MSG_RESULT([no])])
-+])
-+
-+AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC])
diff --git a/app-admin/conserver/files/conserver-prestrip.patch b/app-admin/conserver/files/conserver-prestrip.patch
deleted file mode 100644
index e67c49da1a66..000000000000
--- a/app-admin/conserver/files/conserver-prestrip.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nuar conserver-8.1.14.orig/conserver/Makefile.in conserver-8.1.14/conserver/Makefile.in
---- conserver-8.1.14.orig/conserver/Makefile.in 2006-10-25 17:41:00.398082243 -0600
-+++ conserver-8.1.14/conserver/Makefile.in 2006-10-25 17:41:27.876759095 -0600
-@@ -13,7 +13,7 @@
-
- ### Installation programs and flags
- INSTALL = @INSTALL@
--INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
-+INSTALL_PROGRAM = @INSTALL_PROGRAM@
- LN_S = @LN_S@
- MKDIR = @MKDIR@
-
-diff -Nuar conserver-8.1.14.orig/console/Makefile.in conserver-8.1.14/console/Makefile.in
---- conserver-8.1.14.orig/console/Makefile.in 2006-10-25 17:41:00.401081662 -0600
-+++ conserver-8.1.14/console/Makefile.in 2006-10-25 17:41:18.188635834 -0600
-@@ -9,7 +9,7 @@
-
- ### Installation programs and flags
- INSTALL = @INSTALL@
--INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
-+INSTALL_PROGRAM = @INSTALL_PROGRAM@
- LN_S = @LN_S@
- MKDIR = @MKDIR@
-
diff --git a/app-admin/conserver/files/conserver.confd b/app-admin/conserver/files/conserver.confd
deleted file mode 100644
index 4544fed4ab36..000000000000
--- a/app-admin/conserver/files/conserver.confd
+++ /dev/null
@@ -1,6 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-## Config file for /etc/init.d/conserver
-
-CONSERVER_OPTS="-d"
diff --git a/app-admin/conserver/files/conserver.initd b/app-admin/conserver/files/conserver.initd
deleted file mode 100644
index 0c0771c72c6b..000000000000
--- a/app-admin/conserver/files/conserver.initd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need clock
-}
-
-checkconfig() {
- if [ ! -e /etc/conserver/conserver.cf ] ; then
- eerror "You need to create /etc/conserver/conserver.cf first."
- eerror "A sample is placed there to be renamed and ajusted."
- eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
- return 1
- fi
-
- if [ ! -e /etc/conserver/conserver.passwd ] ; then
- eerror "You need to create /etc/conserver/conserver.passwd first."
- eerror "A sample is placed there to be renamed and ajusted."
- eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting conserver"
- start-stop-daemon --start --quiet --exec \
- /usr/sbin/conserver -- ${CONSERVER_OPTS} 1>/dev/null
- eend $? "Failed to start conserver"
-}
-
-stop() {
- ebegin "Stopping conserver"
- start-stop-daemon --stop --quiet --pidfile /var/run/conserver.pid
- eend $? "Failed to stop conserver"
-}
diff --git a/app-admin/conserver/files/conserver.initd-r1 b/app-admin/conserver/files/conserver.initd-r1
deleted file mode 100644
index 907b1b711705..000000000000
--- a/app-admin/conserver/files/conserver.initd-r1
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need clock
-}
-
-checkconfig() {
- if [ ! -e /etc/conserver/conserver.cf ] ; then
- eerror "You need to create /etc/conserver/conserver.cf first."
- eerror "A sample is placed there to be renamed and ajusted."
- eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
- return 1
- fi
-
- if [ ! -e /etc/conserver/conserver.passwd ] ; then
- eerror "You need to create /etc/conserver/conserver.passwd first."
- eerror "A sample is placed there to be renamed and ajusted."
- eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting conserver"
- start-stop-daemon --start --quiet --pidfile /var/run/conserver.pid --exec \
- /usr/sbin/conserver -- ${CONSERVER_OPTS} 1>/dev/null
- eend $? "Failed to start conserver"
-}
-
-stop() {
- ebegin "Stopping conserver"
- start-stop-daemon --stop --quiet --pidfile /var/run/conserver.pid
- eend $? "Failed to stop conserver"
-}
diff --git a/app-admin/conserver/files/conserver.pam-pambase b/app-admin/conserver/files/conserver.pam-pambase
deleted file mode 100644
index 30025fe1403e..000000000000
--- a/app-admin/conserver/files/conserver.pam-pambase
+++ /dev/null
@@ -1,6 +0,0 @@
-auth required pam_securetty.so
-auth include system-remote-login
-
-account include system-remote-login
-password include system-remote-login
-session include system-remote-login
diff --git a/app-admin/conserver/metadata.xml b/app-admin/conserver/metadata.xml
deleted file mode 100644
index 06b3d82363fe..000000000000
--- a/app-admin/conserver/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>dan@danweeks.net</email>
- <name>Dan Weeks</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription>
- 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.
- </longdescription>
-</pkgmetadata>