Codebase list kcptun / 082c604
Pristine source of 20190109+ds Roger Shimizu 5 years ago
12 changed file(s) with 0 addition(s) and 322 deletion(s). Raw diff Collapse all Expand all
+0
-98
debian/changelog less more
0 kcptun (20180810+ds-1) unstable; urgency=medium
1
2 [ Alexandre Viau ]
3 * Point Vcs-* urls to salsa.debian.org.
4
5 [ Michael Stapelberg ]
6 * Add debian/gitlab-ci.yml (using salsa.debian.org/go-team/ci/cmd/ci).
7
8 [ Roger Shimizu ]
9 * New upstream version v20180810
10
11 -- Roger Shimizu <rogershimizu@gmail.com> Sun, 26 Aug 2018 19:00:58 +0900
12
13 kcptun (20171201+ds-1) unstable; urgency=medium
14
15 * New upstream version v20171201
16 * debian/control:
17 - Set Priority from extra to optional.
18 - Bump up Build-Depends golang-github-xtaci-kcp-dev version to 3.23
19
20 -- Roger Shimizu <rogershimizu@gmail.com> Sun, 31 Dec 2017 22:42:56 +0900
21
22 kcptun (20170930+ds-1~bpo8+1) jessie-backports-sloppy; urgency=medium
23
24 * Rebuild for jessie-backports-sloppy.
25
26 -- Roger Shimizu <rogershimizu@gmail.com> Mon, 23 Oct 2017 00:45:17 +0900
27
28 kcptun (20170930+ds-1~bpo9+1) stretch-backports; urgency=medium
29
30 * Rebuild for stretch-backports.
31
32 -- Roger Shimizu <rogershimizu@gmail.com> Mon, 23 Oct 2017 00:43:27 +0900
33
34 kcptun (20170930+ds-1) unstable; urgency=medium
35
36 * New upstream version v20170930
37 * debian/watch:
38 - Change filenamemangle to match with the filename in archive.
39 * debian/rules:
40 - Get version from script, to make lintian happy.
41 * Remove debian/source.lintian-overrides, since it's unused.
42 * debian/control:
43 - Set Testsuite to autopkgtest-pkg-go.
44 - Bump up standards version to 4.1.1 (with change above).
45
46 -- Roger Shimizu <rogershimizu@gmail.com> Sun, 15 Oct 2017 10:02:52 +0900
47
48 kcptun (20170904+ds-1~bpo8+1) jessie-backports-sloppy; urgency=medium
49
50 * Rebuild for jessie-backports-sloppy.
51
52 -- Roger Shimizu <rogershimizu@gmail.com> Tue, 19 Sep 2017 23:05:59 +0900
53
54 kcptun (20170904+ds-1~bpo9+1) stretch-backports; urgency=medium
55
56 * Rebuild for stretch-backports.
57
58 -- Roger Shimizu <rogershimizu@gmail.com> Tue, 19 Sep 2017 22:52:13 +0900
59
60 kcptun (20170904+ds-1) unstable; urgency=medium
61
62 * New upstream v20170904
63
64 -- Roger Shimizu <rogershimizu@gmail.com> Sat, 09 Sep 2017 23:55:27 +0900
65
66 kcptun (20170525+ds-1~bpo8+1) jessie-backports-sloppy; urgency=medium
67
68 * Rebuild for jessie-backports-sloppy.
69 * debian/control:
70 - Use dh-golang in jessie-backports (1.19).
71
72 -- Roger Shimizu <rogershimizu@gmail.com> Sat, 15 Jul 2017 20:40:06 +0900
73
74 kcptun (20170525+ds-1~bpo9+1) stretch-backports; urgency=medium
75
76 * Rebuild for stretch-backports.
77
78 -- Roger Shimizu <rogershimizu@gmail.com> Thu, 06 Jul 2017 00:23:29 +0900
79
80 kcptun (20170525+ds-1) unstable; urgency=medium
81
82 * New upstream v20170525
83 * First upload to unstable.
84
85 -- Roger Shimizu <rogershimizu@gmail.com> Thu, 29 Jun 2017 09:01:24 +0900
86
87 kcptun (20170329+ds-1~exp1) experimental; urgency=medium
88
89 * New upstream v20170329
90
91 -- Roger Shimizu <rogershimizu@gmail.com> Sat, 13 May 2017 17:42:19 +0900
92
93 kcptun (20170303+ds-1~exp1) experimental; urgency=medium
94
95 * Initial release (Closes: 852957)
96
97 -- Roger Shimizu <rogershimizu@gmail.com> Tue, 07 Mar 2017 22:36:47 +0900
+0
-1
debian/compat less more
0 10
+0
-33
debian/control less more
0 Source: kcptun
1 Section: net
2 Priority: optional
3 Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
4 Uploaders: Roger Shimizu <rogershimizu@gmail.com>
5 Build-Depends:
6 debhelper (>= 10),
7 dh-golang (>= 1.19~),
8 golang-any,
9 golang-github-golang-snappy-dev,
10 golang-github-pkg-errors-dev,
11 golang-github-urfave-cli-dev,
12 golang-github-xtaci-kcp-dev (>= 3.23),
13 golang-github-xtaci-smux-dev,
14 golang-golang-x-crypto-dev,
15 help2man
16 Standards-Version: 4.1.1
17 Homepage: https://github.com/xtaci/kcptun
18 Vcs-Browser: https://salsa.debian.org/go-team/packages/kcptun
19 Vcs-Git: https://salsa.debian.org/go-team/packages/kcptun.git
20 XS-Go-Import-Path: github.com/xtaci/kcptun
21 Testsuite: autopkgtest-pkg-go
22
23 Package: kcptun
24 Architecture: any
25 Built-Using: ${misc:Built-Using}
26 Depends:
27 ${shlibs:Depends},
28 ${misc:Depends}
29 Description: Simple UDP Tunnel Based On KCP
30 kcptun is a remote port forwarding tool by converting TCP stream into
31 UDP stream in KCP protocol, in order to achieve higher throughput or
32 lower latency with rich tuneable options.
+0
-38
debian/copyright less more
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: kcptun
2 Upstream-Contact: Daniel Fu <daniel820313@gmail.com>
3 Source: https://github.com/xtaci/kcptun
4 Files-Excluded:
5 rs.png
6 0x2e4b43ab3d0983da282592571eef61ae5e60f726.png
7 wechat_donate.jpg
8
9 Files: *
10 Copyright: 2016-2017 Daniel Fu <daniel820313@gmail.com>
11 License: Expat
12 Comment: License of image files is confirmed with upstream:
13 - https://github.com/xtaci/kcptun/issues/393
14 Non-free image file is removed.
15
16 Files: debian/*
17 Copyright: 2017 Roger Shimizu <rogershimizu@gmail.com>
18 License: Expat
19
20 License: Expat
21 Permission is hereby granted, free of charge, to any person obtaining a copy
22 of this software and associated documentation files (the "Software"), to deal
23 in the Software without restriction, including without limitation the rights
24 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
25 copies of the Software, and to permit persons to whom the Software is
26 furnished to do so, subject to the following conditions:
27 .
28 The above copyright notice and this permission notice shall be included in all
29 copies or substantial portions of the Software.
30 .
31 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37 SOFTWARE.
+0
-28
debian/gitlab-ci.yml less more
0
1 # auto-generated, DO NOT MODIFY.
2 # The authoritative copy of this file lives at:
3 # https://salsa.debian.org/go-team/ci/blob/master/cmd/ci/gitlabciyml.go
4
5 # TODO: publish under debian-go-team/ci
6 image: stapelberg/ci2
7
8 test_the_archive:
9 artifacts:
10 paths:
11 - before-applying-commit.json
12 - after-applying-commit.json
13 script:
14 # Create an overlay to discard writes to /srv/gopath/src after the build:
15 - "rm -rf /cache/overlay/{upper,work}"
16 - "mkdir -p /cache/overlay/{upper,work}"
17 - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src"
18 - "export GOPATH=/srv/gopath"
19 - "export GOCACHE=/cache/go"
20 # Build the world as-is:
21 - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json"
22 # Copy this package into the overlay:
23 - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'"
24 - "pgt-gopath -dsc /tmp/export/*.dsc"
25 # Rebuild the world:
26 - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json"
27 - "ci-diff before-applying-commit.json after-applying-commit.json"
+0
-28
debian/maint-tools/README less more
0 Package Maintenance Tips
1 ========================
2
3 Clone and add upstream repo:
4 $ gbp clone --pristine-tar https://anonscm.debian.org/git/pkg-go/packages/kcptun.git
5 $ cd kcptun
6 $ git remote add xtaci https://github.com/xtaci/kcptun
7
8 When upstream releases a new version:
9 $ debian/maint-tools/new_upstream
10 ## command below is optional.
11 ## if you want to touch ds source of new version from upstream,
12 ## e.g. remove more files, please do it now and then:
13 $ git add -u
14 # git diff --name-status <old-version-tag> <new-version-tag>
15 $ git commit --amend --no-edit
16 $ debian/maint-tools/update_ds_tag
17 ## make a new release
18 $ dch -i
19 $ dch -r
20 $ git add -u
21 $ git commit -m "Prepare to release x.y.z+ds-1"
22
23 Build:
24 ## general gbp build
25 $ gbp buildpackage -uc -us --git-pristine-tar
26 ## gbp build with pbuilder
27 $ gbp buildpackage --git-pristine-tar --git-pbuilder --git-export-dir=../build-area
+0
-45
debian/maint-tools/new_upstream less more
0 #!/bin/sh
1
2 if git diff-index --quiet HEAD --; then
3 git fetch --all # -or- git fetch <upstream repo>
4 else
5 echo Working directory not clean. Exiting.
6 exit 1
7 fi
8
9 tag=$(git describe --tags $(git rev-list --tags='v[0-9]*' --max-count=1))
10 ver=$(echo $tag|sed s/^v//)
11 dstag=upstream/${ver}+ds
12 rmfiles=$(awk 'BEGIN{RS=ORS="\n\n";FS=OFS="\n"}/Files-Excluded:/' debian/copyright|sed -n -e '/^Files-Excluded:/,${p}'|sed s/Files-Excluded://|sed /^$/d)
13 if git rev-parse -q --verify "refs/tags/${dstag}" >/dev/null; then
14 echo Upstream tag "${dstag}" exists already. Exiting.
15 exit 1
16 fi
17 if ! git merge $tag; then
18 git add -u
19 fi
20
21 # remove all 'Files-Excluded' files listed in debian/copyright, except debian/ folder
22 for i in $rmfiles; do if [ "$i" != "debian" ]; then git rm -rf "$i"; fi; done
23 # restore the debian/ folder from previous commit
24 git checkout HEAD debian/
25 # since backported patches should be all included in the new release, remove them all here
26 sed -i '/^backport\//d' debian/patches/series
27 git add debian/patches/series
28 git rm debian/patches/backport/*.patch
29
30 if git diff-index --quiet HEAD --; then
31 git commit --amend -m "Merge upstream tag: $tag"
32 else
33 git commit -m "Merge upstream tag: $tag"
34 fi
35
36 git rm -qrf debian/
37 git commit -m "Pristine source of ${ver}+ds"
38
39 git tag ${dstag}
40 git reset --hard HEAD^
41
42 echo
43 echo If you need to remove more files, do it now then run script to update the ds tag:
44 printf \\tdebian/maint-tools/update_ds_tag\\n
+0
-26
debian/maint-tools/update_ds_tag less more
0 #!/bin/sh
1
2 tag=$(git describe --tags $(git rev-list --tags='v[0-9]*' --max-count=1))
3 ver=$(echo $tag|sed s/^v//)
4 dstag=upstream/${ver}+ds
5
6 if git diff-index --quiet HEAD --; then
7 echo Pristine source for $ver
8 else
9 echo Working directory not clean. exiting.
10 exit 1
11 fi
12
13 git rm -qrf debian/
14 git commit -m "Pristine source of ${ver}+ds"
15 if git rev-parse -q --verify "refs/tags/${dstag}" >/dev/null; then
16 i=0
17 while git rev-parse -q --verify "refs/tags/${dstag}_prev${i}" >/dev/null; do
18 i=$(($i+1))
19 done
20 git tag ${dstag}_prev${i} $dstag
21 git tag -d $dstag
22 fi
23
24 git tag ${dstag}
25 git reset --hard HEAD^
+0
-1
debian/manpages less more
0 obj-*/*.1
+0
-16
debian/rules less more
0 #!/usr/bin/make -f
1
2 include /usr/share/dpkg/pkg-info.mk
3
4 override_dh_auto_install:
5 cd obj-$(DEB_TARGET_GNU_TYPE); \
6 for bin in server client; do \
7 mv bin/$$bin bin/kcptun-$$bin; \
8 help2man -N -n "Simple UDP Tunnel Based On KCP" \
9 --version-string="$(DEB_VERSION)" \
10 -o kcptun-$$bin.1 bin/kcptun-$$bin; \
11 done
12 dh_auto_install
13
14 %:
15 dh $@ --buildsystem=golang --with=golang
+0
-1
debian/source/format less more
0 3.0 (quilt)
+0
-7
debian/watch less more
0 version=4
1
2 opts="repack,compression=xz, \
3 dversionmangle=s/\+ds\d*$//,repacksuffix=+ds, \
4 filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/kcptun-$1.orig.tar.gz/, \
5 uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/" \
6 https://github.com/xtaci/kcptun/tags .*/v?(\d\S*)\.tar\.gz debian uupdate