Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (87d91617bcc15a66d8b56afcc9032306b00ff346)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Elisamuel Resto <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (87d91617bcc15a66d8b56afcc9032306b00ff346)
  • Date: Thu, 2 Oct 2008 15:20:09 -0500

GIT changes to master grimoire by Elisamuel Resto <ryuji AT sourcemage.org>:

ChangeLog | 3 ++
net/maradns/BUILD | 13 +++++++++---
net/maradns/CONFIGURE | 2 +
net/maradns/HISTORY | 3 ++
net/maradns/INSTALL | 13 ++++++++----
php-pear/adodb-ext/DEPENDS | 1
php-pear/adodb-ext/DETAILS | 19 +++++++++++++++++
php-pear/adodb-ext/FINAL | 3 ++
php-pear/adodb-ext/HISTORY | 2 +
php-pear/adodb-ext/PRE_BUILD | 4 +++
php-pear/adodb-ext/TRIGGERS | 1
php-pear/adodb-ext/adodb-ext-504.zip.sig |binary
php-pear/adodb/DEPENDS | 6 ++++-
php-pear/adodb/DETAILS | 33
++++++++++++++++++-------------
php-pear/adodb/HISTORY | 4 +++
php-pear/adodb/INSTALL | 11 +++++-----
php-pear/eaccelerator/DEPENDS | 2 -
php-pear/eaccelerator/HISTORY | 4 +++
php-pear/eaccelerator/PRE_BUILD | 3 +-
php-pear/php-gtk/HISTORY | 2 -
php-pear/suhosin/DEPENDS | 2 -
php-pear/suhosin/HISTORY | 3 ++
php-pear/xcache/DEPENDS | 2 -
php-pear/xcache/HISTORY | 3 ++
php-pear/xdebug/DEPENDS | 6 ++---
php-pear/xdebug/HISTORY | 3 ++
utils/fcrontabs/DEPENDS | 3 +-
utils/fcrontabs/HISTORY | 5 ++++
utils/fcrontabs/INSTALL | 32
++++++++++++------------------
utils/fcrontabs/run-parts | 25 -----------------------
30 files changed, 134 insertions(+), 79 deletions(-)

New commits:
commit 87d91617bcc15a66d8b56afcc9032306b00ff346
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

utils/fcrontabs: don't install run-parts, depend on it instead; use
install_config_file instead of if-block

commit e045e77ca6eb292d810e62e48f67c15889fab825
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

net/maradns: added handling for authoritative-only build

commit 4b0766c419e723ac4e02a4d27508eea88f4ad716
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/eaccelerator: added '--enable-eaccelerator'

commit 03458530ea3a6d8f4d7d7664fcc55811e533d4f7
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/php-gtk: sourcemage.us -> sourcemage.org

commit 3d99f1a3710302a082a5c6a8f7c08499097fa13d
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/xdebug: added '--enable-xdebug'

commit bfcf4c7a6c8dd8ceffa4e973eb964a0a497c2bdb
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/xcache: added '--enable-xcache'

commit 406d84ee97c7fbc3f662cde3a0b82759430196e2
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/suhosin: added '--enable-suhosin'

commit f28799e140fe1e1b8b3afaed8c9b40b12f45b29a
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/adodb: added suggested adodb-ext dependency

commit 4d378c08730afe99da3089f865ea8637f394d2df
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/adodb-ext: new spell, ADOdb PHP C extension

commit 472d8975ca899725242dac33c5641ff06e230629
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

php-pear/adodb: updated to 5.05; removed cruft; wrapped LONG desc; gather
docs

diff --git a/ChangeLog b/ChangeLog
index 6d673b5..1bc0b23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* graphics-libs/liblqq: new spell for gimp-lqr-plugin
* graphics/kicad-library: provides modules for kicad

