summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2023-01-04 01:04:13 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2023-01-04 01:04:13 -0800
commitde67154ec4c7947f4928ffcb8eaca9c4e0cdafce (patch)
tree34e9435163264ff37ab1e4dcec85a3535bfb5934 /app-arch
parentapp-arch/dpkg: move zsh completion dir (diff)
downloadgentoo-de67154ec4c7947f4928ffcb8eaca9c4e0cdafce.tar.gz
gentoo-de67154ec4c7947f4928ffcb8eaca9c4e0cdafce.tar.bz2
gentoo-de67154ec4c7947f4928ffcb8eaca9c4e0cdafce.zip
app-arch/dpkg: install /etc/dpkg/origins vendor files
Closes: https://bugs.gentoo.org/840320 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/dpkg/dpkg-1.21.15-r1.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/app-arch/dpkg/dpkg-1.21.15-r1.ebuild b/app-arch/dpkg/dpkg-1.21.15-r1.ebuild
index 9e070fc78018..e4aff12c714a 100644
--- a/app-arch/dpkg/dpkg-1.21.15-r1.ebuild
+++ b/app-arch/dpkg/dpkg-1.21.15-r1.ebuild
@@ -90,6 +90,15 @@ src_install() {
# https://bugs.gentoo.org/835520
mv -v "${ED}"/usr/share/zsh/{vendor-completions,site-functions} || die
+ # https://bugs.gentoo.org/840320
+ insinto /etc/dpkg/origins
+ newins - gentoo <<-_EOF_
+ Vendor: Gentoo
+ Vendor-URL: https://www.gentoo.org/
+ Bugs: https://bugs.gentoo.org/
+ _EOF_
+ dosym gentoo /etc/dpkg/origins/default
+
keepdir \
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
/var/lib/dpkg/{alternatives,info,parts,updates}