summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--debian/changelog6
-rw-r--r--debian/control26
-rwxr-xr-xdebian/rules86
-rw-r--r--qtpass.pro4
5 files changed, 128 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 39c204bc..fad1f93e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,13 @@
+Makefile
+debian/qtpass*
+debian/files
+build-stamp
+qtpass
+QtPass.*
qtpass.pro.user
qtpass.xcodeproj/project.xcworkspace/xcuserdata/*
qtpass.xcodeproj/xcuserdata/*
qtpass.xcworkspace/xcuserdata/*
.DS_Store
.qmake.stash
-Makefile
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..44805c78
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+qtpass (0.8) git; urgency=low
+
+ * Initial Test Release
+
+ -- Anne Jan Brouwer <brouwer@annejan.com> Wed, 13 May 2015 16:51:09 +0200
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..a9aae4ee
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: qtpass
+Section: utilities
+Priority: optional
+Maintainer: Anne Jan Brouwer <brouwer@annejan.com>
+Build-Depends: qt5-default, qt5-qmake
+Homepage: http://qtpass.org/
+Vcs-Browser: https://github.com/IJHack/qtpass
+Vcs-Git: git@github.com:IJHack/qtpass.git
+
+Package: qtpass
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: pass
+Description: QtPass is a multi-platform GUI for pass, the standard unix password manager.
+ Features:
+ * Using pass or git and gpg2 directly
+ * Cross platform: Linux, BSD, OS X and Windows
+ * Reading pass password stores
+ * Decrypting and displaying the password and related info
+ * Editing and adding of passwords and information
+ * Updating to and from a git repository
+ * Per-folder user selection for multi recipient encryption
+ * Configuration options for backends and executable/folder locations
+ * Copying password to clipboard
+ * Configurable shoulder surfing protection options
+ * Experimental WebDAV support
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..ae34380f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,86 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ qmake CONFIG+=release
+ make
+ # --- end custom part for compiling
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ make clean || true
+ # --- end custom part for cleaning up
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package
+ # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/<nameOfPackage>
+ make install DESTDIR=/usr/src/packages/BUILD/debian/qtpass
+ # --- end custom part for installing
+
+# Build architecture-independent files here.
+binary-indep: build install
+ # We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+ dh_installcron
+ dh_installman
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/qtpass.pro b/qtpass.pro
index a844b8dd..869f65aa 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -36,6 +36,10 @@ FORMS += mainwindow.ui \
dialog.ui \
usersdialog.ui
+*-g++* {
+ QMAKE_CXXFLAGS += -std=c++11
+}
+
nosingleapp {
QMAKE_CXXFLAGS += -DSINGLE_APP=0
} else {