From 0d597cde46e54015043b0d986cfb6d0dc2bdf4e8 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 27 Oct 2020 12:06:14 -0700 Subject: [PATCH] Remove generated files. --- .../snap/hooks/post-refresh | 21 ---------- certbot-dns-cloudflare/snap/snapcraft.yaml | 41 ------------------- certbot-dns-cloudxns/snap/hooks/post-refresh | 21 ---------- certbot-dns-cloudxns/snap/snapcraft.yaml | 41 ------------------- .../snap/hooks/post-refresh | 21 ---------- certbot-dns-digitalocean/snap/snapcraft.yaml | 41 ------------------- certbot-dns-dnsimple/snap/hooks/post-refresh | 21 ---------- certbot-dns-dnsimple/snap/snapcraft.yaml | 41 ------------------- .../snap/hooks/post-refresh | 21 ---------- certbot-dns-dnsmadeeasy/snap/snapcraft.yaml | 41 ------------------- certbot-dns-gehirn/snap/hooks/post-refresh | 21 ---------- certbot-dns-gehirn/snap/snapcraft.yaml | 41 ------------------- certbot-dns-google/snap/hooks/post-refresh | 21 ---------- certbot-dns-google/snap/snapcraft.yaml | 41 ------------------- certbot-dns-linode/snap/hooks/post-refresh | 21 ---------- certbot-dns-linode/snap/snapcraft.yaml | 41 ------------------- certbot-dns-luadns/snap/hooks/post-refresh | 21 ---------- certbot-dns-luadns/snap/snapcraft.yaml | 41 ------------------- certbot-dns-nsone/snap/hooks/post-refresh | 21 ---------- certbot-dns-nsone/snap/snapcraft.yaml | 41 ------------------- certbot-dns-ovh/snap/hooks/post-refresh | 21 ---------- certbot-dns-ovh/snap/snapcraft.yaml | 41 ------------------- certbot-dns-rfc2136/snap/hooks/post-refresh | 21 ---------- certbot-dns-rfc2136/snap/snapcraft.yaml | 41 ------------------- certbot-dns-route53/snap/hooks/post-refresh | 21 ---------- certbot-dns-route53/snap/snapcraft.yaml | 41 ------------------- .../snap/hooks/post-refresh | 21 ---------- certbot-dns-sakuracloud/snap/snapcraft.yaml | 41 ------------------- 28 files changed, 868 deletions(-) delete mode 100644 certbot-dns-cloudflare/snap/hooks/post-refresh delete mode 100644 certbot-dns-cloudflare/snap/snapcraft.yaml delete mode 100644 certbot-dns-cloudxns/snap/hooks/post-refresh delete mode 100644 certbot-dns-cloudxns/snap/snapcraft.yaml delete mode 100644 certbot-dns-digitalocean/snap/hooks/post-refresh delete mode 100644 certbot-dns-digitalocean/snap/snapcraft.yaml delete mode 100644 certbot-dns-dnsimple/snap/hooks/post-refresh delete mode 100644 certbot-dns-dnsimple/snap/snapcraft.yaml delete mode 100644 certbot-dns-dnsmadeeasy/snap/hooks/post-refresh delete mode 100644 certbot-dns-dnsmadeeasy/snap/snapcraft.yaml delete mode 100644 certbot-dns-gehirn/snap/hooks/post-refresh delete mode 100644 certbot-dns-gehirn/snap/snapcraft.yaml delete mode 100644 certbot-dns-google/snap/hooks/post-refresh delete mode 100644 certbot-dns-google/snap/snapcraft.yaml delete mode 100644 certbot-dns-linode/snap/hooks/post-refresh delete mode 100644 certbot-dns-linode/snap/snapcraft.yaml delete mode 100644 certbot-dns-luadns/snap/hooks/post-refresh delete mode 100644 certbot-dns-luadns/snap/snapcraft.yaml delete mode 100644 certbot-dns-nsone/snap/hooks/post-refresh delete mode 100644 certbot-dns-nsone/snap/snapcraft.yaml delete mode 100644 certbot-dns-ovh/snap/hooks/post-refresh delete mode 100644 certbot-dns-ovh/snap/snapcraft.yaml delete mode 100644 certbot-dns-rfc2136/snap/hooks/post-refresh delete mode 100644 certbot-dns-rfc2136/snap/snapcraft.yaml delete mode 100644 certbot-dns-route53/snap/hooks/post-refresh delete mode 100644 certbot-dns-route53/snap/snapcraft.yaml delete mode 100644 certbot-dns-sakuracloud/snap/hooks/post-refresh delete mode 100644 certbot-dns-sakuracloud/snap/snapcraft.yaml diff --git a/certbot-dns-cloudflare/snap/hooks/post-refresh b/certbot-dns-cloudflare/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-cloudflare/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-cloudflare/snap/snapcraft.yaml b/certbot-dns-cloudflare/snap/snapcraft.yaml deleted file mode 100644 index 7473915c9..000000000 --- a/certbot-dns-cloudflare/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-cloudflare -summary: Cloudflare DNS Authenticator plugin for Certbot -description: Cloudflare DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-cloudflare - -parts: - certbot-dns-cloudflare: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-cloudxns/snap/hooks/post-refresh b/certbot-dns-cloudxns/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-cloudxns/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-cloudxns/snap/snapcraft.yaml b/certbot-dns-cloudxns/snap/snapcraft.yaml deleted file mode 100644 index 96c1410a3..000000000 --- a/certbot-dns-cloudxns/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-cloudxns -summary: CloudXNS DNS Authenticator plugin for Certbot -description: CloudXNS DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-cloudxns - -parts: - certbot-dns-cloudxns: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-digitalocean/snap/hooks/post-refresh b/certbot-dns-digitalocean/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-digitalocean/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-digitalocean/snap/snapcraft.yaml b/certbot-dns-digitalocean/snap/snapcraft.yaml deleted file mode 100644 index 94b1896f2..000000000 --- a/certbot-dns-digitalocean/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-digitalocean -summary: DigitalOcean DNS Authenticator plugin for Certbot -description: DigitalOcean DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-digitalocean - -parts: - certbot-dns-digitalocean: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-dnsimple/snap/hooks/post-refresh b/certbot-dns-dnsimple/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-dnsimple/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-dnsimple/snap/snapcraft.yaml b/certbot-dns-dnsimple/snap/snapcraft.yaml deleted file mode 100644 index 929d1fa08..000000000 --- a/certbot-dns-dnsimple/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-dnsimple -summary: DNSimple DNS Authenticator plugin for Certbot -description: DNSimple DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-dnsimple - -parts: - certbot-dns-dnsimple: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh b/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-dnsmadeeasy/snap/snapcraft.yaml b/certbot-dns-dnsmadeeasy/snap/snapcraft.yaml deleted file mode 100644 index 2a3c1db37..000000000 --- a/certbot-dns-dnsmadeeasy/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-dnsmadeeasy -summary: DNS Made Easy DNS Authenticator plugin for Certbot -description: DNS Made Easy DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-dnsmadeeasy - -parts: - certbot-dns-dnsmadeeasy: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-gehirn/snap/hooks/post-refresh b/certbot-dns-gehirn/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-gehirn/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-gehirn/snap/snapcraft.yaml b/certbot-dns-gehirn/snap/snapcraft.yaml deleted file mode 100644 index 14d51d8a5..000000000 --- a/certbot-dns-gehirn/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-gehirn -summary: Gehirn Infrastructure Service DNS Authenticator plugin for Certbot -description: Gehirn Infrastructure Service DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-gehirn - -parts: - certbot-dns-gehirn: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-google/snap/hooks/post-refresh b/certbot-dns-google/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-google/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-google/snap/snapcraft.yaml b/certbot-dns-google/snap/snapcraft.yaml deleted file mode 100644 index acede600d..000000000 --- a/certbot-dns-google/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-google -summary: Google Cloud DNS Authenticator plugin for Certbot -description: Google Cloud DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-google - -parts: - certbot-dns-google: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-linode/snap/hooks/post-refresh b/certbot-dns-linode/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-linode/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-linode/snap/snapcraft.yaml b/certbot-dns-linode/snap/snapcraft.yaml deleted file mode 100644 index d86c2d37c..000000000 --- a/certbot-dns-linode/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-linode -summary: Linode DNS Authenticator plugin for Certbot -description: Linode DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-linode - -parts: - certbot-dns-linode: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-luadns/snap/hooks/post-refresh b/certbot-dns-luadns/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-luadns/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-luadns/snap/snapcraft.yaml b/certbot-dns-luadns/snap/snapcraft.yaml deleted file mode 100644 index a788d8c02..000000000 --- a/certbot-dns-luadns/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-luadns -summary: LuaDNS Authenticator plugin for Certbot -description: LuaDNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-luadns - -parts: - certbot-dns-luadns: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-nsone/snap/hooks/post-refresh b/certbot-dns-nsone/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-nsone/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-nsone/snap/snapcraft.yaml b/certbot-dns-nsone/snap/snapcraft.yaml deleted file mode 100644 index a73bcfa7d..000000000 --- a/certbot-dns-nsone/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-nsone -summary: NS1 DNS Authenticator plugin for Certbot -description: NS1 DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-nsone - -parts: - certbot-dns-nsone: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-ovh/snap/hooks/post-refresh b/certbot-dns-ovh/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-ovh/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-ovh/snap/snapcraft.yaml b/certbot-dns-ovh/snap/snapcraft.yaml deleted file mode 100644 index 13b6eb546..000000000 --- a/certbot-dns-ovh/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-ovh -summary: OVH DNS Authenticator plugin for Certbot -description: OVH DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-ovh - -parts: - certbot-dns-ovh: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-rfc2136/snap/hooks/post-refresh b/certbot-dns-rfc2136/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-rfc2136/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-rfc2136/snap/snapcraft.yaml b/certbot-dns-rfc2136/snap/snapcraft.yaml deleted file mode 100644 index 6d791fc82..000000000 --- a/certbot-dns-rfc2136/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-rfc2136 -summary: RFC 2136 DNS Authenticator plugin for Certbot -description: RFC 2136 DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-rfc2136 - -parts: - certbot-dns-rfc2136: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-route53/snap/hooks/post-refresh b/certbot-dns-route53/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-route53/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-route53/snap/snapcraft.yaml b/certbot-dns-route53/snap/snapcraft.yaml deleted file mode 100644 index e87e06c01..000000000 --- a/certbot-dns-route53/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-route53 -summary: Route53 DNS Authenticator plugin for Certbot -description: Route53 DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-route53 - -parts: - certbot-dns-route53: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared diff --git a/certbot-dns-sakuracloud/snap/hooks/post-refresh b/certbot-dns-sakuracloud/snap/hooks/post-refresh deleted file mode 100644 index bcb0dbbb4..000000000 --- a/certbot-dns-sakuracloud/snap/hooks/post-refresh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. - -# get certbot version -if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then - echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog" - exit 0 -fi -cb_installed=$(cat $SNAP/certbot-shared/certbot-version.txt) - -# get required certbot version for plugin. certbot version must be at least the plugin's -# version. note that this is not the required version in setup.py, but the version number itself. -cb_required=$(grep -oP "version = '\K.*(?=')" $SNAP/setup.py) - - -$SNAP/bin/python3 -c "import sys; from packaging import version; sys.exit(1) if version.parse('$cb_installed') < version.parse('$cb_required') else sys.exit(0)" || exit_code=$? -if [ "$exit_code" -eq 1 ]; then - echo "Certbot is version $cb_installed but needs to be at least $cb_required before" \ - "this plugin can be updated; will try again on next refresh." - exit 1 -fi diff --git a/certbot-dns-sakuracloud/snap/snapcraft.yaml b/certbot-dns-sakuracloud/snap/snapcraft.yaml deleted file mode 100644 index 06b3fb83a..000000000 --- a/certbot-dns-sakuracloud/snap/snapcraft.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# This file is generated by tools/generate_dnsplugins_snapcraft.sh and should not be edited manually. -name: certbot-dns-sakuracloud -summary: Sakura Cloud DNS Authenticator plugin for Certbot -description: Sakura Cloud DNS Authenticator plugin for Certbot -confinement: strict -grade: stable -base: core20 -adopt-info: certbot-dns-sakuracloud - -parts: - certbot-dns-sakuracloud: - plugin: python - source: . - constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] - override-pull: | - snapcraftctl pull - snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` - build-environment: - - SNAP_BUILD: "True" - # To build cryptography and cffi if needed - build-packages: [gcc, libffi-dev, libssl-dev, python3-dev] - certbot-metadata: - plugin: dump - source: . - stage: [setup.py, certbot-shared] - override-pull: | - snapcraftctl pull - mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared - -slots: - certbot: - interface: content - content: certbot-1 - read: - - $SNAP/lib/python3.8/site-packages - -plugs: - certbot-metadata: - interface: content - content: metadata-1 - target: $SNAP/certbot-shared