diff options
Diffstat (limited to 'app-admin/cancd')
-rw-r--r-- | app-admin/cancd/cancd-0.1.0-r6.ebuild (renamed from app-admin/cancd/cancd-0.1.0-r4.ebuild) | 21 | ||||
-rw-r--r-- | app-admin/cancd/metadata.xml | 2 |
2 files changed, 11 insertions, 12 deletions
diff --git a/app-admin/cancd/cancd-0.1.0-r4.ebuild b/app-admin/cancd/cancd-0.1.0-r6.ebuild index d66212991751..c8f64e59008a 100644 --- a/app-admin/cancd/cancd-0.1.0-r4.ebuild +++ b/app-admin/cancd/cancd-0.1.0-r6.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -inherit user +EAPI=7 DESCRIPTION="CA NetConsole Daemon receives output from the Linux netconsole driver" HOMEPAGE="http://oss.oracle.com/projects/cancd/" @@ -12,32 +10,33 @@ SRC_URI="http://oss.oracle.com/projects/cancd/dist/files/source/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" PATCHES=( "${FILESDIR}/${P}-build-r1.patch" "${FILESDIR}/${P}-c-cleanup.patch" ) +RDEPEND=" + acct-group/cancd + acct-user/cancd +" + src_prepare() { default # slight makefile cleanup - sed -i \ + sed \ -e '/^CFLAGS/s,-g,,' \ -e '/^CFLAGS/s,-O2,-Wall -W -Wextra -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wredundant-decls -Wunreachable-code -Wlong-long,' \ -e '/rm cancd cancd.o/s,rm,rm -f,' \ - Makefile || die + -i Makefile || die } src_install() { dosbin cancd + newinitd "${FILESDIR}"/cancd-init.d-r1 cancd newconfd "${FILESDIR}"/cancd-conf.d-r1 cancd newinitd "${FILESDIR}"/netconsole-init.d netconsole newconfd "${FILESDIR}"/netconsole-conf.d netconsole } - -pkg_preinst() { - enewuser cancd -} diff --git a/app-admin/cancd/metadata.xml b/app-admin/cancd/metadata.xml index a4e0d354f696..a551e17802d7 100644 --- a/app-admin/cancd/metadata.xml +++ b/app-admin/cancd/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>robbat2@gentoo.org</email> |