[27764] in Source-Commits
athinfod commit: Remove Debian packaging from master
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Mar 4 12:07:18 2014
Date: Tue, 4 Mar 2014 12:07:10 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201403041707.s24H7Am5023856@drugstore.mit.edu>
To: source-commits@MIT.EDU
https://github.com/mit-athena/athinfod/commit/c6c8ee552efed2fb48c7e74da50377d0fe2fac07
commit c6c8ee552efed2fb48c7e74da50377d0fe2fac07
Author: Jonathan Reed <jdreed@mit.edu>
Date: Fri Feb 28 13:02:37 2014 -0500
Remove Debian packaging from master
debian/README | 2 -
debian/athinfo.access | 1 -
debian/athinfo.defs | 33 ------
debian/changelog | 195 ------------------------------------
debian/compat | 1 -
debian/control | 17 ---
debian/copyright | 23 ----
debian/debathena-athinfod.install | 4 -
debian/debathena-athinfod.manpages | 3 -
debian/debathena-athinfod.postinst | 47 ---------
debian/debathena-athinfod.postrm | 45 --------
debian/debathena-athinfod.prerm | 44 --------
debian/is_cluster | 17 ---
debian/rules | 11 --
14 files changed, 0 insertions(+), 443 deletions(-)
diff --git a/debian/README b/debian/README
deleted file mode 100644
index b0a98df..0000000
--- a/debian/README
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory is for query snippet files. See athinfo.defs(5)
-for more information.
diff --git a/debian/athinfo.access b/debian/athinfo.access
deleted file mode 100644
index bc1848b..0000000
--- a/debian/athinfo.access
+++ /dev/null
@@ -1 +0,0 @@
-enable *
diff --git a/debian/athinfo.defs b/debian/athinfo.defs
deleted file mode 100644
index 2a6cb22..0000000
--- a/debian/athinfo.defs
+++ /dev/null
@@ -1,33 +0,0 @@
-# This file defines the queries understood by the athinfo daemon.
-# Blank lines and lines beginning with a '#' are ignored. Each line
-# consists of a query name and a shell command to answer the query.
-# The shell command will not receive input and, for security reasons,
-# should not depend on a network filesystem.
-
-# Query Command
-
-queries cat /etc/athena/athinfo.defs /etc/athena/athinfo.defs.d/*.defs 2>/dev/null
-uname uname -a
-machtype /bin/machtype
-sysname /bin/machtype -S
-cputype /bin/machtype -v -c
-display /bin/machtype -v -d
-disks /bin/machtype -v -r
-memory /bin/machtype -v -M
-swap swapon -s
-version echo `machtype -L` on `machtype -E`
-clusterinfo test -r /var/run/athena-clusterinfo.csh && cat /var/run/athena-clusterinfo.csh
-clusterinfo.bsh test -r /var/run/athena-clusterinfo.sh && cat /var/run/athena-clusterinfo.sh
-date date
-uptime uptime
-partitions cat /proc/partitions
-df df -k -t ext2 -t ext3 -t ext4
-interfaces netstat -in
-routes netstat -rn
-listeners netstat -lnt
-login test -f /etc/nologin; echo $?
-cpuspeed grep MHz /proc/cpuinfo
-packages dpkg-query -W -f '${Package}\t${Version}\t${Status}\n' | sed -n 's/\tinstall ok installed$//p'
-modules lsmod
-policy apt-cache policy
-hardware cat /sys/class/dmi/id/product_name /sys/class/dmi/id/product_version
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 5d78799..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,195 +0,0 @@
-debathena-athinfod (10.2-0debathena1) UNRELEASED; urgency=low
-
- * Switch to Python implementation of athinfod from Kristen Sunter
- * Switch to arch-indep package
- * Switch to dh7
-
- -- Jonathan Reed <jdreed@mit.edu> Fri, 28 Feb 2014 12:59:45 -0500
-
-debathena-athinfod (10.1-0debathena3) UNRELEASED; urgency=low
-
- * Switch from control.in to control (Trac: #561)
- * Bump Standards-Version to 3.9.3
- * Bump compat level to 7
-
- -- Jonathan Reed <jdreed@mit.edu> Wed, 03 Apr 2013 14:01:35 -0400
-
-debathena-athinfod (10.1-0debathena2) unstable; urgency=low
-
- * Free memory correctly
- * Update 'queries' query to return new queries
-
- -- Jonathan Reed <jdreed@mit.edu> Thu, 02 Aug 2012 22:27:52 -0400
-
-debathena-athinfod (10.1-0debathena1) unstable; urgency=low
-
- * Bump debian/compat to 6
- * Support athinfo.defs.d (Trac: #808)
- * Correct typos in athinfo.access(5)
-
- -- Jonathan Reed <jdreed@mit.edu> Thu, 02 Aug 2012 16:12:48 -0400
-
-debathena-athinfod (10.0.0-0debathena17) unstable; urgency=low
-
- * Make the cluster test executable, which it's not because this is a
- non-native package
-
- -- Jonathan Reed <jdreed@mit.edu> Fri, 24 Jun 2011 17:21:01 -0400
-
-debathena-athinfod (10.0.0-0debathena16) unstable; urgency=low
-
- * Add simple cluster test that will check Hesiod first (Trac #742)
-
- -- Jonathan Reed <jdreed@mit.edu> Wed, 16 Mar 2011 19:27:11 -0400
-
-debathena-athinfod (10.0.0-0debathena15) unstable; urgency=low
-
- * Move cluster-specific queries to athinfod-cluster-config (Trac #693)
-
- -- Jonathan Reed <jdreed@mit.edu> Mon, 14 Feb 2011 12:46:01 -0500
-
-debathena-athinfod (10.0.0-0debathena14) unstable; urgency=low
-
- * Add back the athena-install.log query.
-
- -- andrew m. boardman <amb@mit.edu> Fri, 17 Sep 2010 14:30:03 -0400
-
-debathena-athinfod (10.0.0-0debathena13) unstable; urgency=low
-
- * Add ext4 filesystems to df output (for new dialups)
-
- -- Jonathan Reed <jdreed@mit.edu> Fri, 14 May 2010 10:12:30 -0400
-
-debathena-athinfod (10.0.0-0debathena12) unstable; urgency=low
-
- * Add 'in-use' query to test whether a cluster machine is in use, using
- the same logic as busyd (Trac #542)
-
- -- Jonathan Reed <jdreed@mit.edu> Wed, 07 Apr 2010 11:04:20 -0400
-
-debathena-athinfod (10.0.0-0debathena11) unstable; urgency=low
-
- * Change the update-status query to display the status file set by the
- new auto-update.
-
- -- Jonathan Reed <jdreed@mit.edu> Fri, 12 Mar 2010 19:47:59 -0500
-
-debathena-athinfod (10.0.0-0debathena10) unstable; urgency=low
-
- * Add a 'hardware' query to give the DMI-reported model of a machine
- (e.g., "OptiPlex 755").
-
- -- Geoffrey Thomas <geofft@mit.edu> Thu, 20 Aug 2009 02:03:21 -0400
-
-debathena-athinfod (10.0.0-0debathena9) unstable; urgency=low
-
- * Add a 'policy' query to run 'apt-cache policy' without arguments.
- This is mainly for figuring out if a machine has -proposed
- repositories enabled or not (Trac: #172).
-
- -- Geoffrey Thomas <geofft@mit.edu> Tue, 04 Aug 2009 01:06:55 -0400
-
-debathena-athinfod (10.0.0-0debathena8) unstable; urgency=low
-
- * Add a reactivate.log query to access the instrumentation added in
- debathena-reactivate 1.14
-
- -- Evan Broder <broder@mit.edu> Thu, 12 Mar 2009 20:09:38 -0400
-
-debathena-athinfod (10.0.0-0debathena7) unstable; urgency=low
-
- * Add back the update.log query.
-
- -- Evan Broder <broder@mit.edu> Fri, 06 Mar 2009 18:39:18 -0500
-
-debathena-athinfod (10.0.0-0debathena6) unstable; urgency=low
-
- * Change the packages query to filter out packages that aren't
- installed.
-
- -- Evan Broder <broder@mit.edu> Thu, 05 Mar 2009 14:45:53 -0500
-
-debathena-athinfod (10.0.0-0debathena5) unstable; urgency=low
-
- * Fix the clusterinfo queries.
- * Change the partitions query to something nobody can run.
-
- -- Evan Broder <broder@mit.edu> Wed, 04 Mar 2009 03:25:29 -0500
-
-debathena-athinfod (10.0.0-0debathena4) unstable; urgency=low
-
- * Actually add the right dependency.
-
- -- Evan Broder <broder@mit.edu> Mon, 02 Mar 2009 13:06:02 -0500
-
-debathena-athinfod (10.0.0-0debathena3) unstable; urgency=low
-
- * Add missing dependency on machtype.
-
- -- Evan Broder <broder@mit.edu> Mon, 02 Mar 2009 07:27:25 -0500
-
-debathena-athinfod (10.0.0-0debathena2) unstable; urgency=low
-
- * Remove queries that are no longer meaningful on Debathena.
- * Update the version query to output a more useful representation of the
- version installed.
- * Change "full-upgrade" to "dist-upgrade" for old releases that don't
- support "full-upgrade".
-
- -- Evan Broder <broder@mit.edu> Sat, 28 Feb 2009 19:31:56 -0500
-
-debathena-athinfod (10.0.0-0debathena1) unstable; urgency=low
-
- * Change DEB_AUTO_UPDATE_AUTOCONF to 2.50, not 1.
- * Remove DEB_AUTO_UPDATE_DEBIAN_CONTROL.
- * Change "Debian-Athena Project" to "Debathena Project".
- * Remove debian/control from version control.
- * Clean up debian/copyright.
-
- -- Tim Abbott <tabbott@mit.edu> Sat, 24 Jan 2009 14:27:35 -0500
-
-debathena-athinfod (9.4.0-0debathena7) unstable; urgency=low
-
- * Add upgrade-status query.
-
- -- Greg Hudson <ghudson@mit.edu> Fri, 05 Sep 2008 13:00:14 -0400
-
-debathena-athinfod (9.4.0-0debathena6) unstable; urgency=low
-
- * Remove old transitional code from 9.4.0-0debathena4 changeset.
-
- -- Tim Abbott <tabbott@mit.edu> Sun, 25 May 2008 18:39:51 -0400
-
-debathena-athinfod (9.4.0-0debathena5) unstable; urgency=low
-
- * Depends: openbsd-inetd | inet-superserver
-
- -- Tim Abbott <tabbott@mit.edu> Mon, 10 Dec 2007 02:24:45 -0500
-
-debathena-athinfod (9.4.0-0debathena4) unstable; urgency=low
-
- * Remove the old athinfo line from /etc/inetd.conf, to fix upgrades
- from pre-9.4 packages.
-
- -- Anders Kaseorg <andersk@mit.edu> Mon, 06 Aug 2007 02:55:50 -0400
-
-debathena-athinfod (9.4.0-0debathena3) unstable; urgency=low
-
- * Fix some stupid regex.
- * Section: debathena/net.
-
- -- Anders Kaseorg <andersk@mit.edu> Tue, 17 Jul 2007 06:33:27 -0400
-
-debathena-athinfod (9.4.0-0debathena2) unstable; urgency=low
-
- * Add athinfo.access.
- * Add athinfo to /etc/inetd.conf.
- * Add athinfo to /etc/services.
-
- -- Anders Kaseorg <andersk@mit.edu> Sat, 28 Apr 2007 21:00:13 -0400
-
-debathena-athinfod (9.4.0-0debathena1) unstable; urgency=low
-
- * Initial release.
-
- -- Anders Kaseorg <andersk@mit.edu> Tue, 30 Jan 2007 00:33:35 -0500
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 0a56f5c..0000000
--- a/debian/control
+++ /dev/null
@@ -1,17 +0,0 @@
-Source: debathena-athinfod
-Section: debathena/net
-Priority: extra
-Maintainer: Debathena Project <debathena@mit.edu>
-Build-Depends: debhelper (>= 7.0.50~), dh-buildinfo, python, python-support
-Standards-Version: 3.9.3
-
-Package: debathena-athinfod
-Architecture: all
-Provides: athinfod
-Conflicts: debathena-athena-files (<= 0.1.2)
-Depends: ${python:Depends}, ${misc:Depends}, netbase, openbsd-inetd | inet-superserver, debathena-machtype
-Description: Athena server to respond to athinfo requests
- Respond to network queries for information about the workstation, such
- as its hardware type and configuration, its current software
- installation state, the number of users logged on, and various other
- informational state queries.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 95a9c85..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,23 +0,0 @@
-This package was debianized as part of the Debathena Project
-<http://debathena.mit.edu/> of the MIT Student Information Processing
-Board.
-
-The Athena source code was obtained from the Athena SVN repository at
-<svn://debathena.mit.edu/athena/trunk>, and is licensed as follows:
-
- Copyright © 1996 by the Massachusetts Institute of Technology.
-
- 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, and that the name of M.I.T. not be used in
- advertising or publicity pertaining to distribution of the
- software without specific, written prior permission.
- M.I.T. makes no representations about the suitability of
- this software for any purpose. It is provided "as is"
- without express or implied warranty.
-
-The Debian packaging is Copyright © 2007-2008 Tim Abbott and Anders
-Kaseorg, and has the same license as the original software.
diff --git a/debian/debathena-athinfod.install b/debian/debathena-athinfod.install
deleted file mode 100644
index ef60b96..0000000
--- a/debian/debathena-athinfod.install
+++ /dev/null
@@ -1,4 +0,0 @@
-debian/athinfo.access /etc/athena
-debian/athinfo.defs /etc/athena
-debian/is_cluster usr/lib/athinfod
-debian/README etc/athena/athinfo.defs.d
diff --git a/debian/debathena-athinfod.manpages b/debian/debathena-athinfod.manpages
deleted file mode 100644
index 39eb3e8..0000000
--- a/debian/debathena-athinfod.manpages
+++ /dev/null
@@ -1,3 +0,0 @@
-athinfo.access.5
-athinfod.8
-athinfo.defs.5
diff --git a/debian/debathena-athinfod.postinst b/debian/debathena-athinfod.postinst
deleted file mode 100644
index d648372..0000000
--- a/debian/debathena-athinfod.postinst
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-# postinst script for debathena-athinfod
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <postinst> `abort-remove'
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- configure)
- if ! grep -q '^athinfo[[:space:]]' /etc/services; then
- cat <<EOF >>/etc/services
-athinfo 49155/tcp # workstation info server
-EOF
- fi
- update-inetd --group INFO --add "athinfo\t\tstream\ttcp\tnowait\tnobody\t/sbin/athinfod\tathinfod"
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/debathena-athinfod.postrm b/debian/debathena-athinfod.postrm
deleted file mode 100644
index 38cd319..0000000
--- a/debian/debathena-athinfod.postrm
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# postrm script for debathena-athinfod
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <overwriter>
-# <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- remove)
- if hash update-inetd 2>/dev/null; then
- update-inetd --remove "(#<off># )?athinfo"
- fi
- ;;
-
- purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/debathena-athinfod.prerm b/debian/debathena-athinfod.prerm
deleted file mode 100644
index 1d002ef..0000000
--- a/debian/debathena-athinfod.prerm
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-# prerm script for debathena-athinfod
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- remove)
- update-inetd --disable athinfo
- ;;
-
- upgrade|deconfigure)
- ;;
-
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/is_cluster b/debian/is_cluster
deleted file mode 100755
index f5a66d1..0000000
--- a/debian/is_cluster
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-#
-# Determine whether this is a cluster machine or not by
-# exiting with 0 or 1, respectively
-
-CLUSTER=
-if [ -s /var/run/athena-clusterinfo.sh ]; then
- . /var/run/athena-clusterinfo.sh
-fi
-
-if [ "$CLUSTER" = "cluster" ]; then
- # Hesiod takes priority
- exit 0
-elif machtype -vL | grep -q debathena-cluster; then
- exit 0
-fi
-exit 1
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 057306a..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/make -f
-
-%:
- dh --with-python2 $@
-
-override_dh_fixperms:
- dh_fixperms
- chmod 755 debian/debathena-athinfod/usr/lib/athinfod/is_cluster
-
-override_dh_auto_install:
- dh_auto_install -- --install-scripts=/sbin