intialize debian packaging

This commit is contained in:
lair repo key
2019-02-23 21:22:56 -05:00
parent 3f92178574
commit 2a1ca1d3aa
8 changed files with 84 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
apt-transport-i2phttp (0.0~git20190224.6dc102d-1) UNRELEASED; urgency=medium
* Initial release (Closes: TODO)
-- idk <hankhill19580@gmail.com> Sat, 23 Feb 2019 21:21:35 -0500

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
11

47
debian/control vendored Normal file
View File

@ -0,0 +1,47 @@
Source: apt-transport-i2phttp
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: idk <hankhill19580@gmail.com>
Build-Depends: debhelper (>= 11),
dh-golang,
golang-any
Standards-Version: 4.2.1
Homepage: https://github.com/eyedeekay/apt-transport-i2phttp
Vcs-Browser: https://salsa.debian.org/go-team/packages/apt-transport-i2phttp
Vcs-Git: https://salsa.debian.org/go-team/packages/apt-transport-i2phttp.git
XS-Go-Import-Path: github.com/eyedeekay/apt-transport-i2phttp
Testsuite: autopkgtest-pkg-go
Package: apt-transport-i2phttp
Architecture: any
Built-Using: ${misc:Built-Using}
Depends: ${misc:Depends},
${shlibs:Depends}
Description: An apt transport for i2p using the built-in HTTP proxy
apt-transport-i2phttp, HTTP-based I2P Transport for apt This
is a simple transport for downloading debian packages from a
repository over i2p. It uses the built-in HTTP proxy or one you
configure. It's a modified version of diocles/apt-tranport-http-golang
(https://github.com/diocles/apt-transport-http-golang), a plain HTTP
Transport for apt.
.
Besides that, I think most would agree that it is simpler to use
an apt transport to detect when a package should be retrieved
from an i2p service. Especially in cases where the user is mixing
packages from Tor, I2P, and Clearnet sources, this process can become
confusing and involve configuring multiple applications along with
apt. Instead, apt-transport-i2phttp works with other apt transports like
apt-transport-tor and even apt-transport-i2p(A SAM based alternate i2p
transport), requiring no configuration on the vast majority of systems.
To install it: As long as you have an i2p router installed the http
proxy should be enabled by default. You can just:
make build && sudo make install
.
to install ./apt-transport-i2phttp to /usr/lib/apt/methods/i2p, requiring
no additional configuration. To use it: To add an eepSite to your
sources.list, for example(This example site is down, I'll have a new
one for you to use shortly):
deb
i2p://http://wnhxwrq4fkn3cov6bnqsdaniubeo3625rmsm53yaz336bxvtiqeq.b32.i2p/deb-pkg
rolling main

17
debian/copyright vendored Normal file
View File

@ -0,0 +1,17 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: apt-transport-i2phttp
Source: https://github.com/eyedeekay/apt-transport-i2phttp
Files-Excluded:
Godeps/_workspace
Files: *
Copyright: 2019 idk
License: TODO
Files: debian/*
Copyright: 2019 idk <hankhill19580@gmail.com>
License: TODO
Comment: Debian packaging is licensed under the same terms as upstream
License: TODO
TODO

2
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,2 @@
[DEFAULT]
pristine-tar = True

7
debian/rules vendored Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
override_dh_auto_install:
dh_auto_install -- --no-source
%:
dh $@ --buildsystem=golang --with=golang

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/apt-transport-i2phttp-\$1\.tar\.gz/,\
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
https://github.com/eyedeekay/apt-transport-i2phttp/tags .*/v?(\d\S*)\.tar\.gz