# ChangeLog for sys-apps/gradm
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.83 2007/02/22 01:10:15 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.84 2007/02/22 13:32:10 phreak Exp $
+
+*gradm-2.1.10.200701121959 (22 Feb 2007)
+
+ 22 Feb 2007; Christian Heim <phreak@gentoo.org>
+ +gradm-2.1.10.200701121959.ebuild:
+ Version bump, new upstream version to satisfy hardened-sources / GRsec.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
MD5 f2401396b01c577f727c2da3b694c779 files/grsecurity.rc 1810
RMD160 b4fea2950225f1f98a1fff87fba75f5404ff1311 files/grsecurity.rc 1810
SHA256 0ea672982d0dbeee8e7bfa275b175c2a91fc57678257177188090b8179b0ee04 files/grsecurity.rc 1810
+DIST gradm-2.1.10-200701121959.tar.gz 61974 RMD160 d37de9526477e442734ac7360e4a225377f9bba5 SHA1 5e6d6700826415bf22ced9273e8013bc2e17ed84 SHA256 5b2a25c5ba6f65abe4008cd1f37ebb024aa46b64a98b2356c6636febf2c63f3c
DIST gradm-2.1.7-200511041858.tar.gz 60587 RMD160 b10e8f86f2d2fa8390c34be66e32992a749b436f SHA1 41f76daa3cdefd7cf4143957861717f9aa6bfdb4 SHA256 80024cb742b8f83e1e28138bba0e6ac48d44f722bba22b9263ab85af45da7d65
DIST gradm-2.1.9-200602141850.tar.gz 61618 RMD160 2c2d750fcbac114d87867be553ec25b9725744a8 SHA1 565c1582aa629c4c7c248fd8103a30f90fae5091 SHA256 f67761b2aff2c9643b029de5d2cc327d3c7277f9a6d13f88eef425ff92382073
DIST gradm-2.1.9-200610091102.tar.gz 61932 RMD160 ef76bd1104af188dbc62c280d0c416f1092d2a3b SHA1 5b5c6b87a93c946c324f51aec7d79e241fe6a800 SHA256 968e084b064dcbd95700d2d2a2f955a806369ff71ba7b9ec50c1079a8b8cd719
+EBUILD gradm-2.1.10.200701121959.ebuild 1561 RMD160 e199dc99f7da3cb58ef864ca128afa8bdf520bcb SHA1 c8781dad3ec36aa1c64f0e2d6a1c7a3b62d10a65 SHA256 250a8a293a910c2739d618df94c99bcedf0b2f6efd02311580587eeb9e499e6c
+MD5 d5eb8e49b553af0f0e0765988ff39169 gradm-2.1.10.200701121959.ebuild 1561
+RMD160 e199dc99f7da3cb58ef864ca128afa8bdf520bcb gradm-2.1.10.200701121959.ebuild 1561
+SHA256 250a8a293a910c2739d618df94c99bcedf0b2f6efd02311580587eeb9e499e6c gradm-2.1.10.200701121959.ebuild 1561
EBUILD gradm-2.1.7.200511041858.ebuild 1494 RMD160 9e81f0056482792dc0a99b6f1fa15a1539c13a43 SHA1 e8666d9f53577f32845abea65a801bf2cde53add SHA256 109b9df7c1e3142504c8976f0664132191085f80440ae530215f455505b54f41
MD5 4ddc40a5191bb60b4a7b1c91d32b166f gradm-2.1.7.200511041858.ebuild 1494
RMD160 9e81f0056482792dc0a99b6f1fa15a1539c13a43 gradm-2.1.7.200511041858.ebuild 1494
MD5 281a0c467a5baac7a4469184938b4b0a gradm-2.1.9.200610091102.ebuild 1559
RMD160 7d257b98623fc34000ce84f99ba9b88066b725e0 gradm-2.1.9.200610091102.ebuild 1559
SHA256 58e1c3a59a9922dc2ade29a9e90b4467dcad8ebce03a1eefc8f39cc608e94eec gradm-2.1.9.200610091102.ebuild 1559
-MISC ChangeLog 13065 RMD160 4b98efb5c66421cfbe969c32ae7ba11bf663c1e1 SHA1 924f9d98fccc607f0826b7c34d8fd817e4895557 SHA256 b686bcf3c734bd4b0bf02681d83a3f63a486c31da42a68653f0f0fb06d53ba05
-MD5 71fdc3e39f1e9caf98a10622b0d747ce ChangeLog 13065
-RMD160 4b98efb5c66421cfbe969c32ae7ba11bf663c1e1 ChangeLog 13065
-SHA256 b686bcf3c734bd4b0bf02681d83a3f63a486c31da42a68653f0f0fb06d53ba05 ChangeLog 13065
+MISC ChangeLog 13270 RMD160 328d0942c1caebb7c8aab3fc6335e90b35066611 SHA1 c08c26e8b35272220e00e407d37e4c8ca8d98cb0 SHA256 e4bc571f29a98bee6a288a384a1a8e4eb7463b3a4a2dd2ecc357b3537f5e09ea
+MD5 97b8904bb6f8630a2962a2d824bc486a ChangeLog 13270
+RMD160 328d0942c1caebb7c8aab3fc6335e90b35066611 ChangeLog 13270
+SHA256 e4bc571f29a98bee6a288a384a1a8e4eb7463b3a4a2dd2ecc357b3537f5e09ea ChangeLog 13270
MISC metadata.xml 221 RMD160 36e39e492da72726b330a86dc95ede87e651d931 SHA1 6f6982410ef753962e2e4e8023f052ac90442059 SHA256 3a74e36f71a920efbf1527328945aff900bc54184c50c4da80f024d35a3e25f2
MD5 695a3bd3cfb34ea27e7dd493ce9ef398 metadata.xml 221
RMD160 36e39e492da72726b330a86dc95ede87e651d931 metadata.xml 221
SHA256 3a74e36f71a920efbf1527328945aff900bc54184c50c4da80f024d35a3e25f2 metadata.xml 221
+MD5 a9756bdb4c742af962ccc3d9d2fafb80 files/digest-gradm-2.1.10.200701121959 274
+RMD160 b5ea4ef441e1ae8795240049d4df5e8eb73f9cc8 files/digest-gradm-2.1.10.200701121959 274
+SHA256 9325bd07cfc0e690e4b0b04f127edc7c376249e7e2f51776a568138a93d1ccb7 files/digest-gradm-2.1.10.200701121959 274
MD5 f43ebe64f36d643c8427a275ffa2d355 files/digest-gradm-2.1.7.200511041858 271
RMD160 41d18f607e5307b237ddfd642012b8869f5475c1 files/digest-gradm-2.1.7.200511041858 271
SHA256 1a72edcf775305176826eb34d0a9036ff7f4c278376325411023f420919c7729 files/digest-gradm-2.1.7.200511041858 271
RMD160 cca6b0055d33798fb8fcebe93be11f61423830b7 files/digest-gradm-2.1.9.200610091102 271
SHA256 25392257fd3229de30ebeba2a6fe890ca2cfcb3dc85ccb80cddc02c8817e2f27 files/digest-gradm-2.1.9.200610091102 271
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFF3O0Pz974XjDVpbkRAiViAJ4ksxlwKJuLuVitroplncHliZgHngCglCmK
-b1Nr53IZZmUHzGIR1ZYUy08=
-=Y8CF
+iD8DBQFF3ZtdyuNVb5qfaOYRAu2mAKCDDpi2ycp0fpm/bOreipLvq8ZQcQCfWhC/
+QwprDQNHl7wXKmQCqfIx+ZY=
+=/c3X
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.10.200701121959.ebuild,v 1.1 2007/02/22 13:32:10 phreak Exp $
+
+inherit flag-o-matic toolchain-funcs eutils versionator
+
+myPV="$(replace_version_separator 3 -)"
+
+DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
+HOMEPAGE="http://www.grsecurity.net/"
+SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz"
+#RESTRICT=primaryuri
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="pam"
+RDEPEND=""
+DEPEND="virtual/libc
+ sys-devel/bison
+ sys-devel/flex
+ pam? ( virtual/pam )
+ || ( sys-apps/paxctl sys-apps/chpax )"
+
+S="${WORKDIR}/${PN}2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/2.1.7.200511041858-non-lazy-bindings.patch
+ sed -i -e s/MKNOD=/'MKNOD ?='/ -e s/STRIP=/'STRIP ?='/ ${S}/Makefile
+}
+
+src_compile() {
+ local target=""
+ use pam || target="nopam"
+
+ emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "compile problem"
+}
+
+src_install() {
+ einstall DESTDIR="${D}" MKNOD=true STRIP=true || die "einstall failed"
+ fperms 711 /sbin/gradm
+}
+
+pkg_postinst() {
+ [ -e "${ROOT}"/dev/grsec ] && rm -f "${ROOT}"/dev/grsec
+ einfo "Making character device for grsec2 learning mode"
+ mkdir -p -m 755 "${ROOT}"/dev/
+ mknod -m 0622 "${ROOT}"/dev/grsec c 1 13 || die "Cant mknod for grsec learning device"
+
+ ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode"
+}