From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/smartmontools/Manifest | 12 +++ sys-apps/smartmontools/files/smartd-r1.rc | 28 ++++++ sys-apps/smartmontools/files/smartd.confd | 4 + .../files/smartmontools-update-drivedb | 3 + sys-apps/smartmontools/metadata.xml | 15 +++ sys-apps/smartmontools/smartmontools-6.4-r1.ebuild | 97 +++++++++++++++++++ sys-apps/smartmontools/smartmontools-6.4.ebuild | 65 +++++++++++++ sys-apps/smartmontools/smartmontools-6.5.ebuild | 103 +++++++++++++++++++++ sys-apps/smartmontools/smartmontools-9999.ebuild | 103 +++++++++++++++++++++ 9 files changed, 430 insertions(+) create mode 100644 sys-apps/smartmontools/Manifest create mode 100644 sys-apps/smartmontools/files/smartd-r1.rc create mode 100644 sys-apps/smartmontools/files/smartd.confd create mode 100644 sys-apps/smartmontools/files/smartmontools-update-drivedb create mode 100644 sys-apps/smartmontools/metadata.xml create mode 100644 sys-apps/smartmontools/smartmontools-6.4-r1.ebuild create mode 100644 sys-apps/smartmontools/smartmontools-6.4.ebuild create mode 100644 sys-apps/smartmontools/smartmontools-6.5.ebuild create mode 100644 sys-apps/smartmontools/smartmontools-9999.ebuild (limited to 'sys-apps/smartmontools') diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest new file mode 100644 index 000000000000..47e83d39ee81 --- /dev/null +++ b/sys-apps/smartmontools/Manifest @@ -0,0 +1,12 @@ +AUX smartd-r1.rc 614 SHA256 acef10e3d963a97c32f525da730eac00be424e7588ab2d7b24ad24dfe032ac88 SHA512 7a46212d2d76b335ac7470b51b44e40b1cdd4814e5db4a8a2f013803bb40ea5072fde64590ffd51754b03a6f80a43e835605a5bb3ac2c23e456633995191ec31 WHIRLPOOL a452c84a5a562c235f7ef633deea976ff414ce4d3132a201e210f91e8181d78c9a89749d54948d07e8d3206d22a9d111a42d59524b4496d257db2988071195d7 +AUX smartd.confd 107 SHA256 714cc1b253e1f59b884be89693757fec91ca878c62f37451a49ef6bb72263e85 SHA512 ff45462944f01c0e7cac99443078b253dcbaed4f99ffab85052b12361d9eec4beec81cab334fbede9148b3dd503d5205add32ef4327a788f02a8b1e37f460437 WHIRLPOOL 773405a2cc669f6eaae835bc3a6415151891b91ccf4111147f8b12d9763be26cbf65815879a70cd64ae12a36f59840ffcb15ff7e527479f88d9816130e704e76 +AUX smartmontools-update-drivedb 42 SHA256 53a766a094ef63b925e2c3f8c08322b67c2ab40b1f2b84d414e5de4f6747aca8 SHA512 8ad70fc85ab67b7c32eda95dd37517382c2447862df08b810a54dcdedb1eb8148f3a0e29f402a54adff31d1e88d80d09a258ed9e1e13b597ab2a358ebeda0ce8 WHIRLPOOL 3dd62cd6e26a18c9fe5555a1d3feb2597eea6773c857a2cf559331486fc0ef2ef67a0bcb7d1e03b14631d0c8809daae7688d6e1f83f02e8867b0dc23dfcafb55 +DIST smartmontools-6.4.tar.gz 822539 SHA256 eab75600c1eda9c34b13097db71138ab376f3dad8a6a4667fb4d1d081feb7a85 SHA512 366cd55ec668da1ca8a3d9ba79d5bee6e0c59032936b7f2f161f8fbb1c9f869c505d715cc10562b6241f808bb8b534feaf9d9fd752f6cb1593ee893611742adc WHIRLPOOL 72af8a0a4754bd75da9e98a008c64c083579fe27bdbd0655da81c8fe7a258dbc305cafd05f2f21d1954918ab8ff040cf1d54b916a1ce82fb8da64ba2e49b4de0 +DIST smartmontools-6.5.tar.gz 855642 SHA256 89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc SHA512 dca7a6363ab7280ee4197155025f624c978886dcc94fc47b524f6f849138b62c471e966c0d4bf59c7bba50519dc122264618e5ded80a406863ddd10b43d928d3 WHIRLPOOL 639bb5c847c4e0e0f7156b764140f4382f650826eb3d59db6a712468e944a40788c87bbbe0149b9a4d1480947492b007b5875969e611213409f247ff4383fbd6 +EBUILD smartmontools-6.4-r1.ebuild 2534 SHA256 bfe58954437b13cc6fbf2a41cd1955dc67142ad5d86cf047f05ab2103c0c9e39 SHA512 1b0d02e5d4a493cd7926a93c92b3b78951f3580228ca19864113dbb09f12ce936866d50d528bdfb66f94b88b8f99660fa5d7181a81008b4badfaa7ef362a187c WHIRLPOOL 11a73a52a10bf7dedb37d3ff95fe6d69038f67ee25ee561c4fba2b2d44bd6fb958e814a6267a3dd2c709b37a53147a59bbe3e62a6b9129e79e44f61aa7fef9d0 +EBUILD smartmontools-6.4.ebuild 1639 SHA256 8a750c037710240049acaf6759199fa9bcc8e2521c8eec155871854c410120c8 SHA512 c9b07c80d4e4355bc2c4ebce895efe35ed70d5a31eab3eb8298c1cc947a42cb1c4bb81d57cb46816619580067aeec246f49bc581a788abb7c912d0ef898f8448 WHIRLPOOL f74cbde502853bffc5c88d8ef14202c908a772bd1e9a6a779f3958282655e5ec049666a75d339647d6f5cd9e3697ca4eaa616bc5462f90588e33ecccb2cc9ecb +EBUILD smartmontools-6.5.ebuild 2726 SHA256 2a194cd89589b0a1be1be3ffe2ecce9c5740ff0069cb2cd209ccd92da895ee3c SHA512 15871d06fa4d9038ecdbb5d6e669526fd035e09cb43dee4fc9688fa3e9d1e5775ba46eb12c720d638ab5f7c0d808495f66c1fa7e404247f933c5c450411462cf WHIRLPOOL aa0fde02f7f195fddaf74a7a63a45c199b05d94a0c41a51d9d644f7ce7864527b5173e321f9fe0048ed3755716ae82dcca66279832bf8a4eb9c83f8488b7618a +EBUILD smartmontools-9999.ebuild 2726 SHA256 2a194cd89589b0a1be1be3ffe2ecce9c5740ff0069cb2cd209ccd92da895ee3c SHA512 15871d06fa4d9038ecdbb5d6e669526fd035e09cb43dee4fc9688fa3e9d1e5775ba46eb12c720d638ab5f7c0d808495f66c1fa7e404247f933c5c450411462cf WHIRLPOOL aa0fde02f7f195fddaf74a7a63a45c199b05d94a0c41a51d9d644f7ce7864527b5173e321f9fe0048ed3755716ae82dcca66279832bf8a4eb9c83f8488b7618a +MISC ChangeLog 5978 SHA256 ddb411f5922e15aa38c9850ff7b341b4b285fe0052dde1710e85a026d1170a5c SHA512 1a482b6059ce1f49f2d1c468389b520963942e4d8b02e0e883452a024a9b1557ce0d33cdb365f170568ea69a9050f61482656579a5179be3ff0d61c84a039d7f WHIRLPOOL 8113cae9710da5e3a758cca8b8760c4c30aef3ae7f2881a1b9028f1ce15539389f1d50a72c97839fb9ffba15d7df94ab904080e8f47c0412491bacc30001c815 +MISC ChangeLog-2015 20152 SHA256 f3ec99b8e802612e8f3dccf301c1f8ce46066fa26b1bf58c1eb34ec4e606fb3e SHA512 3969af254861ddb1bef5c129fc691732356ee56fd5ed29f3a76273593182c90d21239050c7d449560334976ae7d315d06fb25d3f815fe6c98b4ce93771b68d6c WHIRLPOOL 2c7d3763680d2572c2ee8f8f3c5a2da0bf6f602c06deb57d842ceea07f0a695d36ed92829166b4d29c10eb21090e65cc064d297d8f2a537c3a4aab93d0bcff8b +MISC metadata.xml 517 SHA256 9498d60f66b4e752d70f5f34e5bcf2ed20bb9d113310d9f4344049dde7fc6087 SHA512 63c3af11414b2a8ac83351486b600c16dec940d01c07bacfefb762b3acb152f87db3f630772c0ec32cdc4b316ab3a98ed3efbda82d0af5680d76f0b24459ba14 WHIRLPOOL 4a7af5fe7bd02387df2ebd7c34379eff330710a4ffc7beed20953cac8c4ab2cfae4d1283c71bf1f79d1d765e681761b2e1a5ab19557ebb7e84c16aa143429f5c diff --git a/sys-apps/smartmontools/files/smartd-r1.rc b/sys-apps/smartmontools/files/smartd-r1.rc new file mode 100644 index 000000000000..1aa2ece803dc --- /dev/null +++ b/sys-apps/smartmontools/files/smartd-r1.rc @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/run/smartd.pid" +command="/usr/sbin/smartd" +command_args="-p ${pidfile} ${SMARTD_OPTS}" +extra_started_commands="reload" + +depend() { + need localmount + after bootmisc +} + +start_pre() { + if [ ! -f "/etc/smartd.conf" ] ; then + eerror "You should setup your /etc/smartd.conf file!" + eerror "See the smartd.conf(5) manpage." + return 1 + fi + return 0 +} + +reload() { + ebegin "Reloading configuration" + start-stop-daemon --signal HUP --pidfile ${pidfile} ${command##*/} + eend $? +} diff --git a/sys-apps/smartmontools/files/smartd.confd b/sys-apps/smartmontools/files/smartd.confd new file mode 100644 index 000000000000..4b7db4dfd827 --- /dev/null +++ b/sys-apps/smartmontools/files/smartd.confd @@ -0,0 +1,4 @@ +# /etc/conf.d/smartd: config file for /etc/init.d/smartd + +# Insert any other options needed +SMARTD_OPTS="" diff --git a/sys-apps/smartmontools/files/smartmontools-update-drivedb b/sys-apps/smartmontools/files/smartmontools-update-drivedb new file mode 100644 index 000000000000..831f1e6541b5 --- /dev/null +++ b/sys-apps/smartmontools/files/smartmontools-update-drivedb @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/sbin/update-smart-drivedb diff --git a/sys-apps/smartmontools/metadata.xml b/sys-apps/smartmontools/metadata.xml new file mode 100644 index 000000000000..b35558848001 --- /dev/null +++ b/sys-apps/smartmontools/metadata.xml @@ -0,0 +1,15 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + + Do not install the monitoring daemon and associated scripts. + Install a script to update the drivedb file. + + + smartmontools + + diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild new file mode 100644 index 000000000000..04fed0a4248c --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit flag-o-matic systemd +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools" + ESVN_PROJECT="smartmontools" + inherit subversion autotools +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos" +fi + +DESCRIPTION="Tools to monitor storage systems to provide advanced warning of disk degradation" +HOMEPAGE="https://www.smartmontools.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="caps minimal selinux static" + +DEPEND=" + caps? ( + static? ( sys-libs/libcap-ng[static-libs] ) + !static? ( sys-libs/libcap-ng ) + ) + selinux? ( + sys-libs/libselinux + )" +RDEPEND="${DEPEND} + !minimal? ( virtual/mailx ) + selinux? ( sec-policy/selinux-smartmon ) +" + +src_prepare() { + # 580424 + sed '/^SRCEXPR/s@http:@https:@' \ + -i update-smart-drivedb.in \ + || die + if [[ ${PV} == "9999" ]] ; then + eautoreconf + fi +} + +src_configure() { + use minimal && einfo "Skipping the monitoring daemon for minimal build." + use static && append-ldflags -static + # The build installs /etc/init.d/smartd, but we clobber it + # in our src_install, so no need to manually delete it. + myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + --with-drivedbdir=/var/db/${PN} #575292 + --with-initscriptdir="${EPREFIX}/etc/init.d" + $(use_with caps libcap-ng) + $(use_with selinux) + $(systemd_with_unitdir) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + local db_path="/var/db/${PN}" + + if use minimal ; then + dosbin smartctl + doman smartctl.8 + else + default + newinitd "${FILESDIR}"/smartd-r1.rc smartd + newconfd "${FILESDIR}"/smartd.confd smartd + + # Move drivedb.h file out of PM's sight (bug #575292) + mv "${ED}${db_path}/drivedb.h" "${T}" || die + keepdir "${db_path}" + + exeinto /etc/cron.monthly + doexe "${FILESDIR}"/${PN}-update-drivedb + fi +} + +pkg_postinst() { + if ! use minimal ; then + local db_path="/var/db/${PN}" + + if [[ -f "${db_path}/drivedb.h" ]] ; then + ewarn "WARNING! The existing copy of the drive database has been replaced with the version that" + ewarn "was shipped with this release of ${PN}. You may want to update the" + ewarn "database by running the following command as root:" + ewarn "" + ewarn "/usr/sbin/update-smart-drivedb" + fi + + # Move drivedb.h to /var/db/${PN} (bug #575292) + mv "${T}"/drivedb.h "${db_path}" || die + fi +} diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild b/sys-apps/smartmontools/smartmontools-6.4.ebuild new file mode 100644 index 000000000000..a9381a6c4d8c --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit flag-o-matic systemd +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools" + ESVN_PROJECT="smartmontools" + inherit subversion autotools +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos" +fi + +DESCRIPTION="Tools to monitor storage systems to provide advanced warning of disk degradation" +HOMEPAGE="https://www.smartmontools.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="caps minimal selinux static" + +DEPEND=" + caps? ( + static? ( sys-libs/libcap-ng[static-libs] ) + !static? ( sys-libs/libcap-ng ) + ) + selinux? ( + sys-libs/libselinux + )" +RDEPEND="${DEPEND} + !minimal? ( virtual/mailx ) + selinux? ( sec-policy/selinux-smartmon ) +" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + #./autogen.sh + eautoreconf + fi +} + +src_configure() { + use minimal && einfo "Skipping the monitoring daemon for minimal build." + use static && append-ldflags -static + # The build installs /etc/init.d/smartd, but we clobber it + # in our src_install, so no need to manually delete it. + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --with-initscriptdir="${EPREFIX}/etc/init.d" \ + $(use_with caps libcap-ng) \ + $(use_with selinux) \ + $(systemd_with_unitdir) +} + +src_install() { + if use minimal ; then + dosbin smartctl + doman smartctl.8 + else + default + newinitd "${FILESDIR}"/smartd-r1.rc smartd + newconfd "${FILESDIR}"/smartd.confd smartd + fi +} diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild b/sys-apps/smartmontools/smartmontools-6.5.ebuild new file mode 100644 index 000000000000..dfe72e1dfdd6 --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-6.5.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit flag-o-matic systemd +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools" + ESVN_PROJECT="smartmontools" + inherit subversion autotools +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos" +fi + +DESCRIPTION="Tools to monitor storage systems to provide advanced warning of disk degradation" +HOMEPAGE="https://www.smartmontools.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="caps minimal selinux static update_drivedb" + +DEPEND=" + caps? ( + static? ( sys-libs/libcap-ng[static-libs] ) + !static? ( sys-libs/libcap-ng ) + ) + selinux? ( + sys-libs/libselinux + )" +RDEPEND="${DEPEND} + !minimal? ( virtual/mailx ) + selinux? ( sec-policy/selinux-smartmon ) +" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautoreconf + fi +} + +src_configure() { + use minimal && einfo "Skipping the monitoring daemon for minimal build." + use static && append-ldflags -static + # The build installs /etc/init.d/smartd, but we clobber it + # in our src_install, so no need to manually delete it. + myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292 + --with-initscriptdir="${EPREFIX}/etc/init.d" + $(use_with caps libcap-ng) + $(use_with selinux) + $(systemd_with_unitdir) + $(use_with update_drivedb update-smart-drivedb) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + local db_path="/var/db/${PN}" + + if use minimal ; then + dosbin smartctl + doman smartctl.8 + else + default + newinitd "${FILESDIR}"/smartd-r1.rc smartd + newconfd "${FILESDIR}"/smartd.confd smartd + + keepdir "${db_path}" + if use update_drivedb ; then + # Move drivedb.h file out of PM's sight (bug #575292) + mv "${ED}${db_path}/drivedb.h" "${T}" || die + + exeinto /etc/cron.monthly + doexe "${FILESDIR}/${PN}-update-drivedb" + fi + fi +} + +pkg_postinst() { + if ! use minimal ; then + local db_path="/var/db/${PN}" + + if [[ -f "${db_path}/drivedb.h" ]] ; then + ewarn "WARNING! The existing copy of the drive database has been replaced with the version that" + ewarn "was shipped with this release of ${PN}. You may want to update the" + ewarn "database by: " + + if ! use update_drivedb ; then + ewarn "re-merging ${PN} with USE='update_drivedb', then" + fi + ewarn "running the following command as root:" + ewarn "" + ewarn "/usr/sbin/update-smart-drivedb" + fi + + if use update_drivedb ; then + # Move drivedb.h to /var/db/${PN} (bug #575292) + mv "${T}"/drivedb.h "${db_path}" || die + fi + fi +} diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild new file mode 100644 index 000000000000..dfe72e1dfdd6 --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-9999.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit flag-o-matic systemd +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools" + ESVN_PROJECT="smartmontools" + inherit subversion autotools +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos" +fi + +DESCRIPTION="Tools to monitor storage systems to provide advanced warning of disk degradation" +HOMEPAGE="https://www.smartmontools.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="caps minimal selinux static update_drivedb" + +DEPEND=" + caps? ( + static? ( sys-libs/libcap-ng[static-libs] ) + !static? ( sys-libs/libcap-ng ) + ) + selinux? ( + sys-libs/libselinux + )" +RDEPEND="${DEPEND} + !minimal? ( virtual/mailx ) + selinux? ( sec-policy/selinux-smartmon ) +" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautoreconf + fi +} + +src_configure() { + use minimal && einfo "Skipping the monitoring daemon for minimal build." + use static && append-ldflags -static + # The build installs /etc/init.d/smartd, but we clobber it + # in our src_install, so no need to manually delete it. + myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292 + --with-initscriptdir="${EPREFIX}/etc/init.d" + $(use_with caps libcap-ng) + $(use_with selinux) + $(systemd_with_unitdir) + $(use_with update_drivedb update-smart-drivedb) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + local db_path="/var/db/${PN}" + + if use minimal ; then + dosbin smartctl + doman smartctl.8 + else + default + newinitd "${FILESDIR}"/smartd-r1.rc smartd + newconfd "${FILESDIR}"/smartd.confd smartd + + keepdir "${db_path}" + if use update_drivedb ; then + # Move drivedb.h file out of PM's sight (bug #575292) + mv "${ED}${db_path}/drivedb.h" "${T}" || die + + exeinto /etc/cron.monthly + doexe "${FILESDIR}/${PN}-update-drivedb" + fi + fi +} + +pkg_postinst() { + if ! use minimal ; then + local db_path="/var/db/${PN}" + + if [[ -f "${db_path}/drivedb.h" ]] ; then + ewarn "WARNING! The existing copy of the drive database has been replaced with the version that" + ewarn "was shipped with this release of ${PN}. You may want to update the" + ewarn "database by: " + + if ! use update_drivedb ; then + ewarn "re-merging ${PN} with USE='update_drivedb', then" + fi + ewarn "running the following command as root:" + ewarn "" + ewarn "/usr/sbin/update-smart-drivedb" + fi + + if use update_drivedb ; then + # Move drivedb.h to /var/db/${PN} (bug #575292) + mv "${T}"/drivedb.h "${db_path}" || die + fi + fi +} -- cgit v1.2.3