summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2017-08-21 17:11:25 +0200
committerAgostino Sarubbo <ago@gentoo.org>2017-08-21 17:11:25 +0200
commita20e76263865d452f82386bd89653c8e50964be7 (patch)
tree8b601a359871bc18c886c50d437c456741585feb
parentnet-analyzer/logkeys: change EGIT_REPO_URI, use git-r3, use opernc-run into t... (diff)
downloadago-a20e76263865d452f82386bd89653c8e50964be7.tar.gz
ago-a20e76263865d452f82386bd89653c8e50964be7.tar.bz2
ago-a20e76263865d452f82386bd89653c8e50964be7.zip
sys-kernel/grsecurity-sources: Initial commit
Package-Manager: Portage-2.3.6, Repoman-2.3.1 Manifest-Sign-Key: 7194459F Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
-rw-r--r--sys-kernel/grsecurity-sources/ChangeLog5
-rw-r--r--sys-kernel/grsecurity-sources/Manifest24
-rw-r--r--sys-kernel/grsecurity-sources/grsecurity-sources-4.9.44.ebuild39
-rw-r--r--sys-kernel/grsecurity-sources/metadata.xml24
4 files changed, 92 insertions, 0 deletions
diff --git a/sys-kernel/grsecurity-sources/ChangeLog b/sys-kernel/grsecurity-sources/ChangeLog
new file mode 100644
index 0000000..85a66f9
--- /dev/null
+++ b/sys-kernel/grsecurity-sources/ChangeLog
@@ -0,0 +1,5 @@
+*grsecurity-sources-4.9.44 (21 Aug 2017)
+
+ 21 Aug 2017; Agostino Sarubbo <ago@gentoo.org>
+ +grsecurity-sources-4.9.44.ebuild, +metadata.xml:
+ sys-kernel/grsecurity-sources: Initial commit
diff --git a/sys-kernel/grsecurity-sources/Manifest b/sys-kernel/grsecurity-sources/Manifest
new file mode 100644
index 0000000..ebf4d53
--- /dev/null
+++ b/sys-kernel/grsecurity-sources/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST grsecurity-sources-extras-4.9.44.tar.xz 2643884 SHA256 2c8ea5db8c7b0686189fd358fda2237ba1f3a239b31ac8c8f38a9fe81f5533bb SHA512 ef34a5ae6bd99763fe812a4342107ff5032af2b41b560d43279562e8511c2b36da06e30ccc599e23160a95a3833f93d30133e6d9a98cccbb5e6fa028a5e7bd09 WHIRLPOOL 7b14947feb0f0446baa9489a8dd215815414f88614d18848e51a2fc62234df7290fb2513fe87b7907d07aa6d2cea8a3d5f2253b1b0a7b75a9f2dd09d02b7847c
+DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+EBUILD grsecurity-sources-4.9.44.ebuild 1170 SHA256 83044522bf9880d83399be29b2c269943dabf22e0b6d94610fbae9e148642d3e SHA512 5ed7384fe169f2d5e5f39df21d33d2b84d139a17cecc19c6af1fb68ba1f8c67c44db71a07e627754231573a490deffc0d0dad326ec311bbf7c09eef2fc3edcdc WHIRLPOOL 17b0c5fdeca10c7ee34290147da29debc51414a5413747dfe19d10d1bf0095614520ca41b1a93ff2562ec2ea6cbe9ef0c5631b1418648a9f3dfe6f52c260ba81
+MISC ChangeLog 191 SHA256 2b713d5de0e5f043638e074825580cd22ad8a26cf83f512c0e51a3121170367d SHA512 717e12c26ed610424f924b0e6f748bdf456459ffd1c1e7f8d00011dc82153b462446a36b51e7fcc62c630be2a866b62c57251cdbf8a3c6cda9b58325be842133 WHIRLPOOL 60b8dc9a268c21c314fd976b49eae5ce9564cc3e5a2c81e839c2cef0476444b59ca74a52b002b51f35e2bfff292744e97b3db86b7bdb699173525a171587f6ea
+MISC metadata.xml 896 SHA256 7f5f98ff259561a6b76f74a0ba829883c075d63ca8939068c253b7d90798089f SHA512 697ff11e06a9f9561962603edca7b3bcf93d61467f794946a7372885e2ccdae01fbd30488d2818090309e79438cda44aea2ed39fe95ad55935bb1b0b3c496a74 WHIRLPOOL fdfd6f21d7164e167ab3e2fcfe1ce10b8c6428534f05577032c8af03bdb679783641c83c8615e036f4677cf72c7d98708502aa33cec408508a085a0148471ec5
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAEBCAAdFiEEnTJq8bp4IH0+VdvbunvTUHGURZ8FAlma+B0ACgkQunvTUHGU
+RZ9PbRAAmNblZTBIsH3UHwXRtbOPsihMpdquqqINogvnudofQOaMiqCgExWKKuf7
+JVXx2kZFFAoO+31sRV06RrSCxfLmBvHdks3o8mLI6EfyO3O70U6op7Xdb02T9nhQ
+lOxak5hb+FQgXKLwRFF3+Ob7YU1vZmhzOALR/c9RlkUe0KzK88JPFxm0MZvSCrTU
+/B4K+O9QXRbGom0CTrPntrsds5JfI4JBrko8cw9hEvl7NZ0FLPIIH//HjUZOSV8g
+vGdlGCKfLHVH7wTDjDLSsmUkeNs22+XqBJyWjbq0iPQcGvjrv19NwEoBms28cjvq
+q+0fWEOdw10zWZVgCalMprs2JIx3geoEU/yfVbFhO23IGd6AmUli7fgxR2byMKiY
+OW+5YcNlOwMgAt599nqPuOtITINHMq5Z9Jb0kz9wrJWTaqnGPTC4DMd9EKDwdnKp
+OdaKBuhJWEgU5yLOMyYiBZB/4uD8N6VZJtRqYasfkW+ta72MAgrK8zFQD1GHAF4k
+P/xFL6uaOv06+6+COomqfbWrqqF9Qhphv6BoMoFGlgK7g0/bLKYhLAVGtGKgIWoy
+wxBKolhOQYcB6lrAP2cevDIEWD7nhNd/rVF8EN3AKBkSCVd29CltiCm0U7wn3nsh
+9KffXFaOYz5q6ZskmRdySAcEeNffBs3f7WDwEENZ3eQoWnm87zI=
+=EeLo
+-----END PGP SIGNATURE-----
diff --git a/sys-kernel/grsecurity-sources/grsecurity-sources-4.9.44.ebuild b/sys-kernel/grsecurity-sources/grsecurity-sources-4.9.44.ebuild
new file mode 100644
index 0000000..95729b3
--- /dev/null
+++ b/sys-kernel/grsecurity-sources/grsecurity-sources-4.9.44.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# See https://blogs.gentoo.org/ago/2017/08/21/sys-kernel-grsecurity-sources-available
+
+EAPI="6"
+
+ETYPE="sources"
+K_GENPATCHES_VER="not-empty" # Set to not-empty to avoid the useless download of patch-*.xz
+
+inherit kernel-2
+detect_version
+detect_arch
+
+GRSECURITY_URI="https://dev.gentoo.org/~ago/distfiles/${PN}/${PN}-extras-${PV}.tar.xz"
+SRC_URI="${KERNEL_URI} ${GRSECURITY_URI} ${ARCH_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${PN}-extras-${PV}.tar.xz"
+
+DESCRIPTION="Unofficial port of the latest grsecurity patch plus Gentoo patchset"
+HOMEPAGE="https://github.com/minipli/linux-unofficial_grsec"
+IUSE="deblob"
+KEYWORDS="-* ~amd64"
+RDEPEND=">=sys-devel/gcc-4.5"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ local GRADM_COMPAT="sys-apps/gradm-3.1*"
+
+ ewarn
+ ewarn "Users of grsecurity's RBAC system must ensure they are using"
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
+ ewarn "It is strongly recommended that the following command is issued"
+ ewarn "prior to booting a ${PF} kernel for the first time:"
+ ewarn
+ ewarn "emerge -na =${GRADM_COMPAT}"
+ ewarn
+}
diff --git a/sys-kernel/grsecurity-sources/metadata.xml b/sys-kernel/grsecurity-sources/metadata.xml
new file mode 100644
index 0000000..e81c560
--- /dev/null
+++ b/sys-kernel/grsecurity-sources/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ago@gentoo.org</email>
+ <name>Agostino Sarubbo</name>
+ <description>Maintainer. Assign bugs to him</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>minipli@googlemail.com</email>
+ <name>Mathias Krause</name>
+ <description>Upstream. CC on bugs</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">minipli/linux-unofficial_grsec</remote-id>
+ </upstream>
+ <longdescription>
+ grsecurity-sources is based upon genpatches, and adds the grsecurity unofficial
+ patch from https://github.com/minipli/linux-unofficial_grsec, which also includes PaX.
+ </longdescription>
+ <use>
+ <flag name="deblob">Remove binary blobs from kernel sources to provide libre license compliance.</flag>
+ </use>
+</pkgmetadata>