Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekly portage-stable package updates 2024-11-11 #2440

Merged
merged 171 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
069ca81
app-arch/cpio: Sync with Gentoo
Nov 11, 2024
27ef54e
app-arch/libarchive: Sync with Gentoo
Nov 11, 2024
8a66786
app-arch/xz-utils: Sync with Gentoo
Nov 11, 2024
ddcf73a
app-containers/aardvark-dns: Sync with Gentoo
Nov 11, 2024
2e4df3f
app-containers/containers-storage: Sync with Gentoo
Nov 11, 2024
c976d3f
app-containers/docker: Sync with Gentoo
Nov 11, 2024
2c7b663
app-containers/docker-cli: Sync with Gentoo
Nov 11, 2024
5966be2
app-containers/netavark: Sync with Gentoo
Nov 11, 2024
53970e3
app-containers/podman: Sync with Gentoo
Nov 11, 2024
0d2da09
app-containers/runc: Sync with Gentoo
Nov 11, 2024
23712bc
app-crypt/gnupg: Sync with Gentoo
Nov 11, 2024
85d76d4
app-crypt/gpgme: Sync with Gentoo
Nov 11, 2024
04b984c
app-crypt/pinentry: Sync with Gentoo
Nov 11, 2024
c0c7deb
app-doc/eclass-manpages: Sync with Gentoo
Nov 11, 2024
ef4c918
app-editors/nano: Sync with Gentoo
Nov 11, 2024
0948286
app-emulation/qemu: Sync with Gentoo
Nov 11, 2024
b4ca79b
app-eselect/eselect-rust: Sync with Gentoo
Nov 11, 2024
e81d9e4
app-portage/gentoolkit: Sync with Gentoo
Nov 11, 2024
ee5654b
app-portage/getuto: Sync with Gentoo
Nov 11, 2024
c2de39e
app-shells/bash: Sync with Gentoo
Nov 11, 2024
6077924
dev-build/autoconf: Sync with Gentoo
Nov 11, 2024
22cd69d
dev-build/cmake: Sync with Gentoo
Nov 11, 2024
2d7b515
dev-build/make: Sync with Gentoo
Nov 11, 2024
7c9531f
dev-build/meson: Sync with Gentoo
Nov 11, 2024
c8bb63a
dev-cpp/abseil-cpp: Sync with Gentoo
Nov 11, 2024
90f71c5
dev-db/sqlite: Sync with Gentoo
Nov 11, 2024
fdecb61
dev-debug/gdb: Sync with Gentoo
Nov 11, 2024
6d76267
dev-lang/nasm: Sync with Gentoo
Nov 11, 2024
bdc6bfe
dev-lang/python: Sync with Gentoo
Nov 11, 2024
a044412
dev-lang/python-exec: Sync with Gentoo
Nov 11, 2024
64229c1
dev-lang/rust: Sync with Gentoo
Nov 11, 2024
e48bafb
dev-lang/tcl: Sync with Gentoo
Nov 11, 2024
9185c89
dev-libs/elfutils: Sync with Gentoo
Nov 11, 2024
e78d988
dev-libs/expat: Sync with Gentoo
Nov 11, 2024
f88d070
dev-libs/jsoncpp: Sync with Gentoo
Nov 11, 2024
5690710
dev-libs/libbytesize: Sync with Gentoo
Nov 11, 2024
e0e56ee
dev-libs/libksba: Sync with Gentoo
Nov 11, 2024
f430251
dev-libs/libmspack: Sync with Gentoo
Nov 11, 2024
4535869
dev-libs/libpcre: Sync with Gentoo
Nov 11, 2024
4c759f9
dev-libs/libpipeline: Sync with Gentoo
Nov 11, 2024
fbdad0f
dev-libs/libtraceevent: Sync with Gentoo
Nov 11, 2024
73ae492
dev-libs/libtracefs: Sync with Gentoo
Nov 11, 2024
2e013f7
dev-libs/libuv: Sync with Gentoo
Nov 11, 2024
2cc4949
dev-libs/libxml2: Sync with Gentoo
Nov 11, 2024
89fd9da
dev-libs/libxslt: Sync with Gentoo
Nov 11, 2024
71d2f1a
dev-libs/nspr: Sync with Gentoo
Nov 11, 2024
71df01d
dev-libs/oniguruma: Sync with Gentoo
Nov 11, 2024
57d5141
dev-libs/protobuf: Sync with Gentoo
Nov 11, 2024
29f325f
dev-libs/tree-sitter-bash: Sync with Gentoo
Nov 11, 2024
9b308a0
dev-libs/userspace-rcu: Sync with Gentoo
Nov 11, 2024
d8e6af7
dev-python/cachecontrol: Sync with Gentoo
Nov 11, 2024
4394953
dev-python/cffi: Sync with Gentoo
Nov 11, 2024
4c07b75
dev-python/charset-normalizer: Sync with Gentoo
Nov 11, 2024
42fccfc
dev-python/cryptography: Sync with Gentoo
Nov 11, 2024
5d06941
dev-python/cython: Sync with Gentoo
Nov 11, 2024
c9495c7
dev-python/distlib: Sync with Gentoo
Nov 11, 2024
785ea3a
dev-python/ensurepip-pip: Sync with Gentoo
Nov 11, 2024
013790d
dev-python/ensurepip-setuptools: Sync with Gentoo
Nov 11, 2024
8404b3c
dev-python/flit-core: Sync with Gentoo
Nov 11, 2024
ead53a4
dev-python/hatchling: Sync with Gentoo
Nov 11, 2024
d7e0aa0
dev-python/jaraco-functools: Sync with Gentoo
Nov 11, 2024
9b74110
dev-python/markupsafe: Sync with Gentoo
Nov 11, 2024
c84efa0
dev-python/packaging: Sync with Gentoo
Nov 11, 2024
ad9c265
dev-python/pillow: Sync with Gentoo
Nov 11, 2024
14173e2
dev-python/pip: Sync with Gentoo
Nov 11, 2024
936291a
dev-python/poetry-core: Sync with Gentoo
Nov 11, 2024
9b17eda
dev-python/pyproject-hooks: Sync with Gentoo
Nov 11, 2024
8702512
dev-python/resolvelib: Sync with Gentoo
Nov 11, 2024
82e8be4
dev-python/rich: Sync with Gentoo
Nov 11, 2024
001dc24
dev-python/setuptools: Sync with Gentoo
Nov 11, 2024
a25e061
dev-python/tree-sitter: Sync with Gentoo
Nov 11, 2024
65296c0
dev-python/trove-classifiers: Sync with Gentoo
Nov 11, 2024
0ea5ac7
dev-python/truststore: Sync with Gentoo
Nov 11, 2024
e0920bb
dev-python/wheel: Sync with Gentoo
Nov 11, 2024
92c5253
dev-util/bpftool: Sync with Gentoo
Nov 11, 2024
753ae63
dev-util/catalyst: Sync with Gentoo
Nov 11, 2024
61d5c81
dev-util/desktop-file-utils: Sync with Gentoo
Nov 11, 2024
1250597
dev-util/maturin: Sync with Gentoo
Nov 11, 2024
0aa1a0b
dev-vcs/git: Sync with Gentoo
Nov 11, 2024
6f51197
eclass/cargo: Sync with Gentoo
Nov 11, 2024
84e553e
eclass/java-utils-2: Sync with Gentoo
Nov 11, 2024
4ed458d
eclass/shell-completion: Sync with Gentoo
Nov 11, 2024
276dfff
eclass/toolchain: Sync with Gentoo
Nov 11, 2024
21631e2
net-dns/bind-tools: Sync with Gentoo
Nov 11, 2024
2aa0aa2
net-fs/cifs-utils: Sync with Gentoo
Nov 11, 2024
2ad3699
net-libs/libpcap: Sync with Gentoo
Nov 11, 2024
6b47cfa
net-libs/nghttp2: Sync with Gentoo
Nov 11, 2024
029785a
net-misc/chrony: Sync with Gentoo
Nov 11, 2024
7af8f0a
net-misc/curl: Sync with Gentoo
Nov 11, 2024
908060b
net-misc/openssh: Sync with Gentoo
Nov 11, 2024
12cfc29
net-misc/rsync: Sync with Gentoo
Nov 11, 2024
304d6b3
net-misc/socat: Sync with Gentoo
Nov 11, 2024
e1aa12f
profiles: Sync with Gentoo
Nov 11, 2024
f4cd8e8
sys-apps/azure-vm-utils: Sync with Gentoo
Nov 11, 2024
3f94ae8
sys-apps/checkpolicy: Sync with Gentoo
Nov 11, 2024
b6350c4
sys-apps/coreutils: Sync with Gentoo
Nov 11, 2024
3110442
sys-apps/ethtool: Sync with Gentoo
Nov 11, 2024
e6e8f48
sys-apps/gawk: Sync with Gentoo
Nov 11, 2024
c15c5d2
sys-apps/iproute2: Sync with Gentoo
Nov 11, 2024
4f4b2d4
sys-apps/less: Sync with Gentoo
Nov 11, 2024
bb8d3fe
sys-apps/man-db: Sync with Gentoo
Nov 11, 2024
3fb7351
sys-apps/nvme-cli: Sync with Gentoo
Nov 11, 2024
3d0d65c
sys-apps/sandbox: Sync with Gentoo
Nov 11, 2024
cc8e9a9
sys-apps/texinfo: Sync with Gentoo
Nov 11, 2024
1e2b0fd
sys-apps/zram-generator: Sync with Gentoo
Nov 11, 2024
33f52ab
sys-block/thin-provisioning-tools: Sync with Gentoo
Nov 11, 2024
4ed1fa9
sys-boot/gnu-efi: Sync with Gentoo
Nov 11, 2024
9918020
sys-boot/mokutil: Sync with Gentoo
Nov 11, 2024
65d0117
sys-devel/binutils: Sync with Gentoo
Nov 11, 2024
f632087
sys-devel/gcc: Sync with Gentoo
Nov 11, 2024
9012857
sys-devel/patch: Sync with Gentoo
Nov 11, 2024
4f0e6de
sys-firmware/ipxe: Sync with Gentoo
Nov 11, 2024
3cdd45f
sys-fs/multipath-tools: Sync with Gentoo
Nov 11, 2024
b0ee516
sys-fs/quota: Sync with Gentoo
Nov 11, 2024
599a598
sys-fs/squashfs-tools-ng: Sync with Gentoo
Nov 11, 2024
e574be6
sys-fs/xfsprogs: Sync with Gentoo
Nov 11, 2024
31b30b7
sys-libs/binutils-libs: Sync with Gentoo
Nov 11, 2024
eda8732
sys-libs/cracklib: Sync with Gentoo
Nov 11, 2024
702c414
sys-libs/libcap: Sync with Gentoo
Nov 11, 2024
82b4adb
sys-libs/libnvme: Sync with Gentoo
Nov 11, 2024
4e94251
sys-libs/libselinux: Sync with Gentoo
Nov 11, 2024
2f935a9
sys-libs/libsepol: Sync with Gentoo
Nov 11, 2024
408f46d
sys-libs/libunwind: Sync with Gentoo
Nov 11, 2024
ed50b95
sys-libs/liburing: Sync with Gentoo
Nov 11, 2024
5fa660f
sys-libs/ncurses: Sync with Gentoo
Nov 11, 2024
fce66e2
sys-libs/readline: Sync with Gentoo
Nov 11, 2024
d0260b0
sys-process/audit: Sync with Gentoo
Nov 11, 2024
d09fd1f
virtual/perl-Getopt-Long: Sync with Gentoo
Nov 11, 2024
8a57455
virtual/rust: Sync with Gentoo
Nov 11, 2024
3e4678b
virtual/service-manager: Sync with Gentoo
Nov 11, 2024
85546e5
x11-libs/pixman: Sync with Gentoo
Nov 11, 2024
2f09847
eclass/rust: Add from Gentoo
krnowak Nov 11, 2024
d78f70c
net-dns/bind: Add from Gentoo
krnowak Nov 11, 2024
60dacb5
overlay profiles: Update accept keywords for app-containers/aardvark-dns
krnowak Nov 11, 2024
660d7b1
overlay profiles: Update accept keywords for app-containers/netavark
krnowak Nov 11, 2024
7f87cdd
overlay profiles: Copy USE=gssapi for net-dns/bind from net-dns/bind-…
krnowak Nov 11, 2024
744707a
overlay profiles: Update accept keywords for sys-apps/azure-vm-utils
krnowak Nov 11, 2024
d20bd9b
acct-group/named: Add from Gentoo
krnowak Nov 11, 2024
7a55b2b
acct-user/named: Add from Gentoo
krnowak Nov 11, 2024
c08b8d9
overlay profiles: Mask llvm USE flags generated by llvm-r1 eclass
krnowak Nov 11, 2024
df543ac
dev-lang/rust-common: Add from Gentoo
krnowak Nov 11, 2024
1aa2b13
overlay profiles: Mask llvm USE flags for sys-devel/bpftool
krnowak Nov 11, 2024
557d5c9
overlay profiles: Update accept keywords for sys-apps/zram-generator
krnowak Nov 11, 2024
c68e888
overlay profiles: Update accept keywords for dev-util/bpftool
krnowak Nov 11, 2024
e0bbb13
dev-python/jinja2: Rename from dev-python/jinja
krnowak Nov 11, 2024
03af3ce
.github: Add new packages to automation
krnowak Nov 11, 2024
354f258
dev-python/jinja2: Sync with Gentoo
krnowak Nov 11, 2024
519c45a
overlay sys-apps/systemd: Update the dependency name
krnowak Nov 11, 2024
8e2001b
overlay profiles: Update accept keywords for app-containers/docker{,-…
krnowak Nov 11, 2024
287d525
eclass/cargo: Sync with Gentoo
krnowak Nov 13, 2024
7849b7f
eclass/rust: Sync with Gentoo
krnowak Nov 13, 2024
e1191a2
eclass/secureboot: Sync with Gentoo
krnowak Nov 13, 2024
1586c04
eclass/toolchain: Sync with Gentoo
krnowak Nov 13, 2024
f677988
overlay profiles: Update accept keywords for sys-boot/mokutil
krnowak Nov 13, 2024
13b67ee
overlay coreos/user-patches: Add a patch for net-dns/bind
krnowak Nov 14, 2024
9275731
overlay coreos/config: Shrink net-dns/bind installation
krnowak Nov 15, 2024
0939bdd
overlay profiles: Do not pull unnecessary packages
krnowak Nov 15, 2024
b96746c
overlay coreos-base/coreos: Pull net-dns/bind instead of net-dns/bind…
krnowak Nov 15, 2024
59621a2
overlay coreos-devel/sdk-depends: Pull net-dns/bind instead of net-dn…
krnowak Nov 15, 2024
d7c99ba
overlay net-fs/samba: Pull net-dns/bind instead of net-dns/bind-tools
krnowak Nov 15, 2024
831a9b5
overlay sys-auth/sssd: Pull net-dns/bind instead of net-dns/bind-tools
krnowak Nov 15, 2024
e9f8873
overlay coreos/config: Drop env overrides for net-dns/bind-tools
krnowak Nov 15, 2024
66d12db
overlay profiles: Drop mentions of net-dns/bind-tools
krnowak Nov 15, 2024
b50345e
.github: Drop net-dns/bind-tools from automation
krnowak Nov 15, 2024
d3f4a0b
net-dns/bind-tools: Drop
krnowak Nov 15, 2024
2226798
eclass/{versionator,eapi7-ver,eqawarn}: Drop obsolete eclasses
krnowak Nov 15, 2024
6287ed2
.github: Drop obsolete eclasses from automation
krnowak Nov 15, 2024
83aeea4
overlay profiles: Drop obsolete accept keywords for app-containers/po…
krnowak Nov 19, 2024
9069153
overlay profiles: Drop accept keywords for dev-libs/jsoncpp
krnowak Nov 19, 2024
e88b7f1
overlay profiles: Drop accept keywords for net-misc/curl
krnowak Nov 19, 2024
f2eb56c
changelog: Add an entry
krnowak Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 6 additions & 5 deletions .github/workflows/portage-stable-packages-list
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ acct-group/kvm
acct-group/lp
acct-group/man
acct-group/messagebus
acct-group/named
acct-group/netperf
acct-group/nobody
acct-group/ntp
Expand Down Expand Up @@ -46,6 +47,7 @@ acct-group/wheel
acct-user/dnsmasq
acct-user/man
acct-user/messagebus
acct-user/named
acct-user/netperf
acct-user/nobody
acct-user/ntp
Expand Down Expand Up @@ -214,6 +216,7 @@ dev-lang/python
dev-lang/python-exec
dev-lang/python-exec-conf
dev-lang/rust
dev-lang/rust-common
dev-lang/swig
dev-lang/tcl
dev-lang/yasm
Expand Down Expand Up @@ -315,7 +318,7 @@ dev-python/installer
dev-python/jaraco-context
dev-python/jaraco-functools
dev-python/jaraco-text
dev-python/jinja
dev-python/jinja2
dev-python/lark
dev-python/lazy-object-proxy
dev-python/linkify-it-py
Expand Down Expand Up @@ -391,12 +394,10 @@ eclass/db-use.eclass
eclass/desktop.eclass
eclass/dist-kernel-utils.eclass
eclass/distutils-r1.eclass
eclass/eapi7-ver.eclass
eclass/eapi8-dosym.eclass
eclass/edo.eclass
eclass/edos2unix.eclass
eclass/elisp-common.eclass
eclass/eqawarn.eclass
eclass/estack.eclass
eclass/fcaps.eclass
eclass/flag-o-matic.eclass
Expand Down Expand Up @@ -457,6 +458,7 @@ eclass/rpm.eclass
eclass/ruby-single.eclass
eclass/ruby-utils.eclass
eclass/rust-toolchain.eclass
eclass/rust.eclass
eclass/savedconfig.eclass
eclass/secureboot.eclass
eclass/selinux-policy-2.eclass
Expand All @@ -478,7 +480,6 @@ eclass/usr-ldscript.eclass
eclass/vcs-clean.eclass
eclass/vcs-snapshot.eclass
eclass/verify-sig.eclass
eclass/versionator.eclass
eclass/vim-doc.eclass
eclass/vim-plugin.eclass
eclass/virtualx.eclass
Expand All @@ -500,7 +501,7 @@ net-analyzer/traceroute
net-dialup/lrzsz
net-dialup/minicom

net-dns/bind-tools
net-dns/bind
net-dns/c-ares
net-dns/dnsmasq
net-dns/libidn2
Expand Down
23 changes: 23 additions & 0 deletions changelog/updates/2024-11-19-weekly-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- SDK: autoconf ([2.72](https://lists.gnu.org/archive/html/autotools-announce/2023-12/msg00003.html))
- SDK: cmake ([3.30.5](https://cmake.org/cmake/help/v3.30/release/3.30.html#id5))
- base, dev: azure-vm-utils ([0.4.0](https://github.com/Azure/azure-vm-utils/commits/v0.4.0/))
- base, dev: bind ([9.18.29](https://bind9.readthedocs.io/en/v9.18.29/notes.html#notes-for-bind-9-18-29))
- base, dev: bpftool ([7.4.0](https://github.com/libbpf/bpftool/releases/tag/v7.4.0))
- base, dev: checkpolicy ([3.7](https://github.com/SELinuxProject/selinux/releases/tag/3.7))
- base, dev: gawk ([5.3.1](https://lists.gnu.org/archive/html/info-gnu/2024-09/msg00008.html))
- base, dev: libarchive ([3.7.7](https://github.com/libarchive/libarchive/releases/tag/v3.7.7))
- base, dev: libselinux ([3.7](https://github.com/SELinuxProject/selinux/releases/tag/3.7))
- base, dev: libsepol ([3.7](https://github.com/SELinuxProject/selinux/releases/tag/3.7))
- base, dev: libxml2 ([2.12.8](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.8))
- base, dev: mokutil ([0.7.2](https://github.com/lcp/mokutil/commits/0.7.2/))
- dev: gentoolkit ([0.6.8](https://gitweb.gentoo.org/proj/gentoolkit.git/log/?h=gentoolkit-0.6.8))
- docker: docker ([27.3.1](https://github.com/moby/moby/releases/tag/v27.3.1))
- docker: docker-cli ([27.3.1](https://github.com/moby/moby/releases/tag/v27.3.1))
- sysext-python: charset-normalizer ([3.4.0](https://github.com/jawah/charset_normalizer/releases/tag/3.4.0))
- sysext-python: distlib ([0.3.9](https://github.com/pypa/distlib/blob/0.3.9/CHANGES.rst))
- sysext-python: jaraco-functools ([4.1.0](https://github.com/jaraco/jaraco.functools/blob/v4.1.0/NEWS.rsto))
- sysext-python: pyproject-hooks ([1.2.0](https://github.com/pypa/pyproject-hooks/blob/v1.2.0/docs/changelog.rst))
- sysext-python: rich ([13.9.3](https://github.com/Textualize/rich/releases/tag/v13.9.3))
- sysext-python: trove-classifiers ([2024.10.21.16](https://github.com/pypa/trove-classifiers/commits/2024.10.21.16/))
- sysext-python: truststore ([0.10.0](https://github.com/sethmlarson/truststore/blob/v0.10.0/CHANGELOG.md))
- vmware: libmspack ([1.11](https://github.com/kyz/libmspack/commits/v1.11/libmspack))
krnowak marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ RDEPEND="${RDEPEND}
net-analyzer/openbsd-netcat
net-analyzer/tcpdump
net-analyzer/traceroute
net-dns/bind-tools
net-dns/bind
net-firewall/conntrack-tools
net-firewall/ebtables
net-firewall/ipset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DEPEND="
dev-util/checkbashisms
dev-util/pahole
dev-util/patchelf
net-dns/bind-tools
net-dns/bind
>=net-dns/dnsmasq-2.72[dhcp,ipv6]
net-libs/rpcsvc-proto
net-misc/curl
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Keep only tool binaries and libraries those binaries need.
ndb_install_mask="
/etc
/var
/usr/bin/arpaname
/usr/bin/named-*
/usr/bin/nsec3hash
/usr/lib/systemd
/usr/lib/tmpfiles.d
/usr/lib64/bind
/usr/lib64/libisccc*
/usr/libexec
/usr/sbin
"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it helps, I think INSTALL_MASK can be inverted with * -/usr/bin/dig -/usr/lib*/*.so* ….


INSTALL_MASK+="${ndb_install_mask}"
PKG_INSTALL_MASK+="${ndb_install_mask}"

unset ndb_install_mask

# Override fowners to ignore changing owner or group to named. The
# only files that this happens for are files that we have put into
# {PKG_,}INSTALL_MASK. This will help us avoid installing
# acct-user/named and acct-user/group.
fowners_script=$(command -v fowners)
fowners() {
if [[ ${#} -gt 0 && ( ${1} = named:* || ${1} = *:named ) ]]; then
return 0
fi
"${fowners_script}" "${@}"
}

# The pkg_postinst phase function wants to generate an rndc.key file
# with /usr/sbin/rndc-confgen script if the key file is missing, then
# change the ownership to the named group. We don't need the key file
# at all as it's presumably for named. Also, we masked the installtion
# of the script. Thus we fool the phase function by putting an empty
# key file there, so the function won't trigger the generation. We
# drop the key file later too.
#
# TODO: The paths ought to be prefixed with ${EROOT}, but the
# 9.18.29-r2 ebuild is botched in this regard. This was fixed in
# 9.18.31-r1, so when we update to that version, the ${EROOT} prefix
# will need to be added.
cros_pre_pkg_postinst_add_fake_rndc_key() {
local dir='/etc/bind'
if [[ ! -d "${dir}" ]]; then
mkdir "${dir}" || die
fi
touch "${dir}/rndc.key" || die
}
# TODO: This function should just do:
#
# rm -rf "${EROOT}/etc/bind" || die
cros_post_pkg_postinst_drop_fake_rndc_key() {
# Remove the file only if it exists and is empty.
local dir='/etc/bind' file="${dir}/rndc.key"
if [[ -f "${file}" && ! -s "${file}" ]]; then
rm -f "${file}" || die
fi
rmdir "${dir}" # it's fine if it fails
}

This file was deleted.

Loading
Loading