Added e4crypt tool for encrypting files and directories. To work properly requires kernel and work on keyutils. That will be done in a future commit Some top-level reorganization for consistency between packages. Tested on GnuBee PC1 (mt7621). Signed-off-by: Rosen Penev <rosenp@gmail.com>master
parent
1c2f7b5115
commit
8fd5091696
@ -1,46 +1,40 @@ |
||||
--- a/lib/et/compile_et.sh.in
|
||||
+++ b/lib/et/compile_et.sh.in
|
||||
@@ -2,9 +2,15 @@
|
||||
@@ -2,8 +2,14 @@
|
||||
#
|
||||
#
|
||||
|
||||
-datarootdir=@datarootdir@
|
||||
-AWK=@AWK@
|
||||
-DIR=@datadir@/et
|
||||
+if test "x$STAGING_DIR" = x ; then
|
||||
+ datarootdir=@datarootdir@
|
||||
+ AWK=@AWK@
|
||||
+ DIR=@datadir@/et
|
||||
+else
|
||||
+ datarootdir="$STAGING_DIR/../hostpkg/share"
|
||||
+ AWK=awk
|
||||
+ DIR="$datarootdir/et"
|
||||
+ DIR="$STAGING_DIR/../hostpkg/share/et"
|
||||
+fi
|
||||
+
|
||||
|
||||
if test "$1" = "--build-tree" ; then
|
||||
shift;
|
||||
--- a/lib/ss/mk_cmds.sh.in
|
||||
+++ b/lib/ss/mk_cmds.sh.in
|
||||
@@ -1,11 +1,17 @@
|
||||
#!/bin/sh
|
||||
@@ -2,10 +2,16 @@
|
||||
#
|
||||
#
|
||||
-
|
||||
-datarootdir=@datarootdir@
|
||||
|
||||
-DIR=@datadir@/ss
|
||||
-AWK=@AWK@
|
||||
-SED=@SED@
|
||||
SED=sed
|
||||
|
||||
+if test "x$STAGING_DIR" = x ; then
|
||||
+ datarootdir=@datarootdir@
|
||||
+ DIR=@datadir@/ss
|
||||
+ AWK=@AWK@
|
||||
+ SED=@SED@
|
||||
+else
|
||||
+ datarootdir="$STAGING_DIR/../hostpkg/share"
|
||||
+ DIR="$datarootdir/ss"
|
||||
+ DIR="$STAGING_DIR/../hostpkg/share/ss"
|
||||
+ AWK=awk
|
||||
+ SED=sed
|
||||
+fi
|
||||
|
||||
+
|
||||
for as_var in \
|
||||
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
||||
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
||||
|
Loading…
Reference in new issue