summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/pinyadmin/Makefile7
-rwxr-xr-xusr/src/pinyadmin/bin/addaccess (renamed from usr/local/bin/addaccess)0
l---------usr/src/pinyadmin/bin/createuser (renamed from usr/local/bin/createuser)0
-rwxr-xr-xusr/src/pinyadmin/bin/newrepo (renamed from usr/local/bin/newrepo)0
-rwxr-xr-xusr/src/pinyadmin/bin/newuser (renamed from usr/local/bin/newuser)0
-rwxr-xr-xusr/src/pinyadmin/bin/pinyshell (renamed from usr/local/bin/pinyshell)0
-rwxr-xr-xusr/src/pinyadmin/bin/rmaccess (renamed from usr/local/bin/rmaccess)0
-rwxr-xr-xusr/src/pinyadmin/bin/rmrepo (renamed from usr/local/bin/rmrepo)0
-rw-r--r--usr/src/pinyadmin/debian/changelog5
-rw-r--r--usr/src/pinyadmin/debian/compat1
-rw-r--r--usr/src/pinyadmin/debian/control13
-rw-r--r--usr/src/pinyadmin/debian/copyright2
-rwxr-xr-xusr/src/pinyadmin/debian/rules4
-rwxr-xr-xusr/src/pinyadmin/sbin/addaccess (renamed from usr/local/sbin/addaccess)0
-rwxr-xr-xusr/src/pinyadmin/sbin/newrepo (renamed from usr/local/sbin/newrepo)0
-rwxr-xr-xusr/src/pinyadmin/sbin/newuser (renamed from usr/local/sbin/newuser)0
-rwxr-xr-xusr/src/pinyadmin/sbin/rmaccess (renamed from usr/local/sbin/rmaccess)0
-rwxr-xr-xusr/src/pinyadmin/sbin/rmrepo (renamed from usr/local/sbin/rmrepo)0
18 files changed, 32 insertions, 0 deletions
diff --git a/usr/src/pinyadmin/Makefile b/usr/src/pinyadmin/Makefile
new file mode 100644
index 0000000..3c8ef29
--- /dev/null
+++ b/usr/src/pinyadmin/Makefile
@@ -0,0 +1,7 @@
+build:
+ true
+
+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
diff --git a/usr/local/bin/addaccess b/usr/src/pinyadmin/bin/addaccess
index 6f734f6..6f734f6 100755
--- a/usr/local/bin/addaccess
+++ b/usr/src/pinyadmin/bin/addaccess
diff --git a/usr/local/bin/createuser b/usr/src/pinyadmin/bin/createuser
index e9d7937..e9d7937 120000
--- a/usr/local/bin/createuser
+++ b/usr/src/pinyadmin/bin/createuser
diff --git a/usr/local/bin/newrepo b/usr/src/pinyadmin/bin/newrepo
index 05ce120..05ce120 100755
--- a/usr/local/bin/newrepo
+++ b/usr/src/pinyadmin/bin/newrepo
diff --git a/usr/local/bin/newuser b/usr/src/pinyadmin/bin/newuser
index 841b47d..841b47d 100755
--- a/usr/local/bin/newuser
+++ b/usr/src/pinyadmin/bin/newuser
diff --git a/usr/local/bin/pinyshell b/usr/src/pinyadmin/bin/pinyshell
index 0db88a8..0db88a8 100755
--- a/usr/local/bin/pinyshell
+++ b/usr/src/pinyadmin/bin/pinyshell
diff --git a/usr/local/bin/rmaccess b/usr/src/pinyadmin/bin/rmaccess
index 6c40690..6c40690 100755
--- a/usr/local/bin/rmaccess
+++ b/usr/src/pinyadmin/bin/rmaccess
diff --git a/usr/local/bin/rmrepo b/usr/src/pinyadmin/bin/rmrepo
index 53bf029..53bf029 100755
--- a/usr/local/bin/rmrepo
+++ b/usr/src/pinyadmin/bin/rmrepo
diff --git a/usr/src/pinyadmin/debian/changelog b/usr/src/pinyadmin/debian/changelog
new file mode 100644
index 0000000..4711365
--- /dev/null
+++ b/usr/src/pinyadmin/debian/changelog
@@ -0,0 +1,5 @@
+pinyadmin (0.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Julian Blake Kongslie <jblake@omgwallhack.org> Thu, 18 Mar 2010 13:55:40 -0700
diff --git a/usr/src/pinyadmin/debian/compat b/usr/src/pinyadmin/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/usr/src/pinyadmin/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/usr/src/pinyadmin/debian/control b/usr/src/pinyadmin/debian/control
new file mode 100644
index 0000000..7de72bd
--- /dev/null
+++ b/usr/src/pinyadmin/debian/control
@@ -0,0 +1,13 @@
+Source: pinyadmin
+Maintainer: Julian Blake Kongslie <jblake@omgwallhack.org>
+Section: admin
+Build-depends: debhelper (>= 7)
+Priority: extra
+Standards-version: 3.8.4
+
+Package: pinyadmin
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libpiny-perl
+Description: Administrative programs for piny.
+ The command-line programs for day-to-day administrative tasks in the Piny
+ infrastructure.
diff --git a/usr/src/pinyadmin/debian/copyright b/usr/src/pinyadmin/debian/copyright
new file mode 100644
index 0000000..db049e1
--- /dev/null
+++ b/usr/src/pinyadmin/debian/copyright
@@ -0,0 +1,2 @@
+Copyright © 2010 Julian Blake Kongslie <jblake@omgwallhack.org>
+Licensed under the BSD 3-clause license.
diff --git a/usr/src/pinyadmin/debian/rules b/usr/src/pinyadmin/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/usr/src/pinyadmin/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/usr/local/sbin/addaccess b/usr/src/pinyadmin/sbin/addaccess
index 8d0cef9..8d0cef9 100755
--- a/usr/local/sbin/addaccess
+++ b/usr/src/pinyadmin/sbin/addaccess
diff --git a/usr/local/sbin/newrepo b/usr/src/pinyadmin/sbin/newrepo
index 15bbde6..15bbde6 100755
--- a/usr/local/sbin/newrepo
+++ b/usr/src/pinyadmin/sbin/newrepo
diff --git a/usr/local/sbin/newuser b/usr/src/pinyadmin/sbin/newuser
index e0b175b..e0b175b 100755
--- a/usr/local/sbin/newuser
+++ b/usr/src/pinyadmin/sbin/newuser
diff --git a/usr/local/sbin/rmaccess b/usr/src/pinyadmin/sbin/rmaccess
index f84fba0..f84fba0 100755
--- a/usr/local/sbin/rmaccess
+++ b/usr/src/pinyadmin/sbin/rmaccess
diff --git a/usr/local/sbin/rmrepo b/usr/src/pinyadmin/sbin/rmrepo
index 864830f..864830f 100755
--- a/usr/local/sbin/rmrepo
+++ b/usr/src/pinyadmin/sbin/rmrepo