debian/0000755000000000000000000000000012544713530007172 5ustar debian/get-git-source.sh0000755000000000000000000000123712544712751012376 0ustar #!/bin/sh set -ex PACKAGE=pluginhook BASE_REL=$(dpkg-parsechangelog 2>/dev/null | sed -ne 's/Version: \([0-9]\)\+.*/\1/p') OLDCWD="${PWD}" GOS_DIR="${OLDCWD}/get-orig-source" GIT_DESCRIBE_STR='git describe --always' TODAY="$(date '+%Y%m%d')" if [ -z "${BASE_REL}" ]; then echo 'Please run this script from the sources root directory.' exit 1 fi mkdir "${GOS_DIR}" git clone git@github.com:progrium/pluginhook.git "${GOS_DIR}/${PACKAGE}" cd "${GOS_DIR}/${PACKAGE}" GIT_DESCRIBE=$(eval "${GIT_DESCRIBE_STR}") cd "${GOS_DIR}" XZ_OPT=-f9 tar cJf \ "${OLDCWD}/${PACKAGE}_${BASE_REL}~${TODAY}.0~${GIT_DESCRIBE}.orig.tar.xz" \ "${PACKAGE}" --exclude-vcs cd "${OLDCWD}" debian/docs0000644000000000000000000000001212544712751010042 0ustar README.md debian/watch0000644000000000000000000000001612544712751010224 0ustar # Placeholder debian/copyright0000644000000000000000000000256412544712751011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: sshcommand Upstream-Contact: Jeff Lindsay Source: https://github.com/progrium/sshcommand Files: * Copyright: 2015 Jeff Lindsay License: Expat Files: debian/* Copyright: 2015 Alessio Treglia License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/changelog0000644000000000000000000000060312544713530011043 0ustar pluginhook (0~20150216.0~a320158-2) unstable; urgency=medium * Fix crypto's sub-repo import path (Closes: #790681) * Add gbp.conf -- Alessio Treglia Wed, 01 Jul 2015 08:31:27 +0100 pluginhook (0~20150216.0~a320158-1) unstable; urgency=medium * Initial release. (Closes: #778484) -- Alessio Treglia Sat, 14 Feb 2015 16:36:13 +0000 debian/control0000644000000000000000000000153612544712751010606 0ustar Source: pluginhook Section: utils Priority: extra Maintainer: Alessio Treglia Build-Depends: debhelper (>= 9~), dh-golang, golang-go, golang-go.crypto-dev, golang-godebiancontrol-dev Standards-Version: 3.9.6 Homepage: http://github.com/progrium/pluginhook Package: pluginhook Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Built-Using: ${misc:Built-Using} Description: simple plugin system for Bash programs The pluginhook command loops through all plugin directories found in the path defined by the environment variable PLUGIN_PATH and passes the same arguments to any hook scripts by that name. This means installing a plugin is as simple as putting it in your PLUGIN_PATH. . pluginhook does not only provide a mechanism for arguments broadcasting, it also accepts streams and pass them through each plugin. debian/compat0000644000000000000000000000000212544712751010374 0ustar 9 debian/rules0000755000000000000000000000044112544712751010255 0ustar #!/usr/bin/make -f export DH_OPTIONS export DH_VERBOSE=1 export DH_GOPKG := github.com/progrium/pluginhook %: dh $@ --buildsystem=golang --with=golang override_dh_auto_install: dh_auto_install rm -rf $(CURDIR)/debian/pluginhook/usr/share get-orig-source: debian/get-git-source.sh debian/source/0000755000000000000000000000000012544712751010476 5ustar debian/source/format0000644000000000000000000000001412544712751011704 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612544713467010621 0ustar [DEFAULT] pristine-tar = True debian/patches/0000755000000000000000000000000012544713221010616 5ustar debian/patches/series0000644000000000000000000000003312544713040012026 0ustar 0001-new_crypto_path.patch debian/patches/0001-new_crypto_path.patch0000644000000000000000000000117012544713361015426 0ustar Description: Update crypto's import path Author: Alessio Treglia Bug: https://github.com/progrium/pluginhook/issues/16 Origin: https://github.com/alessio/pluginhook/commit/56a7b333c55 Forwarded: https://github.com/progrium/pluginhook/pull/15 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790681 --- pluginhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- pluginhook.orig/pluginhook.go +++ pluginhook/pluginhook.go @@ -10,7 +10,7 @@ import ( "flag" "bytes" "strings" - "code.google.com/p/go.crypto/ssh/terminal" + "golang.org/x/crypto/ssh/terminal" ) func main() {