summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Malm <gengor@gentoo.org>2009-03-24 18:08:48 +0000
committerGordon Malm <gengor@gentoo.org>2009-03-24 18:08:48 +0000
commit20d10eb67da2e1eac55be8418866978851c90478 (patch)
tree6ee17081021ae1dce6fd2627e488e66a4162252b
parentversion bump; cleanup; some cosmetic (diff)
downloadhistorical-20d10eb67da2e1eac55be8418866978851c90478.tar.gz
historical-20d10eb67da2e1eac55be8418866978851c90478.tar.bz2
historical-20d10eb67da2e1eac55be8418866978851c90478.zip
Clean out old versions of sys-apps/gradm
Package-Manager: portage-2.1.6.7/cvs/Linux i686
-rw-r--r--sys-apps/gradm/ChangeLog14
-rw-r--r--sys-apps/gradm/Manifest18
-rw-r--r--sys-apps/gradm/files/2.1.6.200506131347-non-lazy-bindings.patch12
-rw-r--r--sys-apps/gradm/files/gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch13
-rw-r--r--sys-apps/gradm/files/gradm_2.1.8.200601212342-increase_num_pointers.patch13
-rw-r--r--sys-apps/gradm/files/gradm_2.1.8.200601212342-ip_state_interface_fix.patch10
-rw-r--r--sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-admin-role.patch11
-rw-r--r--sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch17
-rw-r--r--sys-apps/gradm/files/grsecurity102
-rw-r--r--sys-apps/gradm/files/grsecurity.rc77
-rw-r--r--sys-apps/gradm/gradm-2.1.10.200702231759.ebuild52
-rw-r--r--sys-apps/gradm/gradm-2.1.11.200803171746.ebuild52
-rw-r--r--sys-apps/gradm/gradm-2.1.11.200804041607.ebuild52
-rw-r--r--sys-apps/gradm/gradm-2.1.9.200602141850.ebuild56
14 files changed, 14 insertions, 485 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 11afac89bc1a..78f319be1149 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for sys-apps/gradm
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.109 2009/03/21 21:04:56 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.110 2009/03/24 18:08:48 gengor Exp $
+
+ 24 Mar 2009; Gordon Malm <gengor@gentoo.org>
+ -files/2.1.6.200506131347-non-lazy-bindings.patch,
+ -files/gradm_2.1.8.200601212342-increase_num_pointers.patch,
+ -files/gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch,
+ -files/gradm_2.1.8.200601212342-ip_state_interface_fix.patch,
+ -files/gradm_2.1.9.200602141850-fix-admin-role.patch,
+ -files/gradm_2.1.9.200602141850-fix-define-order.patch, -files/grsecurity,
+ -files/grsecurity.rc, -gradm-2.1.9.200602141850.ebuild,
+ -gradm-2.1.10.200702231759.ebuild, -gradm-2.1.11.200803171746.ebuild,
+ -gradm-2.1.11.200804041607.ebuild:
+ Clean out obsolete versions.
21 Mar 2009; nixnut <nixnut@gentoo.org> gradm-2.1.13.200902232204.ebuild:
ppc stable
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index a2906d9531ec..ad7b54beb916 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,27 +1,11 @@
-AUX 2.1.6.200506131347-non-lazy-bindings.patch 546 RMD160 ee9f2d6b432047e4d897845b861abc3372524d92 SHA1 24afa48d431b94354b4a7f57b72248131a5da84e SHA256 b563e83c088ffef37fa1a8c05cfc7f071a61a56b398dc729844bee59f0c910da
AUX 2.1.7.200511041858-non-lazy-bindings.patch 546 RMD160 ee9f2d6b432047e4d897845b861abc3372524d92 SHA1 24afa48d431b94354b4a7f57b72248131a5da84e SHA256 b563e83c088ffef37fa1a8c05cfc7f071a61a56b398dc729844bee59f0c910da
-AUX gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch 961 RMD160 bf21d1e98f2b6728e44ee14352b416983805ac9f SHA1 b4fd935617e0957b29ba8aedb0449f7d7e3c7270 SHA256 fb9e2fb83b2674d0adffbdb0f1c36b8654859d9d2242b52e99709b23dcdfac47
-AUX gradm_2.1.8.200601212342-increase_num_pointers.patch 535 RMD160 4ebcb3f1b6d6037455444d5c5e06c330b17fc1aa SHA1 861a7598f8ffd0f0a4f4b733e02a81349a0303da SHA256 5de6fd9913d9b99cc42a54e0cf963498be9161f406a1121c592b1be2e468bed1
-AUX gradm_2.1.8.200601212342-ip_state_interface_fix.patch 374 RMD160 51b85cb798f1bf78aadbefd8b21e6054bdaadfa7 SHA1 6b5c4abed8fde7a2f4a46beab271ad32734dbfec SHA256 4824f65f8d2b50b2e524d32836a73f79f0f74b78aa4a0d1e2e3183ed094e303c
-AUX gradm_2.1.9.200602141850-fix-admin-role.patch 415 RMD160 e3c14a4c28076f994e55450faeb4d085bb23ed09 SHA1 c38173537ca928b1c5a1efa82df14eb252ca8d38 SHA256 6580a01981071ac92288283ff8f4b81a2b8ef3a8863e3828c2f5247cfb555c15
-AUX gradm_2.1.9.200602141850-fix-define-order.patch 521 RMD160 b668d1fe09b9f502fac1f0d05a60effce0348231 SHA1 c9c84c0ae90e826df47dd7997d6b7702c0f6b016 SHA256 3a55c9c44090e06ca702ddb5b9787f9ff251fc60e36d07ba67f94aaa27fe5eb8
-AUX grsecurity 2325 RMD160 82eb389001e61972de04bbe68655f1b6fe3c41d4 SHA1 b66eab3fdd6e22bd95a515ea9a385b9e000a6e64 SHA256 52d03ea1e5aba102019918edcf5ab45cb01e3c9a2eb553ce7addd5e58425d4e6
-AUX grsecurity.rc 1810 RMD160 b4fea2950225f1f98a1fff87fba75f5404ff1311 SHA1 1e1ed8213982cd14225d3edc6542630c96bb6309 SHA256 0ea672982d0dbeee8e7bfa275b175c2a91fc57678257177188090b8179b0ee04
-DIST gradm-2.1.10-200702231759.tar.gz 62873 RMD160 fb8bb19b51c33f1c236846169dd2a71084fdbb9d SHA1 8d242f2917c896a73afff596f0f6b20a237c3a52 SHA256 f2a8538e1bc790cf09d32ceee49333221986c274f8baef70519dc73a23db073b
-DIST gradm-2.1.11-200803171746.tar.gz 63109 RMD160 14cbc7799a2c4f8dd5062c79669991ee824b71b3 SHA1 64aabf1b673bf94aa4db9df1c231bb9331f248a2 SHA256 d99ab0e000d3831aafecc6ce2478f18f90fea51d97feb7fbde95602db1c03b95
-DIST gradm-2.1.11-200804041607.tar.gz 63129 RMD160 709ef61b36688b590b3b3d96e801bbc3e455bb66 SHA1 7a69addba7930049610ef5b317a42412bc239609 SHA256 94e2829f8e27a515905058971d0eb06bfc7e1cfd7428380152f9d2e9769acf6c
DIST gradm-2.1.11-200804142058.tar.gz 63154 RMD160 25a7a73170272a97d94c3744828cb82785f75d39 SHA1 fa598bcdb77734a73e18e137ebb67513405cac29 SHA256 cc6069f33ba134bb1790afc85121534045b5ead61a76e8eff314549f16a4234e
DIST gradm-2.1.12-200805181037.tar.gz 63701 RMD160 16722ef9aecc45d3a6950d28634776902b82cad0 SHA1 72b549729897cb58edccf2ae1440cbb9f11e8f58 SHA256 1e73078d8ddbb1805cbf231c01d50a5b0c6c48db403e7f2b17683a0b01bad9fe
DIST gradm-2.1.12-200812271437.tar.gz 63880 RMD160 be3807b8afb50faacd784ae29847006a0e9a94ed SHA1 937ff359547dec4f3f93608fceb3191c2397979e SHA256 0b4de05c35805e97e51bf8765526f8552d8b370d882c9e157e0a3c33c80e00d6
DIST gradm-2.1.13-200902232204.tar.gz 64283 RMD160 4658d1d78de6b56c91dfc43b2f7eeffd13816aea SHA1 f4780cec21b8461bbb00611bb04745537858afee SHA256 b0922d1ea5bfedc2cff85a8f605369d1cf352c4415b1d6db31f830cd8b89803d
-DIST gradm-2.1.9-200602141850.tar.gz 61618 RMD160 2c2d750fcbac114d87867be553ec25b9725744a8 SHA1 565c1582aa629c4c7c248fd8103a30f90fae5091 SHA256 f67761b2aff2c9643b029de5d2cc327d3c7277f9a6d13f88eef425ff92382073
-EBUILD gradm-2.1.10.200702231759.ebuild 1556 RMD160 b7fdbfc2d1773a3bbb7b44f9c3d9615efbb54958 SHA1 83fe4b4b5bea049506f8be29fa7870422c04b940 SHA256 8b50fd157d6dc2eea9dca2c9849106c58a213c7700acbe7c7d1c569185c9fc82
-EBUILD gradm-2.1.11.200803171746.ebuild 1556 RMD160 295f599c3da170b1459e26ae628a4d82792a655c SHA1 247bcaf147acd9a14b22f4ba7dcfc4cce68748ad SHA256 f7cc5eac409bad64a8c21775a84ee44a14bfb366ccb8439e8173a4827fb8c035
-EBUILD gradm-2.1.11.200804041607.ebuild 1563 RMD160 0e6a901030f045cc2986a3dbd2c7339c0a4e4e21 SHA1 f78b2206ad28197aa2e1c8af9b05be9d636b429e SHA256 3c28aadcf309f286207043a530d1d3e6870ef60106664f3292ee85e9cba9c135
EBUILD gradm-2.1.11.200804142058.ebuild 1563 RMD160 2aa772970eddf52040eaafd8a26a85c5b4e76f2b SHA1 01b6e73b9096caaba4059af226c6e0c32d3a34d6 SHA256 3cc46593c77157b630b429176a4b6f7a14ace2c705acdafed777f02e8cd643df
EBUILD gradm-2.1.12.200805181037.ebuild 1650 RMD160 a596012470ce1c4592e1bad7fd562033028b32d8 SHA1 2114b40c274d3eb5d8ecf2ff02ba703bb7fa64bf SHA256 84c21d3fcaf73369bf9a9d3ba91fb9ee7d31d26ea58f6e6369a666ea11a5ab6a
EBUILD gradm-2.1.12.200812271437.ebuild 1654 RMD160 7812fe7c9b2e4cd2f7ceb0a3331e39d07af7a399 SHA1 200ff259e3807d65d78111e9a04ec9d6666d3113 SHA256 d182086b0134e70b584939273117cbeb94f0843d711d499473969ba517d4c5ff
EBUILD gradm-2.1.13.200902232204.ebuild 1646 RMD160 e1e6cb627cf3b0d82c0c9cb7dab004b233a76ec4 SHA1 aeb31720a0a65a14d3eb3718a80c1631cdc16623 SHA256 255f0088f954254544edf563313322a8ddd8c72edbdeff4f34d29a4b07e6c46a
-EBUILD gradm-2.1.9.200602141850.ebuild 1566 RMD160 77713325efed3a3f1b28b6c8d907a97df4066e79 SHA1 635b4a12682a1a7be992cdec89280ea17ac3d64e SHA256 37d9e846ea4e63256a90f46865480c0ea227d3b6f8e769f2f7f24e6eae2ae545
-MISC ChangeLog 17140 RMD160 a4cddb293796734eb9f3922001b17ff94d125eec SHA1 e497a38bd8badd16a6726602468812e19b6e653a SHA256 eedfca51e98858e53fd283bc261902698d97001014ae439035288e0a7579a5a4
+MISC ChangeLog 17763 RMD160 69f94e327d9673376ae23838af1509132b0bdf82 SHA1 a83f24f3efb70a39dc4b372c7305040bfb046318 SHA256 9b95a5780fbb817cf91a964d987cd8f5de2507fc3c7ba981a6fbfefe2fbdd529
MISC metadata.xml 347 RMD160 a9641d4a404165cc9cb2d19903738fedea0660b4 SHA1 6bfed8c1482de9c20bcad95fac13a2e9e3080014 SHA256 e539669fcda0537dacb03707e91e03111a095e5b4c48c1f3319f367f1a446214
diff --git a/sys-apps/gradm/files/2.1.6.200506131347-non-lazy-bindings.patch b/sys-apps/gradm/files/2.1.6.200506131347-non-lazy-bindings.patch
deleted file mode 100644
index da0b1997f965..000000000000
--- a/sys-apps/gradm/files/2.1.6.200506131347-non-lazy-bindings.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur gradm2.orig/Makefile gradm2/Makefile
---- gradm2.orig/Makefile 2005-05-14 19:10:34.000000000 +0000
-+++ gradm2/Makefile 2005-09-17 14:47:32.573701563 +0000
-@@ -53,7 +53,7 @@
- @if [ ! -f /usr/include/security/pam_appl.h ] ; then \
- echo "Unable to detect PAM headers, disabling PAM support." ; \
- else \
-- $(CC) $(CFLAGS) -o $@ gradm_pam.c -lpam -lpam_misc $(LDFLAGS) ; \
-+ $(CC) $(CFLAGS) -o $@ gradm_pam.c -lpam -lpam_misc -Wl,-z,now $(LDFLAGS) ; \
- fi
-
- grlearn: grlearn.c gradm_lib.c grlearn2_config.tab.c lex.grlearn_config.c
diff --git a/sys-apps/gradm/files/gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch b/sys-apps/gradm/files/gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch
deleted file mode 100644
index 95a441aa8913..000000000000
--- a/sys-apps/gradm/files/gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gradm2/gradm_adm.c 2005/12/07 00:15:18 1.73
-+++ gradm2/gradm_adm.c 2006/02/05 22:51:05 1.74
-@@ -158,8 +158,8 @@ add_gradm_pam_acl(struct role_acl *role)
- add_proc_object_acl(current_subject, "/dev/null", proc_object_mode_conv("rw"), GR_FEXIST);
- add_proc_object_acl(current_subject, "/lib", proc_object_mode_conv("rx"), GR_FEXIST);
- add_proc_object_acl(current_subject, "/usr/lib", proc_object_mode_conv("rx"), GR_FEXIST);
-- add_proc_object_acl(current_subject, "/lib64", proc_object_mode_conv("rx"), GR_FEXIST);
-- add_proc_object_acl(current_subject, "/usr/lib64", proc_object_mode_conv("rx"), GR_FEXIST);
-+ add_proc_object_acl(current_subject, "/lib64", proc_object_mode_conv("rx"), GR_FEXIST | GR_SYMLINK);
-+ add_proc_object_acl(current_subject, "/usr/lib64", proc_object_mode_conv("rx"), GR_FEXIST | GR_SYMLINK);
- add_proc_object_acl(current_subject, GRPAM_PATH, proc_object_mode_conv("x"), GR_FEXIST);
-
- add_cap_acl(current_subject, "-CAP_ALL");
diff --git a/sys-apps/gradm/files/gradm_2.1.8.200601212342-increase_num_pointers.patch b/sys-apps/gradm/files/gradm_2.1.8.200601212342-increase_num_pointers.patch
deleted file mode 100644
index 2613b09db4bc..000000000000
--- a/sys-apps/gradm/files/gradm_2.1.8.200601212342-increase_num_pointers.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gradm2/gradm_parse.c 2006/01/22 04:40:42 1.105
-+++ gradm2/gradm_parse.c 2006/02/08 00:42:51 1.106
-@@ -576,8 +576,8 @@ add_proc_object_acl(struct proc_acl *sub
- file_len++;
-
- num_objects++;
-- /* one for the object, one for the filename, one for the name entry struct in the kernel*/
-- num_pointers += 3;
-+ /* one for the object, one for the filename, one for the name entry struct, and one for the inodev_entry struct in the kernel*/
-+ num_pointers += 4;
-
- if (lstat(filename, &fstat)) {
- dfile = add_deleted_file(filename);
diff --git a/sys-apps/gradm/files/gradm_2.1.8.200601212342-ip_state_interface_fix.patch b/sys-apps/gradm/files/gradm_2.1.8.200601212342-ip_state_interface_fix.patch
deleted file mode 100644
index e048375ea20e..000000000000
--- a/sys-apps/gradm/files/gradm_2.1.8.200601212342-ip_state_interface_fix.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- gradm2/gradm.l 2006/01/02 01:44:39 1.90
-+++ gradm2/gradm.l 2006/02/06 23:27:16 1.91
-@@ -125,6 +125,7 @@ IP [0-9]{1,3}"."[0-9]{1,3}"."[0-9]{1,3}"
- return NOT;
- }
- <IPIP_STATE>[-a-zA-Z0-9_]{1,7}("#"[0-9]{1,3})? {
-+ BEGIN(IP_STATE);
- gr_line = yytext;
- gradmlval.string = gr_strdup(gr_line);
- gr_line = strchr(gradmlval.string, '#');
diff --git a/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-admin-role.patch b/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-admin-role.patch
deleted file mode 100644
index f68275961170..000000000000
--- a/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-admin-role.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gradm2/gradm_analyze.c 2006/01/08 17:45:37 1.36
-+++ gradm2/gradm_analyze.c 2006/03/05 00:35:52 1.37
-@@ -260,6 +260,8 @@ handle_notrojan_mode(void)
- for_each_role(role2, current_role) {
- if (!strcmp(role2->rolename, ":::kernel:::"))
- continue;
-+ if (role2->roletype & GR_ROLE_GOD)
-+ continue;
- for_each_subject(subj2, role2) {
- if (subj2 == subj
- || (subj2->
diff --git a/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch b/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch
deleted file mode 100644
index c64466fb130d..000000000000
--- a/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gradm2/gradm_sym.c 2004/12/15 21:21:50 1.8
-+++ gradm2/gradm_sym.c 2006/03/13 23:07:49 1.9
-@@ -10,8 +10,12 @@ static unsigned int symtab_size = 0;
-
- void interpret_variable(struct var_object *var)
- {
-- for (; var; var = var->prev) {
-- add_proc_object_acl(current_subject, var->filename, var->mode, GR_FEXIST);
-+ struct var_object *tmp;
-+ for (tmp = var; tmp->prev; tmp = tmp->prev)
-+ ;
-+
-+ for (; tmp; tmp = tmp->next) {
-+ add_proc_object_acl(current_subject, tmp->filename, tmp->mode, GR_FEXIST);
- }
-
- return;
diff --git a/sys-apps/gradm/files/grsecurity b/sys-apps/gradm/files/grsecurity
deleted file mode 100644
index e746201aced4..000000000000
--- a/sys-apps/gradm/files/grsecurity
+++ /dev/null
@@ -1,102 +0,0 @@
-# GR Security toggles.
-#
-# Note: chpax support has been removed from this init script.
-# Configure /etc/conf.d/chpax instead
-
-# Check your running kernel for valid options.
-# "sysctl -a | grep kernel.grsecurity. | cut -d '.' -f 3 | awk '{print $1}'"
-#
-# Some of the kernel options may be:
-#
-# allow_ptrace_group
-# alt_ipc_perms
-# altered_pings
-# audit_chdir
-# audit_gid
-# audit_group
-# audit_ipc
-# audit_mount
-# audit_ptrace
-# chroot_caps
-# chroot_deny_chdir
-# chroot_deny_chmod
-# chroot_deny_chroot
-# chroot_deny_fchdir
-# chroot_deny_mknod
-# chroot_deny_mount
-# chroot_deny_pivot
-# chroot_deny_ptrace
-# chroot_deny_shmat
-# chroot_deny_sysctl
-# chroot_deny_unix
-# chroot_enforce_chdir
-# chroot_execlog
-# chroot_findtask
-# chroot_restrict_nice
-# chroot_restrict_sigs
-# coredump
-# deny_phys_root
-# deny_pseudo_root
-# deny_serial_root
-# dmesg
-# exec_logging
-# execve_limiting
-# fifo_restrictions
-# fork_bomb_prot
-# forkfail_logging
-# grsec_lock
-# linking_restrictions
-# rand_ip_ids
-# rand_isns
-# rand_pids
-# rand_rpc
-# rand_tcp_src_ports
-# rand_ttl
-# restrict_ptrace
-# secure_fds
-# secure_kbmap
-# signal_logging
-# socket_all
-# socket_client
-# socket_server
-# suid_logging
-# suid_root_logging
-# timechange_logging
-# tpe
-# tpe_glibc
-# tpe_restrict_all
-
-# Strict set with negligible performance impact:
-#ENABLED="audit_chdir audit_group audit_ipc audit_mount chroot_caps \
-# chroot_deny_chmod chroot_deny_chroot chroot_deny_fchdir \
-# chroot_deny_mknod chroot_deny_mount chroot_deny_pivot \
-# chroot_deny_shmat chroot_deny_sysctl chroot_deny_unix \
-# chroot_enforce_chdir chroot_execlog chroot_findtask \
-# chroot_restrict_nice dmesg exec_logging execve_limiting \
-# fifo_restrictions forkfail_logging linking_restrictions rand_isns \
-# rand_ip_ids rand_pids rand_rpc rand_tcp_src_ports signal_logging \
-# socket_all socket_client socket_server timechange_logging tpe"
-
-ENABLED=""
-
-# Set when audit_group is enabled
-audit_gid=1007
-
-# Set when allow_ptrace_group is enabled
-ptrace_gid=10
-
-# Set when tpe is enabled
-tpe_gid=1005
-
-# Set when fork_bomb_prot is enabled
-fork_bomb_gid=1006
-fork_bomb_sec=40
-fork_bomb_max=20
-
-# Set when one of socket_* is enabled
-socket_all_gid=1004
-socket_client_gid=1003
-socket_server_gid=1002
-
-# Lock the above settings on boot
-LOCK=0
diff --git a/sys-apps/gradm/files/grsecurity.rc b/sys-apps/gradm/files/grsecurity.rc
deleted file mode 100644
index d0bff63f6f3f..000000000000
--- a/sys-apps/gradm/files/grsecurity.rc
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/files/grsecurity.rc,v 1.9 2004/07/15 00:42:30 agriffis Exp $
-
-# Note: chpax support has been removed from this init script.
-# Configure /etc/conf.d/chpax and add chpax to your default runlevel instead
-
-
-PROCDIR=/proc/sys/kernel/grsecurity
-
-depend() {
- need bootmisc localmount
- after chpax
-}
-
-checkconfig() {
- if [ ! -d ${PROCDIR} ] ; then
- eerror "You must have GR security turned on in your kernel."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting grsecurity"
-
- for x in ${ENABLED}; do
- # [ -f ${PROCDIR}/${x} ] && continue
- # einfo "\tEnabling kernel.grsecurity.${x}"
- case "${x}" in
- audit_group)
- echo ${audit_gid} > ${PROCDIR}/audit_gid
- echo 1 > ${PROCDIR}/${x}
- ;;
- tpe)
- echo ${tpe_gid} > ${PROCDIR}/tpe_gid
- echo 1 > ${PROCDIR}/${x}
- ;;
- allow_ptrace_group)
- echo ${ptrace_gid} > ${PROCDIR}/ptrace_gid
- echo 1 > ${PROCDIR}/${x}
- ;;
- fork_bomb_prot)
- echo ${fork_bomb_gid} >${PROCDIR}/fork_bomb_gid
- echo ${fork_bomb_sec} >${PROCDIR}/fork_bomb_sec
- echo ${fork_bomb_max} >${PROCDIR}/fork_bomb_max
- echo 1 > ${PROCDIR}/${x}
- ;;
- socket_all)
- echo ${socket_all_gid} >${PROCDIR}/socket_all_gid
- echo 1 > ${PROCDIR}/${x}
- ;;
- socket_client)
- echo ${socket_client_gid} >${PROCDIR}/socket_client_gid
- echo 1 > ${PROCDIR}/${x}
- ;;
- socket_server)
- echo ${socket_server_gid} >${PROCDIR}/socket_server_gid
- echo 1 > ${PROCDIR}/${x}
- ;;
- *)
- [ -f ${PROCDIR}/${x} ] && echo 1 >${PROCDIR}/${x}
- ;;
- esac
- done
-
- [ -f ${PROCDIR}/grsec_lock ] && echo ${LOCK} >${PROCDIR}/grsec_lock
-
- eend ${?}
-}
-
-#stop() {
-# ebegin "Stopping grsecurity"
-# eend ${?}
-#}
diff --git a/sys-apps/gradm/gradm-2.1.10.200702231759.ebuild b/sys-apps/gradm/gradm-2.1.10.200702231759.ebuild
deleted file mode 100644
index 7d1efe849876..000000000000
--- a/sys-apps/gradm/gradm-2.1.10.200702231759.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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.10.200702231759.ebuild,v 1.6 2008/09/08 03:39:28 gengor 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"
-}
diff --git a/sys-apps/gradm/gradm-2.1.11.200803171746.ebuild b/sys-apps/gradm/gradm-2.1.11.200803171746.ebuild
deleted file mode 100644
index ec8631a842ee..000000000000
--- a/sys-apps/gradm/gradm-2.1.11.200803171746.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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.200803171746.ebuild,v 1.5 2008/06/22 15:27:36 vapier 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"
-}
diff --git a/sys-apps/gradm/gradm-2.1.11.200804041607.ebuild b/sys-apps/gradm/gradm-2.1.11.200804041607.ebuild
deleted file mode 100644
index 7a3293981617..000000000000
--- a/sys-apps/gradm/gradm-2.1.11.200804041607.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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.200804041607.ebuild,v 1.1 2008/04/09 10:25:44 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"
-}
diff --git a/sys-apps/gradm/gradm-2.1.9.200602141850.ebuild b/sys-apps/gradm/gradm-2.1.9.200602141850.ebuild
deleted file mode 100644
index 31b2681d3205..000000000000
--- a/sys-apps/gradm/gradm-2.1.9.200602141850.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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.9.200602141850.ebuild,v 1.7 2007/04/29 15:23:35 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
- epatch "${FILESDIR}/${PN}_${PV}-fix-admin-role.patch"
- epatch "${FILESDIR}/${PN}_${PV}-fix-define-order.patch"
-}
-
-src_compile() {
- local target=""
- use pam || target="nopam"
-
- emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "compile problem"
-}
-
-src_install() {
- einstall DESTDIR="${D}" || die "einstall failed"
- fperms 711 /sbin/gradm
-}
-
-pkg_postinst() {
- if [ ! -e "${ROOT}"/dev/grsec ] ; then
- 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"
- fi
- ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode"
-}