summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2023-10-18 18:13:27 -0700
committerArmin Kuster <akuster808@gmail.com>2023-10-30 07:14:02 -0400
commit2252f9c452ea8c19a9c74bfb1727d6f277139406 (patch)
treefebcc922c5f925178ed4dab8b86c129564f9eacc
parent5fe09a857dffb823f681fcd7878a13d410ffa10e (diff)
downloadmeta-openembedded-2252f9c452ea8c19a9c74bfb1727d6f277139406.tar.gz
debsums: remove old recipe
The debsums recipe has not been substantially touched since 2020 when it was moved to dynamic-layers. In meta-openembedded ecosystem, it is the only known recipe that depends on po4a, which is being removed in a separate commit. According to the layerindex, no known recipes depend on debsums: https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Adebsums Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 405264645c953240442e0bf4ffcd59db515ba837) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend2
-rw-r--r--meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb56
2 files changed, 1 insertions, 57 deletions
diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
index 8cb8d22a2d..5c48fd5c03 100644
--- a/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
+++ b/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
@@ -1 +1 @@
RDEPENDS:packagegroup-meta-oe-support += "debsums rasdaemon" RDEPENDS:packagegroup-meta-oe-support += "rasdaemon"
diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb b/meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb
deleted file mode 100644
index 252db1994e..0000000000
--- a/meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb
+++ /dev/null
@@ -1,56 +0,0 @@
1SUMMARY = "Miscellaneous utilities specific to Debian"
2SUMMARY:${PN}-cron = "Cron scripts to control automatic debsum checking"
3DESCRIPTION = "A tool for verification of installed package files against \
4MD5 checksums debsums can verify the integrity of installed package files \
5against MD5 checksums installed by the package, or generated from a .deb \
6archive."
7DESCRIPTION:${PN}-cron = "Cron scripts to control automatic system integrity \
8checking via debsums."
9SECTION = "base"
10LICENSE = "GPL-2.0-only"
11LIC_FILES_CHKSUM = "file://debian/copyright;md5=770d751553e6559e9eaefd2e11ccf7e9"
12
13SRC_URI = "http://snapshot.debian.org/archive/debian/20170530T212108Z/pool/main/d/debsums/debsums_2.2.2.tar.xz"
14SRC_URI[md5sum] = "82b0710855a7e5212d4358163a269e79"
15SRC_URI[sha256sum] = "aa61896f93a6bbfe0161c21dcd67529ae8e1ec8c3ccf244523c52c4ad8253d97"
16
17# the package is taken from snapshots.debian.org; that source is static and goes stale
18# so we check the latest upstream from a directory that does get updated
19UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/"
20
21inherit perlnative gettext
22
23DEPENDS += "po4a-native"
24
25do_install() {
26 install -d ${D}/${sysconfdir}/cron.daily ${D}/${sysconfdir}/cron.weekly
27 install -d ${D}/${sysconfdir}/cron.monthly ${D}${sbindir} ${D}${bindir}
28 install -d ${D}${mandir}/man1 ${D}${mandir}/man8
29 install -m 0755 debsums ${D}${bindir}/
30 install -m 0755 rdebsums ${D}${bindir}/
31 install -m 0755 debsums_init ${D}${sbindir}
32 install -m 0644 man/debsums.1 ${D}${mandir}/man1/
33 install -m 0644 man/rdebsums.1 ${D}${mandir}/man1/
34 install -m 0644 man/debsums_init.8 ${D}${mandir}/man8/
35 install -m 0644 debian/cron.daily \
36 ${D}/${sysconfdir}/cron.daily/debsums
37 install -m 0644 debian/cron.weekly \
38 ${D}/${sysconfdir}/cron.weekly/debsums
39 install -m 0644 debian/cron.monthly \
40 ${D}/${sysconfdir}/cron.monthly/debsums
41 # Must exist, defaults to empty.
42 touch ${D}/${sysconfdir}/debsums-ignore
43}
44
45PACKAGES =+ "${PN}-cron"
46
47RDEPENDS:${PN} = "dpkg dpkg-perl libfile-fnmatch-perl perl \
48 perl-module-constant perl-module-digest-md5 \
49 perl-module-errno perl-module-fcntl \
50 perl-module-file-basename perl-module-file-copy \
51 perl-module-file-find perl-module-file-glob \
52 perl-module-file-path perl-module-file-spec \
53 perl-module-file-temp perl-module-getopt-long \
54 perl-module-posix"
55
56FILES:${PN}-cron = "${sysconfdir}/cron.*"