mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
8fd5091696
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>
41 lines
710 B
Diff
41 lines
710 B
Diff
--- a/lib/et/compile_et.sh.in
|
|
+++ b/lib/et/compile_et.sh.in
|
|
@@ -2,8 +2,14 @@
|
|
#
|
|
#
|
|
|
|
-AWK=@AWK@
|
|
-DIR=@datadir@/et
|
|
+if test "x$STAGING_DIR" = x ; then
|
|
+ AWK=@AWK@
|
|
+ DIR=@datadir@/et
|
|
+else
|
|
+ AWK=awk
|
|
+ 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
|
|
@@ -2,10 +2,16 @@
|
|
#
|
|
#
|
|
|
|
-DIR=@datadir@/ss
|
|
-AWK=@AWK@
|
|
SED=sed
|
|
|
|
+if test "x$STAGING_DIR" = x ; then
|
|
+ DIR=@datadir@/ss
|
|
+ AWK=@AWK@
|
|
+else
|
|
+ DIR="$STAGING_DIR/../hostpkg/share/ss"
|
|
+ AWK=awk
|
|
+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 \
|