]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Amavisd-new und PHP aktualisiert.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Fri, 31 Aug 2007 12:09:23 +0000 (12:09 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Fri, 31 Aug 2007 12:09:23 +0000 (12:09 +0000)
Neues Startscript fuer den Applejuice.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@865 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/rootfiles/common/initscripts
doc/packages-list.txt
lfs/amavisd
lfs/php
src/initscripts/init.d/applejuice

index 3ad08890f75efe40d07593ae61a83056f9c4c9e3..99bc14cbf07f5b455cbf0b9e2b43569894c69f2e 100644 (file)
@@ -14,6 +14,7 @@ etc/rc.d/init.d/cleanfs
 etc/rc.d/init.d/connectd
 etc/rc.d/init.d/console
 #etc/rc.d/init.d/cups
+#etc/rc.d/init.d/cyrus-imapd
 #etc/rc.d/init.d/cyrus-sasl
 etc/rc.d/init.d/dhcp
 etc/rc.d/init.d/dnsmasq
@@ -58,6 +59,7 @@ etc/rc.d/init.d/networking/red.up/99-U-dialctrl.pl
 #etc/rc.d/init.d/nfs-server
 etc/rc.d/init.d/ntp
 #etc/rc.d/init.d/portmap
+#etc/rc.d/init.d/postfix
 etc/rc.d/init.d/random
 etc/rc.d/init.d/rc
 etc/rc.d/init.d/reboot
index 99dcddc4cf2413a8629d02ae292c71d11cb32779..a7f6d720d459dbac225ecd80bdc60f06c997225d 100644 (file)
@@ -34,6 +34,7 @@
 * XML-Parser-2.34
 * alsa-lib-1.0.13
 * amavisd-new-2.4.1
+* amavisd-new-2.5.2
 * applejuice-0.30
 * arping-2.05
 * as86-0.16.17
index 45b5cf176af68abd486a4d8dfad6af333f177446..35b483be026fb07703b9ea0d3666a0d1c6266369 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.4.1
+VER        = 2.5.2
 
 THISAPP    = amavisd-new-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = bf770a3c7eee8a9c93932a04485e6a35
+$(DL_FILE)_MD5 = 52d227d442fac64916488b83d79806d7
 
 install : $(TARGET)
 
diff --git a/lfs/php b/lfs/php
index c7df30b628337f162b5d455eb15e2fa2f80937f1..10218029d8130fc1d685b4de820500ff437708d5 100644 (file)
--- a/lfs/php
+++ b/lfs/php
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 4.4.4
+VER        = 5.2.4
 
 THISAPP    = php-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = bc6fa8908e2ac36e93bab9f7d42cda3a
+$(DL_FILE)_MD5 = 55c97a671fdabf462cc7a82971a656d2
 
 install : $(TARGET)
 
@@ -74,14 +74,51 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && sed -i 's/const char \*errpfx,/const DB_ENV *dbenv, & const/' ext/dba/dba_db4.c
-       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \
-                                           --with-apxs2 --with-config-file-path=/etc \
-                                           --with-zlib --with-bz2 --enable-ftp --with-gettext \
-                                           --with-iconv --with-mysql=/usr --with-ncurses
+       cd $(DIR_APP) && ./configure --prefix=/usr \
+                                                                                           --sysconfdir=/etc \
+                                                                                           --with-apxs2 \
+                                                                                           --enable-force-cgi-redirect \
+                                                                                           --enable-discard-path \
+                                                                                           --enable-fastcgi \
+                                                                                           --with-config-file-path=/etc \
+                                                                                           --with-openssl \
+                                                                                           --with-kerberos \
+                                                                                           --with-pcre-regex=/usr \
+                                                                                           --with-zlib \
+                                                                                           --enable-bcmath \
+                                                                                           --with-bz2 \
+                                                                                           --enable-calendar \
+                                                                                           --with-curl \
+                                                                                           --with-curlwrappers \
+                                                                                           --enable-dba=shared \
+                                                                                           --with-gdbm \
+                                                                                           --with-db4 \
+                                                                                           --with-inifile \
+                                                                                           --with-flatfile \
+                                                                                           --enable-exif \
+                                                                                           --enable-ftp \
+                                                                                           --with-openssl-dir=/usr \
+                                                                                           --with-gd=/usr \
+                                                                                           --with-jpeg-dir=/usr \
+                                                                                           --with-png-dir=/usr \
+                                                                                           --with-zlib-dir=/usr \
+                                                                                           --with-freetype-dir=/usr \
+                                                                                           --with-gettext \
+                                                                                           --with-gmp \
+                                                                                           --enable-mbstring \
+                                                                                           --with-mysql \
+                                                                                           --with-mysql-sock=/var/run/mysql \
+                                                                                           --with-ncurses \
+                                                                                           --with-pdo-mysql \
+                                                                                           --without-pdo-sqlite \
+                                                                                           --with-readline \
+                                                                                           --enable-sockets \
+                                                                                           --with-xsl \
+                                                                                           --with-iconv
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        cd $(DIR_APP) && install -v -m644 php.ini-recommended /etc/php.ini
-       grep -v libphp4.so < /etc/httpd/conf/httpd.conf > /etc/httpd/conf/httpd.conf.bak
+       grep -v libphp5.so < /etc/httpd/conf/httpd.conf > /etc/httpd/conf/httpd.conf.bak
        mv -f /etc/httpd/conf/httpd.conf.bak /etc/httpd/conf/httpd.conf
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 5ea1227b0df3fa619b18feff73843d585d96c80b..d8bbc8c50e4aaf56278d19049338828de4ab3f7b 100644 (file)
@@ -1,32 +1,53 @@
-#!/bin/bash
-HOME=/opt/applejuice
-JAVA=/usr/bin/java
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/applejuice
+#
+# Description : Applejuice Init script
+#
+# Authors     : Michael Tremer - www.ipfire.org
+#
+# Version     : 01.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
 eval $(/usr/local/bin/readhash /var/ipfire/applejuice/settings)
 
 
-case "$1" in
-  start)
-       cd $HOME
-       screen -dmS ajcore $JAVA -Xmx${RAMSIZE}m -Djava.library.path=. -jar ajcore.jar
-       echo -e "Applejuice is running!"; logger -t ipfire "Applejuice started!"
-       ;;
-  stop)
-       killall -9 java
-       echo -e "Applejuice is stopped!"; logger -t ipfire "Applejuice stopped!"
-       ;;
-  status)
-       if pidof java > /dev/null ; then
-               echo -e "Applejuice is running!"
-               exit 0
-       else
-               echo -e "Applejuice is not running!"
+case "${1}" in
+       start)
+               boot_mesg "Starting Applejuice Core..."
+               cd /opt/applejuice
+               screen -dmS ajcore /usr/bin/java -Xmx${RAMSIZE} -Djava.library.path=. -jar ajcore.jar
+               evaluate_retval
+               ;;
+
+       stop)
+               boot_mesg "Stopping Applejuice Core..."
+               killproc /usr/bin/java
+               ;;
+
+       restart)
+               ${0} stop
+               sleep 1
+               ${0} start
+               ;;
+
+       status)
+               statusproc /usr/bin/java
+               ;;
+               
+       core)
+               screen -x ajcore
+               ;;
+
+       *)
+               echo "Usage: ${0} {start|stop|restart|status|core}"
                exit 1
-       fi
-       ;;
-  restart)
-       $0 stop
-       $0 start
-       ;;
-  *)
-       echo -e "Usage: $0 (start|stop|restart|status)"
+               ;;
 esac
+
+# End $rc_base/init.d/applejuice