-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build command: $ debuild -us -uc -b
- Loading branch information
Showing
7 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
DPKG_EXPORT_BUILDFLAGS = 1 | ||
include /usr/share/dpkg/buildflags.mk | ||
|
||
LD=$(CC) | ||
|
||
CFLAGS+= -Wall | ||
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes | ||
CFLAGS+= -Wmissing-declarations | ||
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual | ||
CFLAGS+= -Wsign-compare | ||
LDADD= -lutil | ||
PREFIX?= $(DESTDIR)/usr | ||
BINDIR?= $(PREFIX)/bin | ||
MANDIR?= $(DESTDIR)/usr/share/man/man1 | ||
|
||
CPPFLAGS+=-DHAVE_PTY_H -DHAVE_UTMP_H | ||
|
||
.c.o: | ||
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -c $< -o $@ | ||
|
||
sshdrill: sshdrill.o strlcpy.o | ||
$(LD) -o $@ sshdrill.o strlcpy.o $(LDFLAGS) $(LDADD) | ||
|
||
install: sshdrill | ||
install -d $(BINDIR) | ||
install -d $(MANDIR) | ||
install sshdrill $(BINDIR) | ||
install sshdrill.1 $(MANDIR) | ||
|
||
clean: | ||
rm -f *.o sshdrill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sshdrill (0.9-1) stable; urgency=low | ||
|
||
* Initial release | ||
|
||
-- Marco Pfatschbacher <[email protected]> Fri, 25 Sep 2015 15:06:03 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Source: sshdrill | ||
Section: net | ||
Priority: extra | ||
Maintainer: Marco Pfatschbacher <[email protected]> | ||
Build-Depends: debhelper (>= 8.0.0) | ||
Standards-Version: 3.9.3 | ||
|
||
Package: sshdrill | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: a ssh wrapper to automate tunnel creation over multiple jump hosts. | ||
Imagine you are logged into a customer's server. To get there, you had | ||
to ssh through one or more jump hosts, and now you need to set up a | ||
port forwarding to debug a service. | ||
Configuring the intermediate tunnels to get a port forwarded through | ||
all the jump hosts can be tedious. sshdrill automates this task for | ||
you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 Marco Pfatschbacher | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Readme.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_configure: | ||
cp -f Makefile.debian Makefile |