+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * php-pear/adodb-ext: new spell, ADOdb PHP C extension
+
2008-09-29 Ladislav Hagara <hgr AT vabo.cz>
* utils/consolekit: new spell,
a framework for defining and tracking users, login sessions, seats
diff --git a/net/maradns/BUILD b/net/maradns/BUILD
index 4c9e6d7..5ceed33 100755
--- a/net/maradns/BUILD
+++ b/net/maradns/BUILD
@@ -1,3 +1,10 @@
-./configure &&
-make FLAGS="$CFLAGS"
-
+./configure $MARADNS_AUTHONLY &&
+
+# Always nagging about no jobserver
+make_single &&
+
+if list_find "$MARADNS_AUTHONLY" "--authonly"; then
+ make FLAGS="$CFLAGS -Wall -DSELECT_PROBLEM -DAUTHONLY"
+else
+ make FLAGS="$CFLAGS -Wall -DSELECT_PROBLEM"
+fi
diff --git a/net/maradns/CONFIGURE b/net/maradns/CONFIGURE
new file mode 100755
index 0000000..d050369
--- /dev/null
+++ b/net/maradns/CONFIGURE
@@ -0,0 +1,2 @@
+config_query_option MARADNS_AUTHONLY "Do you want a authoritative-only build
of $SPELL?" n \
+ "--authonly" ""
diff --git a/net/maradns/HISTORY b/net/maradns/HISTORY
index cb927a6..908c7b1 100644
--- a/net/maradns/HISTORY
+++ b/net/maradns/HISTORY
@@ -1,3 +1,6 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * BUILD, INSTALL, CONFIGURE: Added handling for authoritative-only
build
+
2008-08-23 Elisamuel Resto <ryuji AT sourcemage.org>
* PRE_BUILD: Duende has a hardcoded UID of 66, change to 65534
(nobody)
* DETAILS: PATCHLEVEL=1; Updated to 1.3.07.09
diff --git a/net/maradns/INSTALL b/net/maradns/INSTALL
index 29a9274..fc194a2 100755
--- a/net/maradns/INSTALL
+++ b/net/maradns/INSTALL
@@ -1,5 +1,10 @@
# Copy binaries
-install -v -m 750 server/maradns $INSTALL_ROOT/usr/sbin &&
+if list_find "$MARADNS_AUTHONLY" "--authonly"; then
+ install -v -m 750 server/maradns.authonly $INSTALL_ROOT/usr/sbin/maradns
+else
+ install -v -m 750 server/maradns $INSTALL_ROOT/usr/sbin
+fi &&
+
install -v -m 755 tools/askmara $INSTALL_ROOT/usr/bin &&
install -v -m 755 tools/duende $INSTALL_ROOT/usr/bin &&
install -v -m 755 tcp/getzone $INSTALL_ROOT/usr/bin &&
@@ -7,11 +12,11 @@ install -v -m 755 tcp/fetchzone $INSTALL_ROOT/usr/bin
&&
install -v -m 750 tcp/zoneserver $INSTALL_ROOT/usr/sbin &&

install_config_file doc/en/examples/example_full_mararc
$INSTALL_ROOT/etc/mararc &&
-install_config_file doc/en/examples/example_csv1
$INSTALL_ROOT/etc/maradns/db.example1.com &&
-install_config_file doc/en/examples/example_csv2
$INSTALL_ROOT/etc/maradns/db.example2.com &&
+install_config_file doc/en/examples/example_csv1
$INSTALL_ROOT/etc/maradns/db.example1.com &&
+install_config_file doc/en/examples/example_csv2
$INSTALL_ROOT/etc/maradns/db.example2.com &&
mkdir -vp $INSTALL_ROOT/etc/maradns/logger
&&

