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
#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
* 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
include Config
-VER = 2.4.1
+VER = 2.5.2
THISAPP = amavisd-new-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = bf770a3c7eee8a9c93932a04485e6a35
+$(DL_FILE)_MD5 = 52d227d442fac64916488b83d79806d7
install : $(TARGET)
include Config
-VER = 4.4.4
+VER = 5.2.4
THISAPP = php-$(VER)
DL_FILE = $(THISAPP).tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = bc6fa8908e2ac36e93bab9f7d42cda3a
+$(DL_FILE)_MD5 = 55c97a671fdabf462cc7a82971a656d2
install : $(TARGET)
@$(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)
-#!/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