--- ltsp-cluster-accountmanager-2.0.2.orig/debian/ltsp-cluster-accountmanager.manpages +++ ltsp-cluster-accountmanager-2.0.2/debian/ltsp-cluster-accountmanager.manpages @@ -0,0 +1 @@ +debian/ltsp-cluster-accountmanager.1 --- ltsp-cluster-accountmanager-2.0.2.orig/debian/changelog +++ ltsp-cluster-accountmanager-2.0.2/debian/changelog @@ -0,0 +1,14 @@ +ltsp-cluster-accountmanager (2.0.2-0ubuntu1) karmic; urgency=low + + * New upstream bugfix release + * Fix support of min and max group + * Add group with useradd instead of adduser + * Handle useradd return code + + -- Stéphane Graber Tue, 15 Sep 2009 15:11:47 -0400 + +ltsp-cluster-accountmanager (2.0.1-0ubuntu1) karmic; urgency=low + + * Initial Release (LP: #394416) + + -- Jonathan Carter Fri, 10 Jul 2009 22:04:01 +0200 --- ltsp-cluster-accountmanager-2.0.2.orig/debian/control +++ ltsp-cluster-accountmanager-2.0.2/debian/control @@ -0,0 +1,16 @@ +Source: ltsp-cluster-accountmanager +Section: misc +Priority: optional +Maintainer: Ubuntu MOTU Developers +Build-Depends: debhelper (>=6.0), cdbs +Standards-Version: 3.8.2 +Homepage: http://www.revolutionlinux.com + +Package: ltsp-cluster-accountmanager +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python, perl-modules, python-crypto +Description: Account creation and management daemon for LTSP + LTSP is the Linux Terminal Server Project. + . + LTSP Cluster Account Manager is a daemon that can create accounts + for auto-login LTSP clients. --- ltsp-cluster-accountmanager-2.0.2.orig/debian/ltsp-cluster-accountmanager.postrm +++ ltsp-cluster-accountmanager-2.0.2/debian/ltsp-cluster-accountmanager.postrm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = purge ]; then + delgroup autologin + rm -Rf /var/lib/ltsp-cluster-accountmanager/ +fi + +#DEBHELPER# --- ltsp-cluster-accountmanager-2.0.2.orig/debian/ltsp-cluster-accountmanager.init +++ ltsp-cluster-accountmanager-2.0.2/debian/ltsp-cluster-accountmanager.init @@ -0,0 +1,64 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: ltsp-cluster-accountmanager +# Default-Start: 2 3 4 5 +# Default-Stop: 1 +# Required-Start: +# Required-Stop: +# Short-Description: LTSP account manager (used for temporary login) +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/ltsp-cluster-accountmanager +NAME=ltsp-cluster-accountmanager +CONFIG=/etc/ltsp/accountmanager.conf +PIDFILE=/var/run/$NAME.pid +DESC="LTSP account manager" + +unset TMPDIR + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +case "$1" in + start) + log_begin_msg "Starting $DESC: $NAME" + start-stop-daemon -m --background --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON $CONFIG + + log_end_msg $? + ;; + stop) + log_begin_msg "Stopping $DESC: $NAME" + start-stop-daemon --stop --quiet --retry 5 --pidfile $PIDFILE + log_end_msg $? + ;; + restart|force-reload) + log_begin_msg "Restarting $DESC: $NAME" + if start-stop-daemon --stop --quiet --retry 5 --pidfile $PIDFILE; then + start-stop-daemon -m --background --start --quiet --pidfile "$PIDFILE" --exec $DAEMON $CONFIG + fi + log_end_msg $? + ;; + status) + echo -n "Status of $DESC: " + if [ ! -r "$PIDFILE" ]; then + echo "$NAME is not running." + exit 3 + fi + if read pid < "$PIDFILE" && ps -p "$pid" > /dev/null 2>&1; then + echo "$NAME is running." + exit 0 + else + echo "$NAME is not running but $PIDFILE exists." + exit 1 + fi + ;; + *) + N=/etc/init.d/${0##*/} + echo "Usage: $N {start|stop|restart|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- ltsp-cluster-accountmanager-2.0.2.orig/debian/rules +++ ltsp-cluster-accountmanager-2.0.2/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk +DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/ltsp-cluster-accountmanager/ + +get-orig-source: + uscan --force-download --repack --rename --destdir . + --- ltsp-cluster-accountmanager-2.0.2.orig/debian/watch +++ ltsp-cluster-accountmanager-2.0.2/debian/watch @@ -0,0 +1,4 @@ +version=3 + +# launchpad +https://launchpad.net/ltsp-cluster/+download http://launchpad.net/ltsp-cluster/.*/ltsp-cluster-accountmanager-(.*)\.tar\.gz --- ltsp-cluster-accountmanager-2.0.2.orig/debian/ltsp-cluster-accountmanager.1 +++ ltsp-cluster-accountmanager-2.0.2/debian/ltsp-cluster-accountmanager.1 @@ -0,0 +1,28 @@ +.TH "ltsp-cluster-accountmanager" "1" "20090701" "Stephane Graber" "" +.SH "NAME" +ltsp-cluster-accountmanager \(em Session management daemon for LTSP-Cluster. + +.SH "SYNOPSIS" +.PP +\fBltsp-cluster-accountmanager\fR + +.SH "DESCRIPTION" +.PP +\fBltsp-cluster-accountmanager\fR is a daemon used for temporary account +creation, management and for remote management of a LTSP-Cluster application +server. + +.PP + +The configuration is usually stored in /etc/ltsp/accountmanager.conf + +.SH "AVAILABILITY" +.PP +\fBltsp-cluster-accountmanager\fR is part of \fBltsp-clust-accountmanager\fP +package and the latest versions are available in source form from +\fIhttps://launchpad.net/ltsp-cluster\fR. + +.SH "MAN PAGE AUTHOR" +.PP +Copyright 2009 Stephane Graber , distributed under +the terms of the GNU General Public License version 2 or any later version. --- ltsp-cluster-accountmanager-2.0.2.orig/debian/copyright +++ ltsp-cluster-accountmanager-2.0.2/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Jonathan Carter + on Wed, 01 Jul 2009 19:58:57 +0200. + +It was downloaded from https://launchpad.net/ltsp-cluster/+download + +Upstream Author: + + Stéphane Graber + +Copyright: + + Copyright (C) 2008-2009 Revolution Linux Inc. + +License: + + 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; either version 2 of the License, or + (at your option) any later version. + + 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 can find the license on Debian systems in the file + /usr/share/common-licenses/GPL-2 + + +The Debian packaging is Copyright 2009, Jonathan Carter + and is licensed under the GPL, +see `/usr/share/common-licenses/GPL-2'. --- ltsp-cluster-accountmanager-2.0.2.orig/debian/compat +++ ltsp-cluster-accountmanager-2.0.2/debian/compat @@ -0,0 +1 @@ +6 --- ltsp-cluster-accountmanager-2.0.2.orig/debian/ltsp-cluster-accountmanager.postinst +++ ltsp-cluster-accountmanager-2.0.2/debian/ltsp-cluster-accountmanager.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ ! `getent group autologin` ]; then + addgroup --system autologin +fi +if [ "$1" = "configure" ]; +then + mkdir -p /var/lib/ltsp-cluster-accountmanager/ +fi +#DEBHELPER#