-invirt-console (0.2.16) unstable; urgency=low
+invirt-console (0.2.17) unstable; urgency=low
* invirt-console-update now doesn't depend on remctld setting REMOTE_HOST
-- Peter Iannucci <iannucci@mit.edu> Mon, 01 Jul 2013 21:22:00 -0400
+invirt-console (0.2.16~glasgall5achernya1) precise; urgency=low
+
+ * Switch to dh7
+ * Bump standards version
+ * Correct diversions for dependency on debathena-ssh-server-config
+
+ -- Alexander Chernyakhovsky <achernya@mit.edu> Fri, 31 May 2013 03:21:30 -0400
+
+invirt-console (0.2.16~glasgall5) precise; urgency=low
+
+ * pyroutefs API changes.
+
+ -- Adam Glasgall <glasgall@mit.edu> Mon, 29 Apr 2013 23:15:45 -0400
+
+invirt-console (0.2.16~glasgall4) precise; urgency=low
+
+ * Depend on debathena-ssh-server-config instead of invirt-ssh-config.
+
+ -- Adam Glasgall <glasgall@mit.edu> Mon, 29 Apr 2013 22:58:03 -0400
+
+invirt-console (0.2.16~glasgall3) precise; urgency=low
+
+ * Update for newer pyroutefs API (paths start with / now)
+
+ -- Adam Glasgall <glasgall@mit.edu> Sat, 20 Apr 2013 17:23:56 -0400
+
+invirt-console (0.2.16~glasgall2) precise; urgency=low
+
+ * Disable MOTD updating by transforming pam config to run pam_motd with
+ noupdate.
+
+ -- Adam Glasgall <glasgall@mit.edu> Sat, 20 Apr 2013 16:25:24 -0400
+
+invirt-console (0.2.16~glasgall1) precise; urgency=low
+
+ * No-change rebuild for Precise
+
+ -- Adam Glasgall <glasgall@mit.edu> Sat, 20 Apr 2013 14:56:32 -0400
+
invirt-console (0.2.15) unstable; urgency=low
* Divert /etc/conserver/console.cf in the right binary package.
Section: servers
Priority: extra
Maintainer: Invirt project <invirt@mit.edu>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), config-package-dev (>= 4.5~), nscd, openssh-server, invirt-ssh-config, initscripts
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 7), config-package-dev (>= 5.0~), nscd, openssh-server, debathena-ssh-server-config, initscripts
+Standards-Version: 3.9.3
Package: invirt-console-server
Architecture: all
conserver-client, conserver-server, daemon,
invirt-kerberos-config, fuse-utils, libnss-pgsql1, nscd,
openssh-server, python, python-routefs, invirt-database,
- remctl-server, invirt-ssh-config
+ remctl-server, debathena-ssh-server-config
Description: Invirt serial-console proxy server
This is the software for the serial-console proxy server.
--- /dev/null
+/etc/conserver/conserver.cf.invirt
+/etc/conserver/server.conf.invirt
--- /dev/null
+/etc/conserver/console.cf.invirt
+
--- /dev/null
+/etc/conserver/conserver.cf.invirt
+/etc/conserver/console.cf.invirt
+/etc/motd.invirt
--- /dev/null
+/etc/nsswitch.conf.invirt </usr/share/base-files/nsswitch.conf debian/transform_nsswitch.conf.invirt
+/etc/nscd.conf.invirt debian/transform_nscd.conf.invirt
+/etc/pam.d/sshd.invirt debian/transform_sshd.invirt
+/etc/pam.d/login.invirt debian/transform_login.invirt
+/etc/ssh/sshd_config.debathena.invirt debian/transform_sshd_config.invirt.invirt
#!/usr/bin/make -f
-
-DEB_DIVERT_EXTENSION = .invirt
-DEB_TRANSFORM_FILES_invirt-console-server += \
- /etc/init.d/bootmisc.sh.invirt \
- /etc/nsswitch.conf.invirt \
- /etc/nscd.conf.invirt \
- /etc/pam.d/sshd.invirt \
- /etc/ssh/sshd_config.invirt.invirt
-
-DEB_UNDIVERT_FILES_invirt-console-server += \
- /etc/ssh/sshd_config.debathena.invirt
-
-DEB_UNDIVERT_VERSION_/etc/ssh/sshd_config.debathena.invirt = 0.2.12~
-
-ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),)
- DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.invirt = \
- /usr/share/base-files/nsswitch.conf
-endif
-
-DEB_DIVERT_FILES_invirt-console-server += \
- /etc/conserver/conserver.cf.invirt \
- /etc/conserver/console.cf.invirt \
- /etc/motd.invirt
-DEB_DIVERT_FILES_invirt-console-host += \
- /etc/conserver/conserver.cf.invirt \
- /etc/conserver/server.conf.invirt
-
-DEB_UNDIVERT_FILES_invirt-console-host += \
- /etc/conserver/console.cf.invirt
-DEB_UNDIVERT_VERSION_/etc/conserver/console.cf.invirt = 0.2.15~
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/config-package.mk
+%:
+ dh $@ --with config-package
+++ /dev/null
-#!/bin/bash
-patch -p0 -o /dev/fd/4 3<&0 4>&1 1>/dev/null <<EOF
-
-# Yes, I there's no context. But the lines being replaced are less
-# likely to change than the lines around them
-
---- Ignored
-+++ /dev/fd/3
-@@ -42,3 +42,2 @@
-- # Update motd
-- uname -snrvm > /var/run/motd
-- [ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
-+ # Do not update motd
-+ cp /etc/motd /var/run/motd
--- /dev/null
+#!/bin/sh
+exec sed -e 's/pam_motd.so/pam_motd.so noupdate/g'
echo "# print the \"your account doesn't exist\" error:"
echo 'auth [success=die ignore=reset default=die module_unknown=die] pam_echo.so file=/etc/issue.net.no_user'
echo
-exec cat
+exec sed -e 's/pam_motd.so/pam_motd.so noupdate/g'
def make_map(self):
m = Mapper()
- m.connect('', controller='getMachines')
- m.connect(':machine', controller='getMirror')
- m.connect(':machine/.k5login', controller='getK5login')
- m.connect(':machine/*(path)', controller='getMirror')
+ m.connect('/', controller='getMachines')
+ m.connect('/:machine', controller='getMirror')
+ m.connect('/:machine/.k5login', controller='getK5login')
+ m.connect('/:machine/*(path)', controller='getMirror')
return m
def recache(self):
elif os.path.islink(real):
return routefs.Symlink(os.readlink(real))
elif os.path.isfile(real):
- return open(real).read()
+ return routefs.File(open(real).read())
else:
return -errno.EINVAL
users.append('daemon/%s@%s' % (config.web.hostname,
config.kerberos.realm))
users.append('')
- return "\n".join(users)
+ return routefs.File("\n".join(users))
def mirrorPath(self, path):
"""Translate a virtual path to its real path counterpart"""