Enable packages when dev. build
[openwrt.git] / package / osiris / patches / install-non-interactive.patch
1 diff -ruN osiris-4.1.8-orig/Makefile.am osiris-4.1.8-1/Makefile.am
2 --- osiris-4.1.8-orig/Makefile.am 2005-01-13 06:49:15.000000000 +0100
3 +++ osiris-4.1.8-1/Makefile.am 2005-04-22 23:11:32.000000000 +0200
4 @@ -72,5 +72,5 @@
5 # everything.
6
7 install-data-local:
8 - @cd ./src/install;./install.sh
9 + @cd ./src/install;./install.sh non-interactive
10 @rm ./src/osirisd/modules/libmodules.a
11 diff -ruN osiris-4.1.8-orig/Makefile.in osiris-4.1.8-1/Makefile.in
12 --- osiris-4.1.8-orig/Makefile.in 2005-04-04 14:51:19.000000000 +0200
13 +++ osiris-4.1.8-1/Makefile.in 2005-04-22 23:11:32.000000000 +0200
14 @@ -505,7 +505,7 @@
15 # everything.
16
17 install-data-local:
18 - @cd ./src/install;./install.sh
19 + @cd ./src/install;./install.sh non-interactive
20 @rm ./src/osirisd/modules/libmodules.a
21 # Tell versions [3.59,3.63) of GNU make to not export all variables.
22 # Otherwise a system limit (for SysV at least) may be exceeded.
23 diff -ruN osiris-4.1.8-orig/configure osiris-4.1.8-1/configure
24 diff -ruN osiris-4.1.8-orig/configure.ac osiris-4.1.8-1/configure.ac
25 diff -ruN osiris-4.1.8-orig/ipkg/osirisd/CONTROL/control osiris-4.1.8-1/ipkg/osirisd/CONTROL/control
26 diff -ruN osiris-4.1.8-orig/ipkg/osirisd/etc/init.d/osirisd osiris-4.1.8-1/ipkg/osirisd/etc/init.d/osirisd
27 diff -ruN osiris-4.1.8-orig/ipkg/osirisd-static/CONTROL/control osiris-4.1.8-1/ipkg/osirisd-static/CONTROL/control
28 diff -ruN osiris-4.1.8-orig/ipkg/rules osiris-4.1.8-1/ipkg/rules
29 diff -ruN osiris-4.1.8-orig/ipkg/version osiris-4.1.8-1/ipkg/version
30 diff -ruN osiris-4.1.8-orig/src/install/install.sh.in osiris-4.1.8-1/src/install/install.sh.in
31 --- osiris-4.1.8-orig/src/install/install.sh.in 2005-04-15 22:38:31.000000000 +0200
32 +++ osiris-4.1.8-1/src/install/install.sh.in 2005-04-22 23:41:21.000000000 +0200
33 @@ -14,7 +14,9 @@
34
35 SERVICE_DESC="Osiris Host Integrity Monitor"
36
37 -INTERACTIVE=1
38 +if [ -z "${INTERACTIVE}" ]; then
39 + INTERACTIVE=1
40 +fi
41 PACKAGE_MODE=0
42 NO_USER_ADDED=0
43
44 @@ -1117,18 +1119,6 @@
45
46 # look for interactive mode argument.
47
48 -if [ -z "${1}" ] ; then
49 - INTERACTIVE=1
50 -else
51 - INTERACTIVE=0
52 -fi
53 -
54 -# Change behaviour if we are creating packages.
55 -if [ -n "$DESTDIR" ]; then
56 - PACKAGE_MODE=1
57 - INTERACTIVE=0
58 -fi
59 -
60 pre_install
61 create_users_and_groups
62 prompts
63 diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_nvram/Makefile osiris-4.1.8-1/src/osirisd/modules/mod_nvram/Makefile
64 diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_nvram/README osiris-4.1.8-1/src/osirisd/modules/mod_nvram/README
65 diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_nvram/mod_nvram.c osiris-4.1.8-1/src/osirisd/modules/mod_nvram/mod_nvram.c
66 diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_uptime/Makefile osiris-4.1.8-1/src/osirisd/modules/mod_uptime/Makefile
67 diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_uptime/README osiris-4.1.8-1/src/osirisd/modules/mod_uptime/README
68 diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_uptime/mod_uptime.c osiris-4.1.8-1/src/osirisd/modules/mod_uptime/mod_uptime.c
69 diff -ruN osiris-4.1.8-orig/src/osirisd/osirisd.c osiris-4.1.8-1/src/osirisd/osirisd.c
70 diff -ruN osiris-4.1.8-orig/src/osirisd/rootpriv.c osiris-4.1.8-1/src/osirisd/rootpriv.c
This page took 0.042263 seconds and 5 git commands to generate.