commit 2d6832d313116920729fbb7bd45ca7a37fbb38a7
parent b312aa14e9b6ea773158f8983db875efd417a12a
Author: parazyd <parazyd@dyne.org>
Date: Tue, 12 Apr 2016 18:25:08 +0200
build fixes
Diffstat:
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/conf/config.sh b/conf/config.sh
@@ -59,7 +59,7 @@ edit-sudo() {
### BEGIN INIT INFO
# Provides: coffin
-# Required-Start: \$local_fs \$network
+# Required-Start: \$all
### END INIT INFO
# Author: parazyd <parazyd@dyne.org>
diff --git a/src/Makefile b/src/Makefile
@@ -1,10 +1,10 @@
PREFIX = /usr/local/share/coffin/bin
all:
- $(CC) -Os -o tomb-kdb-pbkdf2 pbkdf2.c -lgcrypt
- $(CC) -Os -o tomb-kdb-pbkdf2-getiter benchmark.c -lgcrypt
- $(CC) -Os -o tomb-kdb-pbkdf2-gensalt gen_salt.c -lgcrypt
- $(CC) -Os -o tomb-kdb-hexencode hexencode.c
+ $(CC) -O2 -o tomb-kdb-pbkdf2 pbkdf2.c -lgcrypt
+ $(CC) -O2 -o tomb-kdb-pbkdf2-getiter benchmark.c -lgcrypt
+ $(CC) -O2 -o tomb-kdb-pbkdf2-gensalt gen_salt.c -lgcrypt
+ $(CC) -O2 -o tomb-kdb-hexencode hexencode.c
clean:
rm -f tomb-kdb-pbkdf2 tomb-kdb-pbkdf2-getiter tomb-kdb-pbkdf2-gensalt tomb-kdb-hexencode
diff --git a/src/sacrist b/src/sacrist
@@ -4,8 +4,8 @@
#
# ~ parazyd
-coffin_version=0.3
-coffin_release_date="Apr/2016"
+coffin_version=0.4
+coffin_release_date="May/2016"
DEBUG=${DEBUG:-1} # NOTE: Change default value to 0 later
QUIET=${QUIET:-0}
@@ -58,11 +58,11 @@ TOMB="$R/tomb"
# Main
req=(happenz device)
-#ckreq || {
-# die "Not called through mourner. Exiting..."
-# clean
-# exit
-#}
+ckreq || {
+ die "Not called through mourner. Exiting..."
+ clean
+ exit
+}
act "Coffin, Cryptographic office filer for important nuggets "
act "Version: $coffin_version, $coffin_release_date"