This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
-
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.
- Loading branch information
Showing
8 changed files
with
80 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -24,3 +24,4 @@ _testmain.go | |
*.prof | ||
/*.iml | ||
/.idea | ||
/releases |
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,7 @@ | ||
{ | ||
"ArtifactsDest": "releases", | ||
"BuildConstraints": "linux,!386 windows,amd64 freebsd,!386 darwin,amd64", | ||
"PackageVersion": "0.1.0", | ||
"ConfigVersion": "0.9", | ||
"ResourcesInclude": "doproxy.toml,inventory.toml,sample-userdata.sh" | ||
} |
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 @@ | ||
doproxy () unreleased; urgency=low | ||
|
||
* Initial import | ||
|
||
-- Klaus Post <klauspost@gmail.com> Fri, 25 Sep 2015 13:43:20 +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,17 @@ | ||
Source: doproxy | ||
Section: devel | ||
Priority: extra | ||
Maintainer: Klaus Post <klauspost@gmail.com> | ||
Build-Depends: debhelper (>= 9.1.0), golang-go | ||
Standards-Version: 3.9.4 | ||
|
||
Package: doproxy | ||
Architecture: any | ||
Description: Reverse Proxy | ||
Long Reverse Proxy | ||
|
||
Package: doproxy-dev | ||
Architecture: all | ||
Description: Reverse Proxy - development package | ||
Long Reverse Proxy | ||
|
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,3 @@ | ||
Files: * | ||
Copyright: 2015 Klaus Post <klauspost@gmail.com> | ||
License: MIT License |
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,46 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
export GOPATH=$(CURDIR)::/usr/share/gocode | ||
|
||
PKGDIR=debian/doproxy | ||
|
||
%: | ||
dh $@ | ||
|
||
clean: | ||
dh_clean | ||
rm -rf $(CURDIR)/bin/* $(CURDIR)/pkg/* | ||
rm -f $(CURDIR)/goinstall.log | ||
|
||
binary-arch: clean | ||
dh_prep | ||
dh_installdirs | ||
cd $(CURDIR)/src && go install ./... | ||
|
||
mkdir -p $(PKGDIR)/usr/bin $(CURDIR)/bin/ | ||
mkdir -p $(PKGDIR)/usr/share/gopkg/ $(CURDIR)/pkg/ | ||
|
||
BINFILES=$(wildcard $(CURDIR)/bin/*) | ||
|
||
for x in$(BINFILES); do \ | ||
cp $$x $(PKGDIR)/usr/bin/; \ | ||
done; | ||
|
||
PKGFILES=$(wildcard $(CURDIR)/pkg/*.a) | ||
for x in$(PKGFILES); do \ | ||
cp $$x $(PKGDIR)/usr/share/gopkg/; \ | ||
done; | ||
|
||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
dh_installdeb | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-arch |
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
File renamed without changes.