summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/9mount.links2
-rw-r--r--debian/9mount.lintian-overrides3
-rw-r--r--debian/changelog74
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright32
-rw-r--r--debian/patches/manpages.patch94
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules19
-rw-r--r--debian/source/format1
10 files changed, 246 insertions, 0 deletions
diff --git a/debian/9mount.links b/debian/9mount.links
new file mode 100644
index 0000000..8221869
--- /dev/null
+++ b/debian/9mount.links
@@ -0,0 +1,2 @@
+/usr/share/man/man1/9mount.1.gz /usr/share/man/man1/9bind.1.gz
+/usr/share/man/man1/9mount.1.gz /usr/share/man/man1/9umount.1.gz
diff --git a/debian/9mount.lintian-overrides b/debian/9mount.lintian-overrides
new file mode 100644
index 0000000..46a6ce4
--- /dev/null
+++ b/debian/9mount.lintian-overrides
@@ -0,0 +1,3 @@
+9mount: setuid-binary usr/bin/9bind 4755 root/root
+9mount: setuid-binary usr/bin/9mount 4755 root/root
+9mount: setuid-binary usr/bin/9umount 4755 root/root
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ce18f1f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,74 @@
+9mount (1.3-10) unstable; urgency=low
+
+ * Update the homepage (Closes: #730858).
+ * Fix manpages.
+ * Build on Linux only.
+
+ -- Andrew Shadura <andrewsh@debian.org> Sat, 30 Nov 2013 21:33:35 +0100
+
+9mount (1.3-9) unstable; urgency=low
+
+ * Drop nearly useless debug package.
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 12 Nov 2013 12:30:04 +0100
+
+9mount (1.3-8) unstable; urgency=low
+
+ * Reintroduce the package with a new maintainer.
+ * Update to Debhelper 9.
+ * Use 3.0 (quilt) format.
+
+ -- Andrew Shadura <andrewsh@debian.org> Mon, 11 Nov 2013 11:21:57 +0100
+
+9mount (1.3-7) unstable; urgency=low
+
+ * Removing vcs fields.
+ * Orphaning package.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 27 Aug 2009 10:25:46 +0200
+
+9mount (1.3-6) unstable; urgency=low
+
+ * Updating maintainer field.
+ * Updating vcs fields.
+ * Updating package to standards version 3.8.3.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 20 Aug 2009 17:38:01 +0200
+
+9mount (1.3-5) unstable; urgency=low
+
+ * Minimalizing rules file.
+ * Sorting depends.
+ * Adding misc depends.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 05 Aug 2009 10:26:02 +0200
+
+9mount (1.3-4) unstable; urgency=low
+
+ * Updating section of the debug package.
+ * Tidy rules file.
+ * Updating package to standards version 3.8.2.
+ * Updating year in copyright file.
+ * Using correct rfc-2822 date formats in changelog.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 16 Jul 2009 23:34:26 +0200
+
+9mount (1.3-3) unstable; urgency=low
+
+ * Replacing obsolete dh_clean -k with dh_prep.
+ * Prefixing debhelper files with package name.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 17 Dec 2008 21:01:00 +0100
+
+9mount (1.3-2) unstable; urgency=low
+
+ * Updating vcs fields in control file.
+ * Adding debug package.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 20 Sep 2008 22:25:00 +0200
+
+9mount (1.3-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 03 Aug 2008 16:10:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2f96a5c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: 9mount
+Section: admin
+Priority: optional
+Maintainer: Andrej Shadura <andrewsh@debian.org>
+Build-Depends: debhelper (>= 11)
+Standards-Version: 4.1.2
+Homepage: http://sqweek.net/code/9mount/
+
+Package: 9mount
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Plan 9 filesystem (v9fs) user mount utilities
+ 9mount is a set of SUID mounting tools for use with v9fs to help
+ cope with Linux's poor mount support.
+ .
+ The tools offer a level of security - 9mount will only let you
+ mount over non-sticky directories you have write access to, and
+ 9umount will only let you unmount 9p partitions that you mounted
+ yourself.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8cef7b8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Author: sqweek <sqweek@gmail.com>
+Download: http://sqweek.dnsdojo.org/code/9mount/
+
+Files: *
+Copyright: (C) 2008 sqweek <sqweek@gmail.com>
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: debian/*
+Copyright: (C) 2008-2009 Daniel Baumann <daniel@debian.org>
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/patches/manpages.patch b/debian/patches/manpages.patch
new file mode 100644
index 0000000..ba49989
--- /dev/null
+++ b/debian/patches/manpages.patch
@@ -0,0 +1,94 @@
+--- a/9mount.1
++++ b/9mount.1
+@@ -3,7 +3,7 @@
+ 9mount, 9bind, 9umount \- mount/unmount 9p filesystems
+ .SH SYNOPSIS
+ .B 9mount
+-[ insuvx ] [ -a SPEC ] [ -c CACHE ] [ -d DEBUG ] [ -m MSIZE ] DIAL MOUNTPT
++[ insuvx ] [ \-a SPEC ] [ \-c CACHE ] [ \-d DEBUG ] [ \-m MSIZE ] DIAL MOUNTPT
+ .PP
+ .B 9bind
+ OLD NEW
+@@ -22,48 +22,48 @@
+ .br
+ virtio!CHANNEL
+ .br
+--
++\-
+ .PP
+ where SOCKET is the name of a file representing a socket, HOST is a
+ hostname, PORT is a port number or service name, and CHANNEL is a
+-virtio channel name (currently ignored). - indicates that 9p messages
++virtio channel name (currently ignored). \- indicates that 9p messages
+ should be read/written on stdin/stdout.
+ .B 9mount
+ has several options:
+ .TP
+--i
++\-i
+ mount the file system with your uid/gid
+ .TP
+--n
++\-n
+ dry-run, print mount command to stderr but don't actually mount anything
+ .TP
+--s
+-single attach mode - all users accessing the mount point see the same
++\-s
++single attach mode \- all users accessing the mount point see the same
+ filesystem (by default they'll each see a unique attach)
+ .TP
+--u
++\-u
+ use the 9P2000.u extensions
+ .TP
+--v
++\-v
+ use device mapping
+ .TP
+--x
++\-x
+ exclusive access - other users cannot access the mount point
+ .TP
+--a SPEC
++\-a SPEC
+ SPEC determines which file tree to mount when attaching to file servers that
+ export multiple trees
+ .TP
+--c CACHE
++\-c CACHE
+ turns on caching using CACHE mode. Currently only
+ .I loose
+ cache mode is available, which is suitable for exclusive read-only mounts.
+ .TP
+--d DEBUG
+-comma seperated list of channels for which to enable debug output. Possible
++\-d DEBUG
++comma separated list of channels for which to enable debug output. Possible
+ channels include: err, devel, 9p, vfs, conv, mux, trans, alloc, fcall.
+ .TP
+--m MSIZE
++\-m MSIZE
+ specifies the maximum length of a single 9p message in bytes.
+ .PP
+ .B 9bind
+@@ -78,16 +78,16 @@
+ the uname to provide to the server.
+ .SH EXAMPLES
+ .TP
+-9mount -i 'unix!/tmp/ns.'$USER'.:0/factotum' $HOME/n/factotum
++9mount \-i 'unix!/tmp/ns.'$USER'.:0/factotum' $HOME/n/factotum
+ mount p9p's factotum interface
+ .TP
+ 9mount 'tcp!sources.cs.bell-labs.com' $HOME/n/sources
+ import plan 9's "sources"
+ .TP
+-9mount -u -a/home/sqweek/mail 'tcp!wren!5640' $HOME/mail
++9mount \-u \-a/home/sqweek/mail 'tcp!wren!5640' $HOME/mail
+ import my maildir from my server(wren), being served by ufs
+ .TP
+-9mount -i 'tcp!wren' $HOME/n/wren; 9bind $HOME/n/wren/home/sqweek/mail $HOME/mail
++9mount \-i 'tcp!wren' $HOME/n/wren; 9bind $HOME/n/wren/home/sqweek/mail $HOME/mail
+ again importing my maildir, this time serving via u9fs
+ .SH BUGS
+ .B 9mount
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8654805
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+manpages.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..662befd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ $(MAKE) CFLAGS="$(CFLAGS)"
+
+override_dh_auto_test:
+
+override_dh_auto_install:
+ $(MAKE) prefix=$(CURDIR)/debian/9mount/usr install
+
+ chown root:root debian/9mount/usr/bin/*
+
+override_dh_fixperms:
+ dh_fixperms -Xusr/bin/9bind -Xusr/bin/9mount -Xusr/bin/9umount
+
+.PHONY: override_dh_auto_test override_dh_auto_install override_dh_fixperms
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)