[arch-commits] Commit in linux-grsec-lts/trunk (PKGBUILD linux-grsec-lts.install)

Daniel Micay thestinger at archlinux.org
Mon Aug 31 00:58:38 UTC 2015


    Date: Monday, August 31, 2015 @ 02:58:38
  Author: thestinger
Revision: 138998

upgpkg: linux-grsec-lts 3.14.51.201508181951-2

Modified:
  linux-grsec-lts/trunk/PKGBUILD
  linux-grsec-lts/trunk/linux-grsec-lts.install

-------------------------+
 PKGBUILD                |    2 +-
 linux-grsec-lts.install |   15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-30 20:09:16 UTC (rev 138997)
+++ PKGBUILD	2015-08-31 00:58:38 UTC (rev 138998)
@@ -10,7 +10,7 @@
 _timestamp=201508181951
 _grsec_patch="grsecurity-$_grsecver-$_pkgver-$_timestamp.patch"
 pkgver=$_pkgver.$_timestamp
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://grsecurity.net/
 license=('GPL2')

Modified: linux-grsec-lts.install
===================================================================
--- linux-grsec-lts.install	2015-08-30 20:09:16 UTC (rev 138997)
+++ linux-grsec-lts.install	2015-08-31 00:58:38 UTC (rev 138998)
@@ -4,6 +4,19 @@
 KERNEL_NAME=
 KERNEL_VERSION=
 
+announce() {
+  cat <<EOF
+Due to continued copyright and trademark abuses by the embedded industry, the
+stable patches of grsecurity will no longer be available to the general public.
+This package will be removed after the first private update of the stable
+patch. The linux-grsec package will be unaffected as it uses the test patch.
+
+See the official announcement for more details:
+
+https://grsecurity.net/announce.php
+EOF
+}
+
 post_install() {
   # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
@@ -10,6 +23,7 @@
   depmod ${KERNEL_VERSION}
   echo ">>> Generating initial ramdisk, using mkinitcpio.  Please wait..."
   mkinitcpio -p linux${KERNEL_NAME}
+  announce
 }
 
 post_upgrade() {
@@ -22,6 +36,7 @@
   depmod ${KERNEL_VERSION}
   echo ">>> Generating initial ramdisk, using mkinitcpio.  Please wait..."
   mkinitcpio -p linux${KERNEL_NAME}
+  announce
 }
 
 post_remove() {



More information about the arch-commits mailing list