summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2012-02-28 17:10:55 -0500
committerDenys Dmytriyenko <denys@ti.com>2012-02-28 17:10:55 -0500
commit266d76ba87d9ddf4db96d481bdd42cdd4e01362b (patch)
tree241b0598bc884c747ae87c047115edb4213f2633
parent827f9e9a8a8d933791966da46e9ad9d1a57b0403 (diff)
downloadmeta-ti-266d76ba87d9ddf4db96d481bdd42cdd4e01362b.tar.gz
matrix: remove old Matrix and replace with README to point to new location
Matrix is now hosted in the meta-arago-extras (sub-)layer of meta-arago. This sub-layer is not Arago-specific and can be used with any distro. More details at git://arago-project.org/git/meta-arago.git Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-ti/matrix/README5
-rw-r--r--recipes-ti/matrix/matrix-gui-3d-demos_1.0.bb18
-rw-r--r--recipes-ti/matrix/matrix-gui-apps.inc40
-rw-r--r--recipes-ti/matrix/matrix-gui-clocks_1.1.bb34
-rw-r--r--recipes-ti/matrix/matrix-gui-coming-soon_1.0.bb17
-rw-r--r--recipes-ti/matrix/matrix-gui-common.inc44
-rw-r--r--recipes-ti/matrix/matrix-gui-common_1.4.bb7
-rw-r--r--recipes-ti/matrix/matrix-gui-crypto-demos_1.2.bb19
-rw-r--r--recipes-ti/matrix/matrix-gui-display-control_1.0.bb21
-rw-r--r--recipes-ti/matrix/matrix-gui-e.inc48
-rw-r--r--recipes-ti/matrix/matrix-gui-e_1.3.bb6
-rw-r--r--recipes-ti/matrix/matrix-gui-paths.inc3
-rw-r--r--recipes-ti/matrix/matrix-gui-pm-demos_1.0.bb21
-rw-r--r--recipes-ti/matrix/matrix-gui-qt4-demos_1.0.bb20
-rw-r--r--recipes-ti/matrix/matrix-gui-submenus_1.0.bb105
-rw-r--r--recipes-ti/matrix/matrix-gui-wifi-demos_1.1.bb19
-rw-r--r--recipes-ti/matrix/matrix-gui.inc51
-rw-r--r--recipes-ti/matrix/matrix-gui/init64
-rw-r--r--recipes-ti/matrix/matrix-gui/php.ini1342
-rw-r--r--recipes-ti/matrix/matrix-gui_1.3.bb6
-rw-r--r--recipes-ti/matrix/matrix-gui_2.0.bb34
-rw-r--r--recipes-ti/matrix/matrix-lighttpd-config.bb26
-rwxr-xr-xrecipes-ti/matrix/matrix-lighttpd-config/lighttpd.conf.matrix341
23 files changed, 5 insertions, 2286 deletions
diff --git a/recipes-ti/matrix/README b/recipes-ti/matrix/README
new file mode 100644
index 00000000..ed775960
--- /dev/null
+++ b/recipes-ti/matrix/README
@@ -0,0 +1,5 @@
1Matrix app has been moved to meta-arago-extras layer of the meta-arago repo:
2git://arago-project.org/git/meta-arago.git
3
4This meta-arago-extras layer is distro-agnostic and not Arago-specific, so
5it can be used with any OE-Core based distribution.
diff --git a/recipes-ti/matrix/matrix-gui-3d-demos_1.0.bb b/recipes-ti/matrix/matrix-gui-3d-demos_1.0.bb
deleted file mode 100644
index ece9b2e1..00000000
--- a/recipes-ti/matrix/matrix-gui-3d-demos_1.0.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1DESCRIPTION = "3D demo descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5
6SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/603/5030/3ddemos_1.0.tar.gz"
7
8S = ${WORKDIR}/3ddemos
9
10require matrix-gui-apps.inc
11
12# Make sure 3D submenu has been installed
13RDEPENDS += matrix-gui-submenus-3d
14
15FILES_${PN} += "${MATRIX_BASE_DIR}/*"
16
17SRC_URI[md5sum] = "998363dbabea3724c4c3283a480cdb60"
18SRC_URI[sha256sum] = "aab5890dffe4e9f36f78a64ec16e7221649bb61ef1ceee2e1246cd666d197268"
diff --git a/recipes-ti/matrix/matrix-gui-apps.inc b/recipes-ti/matrix/matrix-gui-apps.inc
deleted file mode 100644
index 9449c062..00000000
--- a/recipes-ti/matrix/matrix-gui-apps.inc
+++ /dev/null
@@ -1,40 +0,0 @@
1require matrix-gui-paths.inc
2
3MATRIX_FILES_DIR ?= ${S}
4
5# Append a generic function to the do_install step that will look in the
6# MATRIX_FILES_DIR for .desktop files and then:
7# 1. Install all non-script files into the MATRIX_APP_DIR
8# 2. Install all script files into ${bindir}
9do_install_append(){
10 cd ${MATRIX_FILES_DIR}
11 applist=`find . -name "*.desktop"`
12
13 for app in $applist
14 do
15 appdir=`dirname $app`
16 install -d ${D}${MATRIX_APP_DIR}/$appdir
17
18 # Get the non-script files which are the matrix metadata
19 matrix_apps=`find $appdir -type f ! -name "*\.sh"`
20 for m in $matrix_apps
21 do
22 install -m 0644 ${MATRIX_FILES_DIR}/$m ${D}${MATRIX_APP_DIR}/$appdir/
23 done
24
25 # Put the script files as executables in ${bindir}
26 scripts=`find $appdir -type f -name "*\.sh"`
27 for s in $scripts
28 do
29 if [ ! -d ${D}/${bindir} ]
30 then
31 install -d ${D}${bindir}
32 fi
33 install -m 0755 ${MATRIX_FILES_DIR}/$s ${D}${bindir}/
34 done
35 done
36
37 # Go back to the directory we started from in case there are
38 # other appends.
39 cd -
40}
diff --git a/recipes-ti/matrix/matrix-gui-clocks_1.1.bb b/recipes-ti/matrix/matrix-gui-clocks_1.1.bb
deleted file mode 100644
index 2fb7d1d3..00000000
--- a/recipes-ti/matrix/matrix-gui-clocks_1.1.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1DESCRIPTION = "Clock setting descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5inherit allarch
6
7SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/673/5096/clocks_1.1.tar.gz"
8
9S = ${WORKDIR}/clocks
10
11require matrix-gui-apps.inc
12
13# Make sure power submenu has been installed
14RDEPENDS += matrix-gui-submenus-power
15
16# Break out the individual files into separate packages. That way only the
17# clocks supported for each device can be installed. Prepend the list so
18# that we can get the files in ${bindir} first
19PACKAGES =+ "${PN}-300mhz ${PN}-600mhz ${PN}-800mhz ${PN}-1ghz"
20
21# Split the matrix files by clock
22FILES_${PN}-300mhz += "${MATRIX_APP_DIR}/power_set_300mhz/*"
23FILES_${PN}-600mhz += "${MATRIX_APP_DIR}/power_set_600mhz/*"
24FILES_${PN}-800mhz += "${MATRIX_APP_DIR}/power_set_800mhz/*"
25FILES_${PN}-1ghz += "${MATRIX_APP_DIR}/power_set_1ghz/*"
26
27# Split the ${bindir} files by clock
28FILES_${PN}-300mhz += "${bindir}/setopp2.sh"
29FILES_${PN}-600mhz += "${bindir}/setopp3.sh"
30FILES_${PN}-800mhz += "${bindir}/setopp4.sh"
31FILES_${PN}-1ghz += "${bindir}/setopp1.sh"
32
33SRC_URI[md5sum] = "6d50592e364f39d7ed3b2805e6c227cb"
34SRC_URI[sha256sum] = "ab51df1651a391e3f6a947faccf45354ef187508c65cb3de92cc9fef88206e65"
diff --git a/recipes-ti/matrix/matrix-gui-coming-soon_1.0.bb b/recipes-ti/matrix/matrix-gui-coming-soon_1.0.bb
deleted file mode 100644
index 500eee47..00000000
--- a/recipes-ti/matrix/matrix-gui-coming-soon_1.0.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1DESCRIPTION = "coming soon descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4LIC_FILES_CHKSUM = "file://comingsoon/comingsoon.desktop;md5=01ebad171fad40705288fcabccc770a2"
5
6inherit allarch
7
8SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/616/5029/comingsoon_1.0.tar.gz"
9
10S = "${WORKDIR}"
11
12require matrix-gui-apps.inc
13
14FILES_${PN} += "${MATRIX_BASE_DIR}/*"
15
16SRC_URI[md5sum] = "04076ed62be226ffee3f3960237c47f8"
17SRC_URI[sha256sum] = "f00d24a506f39b92ba335479f902bdb97680df3502f81343be5baab45fd2bc95"
diff --git a/recipes-ti/matrix/matrix-gui-common.inc b/recipes-ti/matrix/matrix-gui-common.inc
deleted file mode 100644
index 6b61081b..00000000
--- a/recipes-ti/matrix/matrix-gui-common.inc
+++ /dev/null
@@ -1,44 +0,0 @@
1DESCRIPTION = "Common files for all versions of Matrix GUI"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
5
6SECTION = "multimedia"
7
8INC_PR = "r10"
9
10COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
11
12PLATFORM_dm365-evm = "dm365"
13PLATFORM_dm368-evm = "dm368"
14PLATFORM_omapl138 = "omapl138"
15PLATFORM_omap3evm = "omap3530"
16PLATFORM_dm37x-evm = "dm3730"
17PLATFORM_am37x-evm = "am3715"
18PLATFORM_beagleboard = "beagleboard"
19PLATFORM_ti816x = "ti816x"
20PLATFORM_ti814x = "ti814x"
21PLATFORM_am180x-evm = "am180x"
22PLATFORM_am181x-evm = "am181x"
23PLATFORM_am3517-evm = "am3517"
24
25#Checkout the project repository to get access to the scripts and data
26#files.
27SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
28
29S = "${WORKDIR}/trunk"
30
31PACKAGE_ARCH = ${MACHINE_ARCH}
32
33do_install() {
34 install -d ${D}/${bindir}
35 install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/
36 install -d ${D}/${datadir}/matrix/html
37 install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html
38 install -d ${D}/${datadir}/matrix/images
39 install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/
40 install -m 0644 ${S}/images/*.svg ${D}/${datadir}/matrix/images/
41
42}
43
44FILES_${PN} += "${datadir}/matrix/*"
diff --git a/recipes-ti/matrix/matrix-gui-common_1.4.bb b/recipes-ti/matrix/matrix-gui-common_1.4.bb
deleted file mode 100644
index 018f7af3..00000000
--- a/recipes-ti/matrix/matrix-gui-common_1.4.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require matrix-gui-common.inc
2
3# Use the mem_util application from am-sysinfo instead of a
4# prebuilt version in the repository.
5RRECOMMENDS_${PN} = "am-sysinfo"
6
7SRCREV = "275"
diff --git a/recipes-ti/matrix/matrix-gui-crypto-demos_1.2.bb b/recipes-ti/matrix/matrix-gui-crypto-demos_1.2.bb
deleted file mode 100644
index dfc3a937..00000000
--- a/recipes-ti/matrix/matrix-gui-crypto-demos_1.2.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5inherit allarch
6
7SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/688/5114/cryptodemos_1.2.tar.gz"
8
9S = ${WORKDIR}/cryptodemos
10
11require matrix-gui-apps.inc
12
13# Make sure crypto submenu has been installed and openssl is available
14RDEPENDS += "matrix-gui-submenus-cryptos openssl"
15
16FILES_${PN} += "${MATRIX_BASE_DIR}/*"
17
18SRC_URI[md5sum] = "dfab3e918fee165fb24e00cba5db8918"
19SRC_URI[sha256sum] = "44fa00ce999279c10a51718298157d3006afb018f6f327f1803006b5e7068c8c"
diff --git a/recipes-ti/matrix/matrix-gui-display-control_1.0.bb b/recipes-ti/matrix/matrix-gui-display-control_1.0.bb
deleted file mode 100644
index 09b68b36..00000000
--- a/recipes-ti/matrix/matrix-gui-display-control_1.0.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "Display control descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5PR = "r1"
6
7inherit allarch
8
9SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/674/5097/displaycontrol_1.1.tar.gz"
10
11S = ${WORKDIR}/displaycontrol
12
13require matrix-gui-apps.inc
14
15# Make sure display submenu has been installed
16RDEPENDS += matrix-gui-submenus-display
17
18FILES_${PN} += "${MATRIX_BASE_DIR}/*"
19
20SRC_URI[md5sum] = "1032490affff638b993367ce5a451298"
21SRC_URI[sha256sum] = "78d3a6e1e74acb55a927cc7e087cd15c33767cfaf9458200aa863025cee32f2e"
diff --git a/recipes-ti/matrix/matrix-gui-e.inc b/recipes-ti/matrix/matrix-gui-e.inc
deleted file mode 100644
index 481f4f4e..00000000
--- a/recipes-ti/matrix/matrix-gui-e.inc
+++ /dev/null
@@ -1,48 +0,0 @@
1DESCRIPTION = "Matrix GUI for Qt Embedded"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
5
6SECTION = "multimedia"
7
8INC_PR = "r24"
9
10COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
11
12PLATFORM_dm365-evm = "dm365"
13PLATFORM_dm368-evm = "dm368"
14PLATFORM_omapl138 = "omapl138"
15PLATFORM_omap3evm = "omap3530"
16PLATFORM_dm37x-evm = "dm3730"
17PLATFORM_am37x-evm = "am3715"
18PLATFORM_beagleboard = "beagleboard"
19PLATFORM_ti816x = "ti816x"
20PLATFORM_ti814x = "ti814x"
21PLATFORM_am180x-evm = "am180x"
22PLATFORM_am181x-evm = "am181x"
23PLATFORM_am3517-evm = "am3517"
24
25SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
26
27S = "${WORKDIR}/trunk"
28
29INITSCRIPT_NAME = "matrix-gui-e"
30INITSCRIPT_PARAMS = "defaults 99"
31#INITSCRIPT_PARAMS = "start 99 3 . stop 99 3 ."
32
33CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
34CXXFLAGS_dm365_append = " -DPlatform_dm365 "
35PACKAGE_ARCH = ${MACHINE_ARCH}
36
37inherit qt4e update-rc.d
38
39do_install() {
40 install -d ${D}/${bindir}
41 install -m 0755 ${S}/matrix_gui ${D}/${bindir}/matrix_guiE
42 install -d ${D}${sysconfdir}/init.d/
43 install -c -m 0755 ${S}/${PLATFORM}/etc/init ${D}${sysconfdir}/init.d/matrix-gui-e
44
45}
46
47RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib qt4-embedded-fonts"
48RDEPENDS_${PN} += "matrix-gui-common"
diff --git a/recipes-ti/matrix/matrix-gui-e_1.3.bb b/recipes-ti/matrix/matrix-gui-e_1.3.bb
deleted file mode 100644
index b4797b05..00000000
--- a/recipes-ti/matrix/matrix-gui-e_1.3.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require matrix-gui-e.inc
2
3SRCREV = "275"
4SRC_URI += "file://0001-matrix_gui.pro-add-dbus-to-QT-features-to-fix-linkin.patch"
5
6
diff --git a/recipes-ti/matrix/matrix-gui-paths.inc b/recipes-ti/matrix/matrix-gui-paths.inc
deleted file mode 100644
index 8c6e5682..00000000
--- a/recipes-ti/matrix/matrix-gui-paths.inc
+++ /dev/null
@@ -1,3 +0,0 @@
1export MATRIX_BASE_DIR = "${datadir}/matrix-gui-2.0"
2export MATRIX_WEB_DIR = "${MATRIX_BASE_DIR}"
3export MATRIX_APP_DIR = "${MATRIX_WEB_DIR}/apps"
diff --git a/recipes-ti/matrix/matrix-gui-pm-demos_1.0.bb b/recipes-ti/matrix/matrix-gui-pm-demos_1.0.bb
deleted file mode 100644
index 70e72f93..00000000
--- a/recipes-ti/matrix/matrix-gui-pm-demos_1.0.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "Power management demo descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5PR = "r1"
6
7inherit allarch
8
9SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/676/5099/pmdemos_1.1.tar.gz"
10
11S = ${WORKDIR}/pmdemos
12
13require matrix-gui-apps.inc
14
15# Make sure power submenu has been installed
16RDEPENDS += matrix-gui-submenus-power
17
18FILES_${PN} += "${MATRIX_BASE_DIR}/*"
19
20SRC_URI[md5sum] = "f996f9754c3d140e95501d8b4134f21c"
21SRC_URI[sha256sum] = "229579b71439c0ad4cff60d7ebb4065f6871db57dd5baa4a5983c9f7804655ab"
diff --git a/recipes-ti/matrix/matrix-gui-qt4-demos_1.0.bb b/recipes-ti/matrix/matrix-gui-qt4-demos_1.0.bb
deleted file mode 100644
index e4e43c7d..00000000
--- a/recipes-ti/matrix/matrix-gui-qt4-demos_1.0.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5
6inherit allarch
7
8SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/608/5036/qt4demos_1.0.tar.gz"
9
10S = ${WORKDIR}/qt4demos
11
12require matrix-gui-apps.inc
13
14# Make sure qt4 submenu has been installed
15RDEPENDS += matrix-gui-submenus-qt4
16
17FILES_${PN} += "${MATRIX_BASE_DIR}/*"
18
19SRC_URI[md5sum] = "49b65c4af67117ba70e0ddabfe486abe"
20SRC_URI[sha256sum] = "8367c539caf6902961db4b8f38b0fb1f05b7b105d5e7fd143c9503ca0c8a1df2"
diff --git a/recipes-ti/matrix/matrix-gui-submenus_1.0.bb b/recipes-ti/matrix/matrix-gui-submenus_1.0.bb
deleted file mode 100644
index 83bd18ea..00000000
--- a/recipes-ti/matrix/matrix-gui-submenus_1.0.bb
+++ /dev/null
@@ -1,105 +0,0 @@
1DESCRIPTION = "Submenu packages for Matrix GUI v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4LIC_FILES_CHKSUM = "file://settings/settings.desktop;md5=bbd663594c3e13b280ff5fffaddca672"
5
6PR = "r7"
7
8require matrix-gui-paths.inc
9
10# These packages make submenus in matrix and are not architecture specific
11inherit allarch
12
13# List of submenu tarballs to use. Each tarball contains a desktop file
14# and PNG graphic file for the submenu.
15SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/699/5133/arm_1.1.tar.gz;name=armtarball \
16 https://gforge.ti.com/gf/download/frsrelease/698/5134/3d_1.1.tar.gz;name=3dtarball \
17 https://gforge.ti.com/gf/download/frsrelease/700/5135/cryptos_1.1.tar.gz;name=cryptostarball \
18 https://gforge.ti.com/gf/download/frsrelease/693/5120/display_1.2.tar.gz;name=displaytarball \
19 https://gforge.ti.com/gf/download/frsrelease/692/5119/ethernet_1.4.tar.gz;name=ethernettarball \
20 https://gforge.ti.com/gf/download/frsrelease/701/5136/multimedia_1.1.tar.gz;name=multimediatarball \
21 https://gforge.ti.com/gf/download/frsrelease/702/5137/power_1.1.tar.gz;name=powertarball \
22 https://gforge.ti.com/gf/download/frsrelease/704/5139/pru_1.1.tar.gz;name=prutarball \
23 https://gforge.ti.com/gf/download/frsrelease/705/5140/qt4_1.1.tar.gz;name=qt4tarball \
24 https://gforge.ti.com/gf/download/frsrelease/694/5121/settings_1.2.tar.gz;name=settingstarball \
25 https://gforge.ti.com/gf/download/frsrelease/695/5122/usb_1.2.tar.gz;name=usbtarball \
26 https://gforge.ti.com/gf/download/frsrelease/697/5124/wifi_1.2.tar.gz;name=wifitarball \
27 https://gforge.ti.com/gf/download/frsrelease/703/5138/oprofile_1.1.tar.gz;name=oprofiletarball \
28"
29
30S = ${WORKDIR}
31
32# List of submenus to build packages for
33SUBMENUS = "arm 3d cryptos display ethernet multimedia power pru qt4 settings usb wifi oprofile"
34
35do_install(){
36 install -d ${D}${MATRIX_APP_DIR}
37
38 for x in ${SUBMENUS}
39 do
40 cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/
41 done
42}
43
44PACKAGES += "${PN}-arm ${PN}-3d ${PN}-cryptos ${PN}-display ${PN}-ethernet ${PN}-multimedia ${PN}-power ${PN}-pru ${PN}-qt4 ${PN}-settings ${PN}-usb ${PN}-wifi ${PN}-oprofile"
45
46# This should be automatic, but isn't :(
47PROVIDES += "${PACKAGES}"
48
49# All submenu packages should depend on matrix-gui being installed
50RDEPENDS += matrix-gui
51
52# Add the files for each submenu package
53FILES_${PN}-arm = "${MATRIX_APP_DIR}/arm/*"
54FILES_${PN}-3d = "${MATRIX_APP_DIR}/3d/*"
55FILES_${PN}-cryptos = "${MATRIX_APP_DIR}/cryptos/*"
56FILES_${PN}-display = "${MATRIX_APP_DIR}/display/*"
57FILES_${PN}-ethernet = "${MATRIX_APP_DIR}/ethernet/*"
58FILES_${PN}-multimedia = "${MATRIX_APP_DIR}/multimedia/*"
59FILES_${PN}-power = "${MATRIX_APP_DIR}/power/*"
60FILES_${PN}-pru = "${MATRIX_APP_DIR}/pru/*"
61FILES_${PN}-qt4 = "${MATRIX_APP_DIR}/qt4/*"
62FILES_${PN}-settings = "${MATRIX_APP_DIR}/settings/*"
63FILES_${PN}-usb = "${MATRIX_APP_DIR}/usb/*"
64FILES_${PN}-wifi = "${MATRIX_APP_DIR}/wifi/*"
65FILES_${PN}-oprofile = "${MATRIX_APP_DIR}/oprofile/*"
66
67# checksums for the submenu tarballs
68SRC_URI[armtarball.md5sum] = "e43585674dac2d6d6860a26c2de5332c"
69SRC_URI[armtarball.sha256um] = "270f82b09fcdc3d1a08570d30ff2a9085e7b61a0f6890f734c658cd6408de155"
70
71SRC_URI[3dtarball.md5sum] = "1cabbb75849e892a5fc7322159750f8a"
72SRC_URI[3dtarball.sha256um] = "df4983c0722a9427584497f737af57c8401a6b3898f71c994a0cfe97e5ade01a"
73
74SRC_URI[cryptostarball.md5sum] = "88d4ece28e75eb28358b43729022c91a"
75SRC_URI[cryptostarball.sha256um] = "7999b2e06d27c30294c104418db79a1f9652a07a066242120cb32d3f86706538"
76
77SRC_URI[displaytarball.md5sum] = "eff9c5ab6667525ab0c452a6319cc5d8"
78SRC_URI[displaytarball.sha256sum] = "834f22c4439bdd97c04160b9e002abcddf22188a01488476b604259324ea09af"
79
80SRC_URI[ethernettarball.md5sum] = "ff82b9a0ce5bbf7b7672073147f415c9"
81SRC_URI[ethernettarball.sha256sum] = "28e74cd7e30fff3c7cb6ac284fb39b98e73ecefa0182ab900f64d293845d51eb"
82
83SRC_URI[multimediatarball.md5sum] = "21064503fc26611cfedf093e478440b3"
84SRC_URI[multimediatarball.sha256sum] = "039d2f7fbbd29b31601cf6596268a5a43f9dd7e86ff888a9ef45515479797d3d"
85
86SRC_URI[powertarball.md5sum] = "406a838e12d7f83bc5a004e748ceb660"
87SRC_URI[powertarball.sha256sum] = "d6c0bc690c1f45cc81fa1673dad08bea03f799adb929e5a3ec3fe4ebda60fca8"
88
89SRC_URI[prutarball.md5sum] = "b0eca67cdc45db2b9aa14987b4761068"
90SRC_URI[prutarball.sha256sum] = "06d3acf5ba2e4d5ff796625b07b470e5cea945700c9571878b8f4ba6f171d2de"
91
92SRC_URI[qt4tarball.md5sum] = "3576ad6bc96fceb18d4d8b0850bf559d"
93SRC_URI[qt4tarball.sha256sum] = "11fd5ca37d72b7129035b7f6101b4b06ac2b69d53abcd6a2751d3e9c7000dec0"
94
95SRC_URI[settingstarball.md5sum] = "f2634670768860954cc63309d1f4f37e"
96SRC_URI[settingstarball.sha256sum] = "fb96e6e4107445e4d5d65e2475513a62e0cf5b52734c9f93e918715abcc09265"
97
98SRC_URI[usbtarball.md5sum] = "63cebc3422af0f09f3eaa0a65b25bcde"
99SRC_URI[usbtarball.sha256sum] = "7178afea3b5b2926ddbf80766f1d457d7a31704869bce62ffc8db4b3d6e063e7"
100
101SRC_URI[wifitarball.md5sum] = "c8ae4df2521276b5b83294153825acf4"
102SRC_URI[wifitarball.sha256sum] = "430f4c161eaf5dc28d524fbf4903274817023414154b2074a0b948e50724a6ff"
103
104SRC_URI[oprofiletarball.md5sum] = "02d0c9eb9fed014170f57ad30f2a5c85"
105SRC_URI[oprofiletarball.sha256sum] = "ebad9018c0bd37f075a248d60e6e5520824d09afd03e71395cfc9949747e33ac"
diff --git a/recipes-ti/matrix/matrix-gui-wifi-demos_1.1.bb b/recipes-ti/matrix/matrix-gui-wifi-demos_1.1.bb
deleted file mode 100644
index be79356b..00000000
--- a/recipes-ti/matrix/matrix-gui-wifi-demos_1.1.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "Wifi demo descriptions for Matrix v2"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
3LICENSE = "CC-BY-SA"
4
5inherit allarch
6
7SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/678/5101/wifidemos_1.1.tar.gz"
8
9S = ${WORKDIR}/wifidemos
10
11require matrix-gui-apps.inc
12
13# Make sure wifi submenu has been installed
14RDEPENDS += matrix-gui-submenus-wifi
15
16FILES_${PN} += "${MATRIX_BASE_DIR}/*"
17
18SRC_URI[md5sum] = "60d85261bcad85da7ecd024613343068"
19SRC_URI[sha256sum] = "36fe8bbc461e157b00ebf8f9deab1e5c83eef2f618bc98f2956d974e76534c56"
diff --git a/recipes-ti/matrix/matrix-gui.inc b/recipes-ti/matrix/matrix-gui.inc
deleted file mode 100644
index 40494a95..00000000
--- a/recipes-ti/matrix/matrix-gui.inc
+++ /dev/null
@@ -1,51 +0,0 @@
1DESCRIPTION = "Matrix GUI for Qt X11"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
5
6SECTION = "multimedia"
7
8INC_PR = "r22"
9
10COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
11
12PLATFORM_dm365-evm = "dm365"
13PLATFORM_dm368-evm = "dm368"
14PLATFORM_omapl138 = "omapl138"
15PLATFORM_omap3evm = "omap3530"
16PLATFORM_dm37x-evm = "dm3730"
17PLATFORM_am37x-evm = "am3715"
18PLATFORM_beagleboard = "beagleboard"
19PLATFORM_ti816x = "ti816x"
20PLATFORM_ti814x = "ti814x"
21PLATFORM_am180x-evm = "am180x"
22PLATFORM_am181x-evm = "am181x"
23PLATFORM_am3517-evm = "am3517"
24
25SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
26
27S = "${WORKDIR}/trunk"
28
29CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
30CXXFLAGS_dm365_append = " -DPlatform_dm365 "
31PACKAGE_ARCH = ${MACHINE_ARCH}
32
33inherit qt4x11
34
35do_install() {
36 install -d ${D}/${bindir}
37 install -m 0755 ${S}/matrix_gui ${D}/${bindir}
38 install -d ${D}${sysconfdir}/init.d/
39 install -c -m 0755 ${S}/${PLATFORM}/etc/x11/init ${D}${sysconfdir}/init.d/matrix-gui
40 install -d ${D}/${sysconfdir}/xdg/autostart
41 install -m 0755 ${S}/${PLATFORM}/etc/x11/matrix-gui.desktop ${D}/${sysconfdir}/xdg/autostart
42}
43
44FILES_${PN}-autostart = "${sysconfdir}/xdg/autostart/matrix-gui.desktop"
45
46#Make autostart package depend on matrix-gui package. Doesn't make sense
47#to install the autostart package without the underlying matrix-gui package.
48RDEPENDS_${PN}-autostart += "${PN}"
49PACKAGES =+ "${PN}-autostart"
50
51RDEPENDS_${PN} += "matrix-gui-common"
diff --git a/recipes-ti/matrix/matrix-gui/init b/recipes-ti/matrix/matrix-gui/init
deleted file mode 100644
index c9253d4f..00000000
--- a/recipes-ti/matrix/matrix-gui/init
+++ /dev/null
@@ -1,64 +0,0 @@
1#! /bin/sh
2
3matrixgui="/usr/bin/qtopia/demos/browser/browser"
4GUI_OPTS="-qws -nogui http://localhost:8080/index.html"
5PIDFILE="/var/run/matrix-gui-2.0.pid"
6
7test -x "$matrixgui" || exit 0
8
9export TSLIB_TSDEVICE=/dev/input/touchscreen0
10export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
11
12case "$1" in
13 start)
14 chvt 4
15
16 # Temporarily create the /dev/input/touchscreen0 symlink if it is
17 # not already present. On devices like am335x the driver does not
18 # report the right string in /sys/devices/platform/tsc/input/input0/modalias
19 # to match the regular expression in /etc/udev/rules.d/local.rules
20 # to have this symlink created automatically.
21 if [ -e /dev/input/event0 ]
22 then
23 # assume we are going to use event0
24 ln -s /dev/input/event0 /dev/input/touchscreen0
25
26 if [ ! -f /etc/pointercal ] ; then
27 echo -n "Calibrating touchscreen (first time only)"
28 ts_calibrate
29 echo "."
30 fi
31 fi
32
33 if [ -e $PIDFILE ]; then
34 PIDDIR=/proc/$(cat $PIDFILE)
35 if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${matrixgui}" ]; then
36 echo "$DESC already started; not starting."
37 else
38 echo "Removing stale PID file $PIDFILE."
39 rm -f $PIDFILE
40 fi
41 fi
42
43 echo -n "Starting Matrix GUI application"
44 cd __MATRIX_BASE_DIR__
45 start-stop-daemon --start --quiet --background --exec node -- server.js
46 # Need to investigate how to make the second start-stop command wait
47 # until the start of node is done.
48 sleep 5
49 start-stop-daemon --start --quiet --background --exec $matrixgui -- $GUI_OPTS
50 pidof ${matrixgui} > $PIDFILE
51 echo "."
52 ;;
53
54 stop)
55 echo -n "Stopping Matrix GUI application"
56 start-stop-daemon --stop --quiet --pidfile /var/run/matrix-gui-2.0.pid
57 echo "."
58 ;;
59 *)
60 echo "Usage: /etc/init.d/matrix-gui-2.0 {start|stop}"
61 exit 1
62esac
63
64exit 0
diff --git a/recipes-ti/matrix/matrix-gui/php.ini b/recipes-ti/matrix/matrix-gui/php.ini
deleted file mode 100644
index 900a86b8..00000000
--- a/recipes-ti/matrix/matrix-gui/php.ini
+++ /dev/null
@@ -1,1342 +0,0 @@
1[PHP]
2
3;;;;;;;;;;;;;;;;;;;
4; About php.ini ;
5;;;;;;;;;;;;;;;;;;;
6; This file controls many aspects of PHP's behavior. In order for PHP to
7; read it, it must be named 'php.ini'. PHP looks for it in the current
8; working directory, in the path designated by the environment variable
9; PHPRC, and in the path that was defined in compile time (in that order).
10; Under Windows, the compile-time path is the Windows directory. The
11; path in which the php.ini file is looked for can be overridden using
12; the -c argument in command line mode.
13;
14; The syntax of the file is extremely simple. Whitespace and Lines
15; beginning with a semicolon are silently ignored (as you probably guessed).
16; Section headers (e.g. [Foo]) are also silently ignored, even though
17; they might mean something in the future.
18;
19; Directives are specified using the following syntax:
20; directive = value
21; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
22;
23; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
24; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
25; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
26;
27; Expressions in the INI file are limited to bitwise operators and parentheses:
28; | bitwise OR
29; & bitwise AND
30; ~ bitwise NOT
31; ! boolean NOT
32;
33; Boolean flags can be turned on using the values 1, On, True or Yes.
34; They can be turned off using the values 0, Off, False or No.
35;
36; An empty string can be denoted by simply not writing anything after the equal
37; sign, or by using the None keyword:
38;
39; foo = ; sets foo to an empty string
40; foo = none ; sets foo to an empty string
41; foo = "none" ; sets foo to the string 'none'
42;
43; If you use constants in your value, and these constants belong to a
44; dynamically loaded extension (either a PHP extension or a Zend extension),
45; you may only use these constants *after* the line that loads the extension.
46;
47;
48;;;;;;;;;;;;;;;;;;;
49; About this file ;
50;;;;;;;;;;;;;;;;;;;
51; This is the recommended, PHP 5-style version of the php.ini-dist file. It
52; sets some non standard settings, that make PHP more efficient, more secure,
53; and encourage cleaner coding.
54;
55; The price is that with these settings, PHP may be incompatible with some
56; applications, and sometimes, more difficult to develop with. Using this
57; file is warmly recommended for production sites. As all of the changes from
58; the standard settings are thoroughly documented, you can go over each one,
59; and decide whether you want to use it or not.
60;
61; For general information about the php.ini file, please consult the php.ini-dist
62; file, included in your PHP distribution.
63;
64; This file is different from the php.ini-dist file in the fact that it features
65; different values for several directives, in order to improve performance, while
66; possibly breaking compatibility with the standard out-of-the-box behavior of
67; PHP. Please make sure you read what's different, and modify your scripts
68; accordingly, if you decide to use this file instead.
69;
70; - register_long_arrays = Off [Performance]
71; Disables registration of the older (and deprecated) long predefined array
72; variables ($HTTP_*_VARS). Instead, use the superglobals that were
73; introduced in PHP 4.1.0
74; - display_errors = Off [Security]
75; With this directive set to off, errors that occur during the execution of
76; scripts will no longer be displayed as a part of the script output, and thus,
77; will no longer be exposed to remote users. With some errors, the error message
78; content may expose information about your script, web server, or database
79; server that may be exploitable for hacking. Production sites should have this
80; directive set to off.
81; - log_errors = On [Security]
82; This directive complements the above one. Any errors that occur during the
83; execution of your script will be logged (typically, to your server's error log,
84; but can be configured in several ways). Along with setting display_errors to off,
85; this setup gives you the ability to fully understand what may have gone wrong,
86; without exposing any sensitive information to remote users.
87; - output_buffering = 4096 [Performance]
88; Set a 4KB output buffer. Enabling output buffering typically results in less
89; writes, and sometimes less packets sent on the wire, which can often lead to
90; better performance. The gain this directive actually yields greatly depends
91; on which Web server you're working with, and what kind of scripts you're using.
92; - register_argc_argv = Off [Performance]
93; Disables registration of the somewhat redundant $argv and $argc global
94; variables.
95; - magic_quotes_gpc = Off [Performance]
96; Input data is no longer escaped with slashes so that it can be sent into
97; SQL databases without further manipulation. Instead, you should use the
98; database vendor specific escape string function on each input element you
99; wish to send to a database.
100; - variables_order = "GPCS" [Performance]
101; The environment variables are not hashed into the $_ENV. To access
102; environment variables, you can use getenv() instead.
103; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
104; By default, PHP suppresses errors of type E_NOTICE. These error messages
105; are emitted for non-critical errors, but that could be a symptom of a bigger
106; problem. Most notably, this will cause error messages about the use
107; of uninitialized variables to be displayed.
108; - allow_call_time_pass_reference = Off [Code cleanliness]
109; It's not possible to decide to force a variable to be passed by reference
110; when calling a function. The PHP 4 style to do this is by making the
111; function require the relevant argument by reference.
112; - short_open_tag = Off [Portability]
113; Using short tags is discouraged when developing code meant for redistribution
114; since short tags may not be supported on the target server.
115
116;;;;;;;;;;;;;;;;;;;;
117; Language Options ;
118;;;;;;;;;;;;;;;;;;;;
119
120; Enable the PHP scripting language engine under Apache.
121engine = On
122
123; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
124zend.ze1_compatibility_mode = Off
125
126; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
127; NOTE: Using short tags should be avoided when developing applications or
128; libraries that are meant for redistribution, or deployment on PHP
129; servers which are not under your control, because short tags may not
130; be supported on the target server. For portable, redistributable code,
131; be sure not to use short tags.
132short_open_tag = Off
133
134; Allow ASP-style <% %> tags.
135asp_tags = Off
136
137; The number of significant digits displayed in floating point numbers.
138precision = 14
139
140; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
141y2k_compliance = On
142
143; Output buffering allows you to send header lines (including cookies) even
144; after you send body content, at the price of slowing PHP's output layer a
145; bit. You can enable output buffering during runtime by calling the output
146; buffering functions. You can also enable output buffering for all files by
147; setting this directive to On. If you wish to limit the size of the buffer
148; to a certain size - you can use a maximum number of bytes instead of 'On', as
149; a value for this directive (e.g., output_buffering=4096).
150output_buffering = 4096
151
152; You can redirect all of the output of your scripts to a function. For
153; example, if you set output_handler to "mb_output_handler", character
154; encoding will be transparently converted to the specified encoding.
155; Setting any output handler automatically turns on output buffering.
156; Note: People who wrote portable scripts should not depend on this ini
157; directive. Instead, explicitly set the output handler using ob_start().
158; Using this ini directive may cause problems unless you know what script
159; is doing.
160; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
161; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
162; Note: output_handler must be empty if this is set 'On' !!!!
163; Instead you must use zlib.output_handler.
164;output_handler =
165
166; Transparent output compression using the zlib library
167; Valid values for this option are 'off', 'on', or a specific buffer size
168; to be used for compression (default is 4KB)
169; Note: Resulting chunk size may vary due to nature of compression. PHP
170; outputs chunks that are few hundreds bytes each as a result of
171; compression. If you prefer a larger chunk size for better
172; performance, enable output_buffering in addition.
173; Note: You need to use zlib.output_handler instead of the standard
174; output_handler, or otherwise the output will be corrupted.
175zlib.output_compression = Off
176;zlib.output_compression_level = -1
177
178; You cannot specify additional output handlers if zlib.output_compression
179; is activated here. This setting does the same as output_handler but in
180; a different order.
181;zlib.output_handler =
182
183; Implicit flush tells PHP to tell the output layer to flush itself
184; automatically after every output block. This is equivalent to calling the
185; PHP function flush() after each and every call to print() or echo() and each
186; and every HTML block. Turning this option on has serious performance
187; implications and is generally recommended for debugging purposes only.
188implicit_flush = Off
189
190; The unserialize callback function will be called (with the undefined class'
191; name as parameter), if the unserializer finds an undefined class
192; which should be instantiated.
193; A warning appears if the specified function is not defined, or if the
194; function doesn't include/implement the missing class.
195; So only set this entry, if you really want to implement such a
196; callback-function.
197unserialize_callback_func=
198
199; When floats & doubles are serialized store serialize_precision significant
200; digits after the floating point. The default value ensures that when floats
201; are decoded with unserialize, the data will remain the same.
202serialize_precision = 100
203
204; Whether to enable the ability to force arguments to be passed by reference
205; at function call time. This method is deprecated and is likely to be
206; unsupported in future versions of PHP/Zend. The encouraged method of
207; specifying which arguments should be passed by reference is in the function
208; declaration. You're encouraged to try and turn this option Off and make
209; sure your scripts work properly with it in order to ensure they will work
210; with future versions of the language (you will receive a warning each time
211; you use this feature, and the argument will be passed by value instead of by
212; reference).
213allow_call_time_pass_reference = Off
214
215;
216; Safe Mode
217;
218safe_mode = Off
219
220; By default, Safe Mode does a UID compare check when
221; opening files. If you want to relax this to a GID compare,
222; then turn on safe_mode_gid.
223safe_mode_gid = Off
224
225; When safe_mode is on, UID/GID checks are bypassed when
226; including files from this directory and its subdirectories.
227; (directory must also be in include_path or full path must
228; be used when including)
229safe_mode_include_dir =
230
231; When safe_mode is on, only executables located in the safe_mode_exec_dir
232; will be allowed to be executed via the exec family of functions.
233safe_mode_exec_dir =
234
235; Setting certain environment variables may be a potential security breach.
236; This directive contains a comma-delimited list of prefixes. In Safe Mode,
237; the user may only alter environment variables whose names begin with the
238; prefixes supplied here. By default, users will only be able to set
239; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
240;
241; Note: If this directive is empty, PHP will let the user modify ANY
242; environment variable!
243safe_mode_allowed_env_vars = PHP_
244
245; This directive contains a comma-delimited list of environment variables that
246; the end user won't be able to change using putenv(). These variables will be
247; protected even if safe_mode_allowed_env_vars is set to allow to change them.
248safe_mode_protected_env_vars = LD_LIBRARY_PATH
249
250; open_basedir, if set, limits all file operations to the defined directory
251; and below. This directive makes most sense if used in a per-directory
252; or per-virtualhost web server configuration file. This directive is
253; *NOT* affected by whether Safe Mode is turned On or Off.
254;open_basedir =
255
256; This directive allows you to disable certain functions for security reasons.
257; It receives a comma-delimited list of function names. This directive is
258; *NOT* affected by whether Safe Mode is turned On or Off.
259disable_functions =
260
261; This directive allows you to disable certain classes for security reasons.
262; It receives a comma-delimited list of class names. This directive is
263; *NOT* affected by whether Safe Mode is turned On or Off.
264disable_classes =
265
266; Colors for Syntax Highlighting mode. Anything that's acceptable in
267; <span style="color: ???????"> would work.
268;highlight.string = #DD0000
269;highlight.comment = #FF9900
270;highlight.keyword = #007700
271;highlight.bg = #FFFFFF
272;highlight.default = #0000BB
273;highlight.html = #000000
274
275; If enabled, the request will be allowed to complete even if the user aborts
276; the request. Consider enabling it if executing long request, which may end up
277; being interrupted by the user or a browser timing out.
278; ignore_user_abort = On
279
280; Determines the size of the realpath cache to be used by PHP. This value should
281; be increased on systems where PHP opens many files to reflect the quantity of
282; the file operations performed.
283; realpath_cache_size=16k
284
285; Duration of time, in seconds for which to cache realpath information for a given
286; file or directory. For systems with rarely changing files, consider increasing this
287; value.
288; realpath_cache_ttl=120
289
290;
291; Misc
292;
293; Decides whether PHP may expose the fact that it is installed on the server
294; (e.g. by adding its signature to the Web server header). It is no security
295; threat in any way, but it makes it possible to determine whether you use PHP
296; on your server or not.
297expose_php = On
298
299
300;;;;;;;;;;;;;;;;;;;
301; Resource Limits ;
302;;;;;;;;;;;;;;;;;;;
303
304max_execution_time = 30 ; Maximum execution time of each script, in seconds
305max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
306;max_input_nesting_level = 64 ; Maximum input variable nesting level
307memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
308
309
310;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
311; Error handling and logging ;
312;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
313
314; error_reporting is a bit-field. Or each number up to get desired error
315; reporting level
316; E_ALL - All errors and warnings (doesn't include E_STRICT)
317; E_ERROR - fatal run-time errors
318; E_RECOVERABLE_ERROR - almost fatal run-time errors
319; E_WARNING - run-time warnings (non-fatal errors)
320; E_PARSE - compile-time parse errors
321; E_NOTICE - run-time notices (these are warnings which often result
322; from a bug in your code, but it's possible that it was
323; intentional (e.g., using an uninitialized variable and
324; relying on the fact it's automatically initialized to an
325; empty string)
326; E_STRICT - run-time notices, enable to have PHP suggest changes
327; to your code which will ensure the best interoperability
328; and forward compatibility of your code
329; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
330; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
331; initial startup
332; E_COMPILE_ERROR - fatal compile-time errors
333; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
334; E_USER_ERROR - user-generated error message
335; E_USER_WARNING - user-generated warning message
336; E_USER_NOTICE - user-generated notice message
337;
338; Examples:
339;
340; - Show all errors, except for notices and coding standards warnings
341;
342;error_reporting = E_ALL & ~E_NOTICE
343;
344; - Show all errors, except for notices
345;
346;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
347;
348; - Show only errors
349;
350;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
351;
352; - Show all errors, except coding standards warnings
353;
354error_reporting = E_ALL
355
356; Print out errors (as a part of the output). For production web sites,
357; you're strongly encouraged to turn this feature off, and use error logging
358; instead (see below). Keeping display_errors enabled on a production web site
359; may reveal security information to end users, such as file paths on your Web
360; server, your database schema or other information.
361;
362; possible values for display_errors:
363;
364; Off - Do not display any errors
365; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
366; On or stdout - Display errors to STDOUT (default)
367;
368; To output errors to STDERR with CGI/CLI:
369;display_errors = "stderr"
370;
371; Default
372;
373display_errors = Off
374
375; Even when display_errors is on, errors that occur during PHP's startup
376; sequence are not displayed. It's strongly recommended to keep
377; display_startup_errors off, except for when debugging.
378display_startup_errors = Off
379
380; Log errors into a log file (server-specific log, stderr, or error_log (below))
381; As stated above, you're strongly advised to use error logging in place of
382; error displaying on production web sites.
383log_errors = On
384
385; Set maximum length of log_errors. In error_log information about the source is
386; added. The default is 1024 and 0 allows to not apply any maximum length at all.
387log_errors_max_len = 1024
388
389; Do not log repeated messages. Repeated errors must occur in same file on same
390; line unless ignore_repeated_source is set true.
391ignore_repeated_errors = Off
392
393; Ignore source of message when ignoring repeated messages. When this setting
394; is On you will not log errors with repeated messages from different files or
395; source lines.
396ignore_repeated_source = Off
397
398; If this parameter is set to Off, then memory leaks will not be shown (on
399; stdout or in the log). This has only effect in a debug compile, and if
400; error reporting includes E_WARNING in the allowed list
401report_memleaks = On
402
403;report_zend_debug = 0
404
405; Store the last error/warning message in $php_errormsg (boolean).
406track_errors = Off
407
408; Turn off normal error reporting and emit XML-RPC error XML
409;xmlrpc_errors = 0
410; An XML-RPC faultCode
411;xmlrpc_error_number = 0
412
413; Disable the inclusion of HTML tags in error messages.
414; Note: Never use this feature for production boxes.
415;html_errors = Off
416
417; If html_errors is set On PHP produces clickable error messages that direct
418; to a page describing the error or function causing the error in detail.
419; You can download a copy of the PHP manual from http://www.php.net/docs.php
420; and change docref_root to the base URL of your local copy including the
421; leading '/'. You must also specify the file extension being used including
422; the dot.
423; Note: Never use this feature for production boxes.
424;docref_root = "/phpmanual/"
425;docref_ext = .html
426
427; String to output before an error message.
428;error_prepend_string = "<font color=#ff0000>"
429
430; String to output after an error message.
431;error_append_string = "</font>"
432
433; Log errors to specified file.
434;error_log = filename
435
436; Log errors to syslog (Event Log on NT, not valid in Windows 95).
437;error_log = syslog
438
439
440;;;;;;;;;;;;;;;;;
441; Data Handling ;
442;;;;;;;;;;;;;;;;;
443;
444; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
445
446; The separator used in PHP generated URLs to separate arguments.
447; Default is "&".
448;arg_separator.output = "&amp;"
449
450; List of separator(s) used by PHP to parse input URLs into variables.
451; Default is "&".
452; NOTE: Every character in this directive is considered as separator!
453;arg_separator.input = ";&"
454
455; This directive describes the order in which PHP registers GET, POST, Cookie,
456; Environment and Built-in variables (G, P, C, E & S respectively, often
457; referred to as EGPCS or GPC). Registration is done from left to right, newer
458; values override older values.
459variables_order = "GPCS"
460
461; Whether or not to register the EGPCS variables as global variables. You may
462; want to turn this off if you don't want to clutter your scripts' global scope
463; with user data. This makes most sense when coupled with track_vars - in which
464; case you can access all of the GPC variables through the $HTTP_*_VARS[],
465; variables.
466;
467; You should do your best to write your scripts so that they do not require
468; register_globals to be on; Using form variables as globals can easily lead
469; to possible security problems, if the code is not very well thought of.
470register_globals = Off
471
472; Whether or not to register the old-style input arrays, HTTP_GET_VARS
473; and friends. If you're not using them, it's recommended to turn them off,
474; for performance reasons.
475register_long_arrays = Off
476
477; This directive tells PHP whether to declare the argv&argc variables (that
478; would contain the GET information). If you don't use these variables, you
479; should turn it off for increased performance.
480register_argc_argv = Off
481
482; When enabled, the SERVER and ENV variables are created when they're first
483; used (Just In Time) instead of when the script starts. If these variables
484; are not used within a script, having this directive on will result in a
485; performance gain. The PHP directives register_globals, register_long_arrays,
486; and register_argc_argv must be disabled for this directive to have any affect.
487auto_globals_jit = On
488
489; Maximum size of POST data that PHP will accept.
490post_max_size = 8M
491
492; Magic quotes
493;
494
495; Magic quotes for incoming GET/POST/Cookie data.
496magic_quotes_gpc = Off
497
498; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
499magic_quotes_runtime = Off
500
501; Use Sybase-style magic quotes (escape ' with '' instead of \').
502magic_quotes_sybase = Off
503
504; Automatically add files before or after any PHP document.
505auto_prepend_file =
506auto_append_file =
507
508; As of 4.0b4, PHP always outputs a character encoding by default in
509; the Content-type: header. To disable sending of the charset, simply
510; set it to be empty.
511;
512; PHP's built-in default is text/html
513default_mimetype = "text/html"
514;default_charset = "iso-8859-1"
515
516; Always populate the $HTTP_RAW_POST_DATA variable.
517;always_populate_raw_post_data = On
518
519
520;;;;;;;;;;;;;;;;;;;;;;;;;
521; Paths and Directories ;
522;;;;;;;;;;;;;;;;;;;;;;;;;
523
524; UNIX: "/path1:/path2"
525;include_path = ".:/php/includes"
526;
527; Windows: "\path1;\path2"
528;include_path = ".;c:\php\includes"
529
530; The root of the PHP pages, used only if nonempty.
531; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
532; if you are running php as a CGI under any web server (other than IIS)
533; see documentation for security issues. The alternate is to use the
534; cgi.force_redirect configuration below
535doc_root =
536
537; The directory under which PHP opens the script using /~username used only
538; if nonempty.
539user_dir =
540
541; Directory in which the loadable extensions (modules) reside.
542extension_dir = "./"
543
544; Whether or not to enable the dl() function. The dl() function does NOT work
545; properly in multithreaded servers, such as IIS or Zeus, and is automatically
546; disabled on them.
547enable_dl = On
548
549; cgi.force_redirect is necessary to provide security running PHP as a CGI under
550; most web servers. Left undefined, PHP turns this on by default. You can
551; turn it off here AT YOUR OWN RISK
552; **You CAN safely turn this off for IIS, in fact, you MUST.**
553; cgi.force_redirect = 1
554
555; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
556; every request.
557; cgi.nph = 1
558
559; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
560; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
561; will look for to know it is OK to continue execution. Setting this variable MAY
562; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
563; cgi.redirect_status_env = ;
564
565; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
566; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
567; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
568; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
569; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
570; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
571 cgi.fix_pathinfo=1
572
573; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
574; security tokens of the calling client. This allows IIS to define the
575; security context that the request runs under. mod_fastcgi under Apache
576; does not currently support this feature (03/17/2002)
577; Set to 1 if running under IIS. Default is zero.
578; fastcgi.impersonate = 1;
579
580; Disable logging through FastCGI connection
581; fastcgi.logging = 0
582
583; cgi.rfc2616_headers configuration option tells PHP what type of headers to
584; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
585; is supported by Apache. When this option is set to 1 PHP will send
586; RFC2616 compliant header.
587; Default is zero.
588;cgi.rfc2616_headers = 0
589
590
591;;;;;;;;;;;;;;;;
592; File Uploads ;
593;;;;;;;;;;;;;;;;
594
595; Whether to allow HTTP file uploads.
596file_uploads = On
597
598; Temporary directory for HTTP uploaded files (will use system default if not
599; specified).
600;upload_tmp_dir =
601
602; Maximum allowed size for uploaded files.
603upload_max_filesize = 2M
604
605
606; Maximum number of files that can be uploaded via a single request
607max_file_uploads = 20
608
609;;;;;;;;;;;;;;;;;;
610; Fopen wrappers ;
611;;;;;;;;;;;;;;;;;;
612
613; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
614allow_url_fopen = On
615
616; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
617allow_url_include = Off
618
619; Define the anonymous ftp password (your email address)
620;from="john@doe.com"
621
622; Define the User-Agent string
623; user_agent="PHP"
624
625; Default timeout for socket based streams (seconds)
626default_socket_timeout = 60
627
628; If your scripts have to deal with files from Macintosh systems,
629; or you are running on a Mac and need to deal with files from
630; unix or win32 systems, setting this flag will cause PHP to
631; automatically detect the EOL character in those files so that
632; fgets() and file() will work regardless of the source of the file.
633; auto_detect_line_endings = Off
634
635
636;;;;;;;;;;;;;;;;;;;;;;
637; Dynamic Extensions ;
638;;;;;;;;;;;;;;;;;;;;;;
639;
640; If you wish to have an extension loaded automatically, use the following
641; syntax:
642;
643; extension=modulename.extension
644;
645; For example, on Windows:
646;
647; extension=msql.dll
648;
649; ... or under UNIX:
650;
651; extension=msql.so
652;
653; Note that it should be the name of the module only; no directory information
654; needs to go here. Specify the location of the extension with the
655; extension_dir directive above.
656
657
658; Windows Extensions
659; Note that ODBC support is built in, so no dll is needed for it.
660; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
661; extension folders as well as the separate PECL DLL download (PHP 5).
662; Be sure to appropriately set the extension_dir directive.
663
664;extension=php_bz2.dll
665;extension=php_curl.dll
666;extension=php_dba.dll
667;extension=php_dbase.dll
668;extension=php_exif.dll
669;extension=php_fdf.dll
670;extension=php_gd2.dll
671;extension=php_gettext.dll
672;extension=php_gmp.dll
673;extension=php_ifx.dll
674;extension=php_imap.dll
675;extension=php_interbase.dll
676;extension=php_ldap.dll
677;extension=php_mbstring.dll
678;extension=php_mcrypt.dll
679;extension=php_mhash.dll
680;extension=php_mime_magic.dll
681;extension=php_ming.dll
682;extension=php_msql.dll
683;extension=php_mssql.dll
684;extension=php_mysql.dll
685;extension=php_mysqli.dll
686;extension=php_oci8.dll
687;extension=php_openssl.dll
688;extension=php_pdo.dll
689;extension=php_pdo_firebird.dll
690;extension=php_pdo_mssql.dll
691;extension=php_pdo_mysql.dll
692;extension=php_pdo_oci.dll
693;extension=php_pdo_oci8.dll
694;extension=php_pdo_odbc.dll
695;extension=php_pdo_pgsql.dll
696;extension=php_pdo_sqlite.dll
697;extension=php_pgsql.dll
698;extension=php_pspell.dll
699;extension=php_shmop.dll
700;extension=php_snmp.dll
701;extension=php_soap.dll
702;extension=php_sockets.dll
703;extension=php_sqlite.dll
704;extension=php_sybase_ct.dll
705;extension=php_tidy.dll
706;extension=php_xmlrpc.dll
707;extension=php_xsl.dll
708;extension=php_zip.dll
709
710;;;;;;;;;;;;;;;;;;;
711; Module Settings ;
712;;;;;;;;;;;;;;;;;;;
713
714[Date]
715; Defines the default timezone used by the date functions
716;date.timezone =
717
718;date.default_latitude = 31.7667
719;date.default_longitude = 35.2333
720
721;date.sunrise_zenith = 90.583333
722;date.sunset_zenith = 90.583333
723
724[filter]
725;filter.default = unsafe_raw
726;filter.default_flags =
727
728[iconv]
729;iconv.input_encoding = ISO-8859-1
730;iconv.internal_encoding = ISO-8859-1
731;iconv.output_encoding = ISO-8859-1
732
733[sqlite]
734;sqlite.assoc_case = 0
735
736[Pcre]
737;PCRE library backtracking limit.
738;pcre.backtrack_limit=100000
739
740;PCRE library recursion limit.
741;Please note that if you set this value to a high number you may consume all
742;the available process stack and eventually crash PHP (due to reaching the
743;stack size limit imposed by the Operating System).
744;pcre.recursion_limit=100000
745
746[Syslog]
747; Whether or not to define the various syslog variables (e.g. $LOG_PID,
748; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
749; runtime, you can define these variables by calling define_syslog_variables().
750define_syslog_variables = Off
751
752[mail function]
753; For Win32 only.
754SMTP = localhost
755smtp_port = 25
756
757; For Win32 only.
758;sendmail_from = me@example.com
759
760; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
761;sendmail_path =
762
763; Force the addition of the specified parameters to be passed as extra parameters
764; to the sendmail binary. These parameters will always replace the value of
765; the 5th parameter to mail(), even in safe mode.
766;mail.force_extra_parameters =
767
768[SQL]
769sql.safe_mode = Off
770
771[ODBC]
772;odbc.default_db = Not yet implemented
773;odbc.default_user = Not yet implemented
774;odbc.default_pw = Not yet implemented
775
776; Allow or prevent persistent links.
777odbc.allow_persistent = On
778
779; Check that a connection is still valid before reuse.
780odbc.check_persistent = On
781
782; Maximum number of persistent links. -1 means no limit.
783odbc.max_persistent = -1
784
785; Maximum number of links (persistent + non-persistent). -1 means no limit.
786odbc.max_links = -1
787
788; Handling of LONG fields. Returns number of bytes to variables. 0 means
789; passthru.
790odbc.defaultlrl = 4096
791
792; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
793; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
794; of uodbc.defaultlrl and uodbc.defaultbinmode
795odbc.defaultbinmode = 1
796
797[MySQL]
798; Allow or prevent persistent links.
799mysql.allow_persistent = On
800
801; Maximum number of persistent links. -1 means no limit.
802mysql.max_persistent = -1
803
804; Maximum number of links (persistent + non-persistent). -1 means no limit.
805mysql.max_links = -1
806
807; Default port number for mysql_connect(). If unset, mysql_connect() will use
808; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
809; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
810; at MYSQL_PORT.
811mysql.default_port =
812
813; Default socket name for local MySQL connects. If empty, uses the built-in
814; MySQL defaults.
815mysql.default_socket =
816
817; Default host for mysql_connect() (doesn't apply in safe mode).
818mysql.default_host =
819
820; Default user for mysql_connect() (doesn't apply in safe mode).
821mysql.default_user =
822
823; Default password for mysql_connect() (doesn't apply in safe mode).
824; Note that this is generally a *bad* idea to store passwords in this file.
825; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
826; and reveal this password! And of course, any users with read access to this
827; file will be able to reveal the password as well.
828mysql.default_password =
829
830; Maximum time (in seconds) for connect timeout. -1 means no limit
831mysql.connect_timeout = 60
832
833; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
834; SQL-Errors will be displayed.
835mysql.trace_mode = Off
836
837[MySQLi]
838
839; Maximum number of links. -1 means no limit.
840mysqli.max_links = -1
841
842; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
843; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
844; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
845; at MYSQL_PORT.
846mysqli.default_port = 3306
847
848; Default socket name for local MySQL connects. If empty, uses the built-in
849; MySQL defaults.
850mysqli.default_socket =
851
852; Default host for mysql_connect() (doesn't apply in safe mode).
853mysqli.default_host =
854
855; Default user for mysql_connect() (doesn't apply in safe mode).
856mysqli.default_user =
857
858; Default password for mysqli_connect() (doesn't apply in safe mode).
859; Note that this is generally a *bad* idea to store passwords in this file.
860; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
861; and reveal this password! And of course, any users with read access to this
862; file will be able to reveal the password as well.
863mysqli.default_pw =
864
865; Allow or prevent reconnect
866mysqli.reconnect = Off
867
868[mSQL]
869; Allow or prevent persistent links.
870msql.allow_persistent = On
871
872; Maximum number of persistent links. -1 means no limit.
873msql.max_persistent = -1
874
875; Maximum number of links (persistent+non persistent). -1 means no limit.
876msql.max_links = -1
877
878[OCI8]
879; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)
880;oci8.privileged_connect = Off
881
882; Connection: The maximum number of persistent OCI8 connections per
883; process. Using -1 means no limit.
884;oci8.max_persistent = -1
885
886; Connection: The maximum number of seconds a process is allowed to
887; maintain an idle persistent connection. Using -1 means idle
888; persistent connections will be maintained forever.
889;oci8.persistent_timeout = -1
890
891; Connection: The number of seconds that must pass before issuing a
892; ping during oci_pconnect() to check the connection validity. When
893; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
894; pings completely.
895;oci8.ping_interval = 60
896
897; Tuning: This option enables statement caching, and specifies how
898; many statements to cache. Using 0 disables statement caching.
899;oci8.statement_cache_size = 20
900
901; Tuning: Enables statement prefetching and sets the default number of
902; rows that will be fetched automatically after statement execution.
903;oci8.default_prefetch = 10
904
905; Compatibility. Using On means oci_close() will not close
906; oci_connect() and oci_new_connect() connections.
907;oci8.old_oci_close_semantics = Off
908
909[PostgresSQL]
910; Allow or prevent persistent links.
911pgsql.allow_persistent = On
912
913; Detect broken persistent links always with pg_pconnect().
914; Auto reset feature requires a little overheads.
915pgsql.auto_reset_persistent = Off
916
917; Maximum number of persistent links. -1 means no limit.
918pgsql.max_persistent = -1
919
920; Maximum number of links (persistent+non persistent). -1 means no limit.
921pgsql.max_links = -1
922
923; Ignore PostgreSQL backends Notice message or not.
924; Notice message logging require a little overheads.
925pgsql.ignore_notice = 0
926
927; Log PostgreSQL backends Notice message or not.
928; Unless pgsql.ignore_notice=0, module cannot log notice message.
929pgsql.log_notice = 0
930
931[Sybase]
932; Allow or prevent persistent links.
933sybase.allow_persistent = On
934
935; Maximum number of persistent links. -1 means no limit.
936sybase.max_persistent = -1
937
938; Maximum number of links (persistent + non-persistent). -1 means no limit.
939sybase.max_links = -1
940
941;sybase.interface_file = "/usr/sybase/interfaces"
942
943; Minimum error severity to display.
944sybase.min_error_severity = 10
945
946; Minimum message severity to display.
947sybase.min_message_severity = 10
948
949; Compatibility mode with old versions of PHP 3.0.
950; If on, this will cause PHP to automatically assign types to results according
951; to their Sybase type, instead of treating them all as strings. This
952; compatibility mode will probably not stay around forever, so try applying
953; whatever necessary changes to your code, and turn it off.
954sybase.compatability_mode = Off
955
956[Sybase-CT]
957; Allow or prevent persistent links.
958sybct.allow_persistent = On
959
960; Maximum number of persistent links. -1 means no limit.
961sybct.max_persistent = -1
962
963; Maximum number of links (persistent + non-persistent). -1 means no limit.
964sybct.max_links = -1
965
966; Minimum server message severity to display.
967sybct.min_server_severity = 10
968
969; Minimum client message severity to display.
970sybct.min_client_severity = 10
971
972[bcmath]
973; Number of decimal digits for all bcmath functions.
974bcmath.scale = 0
975
976[browscap]
977;browscap = extra/browscap.ini
978
979[Informix]
980; Default host for ifx_connect() (doesn't apply in safe mode).
981ifx.default_host =
982
983; Default user for ifx_connect() (doesn't apply in safe mode).
984ifx.default_user =
985
986; Default password for ifx_connect() (doesn't apply in safe mode).
987ifx.default_password =
988
989; Allow or prevent persistent links.
990ifx.allow_persistent = On
991
992; Maximum number of persistent links. -1 means no limit.
993ifx.max_persistent = -1
994
995; Maximum number of links (persistent + non-persistent). -1 means no limit.
996ifx.max_links = -1
997
998; If on, select statements return the contents of a text blob instead of its id.
999ifx.textasvarchar = 0
1000
1001; If on, select statements return the contents of a byte blob instead of its id.
1002ifx.byteasvarchar = 0
1003
1004; Trailing blanks are stripped from fixed-length char columns. May help the
1005; life of Informix SE users.
1006ifx.charasvarchar = 0
1007
1008; If on, the contents of text and byte blobs are dumped to a file instead of
1009; keeping them in memory.
1010ifx.blobinfile = 0
1011
1012; NULL's are returned as empty strings, unless this is set to 1. In that case,
1013; NULL's are returned as string 'NULL'.
1014ifx.nullformat = 0
1015
1016[Session]
1017; Handler used to store/retrieve data.
1018session.save_handler = files
1019
1020; Argument passed to save_handler. In the case of files, this is the path
1021; where data files are stored. Note: Windows users have to change this
1022; variable in order to use PHP's session functions.
1023;
1024; As of PHP 4.0.1, you can define the path as:
1025;
1026; session.save_path = "N;/path"
1027;
1028; where N is an integer. Instead of storing all the session files in
1029; /path, what this will do is use subdirectories N-levels deep, and
1030; store the session data in those directories. This is useful if you
1031; or your OS have problems with lots of files in one directory, and is
1032; a more efficient layout for servers that handle lots of sessions.
1033;
1034; NOTE 1: PHP will not create this directory structure automatically.
1035; You can use the script in the ext/session dir for that purpose.
1036; NOTE 2: See the section on garbage collection below if you choose to
1037; use subdirectories for session storage
1038;
1039; The file storage module creates files using mode 600 by default.
1040; You can change that by using
1041;
1042; session.save_path = "N;MODE;/path"
1043;
1044; where MODE is the octal representation of the mode. Note that this
1045; does not overwrite the process's umask.
1046;session.save_path = "/tmp"
1047
1048; Whether to use cookies.
1049session.use_cookies = 1
1050
1051;session.cookie_secure =
1052
1053; This option enables administrators to make their users invulnerable to
1054; attacks which involve passing session ids in URLs; defaults to 0.
1055; session.use_only_cookies = 1
1056
1057; Name of the session (used as cookie name).
1058session.name = PHPSESSID
1059
1060; Initialize session on request startup.
1061session.auto_start = 0
1062
1063; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1064session.cookie_lifetime = 0
1065
1066; The path for which the cookie is valid.
1067session.cookie_path = /
1068
1069; The domain for which the cookie is valid.
1070session.cookie_domain =
1071
1072; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1073session.cookie_httponly =
1074
1075; Handler used to serialize data. php is the standard serializer of PHP.
1076session.serialize_handler = php
1077
1078; Define the probability that the 'garbage collection' process is started
1079; on every session initialization.
1080; The probability is calculated by using gc_probability/gc_divisor,
1081; e.g. 1/100 means there is a 1% chance that the GC process starts
1082; on each request.
1083
1084session.gc_probability = 1
1085session.gc_divisor = 1000
1086
1087; After this number of seconds, stored data will be seen as 'garbage' and
1088; cleaned up by the garbage collection process.
1089session.gc_maxlifetime = 1440
1090
1091; NOTE: If you are using the subdirectory option for storing session files
1092; (see session.save_path above), then garbage collection does *not*
1093; happen automatically. You will need to do your own garbage
1094; collection through a shell script, cron entry, or some other method.
1095; For example, the following script would is the equivalent of
1096; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1097; cd /path/to/sessions; find -cmin +24 | xargs rm
1098
1099; PHP 4.2 and less have an undocumented feature/bug that allows you to
1100; to initialize a session variable in the global scope, albeit register_globals
1101; is disabled. PHP 4.3 and later will warn you, if this feature is used.
1102; You can disable the feature and the warning separately. At this time,
1103; the warning is only displayed, if bug_compat_42 is enabled.
1104
1105session.bug_compat_42 = 0
1106session.bug_compat_warn = 1
1107
1108; Check HTTP Referer to invalidate externally stored URLs containing ids.
1109; HTTP_REFERER has to contain this substring for the session to be
1110; considered as valid.
1111session.referer_check =
1112
1113; How many bytes to read from the file.
1114session.entropy_length = 0
1115
1116; Specified here to create the session id.
1117session.entropy_file =
1118
1119;session.entropy_length = 16
1120
1121;session.entropy_file = /dev/urandom
1122
1123; Set to {nocache,private,public,} to determine HTTP caching aspects
1124; or leave this empty to avoid sending anti-caching headers.
1125session.cache_limiter = nocache
1126
1127; Document expires after n minutes.
1128session.cache_expire = 180
1129
1130; trans sid support is disabled by default.
1131; Use of trans sid may risk your users security.
1132; Use this option with caution.
1133; - User may send URL contains active session ID
1134; to other person via. email/irc/etc.
1135; - URL that contains active session ID may be stored
1136; in publically accessible computer.
1137; - User may access your site with the same session ID
1138; always using URL stored in browser's history or bookmarks.
1139session.use_trans_sid = 0
1140
1141; Select a hash function
1142; 0: MD5 (128 bits)
1143; 1: SHA-1 (160 bits)
1144session.hash_function = 0
1145
1146; Define how many bits are stored in each character when converting
1147; the binary hash data to something readable.
1148;
1149; 4 bits: 0-9, a-f
1150; 5 bits: 0-9, a-v
1151; 6 bits: 0-9, a-z, A-Z, "-", ","
1152session.hash_bits_per_character = 5
1153
1154; The URL rewriter will look for URLs in a defined set of HTML tags.
1155; form/fieldset are special; if you include them here, the rewriter will
1156; add a hidden <input> field with the info which is otherwise appended
1157; to URLs. If you want XHTML conformity, remove the form entry.
1158; Note that all valid entries require a "=", even if no value follows.
1159url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1160
1161[MSSQL]
1162; Allow or prevent persistent links.
1163mssql.allow_persistent = On
1164
1165; Maximum number of persistent links. -1 means no limit.
1166mssql.max_persistent = -1
1167
1168; Maximum number of links (persistent+non persistent). -1 means no limit.
1169mssql.max_links = -1
1170
1171; Minimum error severity to display.
1172mssql.min_error_severity = 10
1173
1174; Minimum message severity to display.
1175mssql.min_message_severity = 10
1176
1177; Compatibility mode with old versions of PHP 3.0.
1178mssql.compatability_mode = Off
1179
1180; Connect timeout
1181;mssql.connect_timeout = 5
1182
1183; Query timeout
1184;mssql.timeout = 60
1185
1186; Valid range 0 - 2147483647. Default = 4096.
1187;mssql.textlimit = 4096
1188
1189; Valid range 0 - 2147483647. Default = 4096.
1190;mssql.textsize = 4096
1191
1192; Limits the number of records in each batch. 0 = all records in one batch.
1193;mssql.batchsize = 0
1194
1195; Specify how datetime and datetim4 columns are returned
1196; On => Returns data converted to SQL server settings
1197; Off => Returns values as YYYY-MM-DD hh:mm:ss
1198;mssql.datetimeconvert = On
1199
1200; Use NT authentication when connecting to the server
1201mssql.secure_connection = Off
1202
1203; Specify max number of processes. -1 = library default
1204; msdlib defaults to 25
1205; FreeTDS defaults to 4096
1206;mssql.max_procs = -1
1207
1208; Specify client character set.
1209; If empty or not set the client charset from freetds.comf is used
1210; This is only used when compiled with FreeTDS
1211;mssql.charset = "ISO-8859-1"
1212
1213[Assertion]
1214; Assert(expr); active by default.
1215;assert.active = On
1216
1217; Issue a PHP warning for each failed assertion.
1218;assert.warning = On
1219
1220; Don't bail out by default.
1221;assert.bail = Off
1222
1223; User-function to be called if an assertion fails.
1224;assert.callback = 0
1225
1226; Eval the expression with current error_reporting(). Set to true if you want
1227; error_reporting(0) around the eval().
1228;assert.quiet_eval = 0
1229
1230[COM]
1231; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1232;com.typelib_file =
1233; allow Distributed-COM calls
1234;com.allow_dcom = true
1235; autoregister constants of a components typlib on com_load()
1236;com.autoregister_typelib = true
1237; register constants casesensitive
1238;com.autoregister_casesensitive = false
1239; show warnings on duplicate constant registrations
1240;com.autoregister_verbose = true
1241
1242[mbstring]
1243; language for internal character representation.
1244;mbstring.language = Japanese
1245
1246; internal/script encoding.
1247; Some encoding cannot work as internal encoding.
1248; (e.g. SJIS, BIG5, ISO-2022-*)
1249;mbstring.internal_encoding = EUC-JP
1250
1251; http input encoding.
1252;mbstring.http_input = auto
1253
1254; http output encoding. mb_output_handler must be
1255; registered as output buffer to function
1256;mbstring.http_output = SJIS
1257
1258; enable automatic encoding translation according to
1259; mbstring.internal_encoding setting. Input chars are
1260; converted to internal encoding by setting this to On.
1261; Note: Do _not_ use automatic encoding translation for
1262; portable libs/applications.
1263;mbstring.encoding_translation = Off
1264
1265; automatic encoding detection order.
1266; auto means
1267;mbstring.detect_order = auto
1268
1269; substitute_character used when character cannot be converted
1270; one from another
1271;mbstring.substitute_character = none;
1272
1273; overload(replace) single byte functions by mbstring functions.
1274; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1275; etc. Possible values are 0,1,2,4 or combination of them.
1276; For example, 7 for overload everything.
1277; 0: No overload
1278; 1: Overload mail() function
1279; 2: Overload str*() functions
1280; 4: Overload ereg*() functions
1281;mbstring.func_overload = 0
1282
1283; enable strict encoding detection.
1284;mbstring.strict_detection = Off
1285
1286[FrontBase]
1287;fbsql.allow_persistent = On
1288;fbsql.autocommit = On
1289;fbsql.show_timestamp_decimals = Off
1290;fbsql.default_database =
1291;fbsql.default_database_password =
1292;fbsql.default_host =
1293;fbsql.default_password =
1294;fbsql.default_user = "_SYSTEM"
1295;fbsql.generate_warnings = Off
1296;fbsql.max_connections = 128
1297;fbsql.max_links = 128
1298;fbsql.max_persistent = -1
1299;fbsql.max_results = 128
1300
1301[gd]
1302; Tell the jpeg decode to libjpeg warnings and try to create
1303; a gd image. The warning will then be displayed as notices
1304; disabled by default
1305;gd.jpeg_ignore_warning = 0
1306
1307[exif]
1308; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1309; With mbstring support this will automatically be converted into the encoding
1310; given by corresponding encode setting. When empty mbstring.internal_encoding
1311; is used. For the decode settings you can distinguish between motorola and
1312; intel byte order. A decode setting cannot be empty.
1313;exif.encode_unicode = ISO-8859-15
1314;exif.decode_unicode_motorola = UCS-2BE
1315;exif.decode_unicode_intel = UCS-2LE
1316;exif.encode_jis =
1317;exif.decode_jis_motorola = JIS
1318;exif.decode_jis_intel = JIS
1319
1320[Tidy]
1321; The path to a default tidy configuration file to use when using tidy
1322;tidy.default_config = /usr/local/lib/php/default.tcfg
1323
1324; Should tidy clean and repair output automatically?
1325; WARNING: Do not use this option if you are generating non-html content
1326; such as dynamic images
1327tidy.clean_output = Off
1328
1329zlib.output_compression = On
1330
1331[soap]
1332; Enables or disables WSDL caching feature.
1333soap.wsdl_cache_enabled=1
1334; Sets the directory name where SOAP extension will put cache files.
1335soap.wsdl_cache_dir="/tmp"
1336; (time to live) Sets the number of second while cached file will be used
1337; instead of original one.
1338soap.wsdl_cache_ttl=86400
1339
1340; Local Variables:
1341; tab-width: 4
1342; End:
diff --git a/recipes-ti/matrix/matrix-gui_1.3.bb b/recipes-ti/matrix/matrix-gui_1.3.bb
deleted file mode 100644
index f91d8817..00000000
--- a/recipes-ti/matrix/matrix-gui_1.3.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require matrix-gui.inc
2
3SRCREV = "275"
4SRC_URI += "file://0001-matrix_gui.pro-add-dbus-to-QT-features-to-fix-linkin.patch"
5
6PR = "${INC_PR}.1"
diff --git a/recipes-ti/matrix/matrix-gui_2.0.bb b/recipes-ti/matrix/matrix-gui_2.0.bb
deleted file mode 100644
index 94a05b49..00000000
--- a/recipes-ti/matrix/matrix-gui_2.0.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1DESCRIPTION = "Matrix GUI Application launcher"
2HOMEPAGE = "https://gforge.ti.com/gf/project/matrix-gui-v2/"
3
4LICENSE = "BSD MIT Apache"
5LIC_FILES_CHKSUM = "file://javascript/jquery-latest.js;md5=9118381924c51c89d9414a311ec9c97f"
6
7SECTION = "multimedia"
8
9PR = "r6"
10
11inherit allarch
12
13BRANCH ?= "master"
14SRCREV = "8e2bd5ffdded23bb662476fcd2490fa1526801f8"
15
16SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \
17 file://php.ini"
18
19require matrix-gui-paths.inc
20
21S = "${WORKDIR}/git"
22
23do_install(){
24 install -d ${D}${MATRIX_BASE_DIR}
25 install -d ${D}${MATRIX_WEB_DIR}
26 cp -rf ${S}/* ${D}${MATRIX_WEB_DIR}
27
28 # Install our php.ini file
29 install -m 0644 ${WORKDIR}/php.ini ${D}${MATRIX_BASE_DIR}/
30}
31
32RDEPENDS_${PN} += "matrix-lighttpd-config lighttpd lighttpd-module-cgi lighttpd-module-compress lighttpd-module-expire php php-cgi php-cli"
33
34FILES_${PN} += "${MATRIX_BASE_DIR}/*"
diff --git a/recipes-ti/matrix/matrix-lighttpd-config.bb b/recipes-ti/matrix/matrix-lighttpd-config.bb
deleted file mode 100644
index 3b921330..00000000
--- a/recipes-ti/matrix/matrix-lighttpd-config.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1DESCRIPTION = "ligHTTPD config for matrix"
2
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://../lighttpd.conf.matrix;md5=58caecbd847bcc4d5141dea2ee4c42ec"
5
6inherit allarch
7
8SRC_URI = "file://lighttpd.conf.matrix"
9
10do_install() {
11 install -d ${D}${sysconfdir}
12 install -m 0644 ${WORKDIR}/lighttpd.conf.matrix ${D}${sysconfdir}/lighttpd.conf.matrix
13}
14
15FILES_${PN} = "${sysconfdir}/lighttpd.conf.matrix"
16RDEPENDS_${PN} = "lighttpd"
17
18pkg_postinst_${PN} () {
19if [ -f $D${sysconfdir}/lighttpd.conf ] ; then
20 cp $D${sysconfdir}/lighttpd.conf.matrix $D${sysconfdir}/lighttpd.conf
21else
22 echo "No lighttpd.conf found, aborting"
23 exit 1
24fi
25}
26
diff --git a/recipes-ti/matrix/matrix-lighttpd-config/lighttpd.conf.matrix b/recipes-ti/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
deleted file mode 100755
index dc6215f8..00000000
--- a/recipes-ti/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
+++ /dev/null
@@ -1,341 +0,0 @@
1# lighttpd configuration file
2#
3# use it as a base for lighttpd 1.0.0 and above
4#
5# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
6
7############ Options you really have to take care of ####################
8
9## modules to load
10# at least mod_access and mod_accesslog should be loaded
11# all other module should only be loaded if really neccesary
12# - saves some time
13# - saves memory
14server.modules = (
15# "mod_rewrite",
16# "mod_redirect",
17# "mod_alias",
18 "mod_access",
19# "mod_cml",
20# "mod_trigger_b4_dl",
21# "mod_auth",
22# "mod_status",
23# "mod_setenv",
24 "mod_expire",
25# "mod_fastcgi",
26# "mod_proxy",
27# "mod_simple_vhost",
28# "mod_evhost",
29# "mod_userdir",
30 "mod_cgi",
31 "mod_compress"
32# "mod_ssi",
33# "mod_usertrack",
34
35# "mod_secdownload",
36# "mod_rrdtool",
37# "mod_webdav",
38# "mod_accesslog"
39 )
40
41## a static document-root, for virtual-hosting take look at the
42## server.virtual-* options
43server.document-root = "/usr/share/matrix-gui-2.0/"
44
45## where to send error-messages to
46#server.errorlog = "/www/logs/lighttpd.error.log"
47
48# files to check for if .../ is requested
49index-file.names = ( "index.php", "index.html",
50 "index.htm", "default.htm" )
51
52## set the event-handler (read the performance section in the manual)
53# server.event-handler = "freebsd-kqueue" # needed on OS X
54
55# mimetype mapping
56mimetype.assign = (
57 ".pdf" => "application/pdf",
58 ".sig" => "application/pgp-signature",
59 ".spl" => "application/futuresplash",
60 ".class" => "application/octet-stream",
61 ".ps" => "application/postscript",
62 ".torrent" => "application/x-bittorrent",
63 ".dvi" => "application/x-dvi",
64 ".gz" => "application/x-gzip",
65 ".pac" => "application/x-ns-proxy-autoconfig",
66 ".swf" => "application/x-shockwave-flash",
67 ".tar.gz" => "application/x-tgz",
68 ".tgz" => "application/x-tgz",
69 ".tar" => "application/x-tar",
70 ".zip" => "application/zip",
71 ".mp3" => "audio/mpeg",
72 ".m3u" => "audio/x-mpegurl",
73 ".wma" => "audio/x-ms-wma",
74 ".wax" => "audio/x-ms-wax",
75 ".ogg" => "application/ogg",
76 ".wav" => "audio/x-wav",
77 ".gif" => "image/gif",
78 ".jpg" => "image/jpeg",
79 ".jpeg" => "image/jpeg",
80 ".png" => "image/png",
81 ".xbm" => "image/x-xbitmap",
82 ".xpm" => "image/x-xpixmap",
83 ".xwd" => "image/x-xwindowdump",
84 ".css" => "text/css",
85 ".html" => "text/html",
86 ".htm" => "text/html",
87 ".js" => "text/javascript",
88 ".asc" => "text/plain",
89 ".c" => "text/plain",
90 ".cpp" => "text/plain",
91 ".log" => "text/plain",
92 ".conf" => "text/plain",
93 ".text" => "text/plain",
94 ".txt" => "text/plain",
95 ".dtd" => "text/xml",
96 ".xml" => "text/xml",
97 ".mpeg" => "video/mpeg",
98 ".mpg" => "video/mpeg",
99 ".mov" => "video/quicktime",
100 ".qt" => "video/quicktime",
101 ".avi" => "video/x-msvideo",
102 ".asf" => "video/x-ms-asf",
103 ".asx" => "video/x-ms-asf",
104 ".wmv" => "video/x-ms-wmv",
105 ".bz2" => "application/x-bzip",
106 ".tbz" => "application/x-bzip-compressed-tar",
107 ".tar.bz2" => "application/x-bzip-compressed-tar"
108 )
109
110# Use the "Content-Type" extended attribute to obtain mime type if possible
111#mimetype.use-xattr = "enable"
112
113
114## send a different Server: header
115## be nice and keep it at lighttpd
116# server.tag = "lighttpd"
117
118#### accesslog module
119#accesslog.filename = "/www/logs/access.log"
120#debug.log-request-handling = "enable"
121
122
123
124
125## deny access the file-extensions
126#
127# ~ is for backupfiles from vi, emacs, joe, ...
128# .inc is often used for code includes which should in general not be part
129# of the document-root
130url.access-deny = ( "~", ".inc" )
131
132$HTTP["url"] =~ "\.pdf$" {
133 server.range-requests = "disable"
134}
135
136##
137# which extensions should not be handle via static-file transfer
138#
139# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
140static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
141
142######### Options that are good to be but not neccesary to be changed #######
143
144## bind to port (default: 80)
145server.port = 8080
146
147## bind to localhost (default: all interfaces)
148#server.bind = "grisu.home.kneschke.de"
149
150## error-handler for status 404
151#server.error-handler-404 = "/error-handler.html"
152#server.error-handler-404 = "/error-handler.php"
153
154## to help the rc.scripts
155#server.pid-file = "/var/run/lighttpd.pid"
156
157
158###### virtual hosts
159##
160## If you want name-based virtual hosting add the next three settings and load
161## mod_simple_vhost
162##
163## document-root =
164## virtual-server-root + virtual-server-default-host + virtual-server-docroot
165## or
166## virtual-server-root + http-host + virtual-server-docroot
167##
168#simple-vhost.server-root = "/home/weigon/wwwroot/servers/"
169#simple-vhost.default-host = "grisu.home.kneschke.de"
170#simple-vhost.document-root = "/pages/"
171
172
173##
174## Format: <errorfile-prefix><status-code>.html
175## -> ..../status-404.html for 'File not found'
176#server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"
177
178## virtual directory listings
179#dir-listing.activate = "enable"
180
181## enable debugging
182#debug.log-request-header = "enable"
183#debug.log-response-header = "enable"
184#debug.log-request-handling = "enable"
185#debug.log-file-not-found = "enable"
186
187### only root can use these options
188#
189# chroot() to directory (default: no chroot() )
190#server.chroot = "/"
191
192## change uid to <uid> (default: don't care)
193#server.username = "wwwrun"
194
195## change uid to <uid> (default: don't care)
196#server.groupname = "wwwrun"
197
198#### compress module
199compress.cache-dir = "/tmp/lighttpd/cache/compress/"
200compress.filetype = ("text/plain", "text/html","text/javascript","text/css","image/png","text/php")
201
202#### proxy module
203## read proxy.txt for more info
204#proxy.server = ( ".php" =>
205# ( "localhost" =>
206# (
207# "host" => "192.168.0.101",
208# "port" => 80
209# )
210# )
211# )
212
213
214
215#### fastcgi module
216## read fastcgi.txt for more info
217## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
218#fastcgi.server = ( ".php" =>
219# ( "localhost" =>
220# (
221# "socket" => "/tmp/php-fastcgi.socket",
222# "bin-path" => "/usr/bin/php-cgi -n -c /usr/share/matrix-gui-2.0/php.ini"
223# )
224# )
225# )
226
227#### CGI module
228cgi.assign = ( ".php" => "/usr/bin/php-cgi")
229#cgi.assign = ( ".pl" => "/usr/bin/perl",
230# ".cgi" => "/usr/bin/perl" )
231#
232
233#### SSL engine
234#ssl.engine = "enable"
235#ssl.pemfile = "server.pem"
236
237#### status module
238#status.status-url = "/server-status"
239#status.config-url = "/server-config"
240
241#### auth module
242## read authentication.txt for more info
243#auth.backend = "plain"
244#auth.backend.plain.userfile = "lighttpd.user"
245#auth.backend.plain.groupfile = "lighttpd.group"
246
247#auth.backend.ldap.hostname = "localhost"
248#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
249#auth.backend.ldap.filter = "(uid=$)"
250
251#auth.require = ( "/server-status" =>
252# (
253# "method" => "digest",
254# "realm" => "download archiv",
255# "require" => "user=jan"
256# ),
257# "/server-config" =>
258# (
259# "method" => "digest",
260# "realm" => "download archiv",
261# "require" => "valid-user"
262# )
263# )
264
265#### url handling modules (rewrite, redirect, access)
266#url.rewrite = ( "^/$" => "/server-status" )
267#url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
268
269#### both rewrite/redirect support back reference to regex conditional using %n
270#$HTTP["host"] =~ "^www\.(.*)" {
271# url.redirect = ( "^/(.*)" => "http://%1/$1" )
272#}
273
274#
275# define a pattern for the host url finding
276# %% => % sign
277# %0 => domain name + tld
278# %1 => tld
279# %2 => domain name without tld
280# %3 => subdomain 1 name
281# %4 => subdomain 2 name
282#
283#evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
284
285#### expire module
286#expire.url = ( "/images/" => "access 2 hours", "/css/" => "access plus 1 seconds 2 minutes")
287$HTTP["url"] =~ "\.(jpg|gif|png)$" { expire.url = ( "" => "access 3 years" ) }
288
289#### ssi
290#ssi.extension = ( ".shtml" )
291
292#### rrdtool
293#rrdtool.binary = "/usr/bin/rrdtool"
294#rrdtool.db-name = "/var/www/lighttpd.rrd"
295
296#### setenv
297#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
298#setenv.add-response-header = ( "X-Secret-Message" => "42" )
299
300## for mod_trigger_b4_dl
301# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
302# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
303# trigger-before-download.trigger-url = "^/trigger/"
304# trigger-before-download.download-url = "^/download/"
305# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
306# trigger-before-download.trigger-timeout = 10
307
308## for mod_cml
309## don't forget to add index.cml to server.indexfiles
310# cml.extension = ".cml"
311# cml.memcache-hosts = ( "127.0.0.1:11211" )
312
313#### variable usage:
314## variable name without "." is auto prefixed by "var." and becomes "var.bar"
315#bar = 1
316#var.mystring = "foo"
317
318## integer add
319#bar += 1
320## string concat, with integer cast as string, result: "www.foo1.com"
321#server.name = "www." + mystring + var.bar + ".com"
322## array merge
323#index-file.names = (foo + ".php") + index-file.names
324#index-file.names += (foo + ".php")
325
326#### include
327#include /etc/lighttpd/lighttpd-inc.conf
328## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
329#include "lighttpd-inc.conf"
330
331#### include_shell
332#include_shell "echo var.a=1"
333## the above is same as:
334#var.a=1
335
336
337###Franklin
338etag.use-inode = "enable"
339etag.use-mtime = "enable"
340etag.use-size = "enable"
341static-file.etags = "enable"