Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13996
Modified Files:
LPRng rrdtool
Added Files:
cgilib freetype libart
Log Message:
- added cgi-lib 0.5 (Alberto Benati / Heiko)
- added freetype 2.1.10 (Alberto Benati / Heiko)
- added libart 2.3.17 (Alberto Benati / Heiko)
- updated rrdtool to 1.2.12 (Alberto Benati / Heiko)
- changed lprng admin group name to lpadmin (Alberto Benati / Heiko)
Index: rrdtool
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/rrdtool,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- rrdtool 12 Dec 2004 21:48:09 -0000 1.5
+++ rrdtool 7 Jan 2006 17:57:19 -0000 1.6
@@ -10,7 +10,7 @@
### BEGIN INIT INFO
# Provides: rrdtool
-# Required-Start: $basebuildtools $libs perl
+# Required-Start: $basebuildtools $libs libart cgilib perl
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
@@ -27,7 +27,7 @@
build )
if [ "$CONFIG_RRDTOOL" = "y" ]; then
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-shared || exit 1
- make $PMAKE all || exit 1
+ make all || exit 1
strip_debug
# we need that probably for some other tools, so let's install it
make install || exit 1
@@ -44,9 +44,12 @@
rm -rf $TMPDIR/usr/lib/*.la || exit 1
mkdir -p $DOCDIR/rrdtool || exit 1
- rm -rf $TMPDIR/usr/doc/*.pod || exit 1
- cp -dpR $TMPDIR/usr/{doc,examples,html} $DOCDIR/rrdtool || exit 1
- rm -rf $TMPDIR/usr/{doc,examples,html} || exit 1
+#Version??
+# rm -rf $TMPDIR/usr/share/doc/txt/*.pod || exit 1
+# cp -dpR $TMPDIR/usr/share/doc/{txt,html} $DOCDIR/rrdtool || exit 1
+ cp -dpR $TMPDIR/usr/share/rrdtool/examples $DOCDIR/rrdtool || exit 1
+ rm -rf $TMPDIR/usr/share/doc || exit 1
+ rm -rf $TMPDIR/usr/share/rrdtool/examples || exit 1
copy_docs $TMPDIR
--- NEW FILE: libart ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/libart,v $
# $Revision: 1.2 $
# $Date: 2006/01/07 17:57:19 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: libart
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Description: Libart (http://www.levien.com/libart)
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
if [ ! -f .patch.done ]; then
#From Debian
zcat $DL_DIR/src/libart-lgpl_2.3.17-1.diff.gz | patch -p1 || exit 1
touch .patch.done
fi
./configure --disable-shared --prefix=/usr || exit 1
make $PMAKE || exit 1
strip_debug
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
Index: LPRng
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/LPRng,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- LPRng 12 Dec 2004 22:28:17 -0000 1.3
+++ LPRng 7 Jan 2006 17:57:19 -0000 1.4
@@ -29,7 +29,7 @@
build )
if [ "$CONFIG_LPRNG" = "y" ]; then
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
- --with-userid=lprng --with-groupid=lprng --disable-nls --with-pic || exit 1
+ --with-userid=lpadmin --with-groupid=lpadmin --disable-nls --with-pic || exit 1
make $PMAKE all || exit 1
strip_debug
fi
--- NEW FILE: freetype ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/freetype,v $
# $Revision: 1.2 $
# $Date: 2006/01/07 17:57:19 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: freetype
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: FREETYPE (http://www.freetype.org)
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
if [ "$CONFIG_FREETYPE" = "y" -o "$CONFIG_RRDTOOL" = "y" ]; then
./configure --prefix=/usr || exit 1
make $PMAKE || exit 1
strip_debug
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
fi
;;
install )
if [ "$CONFIG_FREETYPE" = "y" ]; then
rm -rf $TMPDIR
mkdir -p $TMPDIR || exit 1
make install DESTDIR=$TMPDIR || exit 1
rm -rf $TMPDIR/usr/include || exit 1
cp -dpR $TMPDIR/* $CDDIR/ || exit 1
rm -rf $TMPDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: cgilib ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/cgilib,v $
# $Revision: 1.2 $
# $Date: 2006/01/07 17:57:19 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: cgilib
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Description: CGILIB (http://people.ee.ethz.ch/~oetiker/webtools/rrdtool)
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
if [ ! -f .patch.done ]; then
#From Debian
zcat $DL_DIR/src/cgilib_0.5-4.1.diff.gz | patch -p1 || exit 1
touch .patch.done
fi
make $PMAKE || exit 1
strip_debug
# we have to install this immediately, because this is a library and could be needed by other sources
cp *.h /usr/include/ || exit 1
cp libcgi* /usr/lib/ || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|