summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 16:18:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 16:18:53 +0000
commitd915c7b506f6e849e3f0c11a5789df0c36aae502 (patch)
tree121300bdd6e7fba1ef92ce7328e8ff8895e57fd3
parentAdding upstream version 0.0~git20231102.2862066. (diff)
downloadgolang-github-inetaf-tcpproxy-d915c7b506f6e849e3f0c11a5789df0c36aae502.tar.xz
golang-github-inetaf-tcpproxy-d915c7b506f6e849e3f0c11a5789df0c36aae502.zip
Adding debian version 0.0~git20231102.2862066-2.debian/0.0_git20231102.2862066-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog11
-rw-r--r--debian/control34
-rw-r--r--debian/copyright29
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/gitlab-ci.yml6
-rw-r--r--debian/golang-github-inetaf-tcpproxy-dev.install1
-rw-r--r--debian/patches/auto-gitignore17
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
-rw-r--r--debian/tlsrouter.install1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch11
13 files changed, 127 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6cd79ac
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+golang-github-inetaf-tcpproxy (0.0~git20231102.2862066-2) unstable; urgency=medium
+
+ * Remove TODO from debian/copyright
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 05 Dec 2023 12:01:38 +0000
+
+golang-github-inetaf-tcpproxy (0.0~git20231102.2862066-1) unstable; urgency=medium
+
+ * Initial release (Closes: #1057406)
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 04 Dec 2023 13:35:49 +0000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d7b5755
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: golang-github-inetaf-tcpproxy
+Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Uploaders: Reinhard Tartler <siretart@tauware.de>
+Section: golang
+Testsuite: autopkgtest-pkg-go
+Priority: optional
+Build-Depends: debhelper-compat (= 13),
+ dh-golang,
+ golang-any,
+ golang-github-armon-go-proxyproto-dev
+Standards-Version: 4.6.2
+Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-inetaf-tcpproxy
+Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-inetaf-tcpproxy.git
+Homepage: https://github.com/inetaf/tcpproxy
+Rules-Requires-Root: no
+XS-Go-Import-Path: inet.af/tcpproxy
+
+Package: golang-github-inetaf-tcpproxy-dev
+Architecture: all
+Multi-Arch: foreign
+Depends: golang-github-armon-go-proxyproto-dev,
+ ${misc:Depends}
+Description: Proxy TCP implementation written in golang (library)
+ Networking utility to provide connections based on static rules, HTTP Host
+ headers, and SNI server names
+
+Package: tlsrouter
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Built-Using: ${misc:Built-Using}
+Description: Proxy TCP implementation written in golang (program)
+ Networking utility to provide connections based on static rules, HTTP Host
+ headers, and SNI server names
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b90f33a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tcpproxy
+Source: https://github.com/inetaf/tcpproxy
+
+Files: *
+Copyright: 2016, inet.af Authors
+ 2016, 2017, Google Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2023, Reinhard Tartler <siretart@tauware.de>
+License: Apache-2.0
+Comment: Debian packaging is licensed under the same terms as upstream
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+Comment:
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3d450c2
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+debian-branch = debian/sid
+dist = DEP14
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 0000000..594e14e
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,6 @@
+# auto-generated, DO NOT MODIFY.
+# The authoritative copy of this file lives at:
+# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
+---
+include:
+ - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml
diff --git a/debian/golang-github-inetaf-tcpproxy-dev.install b/debian/golang-github-inetaf-tcpproxy-dev.install
new file mode 100644
index 0000000..dd222db
--- /dev/null
+++ b/debian/golang-github-inetaf-tcpproxy-dev.install
@@ -0,0 +1 @@
+usr/share
diff --git a/debian/patches/auto-gitignore b/debian/patches/auto-gitignore
new file mode 100644
index 0000000..3ee70f9
--- /dev/null
+++ b/debian/patches/auto-gitignore
@@ -0,0 +1,17 @@
+Subject: Update .gitignore from Debian packaging branch
+
+The Debian packaging git branch contains these updates to the upstream
+.gitignore file(s). This patch is autogenerated, to provide these
+updates to users of the official Debian archive view of the package.
+
+[dgit (11.3) update-gitignore]
+---
+diff --git a/.gitignore b/.gitignore
+new file mode 100644
+index 0000000..f0cb01c
+--- /dev/null
++++ b/.gitignore
+@@ -0,0 +1,3 @@
++
++/.pc/
++/_build/
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a22980a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+
+auto-gitignore
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1d2fa43
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export DH_GOLANG_EXCLUDES := tcpproxy/scripts
+
+%:
+ dh $@ --builddirectory=_build --buildsystem=golang --with=golang
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tlsrouter.install b/debian/tlsrouter.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/tlsrouter.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2591ca8
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/inetaf/tcpproxy/issues
+Bug-Submit: https://github.com/inetaf/tcpproxy/issues/new
+Repository: https://github.com/inetaf/tcpproxy.git
+Repository-Browse: https://github.com/inetaf/tcpproxy
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d6c1dba
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,11 @@
+version=4
+opts="mode=git, pgpmode=none" \
+ https://github.com/inetaf/tcpproxy.git \
+ HEAD debian
+
+# Use the following when upstream starts to tag releases:
+#
+#version=4
+#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\
+# uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/" \
+# https://github.com/inetaf/tcpproxy/tags .*/v?(\d\S*)\.tar\.gz debian