mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Foomatic ist gegen die libtiff gelinkt.
Der Dump der Maildatenbank muss die Datenbank noch anlegen. Die Adresse der server.met soll nicht funktionieren. Ausgetauscht. Initscript fuer Asterisk geschrieben. Der Pakfire macht ein Update, wenn sich die Maschine einwaehlt (Ohne --force). Die Beep-Melodie ein bisschen schneller gemacht, weil der rowie die nicht mag. ;) Das applejuice-Paket startet nun den Client von allein. ...und somit wird es dann bald Zeit fuer einen Release Candidate... git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@962 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -200,7 +200,7 @@
|
||||
IMPORTANT: Put the URL and the kind between quotes.
|
||||
EXAMPLE:
|
||||
web_infos = [
|
||||
("server.met", 0, "http://www.gruk.org/server.met.gz");
|
||||
("server.met", 0, "http://ed2k.2x4u.de/u581miei/max/server.met");
|
||||
("hublist", 0, "http://dchublist.com/hublist.config.bz2");
|
||||
("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz");
|
||||
("ocl", 24, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl");
|
||||
|
||||
@@ -15,6 +15,15 @@
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
--
|
||||
-- Database: `mail`
|
||||
--
|
||||
|
||||
CREATE DATABASE `mail`;
|
||||
USE `mail`;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `domains`
|
||||
--
|
||||
|
||||
@@ -59,6 +59,7 @@ etc/rc.d/init.d/networking/red.up/40-ipac
|
||||
etc/rc.d/init.d/networking/red.up/50-ipsec
|
||||
etc/rc.d/init.d/networking/red.up/50-ovpn
|
||||
etc/rc.d/init.d/networking/red.up/99-U-dialctrl.pl
|
||||
etc/rc.d/init.d/networking/red.up/99-pakfire-update
|
||||
#etc/rc.d/init.d/nfs-server
|
||||
etc/rc.d/init.d/ntp
|
||||
#etc/rc.d/init.d/portmap
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
etc/init.d/asterisk
|
||||
#usr/include/asterisk
|
||||
#usr/include/asterisk.h
|
||||
#usr/include/asterisk/abstract_jb.h
|
||||
|
||||
@@ -35,7 +35,7 @@ TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = foomatic
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = "cups ghostscript"
|
||||
DEPS = "cups ghostscript libtiff"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
|
||||
2
make.sh
2
make.sh
@@ -24,7 +24,7 @@
|
||||
|
||||
NAME="IPFire" # Software name
|
||||
SNAME="ipfire" # Short name
|
||||
VERSION="2.0rc1t" # Version number
|
||||
VERSION="2.0rc1" # Version number
|
||||
SLOGAN="www.ipfire.org" # Software slogan
|
||||
CONFIG_ROOT=/var/ipfire # Configuration rootdir
|
||||
NICE=10 # Nice level
|
||||
|
||||
52
src/initscripts/init.d/asterisk
Normal file
52
src/initscripts/init.d/asterisk
Normal file
@@ -0,0 +1,52 @@
|
||||
#!/bin/sh
|
||||
########################################################################
|
||||
# Begin $rc_base/init.d/asterisk
|
||||
#
|
||||
# Description : Asterisk Script
|
||||
#
|
||||
# Authors : Michael Tremer (mitch@ipfire.org)
|
||||
#
|
||||
# Version : 01.00
|
||||
#
|
||||
# Notes :
|
||||
#
|
||||
########################################################################
|
||||
|
||||
. /etc/sysconfig/rc
|
||||
. ${rc_functions}
|
||||
|
||||
case "${1}" in
|
||||
start)
|
||||
boot_mesg "Starting Asterisk PBX..."
|
||||
loadproc /usr/sbin/asterisk
|
||||
;;
|
||||
|
||||
stop)
|
||||
boot_mesg "Stopping Asterisk PBX..."
|
||||
asterisk -rx "stop gracefully" >/dev/null 2>&1
|
||||
evaluate_retval
|
||||
;;
|
||||
|
||||
reload)
|
||||
boot_mesg "Reloading Asterisk PBX..."
|
||||
asterisk -rx "reload" >/dev/null 2>&1
|
||||
evaluate_retval
|
||||
;;
|
||||
|
||||
restart)
|
||||
${0} stop
|
||||
sleep 1
|
||||
${0} start
|
||||
;;
|
||||
|
||||
status)
|
||||
statusproc /usr/sbin/asterisk
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: ${0} {start|stop|reload|restart|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# End $rc_base/init.d/asterisk
|
||||
@@ -15,7 +15,7 @@
|
||||
. /etc/sysconfig/rc
|
||||
. ${rc_functions}
|
||||
|
||||
LENGTH=80
|
||||
LENGTH=40
|
||||
|
||||
play () {
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/opt/pakfire/pakfire update >/dev/null 2>&1
|
||||
@@ -15,4 +15,7 @@
|
||||
# a space or a tab.
|
||||
########################################################################
|
||||
|
||||
parport_pc
|
||||
lp
|
||||
|
||||
# End /etc/sysconfig/modules
|
||||
|
||||
12
src/paks/applejuice/install.sh
Normal file
12
src/paks/applejuice/install.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
extract_files
|
||||
|
||||
sleep 60 && /etc/init.d/applejuice start &
|
||||
|
||||
ln -svf ../init.d/applejuice /etc/rc.d/rc0.d/K05applejuice
|
||||
ln -svf ../init.d/applejuice /etc/rc.d/rc3.d/S98applejuice
|
||||
ln -svf ../init.d/applejuice /etc/rc.d/rc6.d/K05applejuice
|
||||
|
||||
/etc/init.d/apache restart
|
||||
5
src/paks/applejuice/uninstall.sh
Normal file
5
src/paks/applejuice/uninstall.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
/etc/init.d/applejuice stop
|
||||
|
||||
rm -rf /etc/rc.d/rc*.d/*applejuice
|
||||
4
src/paks/applejuice/update.sh
Normal file
4
src/paks/applejuice/update.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
extract_files
|
||||
@@ -9,4 +9,6 @@ ln -svf ../init.d/mysql /etc/rc.d/rc6.d/K26mysql
|
||||
|
||||
/etc/init.d/mysql start
|
||||
|
||||
sleep 10
|
||||
|
||||
mysqladmin -u root --password='' password 'mysqlfire'
|
||||
|
||||
@@ -3,4 +3,6 @@
|
||||
|
||||
extract_files
|
||||
|
||||
mysql -u root mail < /srv/web/openmailadmin/mail.dump
|
||||
mysql < /srv/web/openmailadmin/mail.dump
|
||||
|
||||
/etc/init.d/apache restart
|
||||
|
||||
@@ -7,3 +7,5 @@ postalias /etc/aliases
|
||||
|
||||
# Set postfix's hostname
|
||||
postconf -e "myhostname=$(hostname -f)"
|
||||
|
||||
/etc/init.d/postfix start
|
||||
|
||||
Reference in New Issue
Block a user