chiark / gitweb /
Add Debian files to CVS. debian_version_0_59
authorian <ian>
Sat, 30 Jan 1999 19:39:53 +0000 (19:39 +0000)
committerian <ian>
Sat, 30 Jan 1999 19:39:53 +0000 (19:39 +0000)
debian/changelog [new file with mode: 0644]
debian/conffiles [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/initd [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/postrm [new file with mode: 0644]
debian/prerm [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..7883d80
--- /dev/null
@@ -0,0 +1,59 @@
+userv (0.59) unstable; urgency=low
+
+  * New upstream version which fixes the problems fixed in NMUs.
+  * Debian and mainstream version integrated.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Sat, 30 Jan 1999 19:39:39 +0000
+
+userv (0.58-1.2) unstable; urgency=low
+
+  * Non maintainer upload.
+    Fix for this error on the Arm.
+    cc1: warnings being treated as errors
+    client.c: In function callvalueoption':
+    client.c:747: warning: suggest explicit braces to avoid ambiguous else'
+    Braces inserted, to join the if statements together
+
+ -- Turbo Fredriksson <turbo@debian.org>  Thu, 20 Aug 1998 06:17:43 -0400
+
+userv (0.58-1.1) frozen unstable; urgency=low
+
+  * Non maintainer upload
+  * Finally compiled against libc6
+  * To Brian White: Please either confirm this upload to go into frozen or
+    remove userv from frozen.
+  * Added external declaration for strsignal() to overlord.c and client.c
+
+ -- Martin Schulze <joey@finlandia.infodrom.north.de>  Sat, 18 Jul 1998 10:48:11 +0200
+
+userv (0.58-1) unstable; urgency=low
+
+  * Upgraded to new upstream version; major security fix, error handling
+    fixes.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Thu, 29 Jan 1998 00:03:52 +0000
+
+userv (0.57-1) unstable; urgency=high
+
+  * Upgraded to new upstream version; fixed bug with root-provided
+    services.
+  * Uses new -daemon option in init.d script.
+  * Sets VEREXT during build to set version number.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Tue, 14 Oct 1997 02:22:22 +0100
+
+userv (0.56-1) experimental; urgency=low
+
+  * Upgraded to new upstream version.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Sat, 11 Oct 1997 14:13:22 +0100
+
+userv (0.55.1-1) experimental; urgency=low
+
+  * Initial Debian release.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Mon, 22 Sep 1997 01:08:23 +0100
+
+# Local variables:
+# mode: debian-changelog
+# End:
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644 (file)
index 0000000..2463c0f
--- /dev/null
@@ -0,0 +1,3 @@
+/etc/init.d/userv
+/etc/userv/system.default
+/etc/userv/system.override
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1f183f2
--- /dev/null
@@ -0,0 +1,16 @@
+Source: userv
+Section: admin
+Priority: experimental
+Maintainer: Ian Jackson <ian@chiark.greenend.org.uk>
+Standards-Version: 2.1.1.0
+
+Package: userv
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: `user services' - program call across trust boundaries
+ userv allows one program to invoke another when only limited trust
+ exists between them.  It is a tool which can be used to avoid having
+ to give other system services root privilege, and which allows users
+ to more securely have programs provide services to others.
+ .
+ There are not many userv-using services yet.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..fbbf975
--- /dev/null
@@ -0,0 +1,31 @@
+This is Debian/GNU Linux's prepackaged version of Ian Jackson's
+`userv' system utility.
+
+This package was put together from the upstream sources by the
+upstream author.  Please contact Ian Jackson at
+<ian@chiark.greenend.org.uk> for matters relating to the Debian
+package in particular or <userv-maint@chiark.greenend.org.uk> for
+general enquiries about userv.
+
+The changes were to add support for the Debian package maintenance
+scheme, by adding various debian/* files and arranging for the uservd
+daemon to be started automatically.
+
+
+userv is Copyright (C)1996-7 Ian Jackson <ian@chiark.greenend.org.uk>.
+
+userv 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 should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/doc/copyright/GPL, or with the
+Debian GNU/Linux userv source package as the file COPYING; if not,
+email me at one of the addresses above or write to the Free Software
+Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git a/debian/initd b/debian/initd
new file mode 100644 (file)
index 0000000..c3a7ca1
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+test -f /usr/sbin/uservd || exit 0
+
+case "$1" in
+start)
+       echo "Starting user services daemon uservd"
+       start-stop-daemon --start --quiet --exec /usr/sbin/uservd -- -daemon
+       ;;
+stop)
+       echo "Stopping user services daemon uservd"
+       start-stop-daemon --stop --quiet --user root --exec /usr/sbin/uservd
+       ;;
+reload)
+       start-stop-daemon --stop --quiet --user root --exec /usr/sbin/uservd
+       sleep 1
+       start-stop-daemon --start --quiet --exec /usr/sbin/uservd -- -daemon
+       ;;
+*)
+       echo "Usage: /etc/init.d/userv {start|stop|reload}"
+       exit 1
+esac
+
+exit 0
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..ef30f6e
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+update-rc.d userv defaults 19 50
+/etc/init.d/userv start >/dev/null
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..caab552
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+if test "$1" = purge
+then
+       update-rc.d userv remove
+fi
diff --git a/debian/prerm b/debian/prerm
new file mode 100644 (file)
index 0000000..bab5707
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+/etc/init.d/userv stop >/dev/null
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..225bcfc
--- /dev/null
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+
+package=userv
+revision=$(shell dpkg-parsechangelog | sed -n 's/^Version:.*-//p')
+verext=-$(revision)deb
+
+build:
+       $(checkdir)
+       ./configure --prefix=/usr
+       $(MAKE) VEREXT=$(verext)
+       $(MAKE) spec.html VEREXT=$(verext)
+       touch build
+
+clean:
+       $(checkdir)
+       -rm -f build
+       -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
+       -rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars*
+
+binary-indep:  checkroot build
+       $(checkdir)
+# There are no architecture-independent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary-arch:   checkroot build
+       $(checkdir)
+       -rm -rf debian/tmp
+       install -d debian/tmp/{DEBIAN,etc/init.d} debian/tmp/usr/{sbin,bin}
+       install -d debian/tmp/etc/userv/{override,default}.d
+       install -d debian/tmp/usr/doc/$(package)/examples/
+       install -d debian/tmp/var/run/$(package)/
+       cp debian/{postinst,prerm,postrm,conffiles} debian/tmp/DEBIAN/.
+       cp debian/initd debian/tmp/etc/init.d/userv
+       chmod +x debian/tmp/DEBIAN/{postinst,prerm,postrm}
+       chmod +x debian/tmp/etc/init.d/userv
+       $(MAKE) LDFLAGS=-s INSTALL_PROGRAM='install -c -s' \
+               VEREXT=$(verext) \
+               prefix=debian/tmp/usr etcdir=debian/tmp/etc install
+       cp debian/copyright debian/tmp/usr/doc/$(package)/.
+       cp debian/changelog debian/tmp/usr/doc/$(package)/changelog.Debian
+       cp README debian/tmp/usr/doc/$(package)/README.upstream
+       cp Changelog debian/tmp/usr/doc/$(package)/changelog
+       cp system.default system.override debian/tmp/usr/doc/$(package)/examples
+       gzip -9v debian/tmp/usr/doc/$(package)/changelog{,.Debian}
+       cp -a spec.html debian/tmp/usr/doc/$(package)/
+       dpkg-shlibdeps daemon client
+       dpkg-gencontrol
+       chown -R root.root debian/tmp
+       chmod -R g-ws debian/tmp
+       chmod 700 debian/tmp/var/run/userv
+       dpkg --build debian/tmp ..
+
+define checkdir
+       test -f overlord.c -a -f lexer.l.m4 -a -f debian/rules
+endef
+
+# Below here is fairly generic really
+
+binary:                binary-indep binary-arch
+
+source diff:
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+checkroot:
+       $(checkdir)
+       test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot