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 EF78113832E for ; Tue, 19 Jul 2016 06:43:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E981E0B3D; Tue, 19 Jul 2016 06:43:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BFDDE0B3D for ; Tue, 19 Jul 2016 06:43:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 418E5340AEC for ; Tue, 19 Jul 2016 06:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78DD578D for ; Tue, 19 Jul 2016 06:43:26 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1468910587.89aebe8363721b84a3fc4f0769ecb329055114f4.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gradm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/gradm/Manifest sys-apps/gradm/gradm-3.1.201607172312.ebuild X-VCS-Directories: sys-apps/gradm/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 89aebe8363721b84a3fc4f0769ecb329055114f4 X-VCS-Branch: master Date: Tue, 19 Jul 2016 06:43:26 +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-Archives-Salt: 703bae16-57de-4d0b-8b34-f08c7dcad70f X-Archives-Hash: d4c80f05799ec7e4a8b43812a1efe702 commit: 89aebe8363721b84a3fc4f0769ecb329055114f4 Author: Anthony G. Basile gentoo org> AuthorDate: Tue Jul 19 06:43:07 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue Jul 19 06:43:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89aebe83 sys-apps/gradm: bump to version 3.1.201607172312 Package-Manager: portage-2.2.28 sys-apps/gradm/Manifest | 1 + sys-apps/gradm/gradm-3.1.201607172312.ebuild | 49 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index 4366841..6470d8f 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -1,2 +1,3 @@ DIST gradm-3.1-201507191652.tar.gz 91460 SHA256 2f14c357bf0459e502a4e108b76c3f6240aa484762d07bb1687796b9b9297a50 SHA512 94b655164369d3ae061ae74710db1098e743a435eecdee9faef77b39aa3fe58f552b4479e55c9546b3c25dea194dc490d9442fc404318628c77d1ecd05d6243e WHIRLPOOL 22041c8424bacccdb53eef953b2419a84b24318caac91e137c59b3b88a5ef57d32dfe31dcf8ddb0c36e35b935db0526b9778ac0650d6dfdf612a469ccdc17f78 DIST gradm-3.1-201603152148.tar.gz 91549 SHA256 07f4decbc95ddfb8a88a35ab2960705fb48d0daf108afc09c2b752e2e86fd7b5 SHA512 a423db1dfdaa0b068970b92dc970d6e10bfc20695437e92d967b064c3efe05114ab6de672eec984ab2f048b67b12ec8c6667a71bc584f03e5d2f0ebab1476158 WHIRLPOOL 69b4808f71c55a51784397870d115b851dedd845f8bd588b75d7a39cab140e29eb20ec83542979d6265b203ec78c9a45bc6b1eecb6bcaa061450a3e8fac2512d +DIST gradm-3.1-201607172312.tar.gz 91667 SHA256 4281c72e3e82f0ea2c01d124975c19326b2157c10911fa065c1549195d5e6ee4 SHA512 61f14038ee555b99e4d0096dd01697d8adba45e057ffceadb44eafbdfba807b53030684c5073d169c005902acfa6baa673975ed4ab00ad035941c209f8f1d2e2 WHIRLPOOL 38fd29b829b78aa016e922ba011bcfeba0cc8de8d45ccacf2b7658153dcbed54df7035c6bcead8b4956595f812f3ca35a8553b364feb37352e5e39eee15c2661 diff --git a/sys-apps/gradm/gradm-3.1.201607172312.ebuild b/sys-apps/gradm/gradm-3.1.201607172312.ebuild new file mode 100644 index 0000000..ab71f12 --- /dev/null +++ b/sys-apps/gradm/gradm-3.1.201607172312.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" +inherit flag-o-matic toolchain-funcs versionator eutils udev + +MY_PV="$(replace_version_separator 2 -)" + +DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" +HOMEPAGE="http://www.grsecurity.net/" +SRC_URI="https://dev.gentoo.org/~blueness/hardened-sources/gradm/${PN}-${MY_PV}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="pam" + +RDEPEND="" +DEPEND=" + sys-devel/bison + sys-devel/flex + pam? ( virtual/pam )" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/respect-gentoo-env-r3.patch + sed -i -e "s:/lib/udev:$(get_udevdir):" Makefile || die + eapply_user +} + +src_compile() { + local target + use pam || target="nopam" + + emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + fperms 711 /sbin/gradm +} + +pkg_postinst() { + ewarn + ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode." + ewarn +}