summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD12
-rw-r--r--boot-digest-alert2
3 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e803c8834996..b5092b0dddf8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,27 @@
# Generated by mksrcinfo v8
-# Sun Apr 17 15:28:13 UTC 2016
+# Sat Oct 28 01:50:29 UTC 2017
pkgbase = boot-digest
pkgdesc = Digest boot partition for disk encryption integrity
pkgver = 0.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/alonbl/boot-digest
install = boot-digest.install
arch = any
license = MIT
makedepends = git
depends = bash
- source = git+https://github.com/alonbl/boot-digest.git
+ depends = libnotify
+ source = https://github.com/alonbl/boot-digest/archive/boot-digest-0.8.tar.gz
source = boot-digest-check.service
source = boot-digest-mkinitcpio
source = boot-digest.mkinitcpio-hook
source = boot-digest-alert
source = boot-digest-alert.desktop
- sha1sums = SKIP
+ sha1sums = 0286607d007cbc5a4219d201c980d28a59521c79
sha1sums = 948c773af5ac6963163179538bf6446fa821c3ed
sha1sums = 29e0e6005b319ed0d404a13f94e605f0c48895e1
sha1sums = 45b20e72bdc59d96bc07e8b339a560fef3af7e05
- sha1sums = f4c99af8914e8dd842a4a84b2945c5c2af2f5ba1
+ sha1sums = ae3e5c67f981b842f95ac0e5c41bc5d76b0b5a7d
sha1sums = f6c3dc2b5cd8fbd8b1f38936ebe167e2556aaef6
pkgname = boot-digest
diff --git a/PKGBUILD b/PKGBUILD
index 98e3fcaac9e0..9fbb10cbb00c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,25 @@
pkgname=boot-digest
pkgver=0.8
-pkgrel=1
+pkgrel=2
pkgdesc="Digest boot partition for disk encryption integrity"
arch=('any')
url="https://github.com/alonbl/boot-digest"
license=('MIT')
-depends=('bash')
+depends=('bash' 'libnotify')
makedepends=('git')
-source=('git+https://github.com/alonbl/boot-digest.git' 'boot-digest-check.service' 'boot-digest-mkinitcpio' 'boot-digest.mkinitcpio-hook' 'boot-digest-alert' 'boot-digest-alert.desktop' )
-sha1sums=('SKIP'
+source=("https://github.com/alonbl/boot-digest/archive/${pkgname}-${pkgver}.tar.gz" 'boot-digest-check.service' 'boot-digest-mkinitcpio' 'boot-digest.mkinitcpio-hook' 'boot-digest-alert' 'boot-digest-alert.desktop' )
+sha1sums=('0286607d007cbc5a4219d201c980d28a59521c79'
'948c773af5ac6963163179538bf6446fa821c3ed'
'29e0e6005b319ed0d404a13f94e605f0c48895e1'
'45b20e72bdc59d96bc07e8b339a560fef3af7e05'
- 'f4c99af8914e8dd842a4a84b2945c5c2af2f5ba1'
+ 'ae3e5c67f981b842f95ac0e5c41bc5d76b0b5a7d'
'f6c3dc2b5cd8fbd8b1f38936ebe167e2556aaef6')
install=boot-digest.install
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgname-$pkgver"
sed -i '2,3d' boot-digest-mark
install -Dm755 -t ${pkgdir}/usr/bin boot-digest-calc boot-digest-check boot-digest-mark
install -Dm644 -t ${pkgdir}/usr/share/licenses/${pkgname} LICENSE
diff --git a/boot-digest-alert b/boot-digest-alert
index 4670d7b19187..a9daef795915 100644
--- a/boot-digest-alert
+++ b/boot-digest-alert
@@ -1,4 +1,4 @@
#!/bin/bash
systemctl status boot-digest-check.service|grep -q failed
-[ $? -eq 0 ] && notify-send -t 0 -u critical -i /usr/share/icons/gnome/24x24/status/error.png --app-name='Boot loader Checksum' 'boot-digest FAILED!'
+[ $? -eq 0 ] && notify-send -t 0 -u critical -i error --app-name='Boot partition WARNING' 'Checksum DIFFERS from saved state. Your unencrypted boot partition may have been manipulated!' \ No newline at end of file