summaryrefslogtreecommitdiff
path: root/usr/src/pinyadmin
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-04-18 13:12:11 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-04-18 13:12:11 -0700
commit68c26cec353a0429562e757c658df9c622a5de16 (patch)
tree66ab11304b378ac1c693ce53255d5ae461e7b585 /usr/src/pinyadmin
parent517566b9f173245938b855f8a928b2ba7d12a7c7 (diff)
downloadpiny-code-68c26cec353a0429562e757c658df9c622a5de16.tar.gz
piny-code-68c26cec353a0429562e757c658df9c622a5de16.zip
Packaging misc; manpages.
Diffstat (limited to 'usr/src/pinyadmin')
-rw-r--r--usr/src/pinyadmin/Makefile6
-rw-r--r--usr/src/pinyadmin/debian/changelog7
-rw-r--r--usr/src/pinyadmin/debian/control2
-rw-r--r--usr/src/pinyadmin/debian/pinyadmin.manpages1
-rw-r--r--usr/src/pinyadmin/debian/source/format1
-rw-r--r--usr/src/pinyadmin/doc/addaccess.latex17
-rw-r--r--usr/src/pinyadmin/doc/pinyshell.latex19
-rw-r--r--usr/src/pinyadmin/doc/rmaccess.latex22
8 files changed, 73 insertions, 2 deletions
diff --git a/usr/src/pinyadmin/Makefile b/usr/src/pinyadmin/Makefile
index 3c8ef29..2f679e7 100644
--- a/usr/src/pinyadmin/Makefile
+++ b/usr/src/pinyadmin/Makefile
@@ -1,7 +1,11 @@
build:
- true
+ mkdir -p man
+ for f in doc/*.latex; do latex2man $$f man/$$(basename $$f .latex).man; done
install:
install -o root -g root -m 755 -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin
install -o root -g root -m 755 bin/* $(DESTDIR)/usr/bin
install -o root -g root -m 755 sbin/* $(DESTDIR)/usr/sbin
+
+clean:
+ rm -rf man
diff --git a/usr/src/pinyadmin/debian/changelog b/usr/src/pinyadmin/debian/changelog
index 4711365..0045b08 100644
--- a/usr/src/pinyadmin/debian/changelog
+++ b/usr/src/pinyadmin/debian/changelog
@@ -1,3 +1,10 @@
+pinyadmin (0.2) unstable; urgency=low
+
+ * Switch to native packaging.
+ * Add manpages.
+
+ -- Julian Blake Kongslie <jblake@omgwallhack.org> Sun, 18 Apr 2010 13:01:32 -0700
+
pinyadmin (0.1-1) unstable; urgency=low
* Initial release.
diff --git a/usr/src/pinyadmin/debian/control b/usr/src/pinyadmin/debian/control
index 7de72bd..a081ff9 100644
--- a/usr/src/pinyadmin/debian/control
+++ b/usr/src/pinyadmin/debian/control
@@ -1,7 +1,7 @@
Source: pinyadmin
Maintainer: Julian Blake Kongslie <jblake@omgwallhack.org>
Section: admin
-Build-depends: debhelper (>= 7)
+Build-depends: debhelper (>= 7), texlive-extra-utils
Priority: extra
Standards-version: 3.8.4
diff --git a/usr/src/pinyadmin/debian/pinyadmin.manpages b/usr/src/pinyadmin/debian/pinyadmin.manpages
new file mode 100644
index 0000000..85c5e00
--- /dev/null
+++ b/usr/src/pinyadmin/debian/pinyadmin.manpages
@@ -0,0 +1 @@
+man/*
diff --git a/usr/src/pinyadmin/debian/source/format b/usr/src/pinyadmin/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/usr/src/pinyadmin/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/usr/src/pinyadmin/doc/addaccess.latex b/usr/src/pinyadmin/doc/addaccess.latex
new file mode 100644
index 0000000..e15efed
--- /dev/null
+++ b/usr/src/pinyadmin/doc/addaccess.latex
@@ -0,0 +1,17 @@
+\usepackage{latex2man}
+
+\begin{Name}{8piny}{addaccess}{Piny Team}{Piny}{addaccess}
+
+\Prog{addaccess} - allow access to a repository
+
+\section{Synopsis}
+
+\Prog{addaccess} \Arg{reponame} \Arg{username} \Dots
+
+\section{Description}
+
+The \Prog{addaccess} command grants users write access to a repository.
+It may only be run by the owner of the repository.
+
+For each \Arg{username} passed on the command line, \Prog{addaccess} will grant write permission to the repository.
+Other users are not affected.
diff --git a/usr/src/pinyadmin/doc/pinyshell.latex b/usr/src/pinyadmin/doc/pinyshell.latex
new file mode 100644
index 0000000..481ddf3
--- /dev/null
+++ b/usr/src/pinyadmin/doc/pinyshell.latex
@@ -0,0 +1,19 @@
+\usepackage{latex2man}
+
+\begin{Name}{8piny}{pinyshell}{Piny Team}{Piny}{pinyshell}
+
+\Prog{pinyshell} - a restricted shell
+
+\section{Synopsis}
+
+\Prog{pinyshell}
+
+\section{Description}
+
+\Prog{pinyshell} is just another way to invoke \Cmd{1}{rbash}; the separate name is used for accounting purposes within the piny infrastructure.
+
+Users which should be managed by the Piny infrastructure should have \Prog{pinyshell} as their shell.
+
+\section{See Also}
+
+\Cmd{1}{rbash}
diff --git a/usr/src/pinyadmin/doc/rmaccess.latex b/usr/src/pinyadmin/doc/rmaccess.latex
new file mode 100644
index 0000000..3444c67
--- /dev/null
+++ b/usr/src/pinyadmin/doc/rmaccess.latex
@@ -0,0 +1,22 @@
+\usepackage{latex2man}
+
+\begin{Name}{8piny}{rmaccess}{Piny Team}{Piny}{rmaccess}
+
+\Prog{rmaccess} - remove access to a repository
+
+\section{Synopsis}
+
+\Prog{rmaccess} \Arg{reponame} \Arg{username} \Dots
+
+\section{Description}
+
+The \Prog{rmaccess} command denies users write access to a repository.
+It may only be run by the owner of the repository.
+
+For each \Arg{username} passed on the command line, \Prog{addaccess} will deny write permission to the repository.
+Other users are not affected.
+
+\section{Bugs}
+
+You cannot deny write permission to the owner of the repository.
+If you try, the program will appear to succeed, but the owner will still be able to make changes.