[Pkg-gnupg-commit] [gnupg2] 02/20: Add gpgcompose package
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Jul 26 20:20:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit d0664c36a43cbf8dda3413c924f1f71eea8202de
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Sun Jun 11 00:20:27 2017 +0200
Add gpgcompose package
gpgcompose is a useful tool for test suites and for experimentation
and verification of other OpenPGP workflows. It would be nice to make
it possible for developers on Debian systems to be able to easily
access its functionality.
---
debian/clean | 1 +
debian/control | 17 ++++++++++++++
debian/gpgcompose.1 | 56 ++++++++++++++++++++++++++++++++++++++++++++++
debian/gpgcompose.install | 1 +
debian/gpgcompose.manpages | 1 +
debian/rules | 4 ++++
6 files changed, 80 insertions(+)
diff --git a/debian/clean b/debian/clean
index 922f2c9..4b27f09 100644
--- a/debian/clean
+++ b/debian/clean
@@ -3,6 +3,7 @@ po/stamp-po
build-gpgv-static/
build-gpgv-udeb/
build-gpgv-win32/
+build-maintainer/
doc/gnupg.info
doc/gnupg.info-1
doc/gnupg.info-2
diff --git a/debian/control b/debian/control
index 8b2766f..2a371be 100644
--- a/debian/control
+++ b/debian/control
@@ -372,3 +372,20 @@ Description: GNU privacy guard - localization files
.
This package contains the translation files for the use of GnuPG in
non-English locales.
+
+Package: gpgcompose
+Architecture: any
+Priority: extra
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends:
+ gnupg-agent,
+Description: GNU privacy guard - experimental OpenPGP message composition tool
+ GnuPG is GNU's tool for secure communication and data storage.
+ .
+ gpgcompose is an experimental tool for constructing arbitrary
+ sequences of OpenPGP packets. This can be useful for generating
+ weird constructs for test cases or other OpenPGP experimentation.
+
diff --git a/debian/gpgcompose.1 b/debian/gpgcompose.1
new file mode 100644
index 0000000..f92fb05
--- /dev/null
+++ b/debian/gpgcompose.1
@@ -0,0 +1,56 @@
+.TH "gpgcompose" 1 "June 2017"
+
+.SH NAME
+gpgcompose \- Generate a stream of OpenPGP packets
+
+.SH SYNOPSIS
+.B gpgcompose
+.RI [[ OPTION
+.RI [ ARGS ]]
+\&... ]
+
+.B gpgcompose --help
+
+.B gpgcompose
+.I OPTION
+.B --help
+
+.SH DESCRIPTION
+.B gpgcompose
+generates a stream of OpenPGP packets, including some which can
+include other nested packets within a layer of encryption. The syntax
+on the command line isn't stable enough to document currently, but
+additional hints and examples can be found from the command line using
+.BR \-\-help .
+
+.SH EXTERNAL DEPENDENCIES
+
+.B gpgcompose
+is not capable of performing secret key operations on its own.
+Creation of any OpenPGP object that requires secret key operations
+(e.g.,
+.BR \-\-signature )
+will need to speak to an already-running
+.BR gpg-agent .
+
+.SH FILES
+
+Occasionally,
+.B gpgcompose
+will need to look up existing public keys for reference (e.g.,
+.BR \-\-public-key ).
+It will do so in
+.BR ~/.gnupg/keyring.kbx,
+or in
+.B $GNUPGHOME/keyring.kbx
+if that variable is set.
+
+.SH SEE ALSO
+
+RFC 4880, gpg(1), gpg-agent(1), gpg-connect-agent(1)
+
+.SH AUTHOR
+gpgcompose is copyright (C) 2016, g10 Code GmbH.
+
+This manpage was written by Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
+
diff --git a/debian/gpgcompose.install b/debian/gpgcompose.install
new file mode 100644
index 0000000..cb52401
--- /dev/null
+++ b/debian/gpgcompose.install
@@ -0,0 +1 @@
+build-maintainer/g10/gpgcompose usr/bin
diff --git a/debian/gpgcompose.manpages b/debian/gpgcompose.manpages
new file mode 100644
index 0000000..55f0ef4
--- /dev/null
+++ b/debian/gpgcompose.manpages
@@ -0,0 +1 @@
+debian/gpgcompose.1
diff --git a/debian/rules b/debian/rules
index 51dabdb..590c283 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,9 @@ override_dh_auto_configure:
dh_auto_configure --builddirectory=build-gpgv-udeb -- \
--enable-gpg2-is-gpg \
$(foreach x, $(GPGV_UDEB_UNNEEDED), --disable-$(x))
+ dh_auto_configure --builddirectory=build-maintainer -- \
+ --enable-gpg2-is-gpg --enable-maintainer-mode \
+ $(foreach x, $(GPGV_UDEB_UNNEEDED), --disable-$(x))
dh_auto_configure --builddirectory=build -- --libexecdir=\$${prefix}/lib/gnupg \
--enable-gpg2-is-gpg \
--enable-wks-tools \
@@ -41,6 +44,7 @@ override_dh_auto_configure:
override_dh_auto_build-arch:
dh_auto_build --builddirectory=build-gpgv-udeb
dh_auto_build --builddirectory=build
+ dh_auto_build --builddirectory=build-maintainer
cp -a build-gpgv-udeb build-gpgv-static
rm -f build-gpgv-static/g10/gpgv
cd build-gpgv-static/g10 && $(MAKE) LDFLAGS="$$LDFLAGS $(GPGV_STATIC_HARDENING) -static" gpgv
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list