diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/changelog go-exploitdb-0.0~git20181130.7c961e7/debian/changelog --- go-exploitdb-0.0~git20181130.7c961e7/debian/changelog 2023-02-15 10:12:50.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/changelog 2023-08-16 11:06:17.000000000 +0000 @@ -1,8 +1,22 @@ -go-exploitdb (0.0~git20181130.7c961e7-2ubuntu1) lunar; urgency=medium +go-exploitdb (0.0~git20181130.7c961e7-3) unstable; urgency=medium - * No change rebuild to bump version number + * Team upload - -- Eduardo Barretto Wed, 15 Feb 2023 11:12:50 +0100 + [ Debian Janitor ] + * Bump debhelper dependency to >= 11, since that's what is used in + debian/compat. + * Bump debhelper from old 11 to 13. + * Set debhelper-compat version in Build-Depends. + * Set upstream metadata fields: Bug-Database, Bug-Submit. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse. + + [ Shengjing Zhu ] + * Replace golang-gopkg-cheggaaa-pb.v1-dev with + golang-github-cheggaaa-pb-dev + * Replace golang-github-labstack-echo.v3-dev with + golang-github-labstack-echo-dev + + -- Shengjing Zhu Wed, 16 Aug 2023 19:06:17 +0800 go-exploitdb (0.0~git20181130.7c961e7-2) unstable; urgency=medium diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/compat go-exploitdb-0.0~git20181130.7c961e7/debian/compat --- go-exploitdb-0.0~git20181130.7c961e7/debian/compat 2021-09-07 04:43:33.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/control go-exploitdb-0.0~git20181130.7c961e7/debian/control --- go-exploitdb-0.0~git20181130.7c961e7/debian/control 2023-02-15 10:12:50.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/control 2023-08-16 11:06:17.000000000 +0000 @@ -1,10 +1,9 @@ Source: go-exploitdb Section: devel Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debian Go Packaging Team +Maintainer: Debian Go Packaging Team Uploaders: Nobuhiro Iwamatsu -Build-Depends: debhelper, +Build-Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-asaskevich-govalidator-dev, @@ -19,8 +18,8 @@ golang-github-pkg-errors-dev, golang-github-spf13-viper-dev, golang-golang-x-net-dev, - golang-gopkg-cheggaaa-pb.v1-dev, - golang-github-labstack-echo.v3-dev + golang-github-cheggaaa-pb-dev, + golang-github-labstack-echo-dev Standards-Version: 4.2.1 Homepage: https://github.com/mozqnet/go-exploitdb Vcs-Browser: https://salsa.debian.org/go-team/packages/go-exploitdb @@ -55,7 +54,7 @@ golang-github-pkg-errors-dev, golang-github-spf13-viper-dev, golang-golang-x-net-dev, - golang-gopkg-cheggaaa-pb.v1-dev + golang-github-cheggaaa-pb-dev Description: builds a local copy of the Exploit-DB (OffensiveSecurity) (source) go-exploitdb is a tool for searching Exploits from Exploit-DB (OffensiveSecurity) by CVE number or Exploit Database ID. Exploits are diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/gitlab-ci.yml go-exploitdb-0.0~git20181130.7c961e7/debian/gitlab-ci.yml --- go-exploitdb-0.0~git20181130.7c961e7/debian/gitlab-ci.yml 2021-09-07 04:43:33.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/gitlab-ci.yml 2023-08-16 11:06:17.000000000 +0000 @@ -1,28 +1,6 @@ - # auto-generated, DO NOT MODIFY. # The authoritative copy of this file lives at: -# https://salsa.debian.org/go-team/ci/blob/master/cmd/ci/gitlabciyml.go - -# TODO: publish under debian-go-team/ci -image: stapelberg/ci2 - -test_the_archive: - artifacts: - paths: - - before-applying-commit.json - - after-applying-commit.json - script: - # Create an overlay to discard writes to /srv/gopath/src after the build: - - "rm -rf /cache/overlay/{upper,work}" - - "mkdir -p /cache/overlay/{upper,work}" - - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src" - - "export GOPATH=/srv/gopath" - - "export GOCACHE=/cache/go" - # Build the world as-is: - - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json" - # Copy this package into the overlay: - - "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'" - - "pgt-gopath -dsc /tmp/export/*.dsc" - # Rebuild the world: - - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json" - - "ci-diff before-applying-commit.json after-applying-commit.json" +# 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 -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/patches/0001-use-github.com-cheggaaa-pb.patch go-exploitdb-0.0~git20181130.7c961e7/debian/patches/0001-use-github.com-cheggaaa-pb.patch --- go-exploitdb-0.0~git20181130.7c961e7/debian/patches/0001-use-github.com-cheggaaa-pb.patch 1970-01-01 00:00:00.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/patches/0001-use-github.com-cheggaaa-pb.patch 2023-08-16 11:06:17.000000000 +0000 @@ -0,0 +1,21 @@ +From: Shengjing Zhu +Date: Wed, 16 Aug 2023 19:01:28 +0800 +Subject: use github.com/cheggaaa/pb + +--- + db/redis.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/db/redis.go b/db/redis.go +index eca07cb..0a79e99 100644 +--- a/db/redis.go ++++ b/db/redis.go +@@ -7,7 +7,7 @@ import ( + "github.com/go-redis/redis" + "github.com/inconshreveable/log15" + "github.com/mozqnet/go-exploitdb/models" +- pb "gopkg.in/cheggaaa/pb.v1" ++ pb "github.com/cheggaaa/pb" + ) + + /** diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/patches/echo.patch go-exploitdb-0.0~git20181130.7c961e7/debian/patches/echo.patch --- go-exploitdb-0.0~git20181130.7c961e7/debian/patches/echo.patch 2021-09-07 04:43:33.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/patches/echo.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -Description: Fix import path of labstack-echo from echo to echo.v3 - version 3 of echo has been renamed to echo.v3 in debian. - Therefore, we need to change import path of this package from echo to echo.v3. -Forwarded: not-needed -Author: Nobuhiro Iwamatsu -Last-Update: 2019-12-17 - -diff --git a/server/server.go b/server/server.go -index 7899cde..b1b5b2a 100644 ---- a/server/server.go -+++ b/server/server.go -@@ -7,8 +7,8 @@ import ( - "path/filepath" - - "github.com/inconshreveable/log15" -- "github.com/labstack/echo" -- "github.com/labstack/echo/middleware" -+ "github.com/labstack/echo.v3" -+ "github.com/labstack/echo.v3/middleware" - c "github.com/mozqnet/go-exploitdb/config" - "github.com/mozqnet/go-exploitdb/db" - ) diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/patches/series go-exploitdb-0.0~git20181130.7c961e7/debian/patches/series --- go-exploitdb-0.0~git20181130.7c961e7/debian/patches/series 2021-09-07 04:43:33.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/patches/series 2023-08-16 11:06:17.000000000 +0000 @@ -1 +1 @@ -echo.patch +0001-use-github.com-cheggaaa-pb.patch diff -Nru go-exploitdb-0.0~git20181130.7c961e7/debian/upstream/metadata go-exploitdb-0.0~git20181130.7c961e7/debian/upstream/metadata --- go-exploitdb-0.0~git20181130.7c961e7/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ go-exploitdb-0.0~git20181130.7c961e7/debian/upstream/metadata 2023-08-16 11:06:17.000000000 +0000 @@ -0,0 +1,4 @@ +--- +Bug-Database: https://github.com/vulsio/go-exploitdb/issues +Bug-Submit: https://github.com/vulsio/go-exploitdb/issues/new +Repository-Browse: https://github.com/vulsio/go-exploitdb