From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsmasq/
Date: Thu, 28 Jan 2021 19:19:08 +0000 (UTC) [thread overview]
Message-ID: <1611861540.ddd00a465915ad9ac6aaeabebf800bfb39d9b3ce.chutzpah@gentoo> (raw)
commit: ddd00a465915ad9ac6aaeabebf800bfb39d9b3ce
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Thu Jan 28 19:19:00 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Jan 28 19:19:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd00a46
net-dns/dnsmasq: REmove old (security bug #766126)
Bug: https://bugs.gentoo.org/766126
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-dns/dnsmasq/Manifest | 2 -
net-dns/dnsmasq/dnsmasq-2.81.ebuild | 207 ------------------------------
net-dns/dnsmasq/dnsmasq-2.82-r100.ebuild | 210 -------------------------------
net-dns/dnsmasq/dnsmasq-2.82.ebuild | 205 ------------------------------
4 files changed, 624 deletions(-)
diff --git a/net-dns/dnsmasq/Manifest b/net-dns/dnsmasq/Manifest
index 5c828b66a97..8d32f2d0f7f 100644
--- a/net-dns/dnsmasq/Manifest
+++ b/net-dns/dnsmasq/Manifest
@@ -1,4 +1,2 @@
-DIST dnsmasq-2.81.tar.xz 510648 BLAKE2B 07861888df11f6e2e02d1b80f4e82a407b558ddb34e016f7bda5cb449ee870db000683264b2e36987ece16d50ab773f239bf12dd3468b9529ae4dccd77ecb8ee SHA512 85550c9782fef9b0710d0e233523ed1fe26e877a8bc53fcea3f7cf1fb17c3a79c46f284a99dab2bdaf6a107ea3f1a71cec476ab6d4e1b936da6591aaef42c88e
-DIST dnsmasq-2.82.tar.xz 509904 BLAKE2B 4df3778b2ec6775a6147f66d53b8dd7068d97872c6e5d3a16716faeb0ca489331560c77d6fa9cc913af0d7e0320a6ef463c690bb9e3fdbd8c266ed273e5a5403 SHA512 faf36efdaa3abe84994e46aea018b0a324218d42814baac056ca635f6d03f1301e7b4d958f92b272a8e3a7ac358f3a4e2606129a217587b471aedb3ce23e903b
DIST dnsmasq-2.83.tar.xz 513880 BLAKE2B 16220fd7eac03f3ba70b014ace3c9775a85b31cdbabd7680d88a87697453a54bfec4c553207477f416032e679dbdaf3ca6c8bb56b72ee423540e0bedf0621865 SHA512 1eaade775dc19658afe825407c10456ab954b82034644bb19af2594d737ceae17ff2cee7f1f917e8e8b2dadbfbcb83dd8b842c0693fcac71487a5fade1eb4b05
DIST dnsmasq-2.84.tar.xz 514216 BLAKE2B 2bca97c16bcf32e0126eb50dc14b82a1f37e1635ebd1dc205e9a92455640fcbb98c093be725768ba9ced84443e451775f8556a164c82967e09e1df4bf7fc901b SHA512 e84bdcdf3cf35f08e8492eb5aa89ee6543233bdb821d01f164783bd6d0913ec01c513e85e2109352c77e77142a1a94bedcd3361f37d7b2a9a5d35a02448e85c6
diff --git a/net-dns/dnsmasq/dnsmasq-2.81.ebuild b/net-dns/dnsmasq/dnsmasq-2.81.ebuild
deleted file mode 100644
index 65d59e4c5c9..00000000000
--- a/net-dns/dnsmasq/dnsmasq-2.81.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs flag-o-matic systemd
-
-DESCRIPTION="Small forwarding DNS server"
-HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${P}.tar.xz"
-
-LICENSE="|| ( GPL-2 GPL-3 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-
-IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +dumpfile id idn libidn2"
-IUSE+=" +inotify ipv6 lua nls script selinux static tftp"
-
-DM_LINGUAS=(de es fi fr id it no pl pt_BR ro)
-
-BDEPEND="
- app-arch/xz-utils
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-COMMON_DEPEND="
- acct-group/dnsmasq
- acct-user/dnsmasq
- dbus? ( sys-apps/dbus:= )
- idn? (
- !libidn2? ( net-dns/libidn:0= )
- libidn2? ( >=net-dns/libidn2-2.0:= )
- )
- lua? ( dev-lang/lua:0= )
- conntrack? ( net-libs/libnetfilter_conntrack:= )
- nls? ( sys-devel/gettext )
-"
-
-DEPEND="${COMMON_DEPEND}
- dnssec? (
- dev-libs/nettle:=[gmp]
- static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
- )
-"
-
-RDEPEND="${COMMON_DEPEND}
- dnssec? (
- !static? ( >=dev-libs/nettle-3.4:=[gmp] )
- )
- selinux? ( sec-policy/selinux-dnsmasq )
-"
-
-REQUIRED_USE="
- dhcp-tools? ( dhcp )
- lua? ( script )
- libidn2? ( idn )"
-
-use_have() {
- local useflag no_only uword
- if [[ ${1} == '-n' ]]; then
- no_only=1
- shift
- fi
- useflag="${1}"
- shift
-
- uword="${1:-${useflag}}"
- shift
-
- while [[ ${uword} ]]; do
- uword="${uword^^}"
-
- if ! use "${useflag}"; then
- printf -- " -DNO_%s" "${uword}"
- elif [[ -z "${no_only}" ]]; then
- printf -- " -DHAVE_%s" "${uword}"
- fi
- uword="${1}"
- shift
- done
-}
-
-pkg_pretend() {
- if use static; then
- einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked."
- use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense;" \
- "in this case the static USE flag does nothing."
- fi
-}
-
-src_prepare() {
- default
-
- sed -i -r 's:lua5.[0-9]+:lua:' Makefile || die
- sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" \
- dnsmasq.conf.example || die
-}
-
-src_configure() {
- COPTS=(
- "$(use_have -n auth-dns auth)"
- "$(use_have conntrack)"
- "$(use_have dbus)"
- "$(use libidn2 || use_have idn)"
- "$(use_have libidn2)"
- "$(use_have -n inotify)"
- "$(use_have -n dhcp dhcp dhcp6)"
- "$(use_have -n ipv6 ipv6 dhcp6)"
- "$(use_have -n id id)"
- "$(use_have lua luascript)"
- "$(use_have -n script)"
- "$(use_have -n tftp)"
- "$(use_have dnssec)"
- "$(use_have static dnssec_static)"
- "$(use_have -n dumpfile)"
- )
-}
-
-src_compile() {
- emake \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- CC="$(tc-getCC)" \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- COPTS="${COPTS[*]}" \
- CONFFILE="/etc/${PN}.conf" \
- all$(use nls && printf -- "-i18n\n")
-
- use dhcp-tools && emake -C contrib/lease-tools \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- CC="$(tc-getCC)" \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- all
-}
-
-src_install() {
- local lingua puid
- emake \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- COPTS="${COPTS[*]}" \
- DESTDIR="${ED}" \
- install$(use nls && printf -- "-i18n\n")
-
- for lingua in "${DM_LINGUAS[@]}"; do
- has ${lingua} ${LINGUAS-${lingua}} \
- || rm -rf "${ED}"/usr/share/locale/${lingua}
- done
- [[ -d "${D}"/usr/share/locale/ ]] && \
- rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/locale/
-
- dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example
- dodoc -r logo
-
- docinto html/
- dodoc *.html
-
- newinitd "${FILESDIR}"/dnsmasq-init-r4 ${PN}
- newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN}
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/dnsmasq.logrotate ${PN}
-
- insinto /etc
- newins dnsmasq.conf.example dnsmasq.conf
-
- insinto /usr/share/dnsmasq
- doins trust-anchors.conf
-
- if use dhcp; then
- keepdir /var/lib/misc
- newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r3 ${PN}
- fi
- if use dbus; then
- insinto /etc/dbus-1/system.d
- doins dbus/dnsmasq.conf
- fi
-
- if use dhcp-tools; then
- dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time}
- doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1
- if use ipv6; then
- dosbin contrib/lease-tools/dhcp_release6
- doman contrib/lease-tools/dhcp_release6.1
- fi
- fi
-
- systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
-}
-
-pkg_preinst() {
- # temporary workaround to (hopefully) prevent leases file from being removed
- [[ -f /var/lib/misc/dnsmasq.leases ]] && \
- cp /var/lib/misc/dnsmasq.leases "${T}"
-}
-
-pkg_postinst() {
- # temporary workaround to (hopefully) prevent leases file from being removed
- [[ -f "${T}"/dnsmasq.leases ]] && \
- cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases
-}
diff --git a/net-dns/dnsmasq/dnsmasq-2.82-r100.ebuild b/net-dns/dnsmasq/dnsmasq-2.82-r100.ebuild
deleted file mode 100644
index 281fb8d29b5..00000000000
--- a/net-dns/dnsmasq/dnsmasq-2.82-r100.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit toolchain-funcs flag-o-matic lua-single systemd
-
-DESCRIPTION="Small forwarding DNS server"
-HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${P}.tar.xz"
-
-LICENSE="|| ( GPL-2 GPL-3 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-
-IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +dumpfile id idn libidn2"
-IUSE+=" +inotify ipv6 lua nls script selinux static tftp"
-
-DM_LINGUAS=(de es fi fr id it no pl pt_BR ro)
-
-BDEPEND="
- app-arch/xz-utils
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-COMMON_DEPEND="
- acct-group/dnsmasq
- acct-user/dnsmasq
- dbus? ( sys-apps/dbus:= )
- idn? (
- !libidn2? ( net-dns/libidn:0= )
- libidn2? ( >=net-dns/libidn2-2.0:= )
- )
- lua? ( ${LUA_DEPS} )
- conntrack? ( net-libs/libnetfilter_conntrack:= )
- nls? ( sys-devel/gettext )
-"
-
-DEPEND="${COMMON_DEPEND}
- dnssec? (
- dev-libs/nettle:=[gmp]
- static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
- )
-"
-
-RDEPEND="${COMMON_DEPEND}
- dnssec? (
- !static? ( >=dev-libs/nettle-3.4:=[gmp] )
- )
- selinux? ( sec-policy/selinux-dnsmasq )
-"
-
-REQUIRED_USE="
- dhcp-tools? ( dhcp )
- lua? (
- script
- ${LUA_REQUIRED_USE}
- )
- libidn2? ( idn )"
-
-use_have() {
- local no_only
- if [[ ${1} == '-n' ]]; then
- no_only=1
- shift
- fi
- local useflag="${1}"
- shift
-
- local uword="${1:-${useflag}}"
- shift
-
- while [[ ${uword} ]]; do
- uword="${uword^^}"
-
- if ! use "${useflag}"; then
- printf -- " -DNO_%s" "${uword}"
- elif [[ -z "${no_only}" ]]; then
- printf -- " -DHAVE_%s" "${uword}"
- fi
- uword="${1}"
- shift
- done
-}
-
-pkg_pretend() {
- if use static; then
- einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked."
- use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense;" \
- "in this case the static USE flag does nothing."
- fi
-}
-
-src_prepare() {
- default
-
- sed -i -r 's:lua5.[0-9]+:lua:' Makefile || die
- sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" \
- dnsmasq.conf.example || die
-}
-
-src_configure() {
- COPTS=(
- $(use_have -n auth-dns auth)
- $(use_have conntrack)
- $(use_have dbus)
- $(use libidn2 || use_have idn)
- $(use_have libidn2)
- $(use_have -n inotify)
- $(use_have -n dhcp dhcp dhcp6)
- $(use_have -n ipv6 ipv6 dhcp6)
- $(use_have -n id id)
- $(use_have lua luascript)
- $(use_have -n script)
- $(use_have -n tftp)
- $(use_have dnssec)
- $(use_have static dnssec_static)
- $(use_have -n dumpfile)
- )
-}
-
-src_compile() {
- emake \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- CC="$(tc-getCC)" \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- COPTS="${COPTS[*]}" \
- CONFFILE="/etc/${PN}.conf" \
- all$(use nls && printf -- "-i18n\n")
-
- use dhcp-tools && emake -C contrib/lease-tools \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- CC="$(tc-getCC)" \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- all
-}
-
-src_install() {
- local lingua puid
- emake \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- COPTS="${COPTS[*]}" \
- DESTDIR="${ED}" \
- install$(use nls && printf -- "-i18n\n")
-
- for lingua in "${DM_LINGUAS[@]}"; do
- has ${lingua} ${LINGUAS-${lingua}} \
- || rm -rf "${ED}"/usr/share/locale/${lingua}
- done
- [[ -d "${D}"/usr/share/locale/ ]] && \
- rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/locale/
-
- dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example
- dodoc -r logo
-
- docinto html/
- dodoc *.html
-
- newinitd "${FILESDIR}"/dnsmasq-init-r4 ${PN}
- newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN}
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/dnsmasq.logrotate ${PN}
-
- insinto /etc
- newins dnsmasq.conf.example dnsmasq.conf
-
- insinto /usr/share/dnsmasq
- doins trust-anchors.conf
-
- if use dhcp; then
- keepdir /var/lib/misc
- newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r3 ${PN}
- fi
- if use dbus; then
- insinto /etc/dbus-1/system.d
- doins dbus/dnsmasq.conf
- fi
-
- if use dhcp-tools; then
- dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time}
- doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1
- if use ipv6; then
- dosbin contrib/lease-tools/dhcp_release6
- doman contrib/lease-tools/dhcp_release6.1
- fi
- fi
-
- systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
-}
-
-pkg_preinst() {
- [[ -f /var/lib/misc/dnsmasq.leases ]] && \
- cp /var/lib/misc/dnsmasq.leases "${T}"
-}
-
-pkg_postinst() {
- [[ -f "${T}"/dnsmasq.leases ]] && \
- cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases
-}
diff --git a/net-dns/dnsmasq/dnsmasq-2.82.ebuild b/net-dns/dnsmasq/dnsmasq-2.82.ebuild
deleted file mode 100644
index d361cafdfba..00000000000
--- a/net-dns/dnsmasq/dnsmasq-2.82.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs flag-o-matic systemd
-
-DESCRIPTION="Small forwarding DNS server"
-HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${P}.tar.xz"
-
-LICENSE="|| ( GPL-2 GPL-3 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-
-IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +dumpfile id idn libidn2"
-IUSE+=" +inotify ipv6 lua nls script selinux static tftp"
-
-DM_LINGUAS=(de es fi fr id it no pl pt_BR ro)
-
-BDEPEND="
- app-arch/xz-utils
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-COMMON_DEPEND="
- acct-group/dnsmasq
- acct-user/dnsmasq
- dbus? ( sys-apps/dbus:= )
- idn? (
- !libidn2? ( net-dns/libidn:0= )
- libidn2? ( >=net-dns/libidn2-2.0:= )
- )
- lua? ( dev-lang/lua:0= )
- conntrack? ( net-libs/libnetfilter_conntrack:= )
- nls? ( sys-devel/gettext )
-"
-
-DEPEND="${COMMON_DEPEND}
- dnssec? (
- dev-libs/nettle:=[gmp]
- static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
- )
-"
-
-RDEPEND="${COMMON_DEPEND}
- dnssec? (
- !static? ( >=dev-libs/nettle-3.4:=[gmp] )
- )
- selinux? ( sec-policy/selinux-dnsmasq )
-"
-
-REQUIRED_USE="
- dhcp-tools? ( dhcp )
- lua? ( script )
- libidn2? ( idn )"
-
-use_have() {
- local no_only
- if [[ ${1} == '-n' ]]; then
- no_only=1
- shift
- fi
- local useflag="${1}"
- shift
-
- local uword="${1:-${useflag}}"
- shift
-
- while [[ ${uword} ]]; do
- uword="${uword^^}"
-
- if ! use "${useflag}"; then
- printf -- " -DNO_%s" "${uword}"
- elif [[ -z "${no_only}" ]]; then
- printf -- " -DHAVE_%s" "${uword}"
- fi
- uword="${1}"
- shift
- done
-}
-
-pkg_pretend() {
- if use static; then
- einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked."
- use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense;" \
- "in this case the static USE flag does nothing."
- fi
-}
-
-src_prepare() {
- default
-
- sed -i -r 's:lua5.[0-9]+:lua:' Makefile || die
- sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" \
- dnsmasq.conf.example || die
-}
-
-src_configure() {
- COPTS=(
- $(use_have -n auth-dns auth)
- $(use_have conntrack)
- $(use_have dbus)
- $(use libidn2 || use_have idn)
- $(use_have libidn2)
- $(use_have -n inotify)
- $(use_have -n dhcp dhcp dhcp6)
- $(use_have -n ipv6 ipv6 dhcp6)
- $(use_have -n id id)
- $(use_have lua luascript)
- $(use_have -n script)
- $(use_have -n tftp)
- $(use_have dnssec)
- $(use_have static dnssec_static)
- $(use_have -n dumpfile)
- )
-}
-
-src_compile() {
- emake \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- CC="$(tc-getCC)" \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- COPTS="${COPTS[*]}" \
- CONFFILE="/etc/${PN}.conf" \
- all$(use nls && printf -- "-i18n\n")
-
- use dhcp-tools && emake -C contrib/lease-tools \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- CC="$(tc-getCC)" \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- all
-}
-
-src_install() {
- local lingua puid
- emake \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- COPTS="${COPTS[*]}" \
- DESTDIR="${ED}" \
- install$(use nls && printf -- "-i18n\n")
-
- for lingua in "${DM_LINGUAS[@]}"; do
- has ${lingua} ${LINGUAS-${lingua}} \
- || rm -rf "${ED}"/usr/share/locale/${lingua}
- done
- [[ -d "${D}"/usr/share/locale/ ]] && \
- rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/locale/
-
- dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example
- dodoc -r logo
-
- docinto html/
- dodoc *.html
-
- newinitd "${FILESDIR}"/dnsmasq-init-r4 ${PN}
- newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN}
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/dnsmasq.logrotate ${PN}
-
- insinto /etc
- newins dnsmasq.conf.example dnsmasq.conf
-
- insinto /usr/share/dnsmasq
- doins trust-anchors.conf
-
- if use dhcp; then
- keepdir /var/lib/misc
- newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r3 ${PN}
- fi
- if use dbus; then
- insinto /etc/dbus-1/system.d
- doins dbus/dnsmasq.conf
- fi
-
- if use dhcp-tools; then
- dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time}
- doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1
- if use ipv6; then
- dosbin contrib/lease-tools/dhcp_release6
- doman contrib/lease-tools/dhcp_release6.1
- fi
- fi
-
- systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
-}
-
-pkg_preinst() {
- [[ -f /var/lib/misc/dnsmasq.leases ]] && \
- cp /var/lib/misc/dnsmasq.leases "${T}"
-}
-
-pkg_postinst() {
- [[ -f "${T}"/dnsmasq.leases ]] && \
- cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases
-}
next reply other threads:[~2021-01-28 19:19 UTC|newest]
Thread overview: 149+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-28 19:19 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-01 14:05 [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsmasq/ Sam James
2024-03-14 7:43 Arthur Zamarin
2024-03-13 20:58 Sam James
2024-03-13 4:48 Sam James
2024-03-12 21:35 Arthur Zamarin
2024-02-29 22:17 Sam James
2024-02-28 18:52 Arthur Zamarin
2024-02-28 18:52 Arthur Zamarin
2024-02-21 11:01 Sam James
2023-10-17 7:56 Sam James
2023-05-01 13:36 Sam James
2023-03-05 9:14 Arthur Zamarin
2023-03-05 9:07 Arthur Zamarin
2023-03-05 9:06 Arthur Zamarin
2023-02-05 18:50 Sam James
2023-02-05 18:50 Sam James
2023-02-05 18:50 Sam James
2023-02-05 18:31 Sam James
2023-02-05 17:18 Sam James
2023-01-12 4:22 Sam James
2022-11-29 15:58 WANG Xuerui
2022-10-24 20:52 Patrick McLean
2022-08-25 3:33 Sam James
2022-08-15 14:04 Sam James
2022-08-12 10:19 Agostino Sarubbo
2022-08-12 10:17 Agostino Sarubbo
2022-08-12 7:25 Agostino Sarubbo
2022-08-12 7:24 Agostino Sarubbo
2022-08-11 17:34 Arthur Zamarin
2022-08-11 6:48 Agostino Sarubbo
2022-08-11 6:45 Agostino Sarubbo
2021-09-15 0:49 Patrick McLean
2021-08-08 21:39 Marek Szuba
2021-05-15 2:41 Sam James
2021-05-14 6:45 Agostino Sarubbo
2021-05-14 6:42 Agostino Sarubbo
2021-05-13 21:15 Sam James
2021-05-13 16:24 Sam James
2021-05-12 20:12 Agostino Sarubbo
2021-05-12 7:58 Agostino Sarubbo
2021-04-15 23:37 Patrick McLean
2021-03-25 23:52 Conrad Kostecki
2021-01-28 19:26 Patrick McLean
2021-01-28 19:26 Patrick McLean
2021-01-28 1:17 Sam James
2021-01-28 1:14 Sam James
2021-01-27 23:28 Sam James
2021-01-27 23:28 Sam James
2021-01-27 23:15 Sam James
2021-01-27 23:14 Sam James
2021-01-27 17:45 Sergei Trofimovich
2021-01-24 3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2021-01-23 5:56 Sam James
2021-01-23 4:20 Sam James
2021-01-23 4:09 Sam James
2021-01-22 20:29 Sam James
2021-01-22 16:53 Agostino Sarubbo
2021-01-20 18:25 Patrick McLean
2021-01-19 18:55 Patrick McLean
2020-11-03 7:29 Sam James
2020-10-28 22:35 Sergei Trofimovich
2020-10-28 22:33 Sergei Trofimovich
2020-10-28 22:30 Sergei Trofimovich
2020-10-28 22:27 Sergei Trofimovich
2020-10-28 16:18 Sam James
2020-10-28 4:10 Sam James
2020-10-27 22:00 Thomas Deutschmann
2020-07-20 0:38 Patrick McLean
2020-05-16 19:47 Sergei Trofimovich
2020-05-13 21:07 Mart Raudsepp
2020-05-11 9:27 Agostino Sarubbo
2020-05-11 9:26 Agostino Sarubbo
2020-05-10 9:28 Sergei Trofimovich
2020-05-09 23:00 Sergei Trofimovich
2020-05-09 22:37 Sergei Trofimovich
2020-04-12 18:51 Patrick McLean
2019-11-26 3:11 Matt Turner
2019-11-09 22:55 Matt Turner
2019-11-08 1:15 Aaron Bauman
2019-11-01 10:30 Mikle Kolyada
2019-10-03 8:16 Agostino Sarubbo
2019-09-26 19:02 Thomas Deutschmann
2019-09-26 18:32 Mikle Kolyada
2019-09-26 6:52 Sergei Trofimovich
2019-09-26 6:49 Sergei Trofimovich
2019-09-26 6:40 Sergei Trofimovich
2019-09-22 11:50 Sergei Trofimovich
2019-09-20 21:18 Matt Turner
2019-08-19 22:02 Patrick McLean
2019-05-23 6:39 Aaron Bauman
2019-03-02 20:59 Matt Turner
2019-01-03 19:00 Mikle Kolyada
2018-12-15 12:50 Sergei Trofimovich
2018-12-11 23:32 Sergei Trofimovich
2018-12-11 23:27 Sergei Trofimovich
2018-12-11 23:24 Sergei Trofimovich
2018-12-09 23:51 Thomas Deutschmann
2018-12-09 11:33 Jeroen Roovers
2018-12-07 22:59 Patrick McLean
2018-12-07 22:55 Patrick McLean
2018-10-18 21:40 Patrick McLean
2018-10-18 21:40 Patrick McLean
2018-07-23 17:50 Patrick McLean
2018-07-22 9:01 Sergei Trofimovich
2018-07-22 2:31 Mikle Kolyada
2018-07-20 22:48 Sergei Trofimovich
2018-07-20 22:40 Thomas Deutschmann
2018-07-20 22:24 Sergei Trofimovich
2018-07-20 12:11 Tobias Klausmann
2018-07-20 8:08 Sergei Trofimovich
2018-07-17 11:29 Mikle Kolyada
2018-01-25 1:23 Aaron Bauman
2018-01-07 14:33 Ulrich Müller
2017-10-16 18:15 Markus Meier
2017-10-05 9:47 Sergei Trofimovich
2017-10-05 8:37 Sergei Trofimovich
2017-10-04 8:52 Sergei Trofimovich
2017-10-03 15:25 Sergei Trofimovich
2017-10-03 10:53 Agostino Sarubbo
2017-10-02 23:45 Thomas Deutschmann
2017-09-12 0:54 Patrick McLean
2017-09-08 1:51 Patrick McLean
2017-08-01 22:45 Patrick McLean
2017-07-11 18:01 Patrick McLean
2017-07-10 23:58 Patrick McLean
2017-06-02 1:46 Patrick McLean
2017-06-01 23:33 Patrick McLean
2017-03-26 4:16 Matt Thode
2017-03-01 17:00 Matt Thode
2016-11-27 9:17 Mike Frysinger
2016-07-16 18:28 Patrick McLean
2016-07-08 12:02 Agostino Sarubbo
2016-07-08 10:02 Agostino Sarubbo
2016-07-08 7:53 Agostino Sarubbo
2016-07-05 20:59 Markus Meier
2016-07-04 11:24 Tobias Klausmann
2016-07-03 10:02 Jeroen Roovers
2016-07-02 12:42 Agostino Sarubbo
2016-07-02 12:42 Agostino Sarubbo
2016-06-03 21:39 Patrick McLean
2016-05-31 22:19 Patrick McLean
2016-05-26 12:15 Tobias Klausmann
2016-04-23 10:55 Jeroen Roovers
2016-03-24 5:59 Markus Meier
2016-03-05 16:13 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1611861540.ddd00a465915ad9ac6aaeabebf800bfb39d9b3ce.chutzpah@gentoo \
--to=chutzpah@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox