From d7d9df27a567a3f39519f3cc6b440ce480b8885e Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 12 Aug 2026 16:59:39 +0200 Subject: [PATCH] debian: Remove According to Lars Wirzenius, this is not required anymore, as it was made redundant by `rad:z2nDKoCF4hg6xVrv7v93LmWHDJKUr`. See also --- debian/build-deb | 35 --------------------------------- debian/cargo-checksum.json | 1 - debian/changelog | 23 ---------------------- debian/compat | 2 -- debian/control | 17 ---------------- debian/copyright | 10 ---------- debian/install | 1 - debian/lintian-overrides | 3 --- debian/rules | 21 -------------------- debian/source/format | 1 - debian/source/lintian-overrides | 1 - 11 files changed, 115 deletions(-) delete mode 100755 debian/build-deb delete mode 100644 debian/cargo-checksum.json delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/install delete mode 100644 debian/lintian-overrides delete mode 100755 debian/rules delete mode 100644 debian/source/format delete mode 100644 debian/source/lintian-overrides diff --git a/debian/build-deb b/debian/build-deb deleted file mode 100755 index bcd240c98..000000000 --- a/debian/build-deb +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -rm -f ../radicle*_* -git clean -fdx - -# Get name and version of source package. -name="$(dpkg-parsechangelog -SSource)" -version="$(dpkg-parsechangelog -SVersion)" - -# Get upstream version: everything before the last dash. -# shellcheck disable=SC2001 -uv="$(echo "$version" | sed 's/-[^-]*$//')" -orig="${name}_${uv}.orig.tar.xz" - -# Create a tar ball without the Debian packaging. -tmp="$(mktemp -d)" -trap 'rm -rf "$tmp"' EXIT -git archive HEAD | tar -C "$tmp" -xf - -rm -rf "$tmp/debian" -tar -C "$tmp" -cf - . | xz >"../$orig" - -# Actually build the package, without signing the .changes file. -dpkg-buildpackage -us -uc - -# Dump some information to make it easier to visually verify -# everything looks OK. Also, test the package with the lintian tool. -arch="$(dpkg --print-architecture)" -deb="../${name}_${version}_${arch}.deb" -changes="../${name}_${version}_${arch}.changes" - -ls -l "$deb" -dpkg -c "$deb" -lintian -i "$changes" diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json deleted file mode 100644 index 6852d00f5..000000000 --- a/debian/cargo-checksum.json +++ /dev/null @@ -1 +0,0 @@ -/* This file needs to exist, but can be empty. */ diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 98cc22552..000000000 --- a/debian/changelog +++ /dev/null @@ -1,23 +0,0 @@ -radicle (1.2.1-1) unstable; urgency=medium - - * New release. - - -- Sebastian Martinez Tue, 22 Jul 2025 08:10:00 +0200 - -radicle (1.2.0-1) unstable; urgency=medium - - * New release. - - -- Sebastian Martinez Tue, 3 Jun 2025 16:37:00 +0200 - -radicle (1.1.0-1) unstable; urgency=medium - - * New release. - - -- Lars Wirzenius Wed, 16 Apr 2025 12:26:26 +0300 - -radicle (0.8.0-1) unstable; urgency=medium - - * New release. - - -- Lars Wirzenius Mon, 25 Sep 2023 08:34:08 +0300 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 021ea30c0..000000000 --- a/debian/compat +++ /dev/null @@ -1,2 +0,0 @@ -10 - diff --git a/debian/control b/debian/control deleted file mode 100644 index 34d9f1651..000000000 --- a/debian/control +++ /dev/null @@ -1,17 +0,0 @@ -Source: radicle -Maintainer: The Radicle Team -Uploaders: Lars Wirzenius , Sebastian Martinez -Section: vcs -Priority: optional -Standards-Version: 4.6.2 -Build-Depends: debhelper (>= 10~), - asciidoctor -Homepage: https://radicle.dev/ - -Package: radicle -Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends}, git -Description: peer-to-peer, distributed git hosting - Radicle is a secure, decentralized and powerful alternative to code - forges such as GitHub and GitLab that preserves user sovereignty and - freedom. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index c32d23e5d..000000000 --- a/debian/copyright +++ /dev/null @@ -1,10 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: heartwood -Upstream-Contact: https://radicle.dev/ -Source: https://radicle.network/seeds/seed.radicle.dev - -Files: * -Copyright: 2019-2021, The Radicle Foundation -License: Apache-2 or Expat - License texts omitted, see LICENSE-APACHE and LICENSE-MIT in the - source tree. diff --git a/debian/install b/debian/install deleted file mode 100644 index 7e79e07c7..000000000 --- a/debian/install +++ /dev/null @@ -1 +0,0 @@ -*.1 usr/share/man/man1 diff --git a/debian/lintian-overrides b/debian/lintian-overrides deleted file mode 100644 index ba0f0dfc6..000000000 --- a/debian/lintian-overrides +++ /dev/null @@ -1,3 +0,0 @@ -radicle binary: initial-upload-closes-no-bugs -radicle binary: no-manual-page -radicle binary: unstripped-binary-or-object diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 57364b891..000000000 --- a/debian/rules +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/make -f - -DEB_BUILD_OPTIONS=nostrip -export RADICLE_VERSION=$(shell build/version) -export GIT_HEAD=$(shell git rev-parse HEAD) - -%: - dh $@ - -override_dh_auto_build: - scripts/build-man-pages.sh . *.adoc - -override_dh_auto_install: - mkdir -p debian/radicle/usr - cargo install --offline --locked --path=crates/radicle-cli --root=debian/radicle/usr - cargo install --offline --locked --path=crates/radicle-node --root=debian/radicle/usr - cargo install --offline --locked --path=crates/radicle-remote-helper --root=debian/radicle/usr - find debian/radicle -name '.crates*' -delete - -override_dh_auto_test: - echo tests are disabled, for now diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8d8..000000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides deleted file mode 100644 index 1d1033798..000000000 --- a/debian/source/lintian-overrides +++ /dev/null @@ -1 +0,0 @@ -radicle source: debian-rules-sets-DEB_BUILD_OPTIONS