summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2008-03-11 19:34:42 +0000
committerChristian Heim <phreak@gentoo.org>2008-03-11 19:34:42 +0000
commit6fd72ca668aa64d728bd79a820b13b4e8b728475 (patch)
tree4f7f92b59dc7b9db7ed5d20e457d0aaf2d5ac5a3 /sys-apps/gradm
parentversion bump thanks to Tomáš Chvátal <tomas.chvatal@gmail.com> in bug 208008 (diff)
downloadhistorical-6fd72ca668aa64d728bd79a820b13b4e8b728475.tar.gz
historical-6fd72ca668aa64d728bd79a820b13b4e8b728475.tar.bz2
historical-6fd72ca668aa64d728bd79a820b13b4e8b728475.zip
Version bump, thanks to Gordon Malm on IRC.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog10
-rw-r--r--sys-apps/gradm/Manifest4
-rw-r--r--sys-apps/gradm/gradm-2.1.11.200803102037.ebuild52
3 files changed, 63 insertions, 3 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 8b04fa439ecc..60a5263eeabd 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,12 @@
# 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.90 2007/10/21 00:55:24 phreak Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.91 2008/03/11 19:34:42 phreak Exp $
+
+*gradm-2.1.11.200803102037 (11 Mar 2008)
+
+ 11 Mar 2008; Christian Heim <phreak@gentoo.org>
+ +gradm-2.1.11.200803102037.ebuild:
+ Version bump, thanks to Gordon Malm on IRC.
*gradm-2.1.11.200708011700 (21 Oct 2007)
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 74e896f5f446..0bfa1a7ace7d 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -10,14 +10,16 @@ AUX grsecurity.rc 1810 RMD160 b4fea2950225f1f98a1fff87fba75f5404ff1311 SHA1 1e1e
DIST gradm-2.1.10-200701121959.tar.gz 61974 RMD160 d37de9526477e442734ac7360e4a225377f9bba5 SHA1 5e6d6700826415bf22ced9273e8013bc2e17ed84 SHA256 5b2a25c5ba6f65abe4008cd1f37ebb024aa46b64a98b2356c6636febf2c63f3c
DIST gradm-2.1.10-200702231759.tar.gz 62873 RMD160 fb8bb19b51c33f1c236846169dd2a71084fdbb9d SHA1 8d242f2917c896a73afff596f0f6b20a237c3a52 SHA256 f2a8538e1bc790cf09d32ceee49333221986c274f8baef70519dc73a23db073b
DIST gradm-2.1.11-200708011700.tar.gz 62909 RMD160 63e54bb1036d7d2a41c87d75990f3fe56bbd47a8 SHA1 395a847de929d2f1dcdf71a02417e6f0bad1fd50 SHA256 0fbdb7123cd14ed48a599551ad9e2b46aeb0b263a234d1168810adb2486f290c
+DIST gradm-2.1.11-200803102037.tar.gz 63017 RMD160 7ee77504534603eb95a1e1d232b264bac2d3b94f SHA1 4c0792bf4e7318f397e35831fe3ac632a47460a1 SHA256 13128685c7df21b5f4a964c58ced7be8b85c1a4d48ecdf6ccf318d0b5ee7df5d
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
EBUILD gradm-2.1.10.200702231759.ebuild 1555 RMD160 94a894f18fdee0d3a08503ab2070069edd84a01d SHA1 818891feb62237ec1554204e00c589fe5a5cfcb2 SHA256 3f0ffa2fad2f386e868d07b28954d06b5fd691bc9a8f1b2654065e80312a0aaa
EBUILD gradm-2.1.11.200708011700.ebuild 1561 RMD160 8d8e974d9b9e5fca9dddbb8c1c458511a5607a6d SHA1 aca7b3863f667a33e0a3538f269a5d075cdab0b7 SHA256 cf3aec7738129fa8db3cf745f554df605d507273c1754a3e72a0ba87efbf06e4
+EBUILD gradm-2.1.11.200803102037.ebuild 1561 RMD160 6c81f7378792dde8af6db3d6bd7f812ca8946052 SHA1 b62a18b08cb152a0987ed48d6e60a409dd521c67 SHA256 b3c51b76c7df63cffd033a37f538fcc531e83c8b27ba4ac6fdba0ca51adfd301
EBUILD gradm-2.1.7.200511041858.ebuild 1491 RMD160 8c1a8a7041578bd13db42ad964448ee543b6cdd7 SHA1 2cbd409b75ac99c20c348357ea9b62b54ccf014b SHA256 d60864c72e1fb60328b8c023f818cb58fe71e05cd974cc4aeeb46dbdaaf6d272
EBUILD gradm-2.1.9.200602141850.ebuild 1566 RMD160 77713325efed3a3f1b28b6c8d907a97df4066e79 SHA1 635b4a12682a1a7be992cdec89280ea17ac3d64e SHA256 37d9e846ea4e63256a90f46865480c0ea227d3b6f8e769f2f7f24e6eae2ae545
EBUILD gradm-2.1.9.200610091102.ebuild 1559 RMD160 7d257b98623fc34000ce84f99ba9b88066b725e0 SHA1 33ac0b707826c9d531345e7431e83cd9070cc623 SHA256 58e1c3a59a9922dc2ade29a9e90b4467dcad8ebce03a1eefc8f39cc608e94eec
-MISC ChangeLog 14300 RMD160 2d3310a2bdbe5b3b23259a4d88fe42200016a801 SHA1 99a6f85b9619ec1310153228836dba9ce515f16f SHA256 aa0a5b25f7627d5db1c60f86a8647effc2fd8a98238c9974e2b2ae6b3fb75dee
+MISC ChangeLog 14476 RMD160 41435718e711ac326568c6db4955f2936255f897 SHA1 b0b8594f0fdb73a0c64b84a01e733f77d276e768 SHA256 f6669f647cd9c703557095624a653fb75bfe021057b01849dc422ab79b03c394
MISC metadata.xml 221 RMD160 36e39e492da72726b330a86dc95ede87e651d931 SHA1 6f6982410ef753962e2e4e8023f052ac90442059 SHA256 3a74e36f71a920efbf1527328945aff900bc54184c50c4da80f024d35a3e25f2
diff --git a/sys-apps/gradm/gradm-2.1.11.200803102037.ebuild b/sys-apps/gradm/gradm-2.1.11.200803102037.ebuild
new file mode 100644
index 000000000000..faef7c78d676
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.1.11.200803102037.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.11.200803102037.ebuild,v 1.1 2008/03/11 19:34:42 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"
+}