From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2ABCC13933E for ; Sat, 10 Jul 2021 00:45:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED367E0B35; Sat, 10 Jul 2021 00:45:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D47A3E0B35 for ; Sat, 10 Jul 2021 00:45:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC3F5342C15 for ; Sat, 10 Jul 2021 00:45:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 737EF7CE for ; Sat, 10 Jul 2021 00:45:08 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1625877904.0dfa1e0fc1cf6d7fda3b2d69f71c5be1df1e3c35.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/cancd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/cancd/cancd-0.1.0-r6.ebuild X-VCS-Directories: app-admin/cancd/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 0dfa1e0fc1cf6d7fda3b2d69f71c5be1df1e3c35 X-VCS-Branch: master Date: Sat, 10 Jul 2021 00:45:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b3aa9e1-8c87-4d3b-ae75-583564589c84 X-Archives-Hash: 2564b659cf3424967d587f5dffbf3f82 commit: 0dfa1e0fc1cf6d7fda3b2d69f71c5be1df1e3c35 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jul 10 00:44:22 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jul 10 00:45:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dfa1e0f app-admin/cancd: add group (GLEP 81) Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> app-admin/cancd/cancd-0.1.0-r6.ebuild | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/app-admin/cancd/cancd-0.1.0-r6.ebuild b/app-admin/cancd/cancd-0.1.0-r6.ebuild new file mode 100644 index 00000000000..c8f64e59008 --- /dev/null +++ b/app-admin/cancd/cancd-0.1.0-r6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="CA NetConsole Daemon receives output from the Linux netconsole driver" +HOMEPAGE="http://oss.oracle.com/projects/cancd/" +SRC_URI="http://oss.oracle.com/projects/cancd/dist/files/source/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +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 \ + -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,' \ + -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 +}