debian/0000775000000000000000000000000011665543772007210 5ustar debian/conmux.upstart0000664000000000000000000000056111533511737012135 0ustar description "CONMUX registry" start on runlevel [2345] stop on runlevel [!2345] script touch /var/run/conmux-registry exec /usr/sbin/conmux-registry 63000 /var/run/conmux-registry \ >>/var/log/conmux/registry.log 2>&1 end script post-start script for f in /etc/conmux/*.cf; do start conmux-daemon "CONMUX_CONFIG=$f" & done end script debian/conmux.dirs0000664000000000000000000000003211533511737011365 0ustar etc/conmux var/log/conmux debian/rules0000775000000000000000000000134611533511737010262 0ustar #!/usr/bin/make -f PERLLIBDIR := $(shell perl -MConfig -e 'print $$Config{vendorlib}') override_dh_auto_install: dh_auto_install -- PREFIX=/conmux BUILD=$(CURDIR)/debian/tmp mkdir -p debian/tmp/$(PERLLIBDIR) mv debian/tmp/conmux/lib/Conmux.pm debian/tmp/$(PERLLIBDIR) # sample init script, but not suitable for various reasons (can't # override directories nor configs, relatively complex etc.) rm -f debian/tmp/conmux/sbin/start # empty directories rmdir debian/tmp/conmux/etc debian/tmp/conmux/log # conflicts with conserver-client and is a too generic name anyway mv debian/tmp/conmux/bin/console debian/tmp/conmux/bin/conmux-console override_dh_installinit: dh_installinit dh_installinit -n --name=conmux-daemon %: dh $@ debian/source/0000775000000000000000000000000011533511737010476 5ustar debian/source/format0000664000000000000000000000001411533511737011704 0ustar 3.0 (quilt) debian/conmux.examples0000664000000000000000000000001311533511737012241 0ustar examples/* debian/patches/0000775000000000000000000000000011533511737010625 5ustar debian/patches/series0000664000000000000000000000003211533511737012035 0ustar conmux-shutdown-fix.patch debian/patches/conmux-shutdown-fix.patch0000664000000000000000000000040611533511737015614 0ustar --- a/conmux +++ b/conmux @@ -708,7 +708,7 @@ $self->{'args'} = $cmd; # Start the payload ... - $pid = IPC::Open3::open3($wfh, $rfh, 0, "setsid " . $cmd); + $pid = IPC::Open3::open3($wfh, $rfh, 0, $cmd); $self->{'rfh'} = $rfh; $self->{'wfh'} = $wfh; debian/conmux.install0000664000000000000000000000030411533511737012074 0ustar conmux/bin usr conmux/lib/drivers usr/share/conmux conmux/lib/helpers usr/share/conmux conmux/sbin usr usr/share/perl*/Conmux.pm debian/copyright0000664000000000000000000000416411535011553011127 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=166 Comment: This source based of the full autotest tarball, but only the conmux sub-directory was kept. Copyright: 2004-2006, IBM Corp. Files: debian/* Copyright: 2011, Linaro Ltd. License: simple-MIT-style Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Files: drivers/reboot-laurel Copyright: 2007, Wind River Systems License: GPL-2.0 Files: drivers/x3270_glue.expect Copyright: 2000, 2004, Paul Mattes License: MIT-style Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. . x3270, c3270, s3270 and tcl3270 are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file LICENSE for more details. Files: drivers/reboot-acs48 drivers/reboot-apc drivers/reboot-cyclades drivers/reboot-lantronix drivers/reboot-sentry Copyright: 2006-2008, Google Inc. License: GPL-2.0 License: GPL-2.0 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/watch0000664000000000000000000000011711533511737010226 0ustar version=3 http://test.kernel.org/releases/([\d.]+)/autotest-([\d.]+)\.tar\.bz2 debian/conmux-daemon.upstart0000664000000000000000000000050211533511737013371 0ustar description "CONMUX daemon" stop on stopping conmux instance $CONMUX_CONFIG script if [ ! -r "$CONMUX_CONFIG" ]; then echo "Set CONMUX_CONFIG" >&2 exit 1 fi log="/var/log/conmux/daemon-$(basename "$CONMUX_CONFIG" .cf).log" exec /usr/sbin/conmux "$CONMUX_CONFIG" >>"$log" 2>&1 end script debian/control0000664000000000000000000000122611665543762010613 0ustar Source: conmux Maintainer: Ubuntu Developers Section: net Priority: optional Standards-Version: 3.9.2 Homepage: http://autotest.kernel.org/wiki/Conmux Build-Depends: debhelper (>= 8~) Package: conmux Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libio-multiplex-perl, liburi-perl, perl-modules Recommends: expect Description: console multiplexor CONMUX is a console abstractor. Presenting any console with a consistent location, naming and semantic. Access to the console, and hardreset of the machine is the same regardless of the underlying access methodology. debian/changelog0000664000000000000000000000156411665543772011070 0ustar conmux (0.12.0-0ubuntu3) precise; urgency=low * Depend on liburi-perl; thanks Michael Hudson-Doyle; LP: #898398. * Bump up Standards-Version to 3.9.2. * Also add dependency on perl-modules. -- Loïc Minier Thu, 01 Dec 2011 01:14:49 +0100 conmux (0.12.0-0ubuntu2) natty; urgency=low * Update copyright to truly comply to DEP5; thanks Steve Langasek. -- Loïc Minier Mon, 07 Mar 2011 00:06:21 +0100 conmux (0.12.0-0ubuntu1) natty; urgency=low * Initial release. This is actually taken from the autotest tarball, hence the version. * Add patch conmux-shutdown-fix to not start commands within "setsid" as it is not needed for processes started from an upstart job and would make it too hard to kill the conmux daemon child processes. -- Loïc Minier Sat, 26 Feb 2011 23:49:20 +0100 debian/conmux.postrm0000775000000000000000000000013011533511737011752 0ustar #!/bin/sh set -e if [ "$1" = purge ]; then rm -rf /var/log/conmux fi #DEBHELPER# debian/compat0000664000000000000000000000000211533511737010374 0ustar 8