aboutsummaryrefslogtreecommitdiffstats
path: root/package/osiris/patches/install-non-interactive.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-14 22:01:37 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-14 22:01:37 +0000
commit5665c83ca2c7bd9ae244453e9dd388ba5d25dc23 (patch)
treebe19899cf31e75f051cdcb1b968aa6e5d8b0b781 /package/osiris/patches/install-non-interactive.patch
parentb5d44c4ceeb04004516e256148c8e6676d8b7eb1 (diff)
downloadupstream-5665c83ca2c7bd9ae244453e9dd388ba5d25dc23.tar.gz
upstream-5665c83ca2c7bd9ae244453e9dd388ba5d25dc23.tar.bz2
upstream-5665c83ca2c7bd9ae244453e9dd388ba5d25dc23.zip
Add osiris package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@900 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/osiris/patches/install-non-interactive.patch')
-rw-r--r--package/osiris/patches/install-non-interactive.patch70
1 files changed, 70 insertions, 0 deletions
diff --git a/package/osiris/patches/install-non-interactive.patch b/package/osiris/patches/install-non-interactive.patch
new file mode 100644
index 0000000000..ac5a177731
--- /dev/null
+++ b/package/osiris/patches/install-non-interactive.patch
@@ -0,0 +1,70 @@
+diff -ruN osiris-4.1.8-orig/Makefile.am osiris-4.1.8-1/Makefile.am
+--- osiris-4.1.8-orig/Makefile.am 2005-01-13 06:49:15.000000000 +0100
++++ osiris-4.1.8-1/Makefile.am 2005-04-22 23:11:32.000000000 +0200
+@@ -72,5 +72,5 @@
+ # everything.
+
+ install-data-local:
+- @cd ./src/install;./install.sh
++ @cd ./src/install;./install.sh non-interactive
+ @rm ./src/osirisd/modules/libmodules.a
+diff -ruN osiris-4.1.8-orig/Makefile.in osiris-4.1.8-1/Makefile.in
+--- osiris-4.1.8-orig/Makefile.in 2005-04-04 14:51:19.000000000 +0200
++++ osiris-4.1.8-1/Makefile.in 2005-04-22 23:11:32.000000000 +0200
+@@ -505,7 +505,7 @@
+ # everything.
+
+ install-data-local:
+- @cd ./src/install;./install.sh
++ @cd ./src/install;./install.sh non-interactive
+ @rm ./src/osirisd/modules/libmodules.a
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+diff -ruN osiris-4.1.8-orig/configure osiris-4.1.8-1/configure
+diff -ruN osiris-4.1.8-orig/configure.ac osiris-4.1.8-1/configure.ac
+diff -ruN osiris-4.1.8-orig/ipkg/osirisd/CONTROL/control osiris-4.1.8-1/ipkg/osirisd/CONTROL/control
+diff -ruN osiris-4.1.8-orig/ipkg/osirisd/etc/init.d/osirisd osiris-4.1.8-1/ipkg/osirisd/etc/init.d/osirisd
+diff -ruN osiris-4.1.8-orig/ipkg/osirisd-static/CONTROL/control osiris-4.1.8-1/ipkg/osirisd-static/CONTROL/control
+diff -ruN osiris-4.1.8-orig/ipkg/rules osiris-4.1.8-1/ipkg/rules
+diff -ruN osiris-4.1.8-orig/ipkg/version osiris-4.1.8-1/ipkg/version
+diff -ruN osiris-4.1.8-orig/src/install/install.sh.in osiris-4.1.8-1/src/install/install.sh.in
+--- osiris-4.1.8-orig/src/install/install.sh.in 2005-04-15 22:38:31.000000000 +0200
++++ osiris-4.1.8-1/src/install/install.sh.in 2005-04-22 23:41:21.000000000 +0200
+@@ -14,7 +14,9 @@
+
+ SERVICE_DESC="Osiris Host Integrity Monitor"
+
+-INTERACTIVE=1
++if [ -z "${INTERACTIVE}" ]; then
++ INTERACTIVE=1
++fi
+ PACKAGE_MODE=0
+ NO_USER_ADDED=0
+
+@@ -1117,18 +1119,6 @@
+
+ # look for interactive mode argument.
+
+-if [ -z "${1}" ] ; then
+- INTERACTIVE=1
+-else
+- INTERACTIVE=0
+-fi
+-
+-# Change behaviour if we are creating packages.
+-if [ -n "$DESTDIR" ]; then
+- PACKAGE_MODE=1
+- INTERACTIVE=0
+-fi
+-
+ pre_install
+ create_users_and_groups
+ prompts
+diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_nvram/Makefile osiris-4.1.8-1/src/osirisd/modules/mod_nvram/Makefile
+diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_nvram/README osiris-4.1.8-1/src/osirisd/modules/mod_nvram/README
+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
+diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_uptime/Makefile osiris-4.1.8-1/src/osirisd/modules/mod_uptime/Makefile
+diff -ruN osiris-4.1.8-orig/src/osirisd/modules/mod_uptime/README osiris-4.1.8-1/src/osirisd/modules/mod_uptime/README
+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
+diff -ruN osiris-4.1.8-orig/src/osirisd/osirisd.c osiris-4.1.8-1/src/osirisd/osirisd.c
+diff -ruN osiris-4.1.8-orig/src/osirisd/rootpriv.c osiris-4.1.8-1/src/osirisd/rootpriv.c