tbuild fixes - coffin - secure lan file storage on a device
 (HTM) git clone git://parazyd.org/coffin.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2d6832d313116920729fbb7bd45ca7a37fbb38a7
 (DIR) parent b312aa14e9b6ea773158f8983db875efd417a12a
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Tue, 12 Apr 2016 18:25:08 +0200
       
       build fixes
       
       Diffstat:
         M conf/config.sh                      |       2 +-
         M src/Makefile                        |       8 ++++----
         M src/sacrist                         |      14 +++++++-------
       
       3 files changed, 12 insertions(+), 12 deletions(-)
       ---
 (DIR) diff --git a/conf/config.sh b/conf/config.sh
       t@@ -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>
 (DIR) diff --git a/src/Makefile b/src/Makefile
       t@@ -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
 (DIR) diff --git a/src/sacrist b/src/sacrist
       t@@ -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}
       t@@ -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"