initial packaging
Sascha Steinbiss
3 years ago
|
0 |
golang-github-farsightsec-go-nmsg (0.0~git20190917.04d2174-1) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Initial release (Closes: #942812)
|
|
3 |
|
|
4 |
-- Sascha Steinbiss <satta@debian.org> Mon, 21 Oct 2019 22:29:54 +0200
|
|
0 |
Source: golang-github-farsightsec-go-nmsg
|
|
1 |
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
|
|
2 |
Uploaders:
|
|
3 |
Sascha Steinbiss <satta@debian.org>,
|
|
4 |
Section: devel
|
|
5 |
Testsuite: autopkgtest-pkg-go
|
|
6 |
Priority: optional
|
|
7 |
Build-Depends:
|
|
8 |
debhelper-compat (= 12),
|
|
9 |
dh-golang,
|
|
10 |
Build-Depends-Indep:
|
|
11 |
golang-any,
|
|
12 |
golang-goprotobuf-dev,
|
|
13 |
golang-yaml.v2-dev,
|
|
14 |
golang-github-dnstap-golang-dnstap-dev
|
|
15 |
Standards-Version: 4.4.0
|
|
16 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-farsightsec-go-nmsg
|
|
17 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-farsightsec-go-nmsg.git
|
|
18 |
Homepage: https://github.com/farsightsec/go-nmsg
|
|
19 |
Rules-Requires-Root: no
|
|
20 |
XS-Go-Import-Path: github.com/farsightsec/go-nmsg
|
|
21 |
|
|
22 |
Package: golang-github-farsightsec-go-nmsg-dev
|
|
23 |
Architecture: all
|
|
24 |
Depends:
|
|
25 |
${misc:Depends},
|
|
26 |
golang-goprotobuf-dev,
|
|
27 |
golang-yaml.v2-dev,
|
|
28 |
golang-github-dnstap-golang-dnstap-dev
|
|
29 |
Description: Golang implementation of the nmsg network message encapsulation library
|
|
30 |
go-nmsg is a pure go implementation of the NMSG container and payload format used by the
|
|
31 |
C nmsg toolkit and library.
|
|
32 |
It can pack and unpack the protobuf structure of an NMSG payload, and the protobuf
|
|
33 |
structure of the data contained in the payload. It does not implement the full
|
|
34 |
functionality of the C libnmsg message modules, such as:
|
|
35 |
.
|
|
36 |
- Advanced field types (e.g., a protobuf []byte as an IP address)
|
|
37 |
- Generated fields
|
|
38 |
- Formatting of fields for presentation and JSON output
|
|
0 |
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
1 |
Source: https://github.com/farsightsec/go-nmsg
|
|
2 |
Upstream-Name: go-nmsg
|
|
3 |
Files-Excluded:
|
|
4 |
Godeps/_workspace
|
|
5 |
|
|
6 |
Files:
|
|
7 |
*
|
|
8 |
Copyright:
|
|
9 |
2019 Farsight Security, Inc.
|
|
10 |
License: TODO
|
|
11 |
|
|
12 |
Files:
|
|
13 |
debian/*
|
|
14 |
Copyright:
|
|
15 |
2019 Sascha Steinbiss <satta@debian.org>
|
|
16 |
License: TODO
|
|
17 |
Comment: Debian packaging is licensed under the same terms as upstream
|
|
18 |
|
|
19 |
License: TODO
|
|
20 |
TODO⏎
|
|
0 |
[DEFAULT]
|
|
1 |
pristine-tar = True
|
|
0 |
--- a/container_test.go
|
|
1 |
+++ b/container_test.go
|
|
2 |
@@ -10,7 +10,7 @@
|
|
3 |
|
|
4 |
// These tests verify container compatibility between C libnmsg (wrapped in
|
|
5 |
// cgo-nmsg) and go-nmsg, both with and without compression.
|
|
6 |
-
|
|
7 |
+/*
|
|
8 |
import (
|
|
9 |
"bytes"
|
|
10 |
"log"
|
|
11 |
@@ -175,4 +175,4 @@
|
|
12 |
}
|
|
13 |
|
|
14 |
t.Error("payload mismatch")
|
|
15 |
-}
|
|
16 |
+}*/
|
|
0 |
#!/usr/bin/make -f
|
|
1 |
|
|
2 |
export DH_GOLANG_EXCLUDES := cgo-nmsg container_test
|
|
3 |
|
|
4 |
%:
|
|
5 |
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
|
|
0 |
version=4
|
|
1 |
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-farsightsec-go-nmsg-\$1\.tar\.gz/,\
|
|
2 |
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
|
|
3 |
https://github.com/farsightsec/go-nmsg/tags .*/v?(\d\S*)\.tar\.gz
|