summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control11
-rw-r--r--debian/copyright27
-rw-r--r--debian/files1
-rw-r--r--debian/password-store/.keep0
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
9 files changed, 60 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7c78ed3..050b6f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
+PREFIX ?= /usr
+DESTDIR ?=
+
all:
@echo "Password store is a shell script, so there is nothing to do. Try \"make install\" instead."
install:
- @install -v src/password-store.sh /usr/bin/pass
- @install -v man/pass.1 /usr/share/man/man1/pass.1
- @install -v bash-completion/pass-bash-completion.sh /usr/share/bash-completion/pass
+ @mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)/etc/bash_completion.d
+ @install -v src/password-store.sh $(DESTDIR)$(PREFIX)/bin/pass
+ @install -v man/pass.1 $(DESTDIR)$(PREFIX)/share/man/man1/pass.1
+ @install -v bash-completion/pass-bash-completion.sh $(DESTDIR)/etc/bash_completion.d/password-store
uninstall:
- @rm -vf /usr/bin/pass /usr/share/man/man1/pass.1 /usr/share/bash-completion/pass
+ @rm -vf $(DESTDIR)$(PREFIX)/bin/pass $(DESTDIR)$(PREFIX)/share/man/man1/pass.1 $(DESTDIR)/etc/bash_completion.d/password-store
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..27546a1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+password-store (1.0-1) stable; urgency=low
+
+ * Initial release.
+
+ -- Jason A. Donenfeld <Jason@zx2c4.com> Mon, 03 Sep 2012 20:38:44 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0cb0a38
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,11 @@
+Source: password-store
+Maintainer: Jason A. Donenfeld <Jason@zx2c4.com>
+Section: admin
+Priority: optional
+Standards-Version: 3.9.2
+Build-Depends:
+
+Package: password-store
+Architecture: all
+Depends: xclip, pwgen, git-core, gnupg, tree
+Description: Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..24a61ec
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Password Store
+Source: http://git.zx2c4.com/password-store
+
+Files: *
+Copyright: Copyright 2012 Jason A. Donenfeld <Jason@zx2c4.com>
+License: GPL-2+
+ This program 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 along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..666f4c8
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+password-store_1.0-1_all.deb admin optional
diff --git a/debian/password-store/.keep b/debian/password-store/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/password-store/.keep
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..209f6de
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_install:
+ $(MAKE) DESTDIR=$$(pwd)/debian/password-store PREFIX=/usr install
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)