From 2696764132aea0fe61306a3516d27241a87ade35 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Jul 2005 05:43:27 +0000 Subject: r8314: - added an 'installmisc' target for installing miscellaneous files. - install our provisioning template files in lib/setup/ We need these to be installed as users may wish to re-provision after installation, or may not have the source tree (wuch as when installing from binary packages) (This used to be commit 7c2e31fd11be3ebed680a0fe08a9ff09f7b97c87) --- source4/script/installmisc.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 source4/script/installmisc.sh (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh new file mode 100755 index 0000000000..580dc855d4 --- /dev/null +++ b/source4/script/installmisc.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# install miscellaneous files + +SRCDIR=$1 +LIBDIR=$2 + +cd $SRCDIR || exit 1 + +echo "Installing js libs" +mkdir -p $LIBDIR/js || exit 1 +cp scripting/libjs/*.js $LIBDIR/js || exit 1 + +echo "Installing setup templates" +mkdir -p $LIBDIR/setup || exit 1 +cp setup/*.ldif $LIBDIR/setup || exit 1 +cp setup/*.zone $LIBDIR/setup || exit 1 +cp setup/*.conf $LIBDIR/setup || exit 1 + +exit 0 -- cgit From f3d61cc61545605cb8ea07b21b07577ccde4e1e8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Jul 2005 04:02:59 +0000 Subject: r8576: install scripts from scripting/bin/ (This used to be commit a64490d1e5224c47437e07a0f1fbcbd8f197fdfd) --- source4/script/installmisc.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 580dc855d4..dab1b527ca 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -1,8 +1,9 @@ #!/bin/sh # install miscellaneous files -SRCDIR=$1 -LIBDIR=$2 +SRCDIR="$1" +LIBDIR="$2" +BINDIR="$3" cd $SRCDIR || exit 1 @@ -16,4 +17,9 @@ cp setup/*.ldif $LIBDIR/setup || exit 1 cp setup/*.zone $LIBDIR/setup || exit 1 cp setup/*.conf $LIBDIR/setup || exit 1 +echo "Installing script tools" +mkdir -p "$BINDIR" +rm -f scripting/bin/*~ +cp scripting/bin/* $BINDIR/ || exit 1 + exit 0 -- cgit From 2f8b1050e1e7b2f04b304156e9e4fa2828d23f94 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 26 Jan 2006 05:57:53 +0000 Subject: r13153: Try to move closer to FHS. This probably breaks everything... Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127) --- source4/script/installmisc.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index dab1b527ca..2fa2f96f1d 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -2,20 +2,21 @@ # install miscellaneous files SRCDIR="$1" -LIBDIR="$2" -BINDIR="$3" +JSDIR="$2" +SETUPDIR="$3" +BINDIR="$4" cd $SRCDIR || exit 1 echo "Installing js libs" -mkdir -p $LIBDIR/js || exit 1 -cp scripting/libjs/*.js $LIBDIR/js || exit 1 +mkdir -p $JSDIR || exit 1 +cp scripting/libjs/*.js $JSDIR/js || exit 1 echo "Installing setup templates" -mkdir -p $LIBDIR/setup || exit 1 -cp setup/*.ldif $LIBDIR/setup || exit 1 -cp setup/*.zone $LIBDIR/setup || exit 1 -cp setup/*.conf $LIBDIR/setup || exit 1 +mkdir -p $SETUPDIR || exit 1 +cp setup/*.ldif $SETUPDIR || exit 1 +cp setup/*.zone $SETUPDIR || exit 1 +cp setup/*.conf $SETUPDIR || exit 1 echo "Installing script tools" mkdir -p "$BINDIR" -- cgit From 57d079e4b2f5413a2ef0796b52dc5b5c34097a63 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 26 Jan 2006 08:27:48 +0000 Subject: r13157: Fix installation of js files (This used to be commit 2384dec6f2451d86fc4b7737b663379623ae4a5c) --- source4/script/installmisc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 2fa2f96f1d..082a01eee9 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -10,7 +10,7 @@ cd $SRCDIR || exit 1 echo "Installing js libs" mkdir -p $JSDIR || exit 1 -cp scripting/libjs/*.js $JSDIR/js || exit 1 +cp scripting/libjs/*.js $JSDIR || exit 1 echo "Installing setup templates" mkdir -p $SETUPDIR || exit 1 -- cgit From 5fb459e4fa3201a3d5cbc22c5ff011bfc98a9519 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 29 May 2007 01:20:47 +0000 Subject: r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend. This required a new mkdir() call in ejs. We can now provision just the schema for ad2oLschema to operate on (with provision_schema(), without performing the whole provision, just to wipe it again (adjustments to 'make test' to come soon). Andrew Bartlett (This used to be commit 01d54d13dc66ef2127ac52c64ede53d0790738ec) --- source4/script/installmisc.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 082a01eee9..a714783aec 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -14,6 +14,8 @@ cp scripting/libjs/*.js $JSDIR || exit 1 echo "Installing setup templates" mkdir -p $SETUPDIR || exit 1 +cp setup/schema-map-* $SETUPDIR || exit 1 +cp setup/*.inf $SETUPDIR || exit 1 cp setup/*.ldif $SETUPDIR || exit 1 cp setup/*.zone $SETUPDIR || exit 1 cp setup/*.conf $SETUPDIR || exit 1 -- cgit From 86a4886e393189b7679ec6220d4d59bb6ef1b50e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 29 May 2007 12:18:41 +0000 Subject: r23189: Work towards a totally scripted setup of LDAP backends, so others can easily try this out. I also intend to use this for the selftest, but I'm chasing issues with the OpenlDAP (but not Fedora DS) backend. Andrew Bartlett (This used to be commit 0f457b1d2e20c36ab220b4a6711ce7930c4c7d21) --- source4/script/installmisc.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index a714783aec..84785312a9 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -15,6 +15,7 @@ cp scripting/libjs/*.js $JSDIR || exit 1 echo "Installing setup templates" mkdir -p $SETUPDIR || exit 1 cp setup/schema-map-* $SETUPDIR || exit 1 +cp setup/DB_CONFIG $SETUPDIR || exit 1 cp setup/*.inf $SETUPDIR || exit 1 cp setup/*.ldif $SETUPDIR || exit 1 cp setup/*.zone $SETUPDIR || exit 1 -- cgit From 1adedd108cfa656644132c426383b3a40c1bc7a0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 27 Aug 2007 21:19:34 +0000 Subject: r24724: Also install the .reg files for provisioning from an installed version. (This used to be commit 9553c20ced3945c5ab8392f7239ecdc852a0e81b) --- source4/script/installmisc.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 84785312a9..1555fa21d2 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -18,6 +18,7 @@ cp setup/schema-map-* $SETUPDIR || exit 1 cp setup/DB_CONFIG $SETUPDIR || exit 1 cp setup/*.inf $SETUPDIR || exit 1 cp setup/*.ldif $SETUPDIR || exit 1 +cp setup/*.reg $SETUPDIR || exit 1 cp setup/*.zone $SETUPDIR || exit 1 cp setup/*.conf $SETUPDIR || exit 1 -- cgit From a43dd8b956790985b8541011d41ce21bb76f1c1b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 10 Sep 2007 15:06:05 +0000 Subject: r25056: Install some extra files. Patch from Stefan Gohmann (This used to be commit 1b13c91375682011e1951c008b83a0780ec20d38) --- source4/script/installmisc.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 1555fa21d2..d0216aca73 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -16,6 +16,10 @@ echo "Installing setup templates" mkdir -p $SETUPDIR || exit 1 cp setup/schema-map-* $SETUPDIR || exit 1 cp setup/DB_CONFIG $SETUPDIR || exit 1 +cp setup/upgrade $SETUPDIR || exit 1 +cp setup/provision-backend $SETUPDIR || exit 1 +cp setup/provision $SETUPDIR || exit 1 +cp setup/newuser $SETUPDIR || exit 1 cp setup/*.inf $SETUPDIR || exit 1 cp setup/*.ldif $SETUPDIR || exit 1 cp setup/*.reg $SETUPDIR || exit 1 -- cgit From 2606996653a1bd6d0bb7efc1c5c00afb554e0630 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 26 Sep 2007 17:43:15 +0000 Subject: r25354: Thanks to Amin Azez for finally getting me to fix a provision without an smb.conf already setup. Andrew Bartlett (This used to be commit a00044d2294b482ea83e9d7392eb8113a9c94b6e) --- source4/script/installmisc.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index d0216aca73..55297c43d9 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -25,6 +25,9 @@ cp setup/*.ldif $SETUPDIR || exit 1 cp setup/*.reg $SETUPDIR || exit 1 cp setup/*.zone $SETUPDIR || exit 1 cp setup/*.conf $SETUPDIR || exit 1 +cp setup/provision.smb.conf.dc $SETUPDIR || exit 1 +cp setup/provision.smb.conf.member $SETUPDIR || exit 1 +cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1 echo "Installing script tools" mkdir -p "$BINDIR" -- cgit From 08199037033adfe878f4cd7ea55ce7e1710b1974 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 10 Nov 2007 09:29:32 +0100 Subject: r25923: Make sure to install phpldapadmin-config.php Andrew Bartlett (This used to be commit 472dd7b318a03fa0166cdf3d15e4f5495de25c2c) --- source4/script/installmisc.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 55297c43d9..3a3a7391ee 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -25,6 +25,7 @@ cp setup/*.ldif $SETUPDIR || exit 1 cp setup/*.reg $SETUPDIR || exit 1 cp setup/*.zone $SETUPDIR || exit 1 cp setup/*.conf $SETUPDIR || exit 1 +cp setup/*.php $SETUPDIR || exit 1 cp setup/provision.smb.conf.dc $SETUPDIR || exit 1 cp setup/provision.smb.conf.member $SETUPDIR || exit 1 cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1 -- cgit From 7d270f73bc00b3b3ba3ec1afdf7e3ce850c8d9a9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 25 Dec 2007 21:14:06 -0600 Subject: r26603: Don't install no longer available upgrade script. (This used to be commit 69e469d9e18659d70ed684338b472cd38d231f86) --- source4/script/installmisc.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 3a3a7391ee..4707aafdbd 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -16,7 +16,6 @@ echo "Installing setup templates" mkdir -p $SETUPDIR || exit 1 cp setup/schema-map-* $SETUPDIR || exit 1 cp setup/DB_CONFIG $SETUPDIR || exit 1 -cp setup/upgrade $SETUPDIR || exit 1 cp setup/provision-backend $SETUPDIR || exit 1 cp setup/provision $SETUPDIR || exit 1 cp setup/newuser $SETUPDIR || exit 1 -- cgit From b7c8e020a6f7221d6d10f2dd7610a232edeedf83 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 29 May 2008 18:38:17 +1000 Subject: Print prefixMap in a human-readable format. This should allow the prefixMap to be edited, until we find the right way to autogenerate it. Andrew Bartlett (This used to be commit 24ae9a55ec326807afd8d5bfa0a422a6668bd7c3) --- source4/script/installmisc.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 4707aafdbd..5f7e11f083 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -25,6 +25,7 @@ cp setup/*.reg $SETUPDIR || exit 1 cp setup/*.zone $SETUPDIR || exit 1 cp setup/*.conf $SETUPDIR || exit 1 cp setup/*.php $SETUPDIR || exit 1 +cp setup/*.txt $SETUPDIR || exit 1 cp setup/provision.smb.conf.dc $SETUPDIR || exit 1 cp setup/provision.smb.conf.member $SETUPDIR || exit 1 cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1 -- cgit