Package: debootstrap Severity: normal Tags: patch upstream Dear Maintainer,
The Tanglu distribution has been discontinued since 2017. As such it should be removed (patch attached). All the best and happy new year, Bastien -- System Information: Debian Release: 12.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-28-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debootstrap depends on: ii wget 1.21.3-1+b2 Versions of packages debootstrap recommends: pn arch-test <none> ii debian-archive-keyring 2023.3+deb12u1 pn gnupg <none> Versions of packages debootstrap suggests: pn binutils <none> pn squid-deb-proxy-client <none> pn ubuntu-archive-keyring <none> ii xz-utils 5.4.1-0.2 ii zstd 1.5.4+dfsg2-5
>From 33a553983d357d21b7709a36bc47d77561faff26 Mon Sep 17 00:00:00 2001 From: Bastien Traverse <neit...@archlinux.org> Date: Thu, 2 Jan 2025 16:43:22 +0100 Subject: [PATCH] Remove support for discontinued Tanglu derivative The distribution has been discontinuated since 2017. --- debian/rules | 3 - scripts/aequorea | 202 -------------------------------------------- scripts/bartholomea | 1 - scripts/chromodoris | 1 - scripts/dasyatis | 1 - 5 files changed, 208 deletions(-) delete mode 100644 scripts/aequorea delete mode 120000 scripts/bartholomea delete mode 120000 scripts/chromodoris delete mode 120000 scripts/dasyatis diff --git a/debian/rules b/debian/rules index 4c0f4ef..ae2ef31 100755 --- a/debian/rules +++ b/debian/rules @@ -3,9 +3,6 @@ ifeq (0,$(shell dpkg-vendor --derives-from Ubuntu; echo $$?)) RECOMMENDS := ubuntu-keyring SUGGESTS := debian-archive-keyring, arch-test (>= 0.11~), -else ifeq (0,$(shell dpkg-vendor --derives-from Tanglu; echo $$?)) - RECOMMENDS := tanglu-archive-keyring, arch-test (>= 0.11~), - SUGGESTS := debian-archive-keyring, ubuntu-archive-keyring, binutils, xz-utils, zstd else ifeq (0,$(shell dpkg-vendor --derives-from Kali; echo $$?)) RECOMMENDS := kali-archive-keyring, arch-test (>= 0.11~), SUGGESTS := debian-archive-keyring, ubuntu-archive-keyring, binutils, xz-utils, zstd diff --git a/scripts/aequorea b/scripts/aequorea deleted file mode 100644 index 8c68983..0000000 --- a/scripts/aequorea +++ /dev/null @@ -1,202 +0,0 @@ -mirror_style release -download_style apt -finddebs_style from-indices -variants - buildd fakechroot minbase -keyring /usr/share/keyrings/tanglu-archive-keyring.gpg -default_mirror http://archive.tanglu.org/tanglu - -if doing_variant fakechroot; then - test "$FAKECHROOT" = "true" || error 1 FAKECHROOTREQ "This variant requires fakechroot environment to be started" -fi - -case $ARCH in - alpha|ia64) LIBC="libc6.1" ;; - kfreebsd-*) LIBC="libc0.1" ;; - hurd-*) LIBC="libc0.3" ;; - *) LIBC="libc6" ;; -esac - -work_out_debs () { - required="$(get_debs Priority: required)" - - if doing_variant - || doing_variant fakechroot; then - #required="$required $(get_debs Priority: important)" - # ^^ should be getting debconf here somehow maybe - base="$(get_debs Priority: important)" - - # we want the Tanglu minimal dependency set to be installed - base="$base tanglu-minimal" - elif doing_variant buildd; then - base="apt build-essential" - elif doing_variant minbase; then - base="apt" - fi - - if doing_variant fakechroot; then - # ldd.fake needs binutils - required="$required binutils" - fi - - case $MIRRORS in - https://*) - base="$base apt-transport-https ca-certificates" - ;; - esac -} - -first_stage_install () { - extract $required - - mkdir -p "$TARGET/var/lib/dpkg" - : >"$TARGET/var/lib/dpkg/status" - : >"$TARGET/var/lib/dpkg/available" - - setup_etc - if [ ! -e "$TARGET/etc/fstab" ]; then - echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" - chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" - fi - - setup_devices - - x_feign_install () { - local pkg="$1" - local deb="$(debfor $pkg)" - local ver="$(extract_deb_field "$TARGET/$deb" Version)" - - mkdir -p "$TARGET/var/lib/dpkg/info" - - echo \ -"Package: $pkg -Version: $ver -Maintainer: unknown -Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" - - touch "$TARGET/var/lib/dpkg/info/${pkg}.list" - } - - x_feign_install dpkg -} - -second_stage_install () { - setup_dynamic_devices - - x_core_install () { - smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") - } - - p () { - baseprog="$(($baseprog + ${1:-1}))" - } - - if doing_variant fakechroot || [ "$CONTAINER" = "docker" ]; then - setup_proc_symlink - else - setup_proc - in_target /sbin/ldconfig - fi - - DEBIAN_FRONTEND=noninteractive - DEBCONF_NONINTERACTIVE_SEEN=true - export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN - - baseprog=0 - bases=7 - - p; progress $baseprog $bases INSTCORE "Installing core packages" #1 - info INSTCORE "Installing core packages..." - - p; progress $baseprog $bases INSTCORE "Installing core packages" #2 - ln -sf mawk "$TARGET/usr/bin/awk" - x_core_install base-passwd - x_core_install base-files - p; progress $baseprog $bases INSTCORE "Installing core packages" #3 - x_core_install dpkg - - if [ ! -e "$TARGET/etc/localtime" ]; then - ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" - fi - - if doing_variant fakechroot; then - install_fakechroot_tools - fi - - p; progress $baseprog $bases INSTCORE "Installing core packages" #4 - x_core_install $LIBC - - p; progress $baseprog $bases INSTCORE "Installing core packages" #5 - x_core_install perl-base - - p; progress $baseprog $bases INSTCORE "Installing core packages" #6 - rm "$TARGET/usr/bin/awk" - x_core_install mawk - - p; progress $baseprog $bases INSTCORE "Installing core packages" #7 - if doing_variant -; then - x_core_install debconf - fi - - baseprog=0 - bases=$(set -- $required; echo $#) - - info UNPACKREQ "Unpacking required packages..." - - exec 7>&1 - - smallyes '' | - (repeatn 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ - dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 || echo EXITCODE $?) | - dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING - - info CONFREQ "Configuring required packages..." - - mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" - echo \ -"#!/bin/sh -echo -echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" - chmod 755 "$TARGET/sbin/start-stop-daemon" - - setup_dselect_method apt - - smallyes '' | - (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ - dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 || echo EXITCODE $?) | - dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING - - baseprog=0 - bases="$(set -- $base; echo $#)" - - info UNPACKBASE "Unpacking the base system..." - - setup_available $required $base - done_predeps= - while predep=$(get_next_predep); do - # We have to resolve dependencies of pre-dependencies manually because - # dpkg --predep-package doesn't handle this. - predep=$(without "$(without "$(resolve_deps $predep)" "$required")" "$done_predeps") - # XXX: progress is tricky due to how dpkg_progress works - # -- cjwatson 2009-07-29 - p; smallyes '' | - in_target dpkg --force-overwrite --force-confold --skip-same-version --install $(debfor $predep) - base=$(without "$base" "$predep") - done_predeps="$done_predeps $predep" - done - - smallyes '' | - (repeatn 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ - dpkg --status-fd 8 --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 || echo EXITCODE $?) | - dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING - - info CONFBASE "Configuring the base system..." - - smallyes '' | - (repeatn 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be re-attempted up to five times." "" \ - dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 || echo EXITCODE $?) | - dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING - - mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" - - progress $bases $bases CONFBASE "Configuring base system" - info BASESUCCESS "Base system installed successfully." -} diff --git a/scripts/bartholomea b/scripts/bartholomea deleted file mode 120000 index aa62feb..0000000 --- a/scripts/bartholomea +++ /dev/null @@ -1 +0,0 @@ -aequorea \ No newline at end of file diff --git a/scripts/chromodoris b/scripts/chromodoris deleted file mode 120000 index aa62feb..0000000 --- a/scripts/chromodoris +++ /dev/null @@ -1 +0,0 @@ -aequorea \ No newline at end of file diff --git a/scripts/dasyatis b/scripts/dasyatis deleted file mode 120000 index aa62feb..0000000 --- a/scripts/dasyatis +++ /dev/null @@ -1 +0,0 @@ -aequorea \ No newline at end of file -- 2.47.1