# Copy man pages
for i in $( seq 1 8 ) ; do
install -v -m 644 doc/en/man/*.$i $INSTALL_ROOT/usr/share/man/man$i >
/dev/null 2>&1
-done
+done
diff --git a/php-pear/adodb-ext/DEPENDS b/php-pear/adodb-ext/DEPENDS
new file mode 100755
index 0000000..453f1ee
--- /dev/null
+++ b/php-pear/adodb-ext/DEPENDS
@@ -0,0 +1 @@
+depends PHP "--enable-adodb"
diff --git a/php-pear/adodb-ext/DETAILS b/php-pear/adodb-ext/DETAILS
new file mode 100755
index 0000000..fa3287c
--- /dev/null
+++ b/php-pear/adodb-ext/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=adodb-ext
+ VERSION=5.04
+ SOURCE=$SPELL-${VERSION/.}.zip
+ SOURCE_URL[0]=http://phplens.com/lens/dl/$SOURCE
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL/-ext}-${VERSION/.}
+ SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
+ WEB_SITE="http://adodb.sourceforge.net/#extension";
+ LICENSE[0]=BSD
+ DOCS="CREDITS EXPERIMENTAL README.txt"
+ SHORT="The ADOdb PHP extension"
+
+cat << EOF
+Speed Up Your PHP Code with the ADOdb extension.
+
+The ADOdb extension provides up to 100% speedup by replacing parts of
+ADOdb with C code. ADOdb will auto-detect if this extension is
+installed and use it automatically. This extension is compatible with
+ADOdb 3.32 or later, and PHP 4.3.*, 4.4.*, 5.0.* and 5.1.*.
+EOF
diff --git a/php-pear/adodb-ext/FINAL b/php-pear/adodb-ext/FINAL
new file mode 100755
index 0000000..d5a50bf
--- /dev/null
+++ b/php-pear/adodb-ext/FINAL
@@ -0,0 +1,3 @@
+PHP_EXT=$(php-config --extension-dir) &&
+echo "Don't forget to add the following to your /etc/php.ini:" &&
+echo "extension=\"$PHP_EXT/adodb.so\""
diff --git a/php-pear/adodb-ext/HISTORY b/php-pear/adodb-ext/HISTORY
new file mode 100644
index 0000000..b01cb7b
--- /dev/null
+++ b/php-pear/adodb-ext/HISTORY
@@ -0,0 +1,2 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS, DETAILS, FINAL, PRE_BUILD, TRIGGERS,
adodb-ext-504.zip.sig: spell created
diff --git a/php-pear/adodb-ext/PRE_BUILD b/php-pear/adodb-ext/PRE_BUILD
new file mode 100755
index 0000000..7f85d2f
--- /dev/null
+++ b/php-pear/adodb-ext/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+phpize
diff --git a/php-pear/adodb-ext/TRIGGERS b/php-pear/adodb-ext/TRIGGERS
new file mode 100755
index 0000000..fa2f0ec
--- /dev/null
+++ b/php-pear/adodb-ext/TRIGGERS
@@ -0,0 +1 @@
+on_cast php cast_self
diff --git a/php-pear/adodb-ext/adodb-ext-504.zip.sig
b/php-pear/adodb-ext/adodb-ext-504.zip.sig
new file mode 100644
index 0000000..efc1005
Binary files /dev/null and b/php-pear/adodb-ext/adodb-ext-504.zip.sig differ
diff --git a/php-pear/adodb/DEPENDS b/php-pear/adodb/DEPENDS
index 0bbf486..33345fd 100755
--- a/php-pear/adodb/DEPENDS
+++ b/php-pear/adodb/DEPENDS
@@ -1 +1,5 @@
-depends PHP
+depends PHP &&
+
+suggest_depends adodb-ext \
+ "" "" \
+ "for speeding up ADOdb with the PHP extension"
diff --git a/php-pear/adodb/DETAILS b/php-pear/adodb/DETAILS
index cc274a2..411f83d 100755
--- a/php-pear/adodb/DETAILS
+++ b/php-pear/adodb/DETAILS
@@ -1,17 +1,24 @@
SPELL=adodb
- VERSION=4.80
-
SOURCE_HASH='sha512:d106cbaa155d80cddb056533ff21474d691638b14df3081bb478a421e8b7fec7cb96baac554869532ba6681e77ee1dcf870c8bee551d831205c2d7f9c2291a6a'
- SOURCE="$SPELL${VERSION//./}.tgz"
- SOURCE_URL[0]="$SOURCEFORGE_URL/$SPELL/$SOURCE"
-SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
- WEB_SITE="http://$SPELL.sourceforge.net/";
- FRESHMEAT_URL="http://freshmeat.net/projects/$SPELL/";
- LICENSE[0]='BSD'
- UPDATED=20060122
- GATHER_DOCS=off
+ VERSION=5.05
+
SOURCE_HASH=sha512:a3087bef7cb2b9875e06bcdbd0f727d6fc29ca36e372a4f988a9c0b8aad29ba5c889cca699661e0a0d6f22dea7399780abbff6927399d86e112812d2ac3fe2f7
+ SOURCE=$SPELL${VERSION/.}.tgz
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}5
+ WEB_SITE="http://adodb.sourceforge.net/";
+ FRESHMEAT_URL="http://freshmeat.net/projects/adodb/";
+ LICENSE[0]=BSD
+ DOCS="license.txt readme.txt"
+ DOC_DIRS="docs"
KEYWORDS="database php"
- SHORT='A PHP database abstraction layer'
+ SHORT="A PHP database abstraction layer"
+
cat << EOF
-ADODB is a set of advanced PHP database abstraction classes. It supports
MySQL, PostgreSQL, Interbase/Firebird, Informix, Sybase SQL Anywhere, Oracle,
MS SQL 7 and 2000, SAP DB, Sybase, DB2, FrontBase, Foxpro, Access, Netezza,
LDAP, ODBTP, ADO, and generic ODBC. A metatype system is built in, making it
possible to figure out that types such as CHAR, TEXT, and STRING are
equivalent in different databases. It also features portable database
creation, database-backed session support (with encryption), SQL performance
monitoring, and database health checks.
+ADODB is a set of advanced PHP database abstraction classes. It supports
+MySQL, PostgreSQL, Interbase/Firebird, Informix, Sybase SQL Anywhere,
+Oracle, MS SQL 7 and 2000, SAP DB, Sybase, DB2, FrontBase, Foxpro, Access,
+Netezza, LDAP, ODBTP, ADO, and generic ODBC. A metatype system is built
+in, making it possible to figure out that types such as CHAR, TEXT, and
+STRING are equivalent in different databases. It also features portable
+database creation, database-backed session support (with encryption), SQL
+performance monitoring, and database health checks.
EOF
-## Auto-generated from Freshmeat.net's project descriptor
diff --git a/php-pear/adodb/HISTORY b/php-pear/adodb/HISTORY
index ea25f32..147f706 100644
--- a/php-pear/adodb/HISTORY
+++ b/php-pear/adodb/HISTORY
@@ -1,3 +1,7 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DETAILS: updated to 5.05; removed cruft; wrapped LONG desc; gather
docs
+ * DEPENDS: added suggested adodb-ext dependency
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed BUILD_API=2.

diff --git a/php-pear/adodb/INSTALL b/php-pear/adodb/INSTALL
index dfbb9b4..1e03ff4 100755
--- a/php-pear/adodb/INSTALL
+++ b/php-pear/adodb/INSTALL
@@ -1,6 +1,7 @@
-mkdir -pv "$INSTALL_ROOT/usr/share/doc/$SPELL" &&
-cp -Rv docs/* "$INSTALL_ROOT/usr/share/doc/$SPELL" &&
-rm -fr docs &&
-
mkdir -pv "$INSTALL_ROOT/usr/share/$SPELL" &&
-cp -Rv * "$INSTALL_ROOT/usr/share/$SPELL"
+cp -aRv *.php "$INSTALL_ROOT/usr/share/$SPELL" &&
+
+local dir
+for dir in contrib datadict drivers lang pear perf session xsl; do
+ cp -aRv "$dir" "$INSTALL_ROOT/usr/share/$SPELL/$dir"
+done
diff --git a/php-pear/eaccelerator/DEPENDS b/php-pear/eaccelerator/DEPENDS
index 0bbf486..8534416 100755
--- a/php-pear/eaccelerator/DEPENDS
+++ b/php-pear/eaccelerator/DEPENDS
@@ -1 +1 @@
-depends PHP
+depends PHP "--enable-eaccelerator"
diff --git a/php-pear/eaccelerator/HISTORY b/php-pear/eaccelerator/HISTORY
index 62eb616..40b14cd 100644
--- a/php-pear/eaccelerator/HISTORY
+++ b/php-pear/eaccelerator/HISTORY
@@ -1,2 +1,6 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added '--enable-eaccelerator'
+ * PRE_BUILD: quote that cd path
+
2008-05-31 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS, DEPENDS, PRE_BUILD, FINAL, eaccelerator.gpg: spell created
diff --git a/php-pear/eaccelerator/PRE_BUILD b/php-pear/eaccelerator/PRE_BUILD
index 026a191..7f85d2f 100755
--- a/php-pear/eaccelerator/PRE_BUILD
+++ b/php-pear/eaccelerator/PRE_BUILD
@@ -1,3 +1,4 @@
default_pre_build &&
-cd $SOURCE_DIRECTORY &&
+cd "$SOURCE_DIRECTORY" &&
+
phpize
diff --git a/php-pear/php-gtk/HISTORY b/php-pear/php-gtk/HISTORY
index 18f1da7..fcd3d5d 100644
--- a/php-pear/php-gtk/HISTORY
+++ b/php-pear/php-gtk/HISTORY
@@ -1,4 +1,4 @@
-2008-05-26 Elisamuel Resto <ryuji AT sourcemage.us>
+2008-05-26 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated VERSION to 2.0.1; fixed SOURCE_DIRECTORY
* DEPENDS: broken file (no &&), fixed; added new depends

diff --git a/php-pear/suhosin/DEPENDS b/php-pear/suhosin/DEPENDS
index 0bbf486..dc2f0a2 100755
--- a/php-pear/suhosin/DEPENDS
+++ b/php-pear/suhosin/DEPENDS
@@ -1 +1 @@
-depends PHP
+depends PHP "--enable-suhosin"
diff --git a/php-pear/suhosin/HISTORY b/php-pear/suhosin/HISTORY
index c36a1e8..80fdadd 100644
--- a/php-pear/suhosin/HISTORY
+++ b/php-pear/suhosin/HISTORY
@@ -1,3 +1,6 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added '--enable-suhosin'
+
2008-09-13 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated spell to 0.9.27

diff --git a/php-pear/xcache/DEPENDS b/php-pear/xcache/DEPENDS
index 0bbf486..9a54ebb 100755
--- a/php-pear/xcache/DEPENDS
+++ b/php-pear/xcache/DEPENDS
@@ -1 +1 @@
-depends PHP
+depends PHP "--enable-xcache"
diff --git a/php-pear/xcache/HISTORY b/php-pear/xcache/HISTORY
index 2344aa8..8342bcb 100644
--- a/php-pear/xcache/HISTORY
+++ b/php-pear/xcache/HISTORY
@@ -1,3 +1,6 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added '--enable-xcache'
+
2008-09-08 Elisamuel Resto <ryuji AT sourcemage.org>
* TRIGGERS: added, recast xcache when php is (re)casted
* PRE_BUILD: remove stray package.xml left in $BUILD_DIRECTORY
diff --git a/php-pear/xdebug/DEPENDS b/php-pear/xdebug/DEPENDS
index 3f6b6fb..a696d57 100755
--- a/php-pear/xdebug/DEPENDS
+++ b/php-pear/xdebug/DEPENDS
@@ -1,3 +1,3 @@
-depends automake &&
-depends libtool &&
-depends PHP
+depends automake &&
+depends libtool &&
+depends PHP "--enable-xdebug"
diff --git a/php-pear/xdebug/HISTORY b/php-pear/xdebug/HISTORY
index 78e98f8..f1a587d 100644
--- a/php-pear/xdebug/HISTORY
+++ b/php-pear/xdebug/HISTORY
@@ -1,3 +1,6 @@
+2008-09-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added '--enable-xdebug'
+
2008-09-08 Elisamuel Resto <ryuji AT sourcemage.org>
* FINAL: made the output similar to the other pecl extension spells
* PRE_BUILD: added, remove stray package.xml left in $BUILD_DIRECTORY
diff --git a/utils/fcrontabs/DEPENDS b/utils/fcrontabs/DEPENDS
index 4e59321..55a5626 100755
--- a/utils/fcrontabs/DEPENDS
+++ b/utils/fcrontabs/DEPENDS
@@ -1 +1,2 @@
-depends fcron
+depends run-parts &&
+depends fcron
diff --git a/utils/fcrontabs/HISTORY b/utils/fcrontabs/HISTORY
old mode 100755
new mode 100644
index d7325fb..206754a
--- a/utils/fcrontabs/HISTORY
+++ b/utils/fcrontabs/HISTORY
@@ -1,3 +1,8 @@
+2008-10-01 Elisamuel Resto <ryuji AT sourcemage.org>
+ * INSTALL: removed run-parts install; use install_config_file for
fcrontab
+ * run-parts: removed.
+ * DEPENDS: depend on run-parts
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.

diff --git a/utils/fcrontabs/INSTALL b/utils/fcrontabs/INSTALL
index 7dbc495..26ea253 100755
--- a/utils/fcrontabs/INSTALL
+++ b/utils/fcrontabs/INSTALL
@@ -1,19 +1,13 @@
- if [ -e /etc/fcrontab ] #was not reaped, so don't overwrite it
- then
- cp $SCRIPT_DIRECTORY/fcrontab /etc/fcrontab.spellnew
- echo /etc/fcrontab installed as /etc/fcrontab.spellnew
- else
- cp $SCRIPT_DIRECTORY/fcrontab /etc/
- fi &&
- mkdir -p /etc/cron.yearly &&
- mkdir -p /etc/cron.monthly &&
- mkdir -p /etc/cron.weekly &&
- mkdir -p /etc/cron.daily &&
- mkdir -p /etc/cron.hourly &&
- mkdir -p /etc/cron.minutely &&
- install $SCRIPT_DIRECTORY/run-parts /usr/bin/ &&
- if ! fcrontab -u systab /etc/fcrontab
- then
- echo fcron version must be at least 2.9.2. Please recast.
- false
- fi
+install_config_file "$SCRIPT_DIRECTORY/fcrontab" "$INSTALL_ROOT/etc/fcrontab"
+
+mkdir -p /etc/cron.yearly &&
+mkdir -p /etc/cron.monthly &&
+mkdir -p /etc/cron.weekly &&
+mkdir -p /etc/cron.daily &&
+mkdir -p /etc/cron.hourly &&
+mkdir -p /etc/cron.minutely &&
+
+if ! fcrontab -u systab /etc/fcrontab; then
+ echo "fcron version must be at least 2.9.2. Please recast."
+ return 1
+fi
diff --git a/utils/fcrontabs/run-parts b/utils/fcrontabs/run-parts
deleted file mode 100755
index 5baf191..0000000
--- a/utils/fcrontabs/run-parts
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# run-parts - concept taken from Debian
-
-# keep going when something fails
-set +e
-
-if [ $# -lt 1 ]; then
- echo "Usage: run-parts <dir>"
- exit 1
-fi
-
-if [ ! -d $1 ]; then
- echo "Not a directory: $1"
- exit 1
-fi
-
-for i in $1/* ; do
- [ -d $i ] && continue
- if [ -x $i ]; then
- $i
- fi
-done
-
-exit 0




Archive powered by MHonArc 2.6.24.

Top of Page