diff options
author | 2010-03-30 12:47:24 +0000 | |
---|---|---|
committer | 2010-03-30 12:47:24 +0000 | |
commit | a6ec986eb1452ead17ddc002629ea31934dc132d (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
parent | Update EiffelStudio and Traffic ebuilds (usefull for ETHZ students). (diff) | |
download | chtekk-a6ec986eb1452ead17ddc002629ea31934dc132d.tar.gz chtekk-a6ec986eb1452ead17ddc002629ea31934dc132d.tar.bz2 chtekk-a6ec986eb1452ead17ddc002629ea31934dc132d.zip |
apps can now be found at http://projects.longitekk.com:8000/Projects/browser/gentoo-ebuilds
vda can now be found at http://vda.sourceforge.net/ and http://vda-ng.longitekk.com:8000/VDA-NG/browser (out-of-date)
syscp can now be found up-to-date directly from upstream: http://wiki.syscp.org/docs/syscp-howto-gentoo-en
coda and versioncp are out-of-date, broken trial runs of some stuff, so they just get deleted
svn path=/; revision=104
247 files changed, 0 insertions, 16484 deletions
diff --git a/apps/dev-eiffel/eiffelstudio/Manifest b/apps/dev-eiffel/eiffelstudio/Manifest deleted file mode 100644 index 4e92b4a..0000000 --- a/apps/dev-eiffel/eiffelstudio/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST Eiffel64_gpl_79451-linux-x86-64.tar.bz2 68814822 RMD160 fe82a9a6221b56b626c21e3331a5b78ae543bd84 SHA1 e60363ac82a7694aef4351977a35b2a48247fa9f SHA256 0badad502d20d2d7aa1e4bc422ccbff4296856deb4b02fd8eeb4504da58b7042 -DIST Eiffel64_gpl_79451-linux-x86.tar.bz2 56501216 RMD160 3a302eff5df06fbead79e312f035b9cace7601d7 SHA1 ccbcdd1c18997222e9343a843d86046b257c6aeb SHA256 430b6a79d0da8ee9639ccdb8b6e58d44bd936fce370a776d498fb523580fce23 -EBUILD eiffelstudio-6.4.79451.ebuild 2003 RMD160 fea445789a14b700c98e5b9d23f6d46d7b102ebc SHA1 d1e80b11dfcbb02d9ce962f4e60ad2aaa4c79940 SHA256 379b9046eb60f5fcb74af817fb0ab4aea7e74292078f722bf29014e6b5670155 diff --git a/apps/dev-eiffel/eiffelstudio/eiffelstudio-6.4.79451.ebuild b/apps/dev-eiffel/eiffelstudio/eiffelstudio-6.4.79451.ebuild deleted file mode 100644 index 8e15800..0000000 --- a/apps/dev-eiffel/eiffelstudio/eiffelstudio-6.4.79451.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="-* ~amd64 ~x86" - -MAIN_PV="${PV%.*}" -MAIN_PV="${MAIN_PV/./}" -SUB_PV="${PV##*.}" - -DESCRIPTION="EiffelStudio IDE." -HOMEPAGE="http://${PN}.sourceforge.net/" -SRC_URI="x86? ( mirror://sourceforge/${PN}/Eiffel${MAIN_PV}_gpl_${SUB_PV}-linux-x86.tar.bz2 ) - amd64? ( mirror://sourceforge/${PN}/Eiffel${MAIN_PV}_gpl_${SUB_PV}-linux-x86-64.tar.bz2 )" -LICENSE="GPL-2" -SLOT="0" -IUSE="precompile" - -DEPEND="sys-devel/gcc - dev-util/bsdiff - >=x11-libs/gtk+-2.6.0" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/Eiffel${MAIN_PV}" - -src_compile() { - if use amd64 ; then - ISE_PLATFORM="linux-x86-64" - else - ISE_PLATFORM="linux-x86" - fi - - if use precompile ; then - ISE_EIFFEL="${S}" ISE_PLATFORM=${ISE_PLATFORM} studio/spec/${ISE_PLATFORM}/bin/ec -precompile -config precomp/spec/${ISE_PLATFORM}/base.ecf -c_compile -clean || die "precompile failed" - ISE_EIFFEL="${S}" ISE_PLATFORM=${ISE_PLATFORM} studio/spec/${ISE_PLATFORM}/bin/ec -precompile -config precomp/spec/${ISE_PLATFORM}/base-mt.ecf -c_compile -clean || die "precompile failed" - ISE_EIFFEL="${S}" ISE_PLATFORM=${ISE_PLATFORM} studio/spec/${ISE_PLATFORM}/bin/ec -precompile -config precomp/spec/${ISE_PLATFORM}/vision2.ecf -c_compile -clean || die "precompile failed" - ISE_EIFFEL="${S}" ISE_PLATFORM=${ISE_PLATFORM} studio/spec/${ISE_PLATFORM}/bin/ec -precompile -config precomp/spec/${ISE_PLATFORM}/vision2-mt.ecf -c_compile -clean || die "precompile failed" - fi -} - -src_install() { - echo "ISE_EIFFEL=/opt/Eiffel${MAIN_PV}" > "${T}/52${PN}" - ISE_EIFFEL=/opt/Eiffel${MAIN_PV} - - if use amd64 ; then - echo "ISE_PLATFORM=linux-x86-64" >> "${T}/52${PN}" - ISE_PLATFORM="linux-x86-64" - else - echo "ISE_PLATFORM=linux-x86" >> "${T}/52${PN}" - ISE_PLATFORM="linux-x86" - fi - - echo "PATH=${ISE_EIFFEL}/studio/spec/${ISE_PLATFORM}/bin" >> "${T}/52${PN}" - - doenvd "${T}/52${PN}" - - dodir /opt/Eiffel${MAIN_PV} - mv -f * "${D}"/opt/Eiffel${MAIN_PV} -} diff --git a/apps/dev-eiffel/traffic/Manifest b/apps/dev-eiffel/traffic/Manifest deleted file mode 100644 index 1166f85..0000000 --- a/apps/dev-eiffel/traffic/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST traffic_ev_1104.zip 457821 RMD160 a372b6007d7822f2a6d3786e4b2455e0d2d81926 SHA1 528006ee39a7b56eedf235482e7ed06a11b86863 SHA256 57729133b6a434eefacf98892504beb8ad3dce4fb75b8042c5341b70ae52178a -EBUILD traffic-3.3.1104.ebuild 785 RMD160 61d7a1aa6610c4c72cd8ccea40bbfb5392108813 SHA1 2b3eec93ca1cb764208d1c75c72dcca23cf917ae SHA256 7baf92bb4b935b81ff30dbcbc9272d27d7cfbe9846d6db1aa8ffeef5ff4bbb8b diff --git a/apps/dev-eiffel/traffic/traffic-3.3.1104.ebuild b/apps/dev-eiffel/traffic/traffic-3.3.1104.ebuild deleted file mode 100644 index 7755cf4..0000000 --- a/apps/dev-eiffel/traffic/traffic-3.3.1104.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="~amd64 ~x86" - -MAIN_PV="${PV%.*}" -SUB_PV="${PV##*.}" - -DESCRIPTION="Traffic library." -HOMEPAGE="http://${PN}.origo.ethz.ch/" -SRC_URI="http://download.origo.ethz.ch/${PN}/1414/traffic_ev_${SUB_PV}.zip" -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -DEPEND="app-arch/unzip" -RDEPEND="dev-eiffel/eiffelstudio" - -S="${WORKDIR}/traffic_ev_${SUB_PV}" - -src_compile() { - echo "Nothing to compile." -} - -src_install() { - dodir /usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV} - mv -f * "${D}"/usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV} - chgrp -R users "${D}"/usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV} - chmod -R g+w "${D}"/usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV}/example -} diff --git a/apps/dev-libs/dnmalloc/Manifest b/apps/dev-libs/dnmalloc/Manifest deleted file mode 100644 index d09eeaf..0000000 --- a/apps/dev-libs/dnmalloc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST dnmalloc-1.0.tar.gz 65395 RMD160 99722cca8b042491837602adaacb750904edc4fd SHA1 0de27d8c1f7c39f9294e2d199fcfca1ebda97ff7 SHA256 6cd120675a488eb23c50989ebf56f50cba42ab50539daebfc4b8d50a3cb287aa -EBUILD dnmalloc-1.0.ebuild 410 RMD160 7c1a8d990837ba2bb9782a8209ed1f5b48caab88 SHA1 4e643d4c79f9cfd336ef70a89d001591be2283e3 SHA256 5bd5f016008230f03dff9e34067049756f312d31e999ff3eb670798550ee2a47 diff --git a/apps/dev-libs/dnmalloc/dnmalloc-1.0.ebuild b/apps/dev-libs/dnmalloc/dnmalloc-1.0.ebuild deleted file mode 100644 index 119e0b1..0000000 --- a/apps/dev-libs/dnmalloc/dnmalloc-1.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="Safer memory allocator." -HOMEPAGE="http://fort-knox.org/" -SRC_URI="http://fort-knox.org/files/${P}.tar.gz" -LICENSE="LGPL-2" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_compile() { - emake || die "emake failed" -} - -src_install() { - dolib "lib${PN}.so"* -} diff --git a/apps/dev-libs/safe-iop/Manifest b/apps/dev-libs/safe-iop/Manifest deleted file mode 100644 index 6d9c3ff..0000000 --- a/apps/dev-libs/safe-iop/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST safe-iop-0.3.1.tgz 11515 RMD160 144fb1aa110b917b87734d8a38de9c04dddabbe5 SHA1 1d401b94c04b958a5350e1079781bbfb00cb1a69 SHA256 96027e1512dc463f8418e0ba89f8c39a4bfe36cf2456c9afbf1b3897b4e9cf76 -EBUILD safe-iop-0.3.1.ebuild 448 RMD160 b0190beb716e9c575eb9b79ee24e9abd0f729b39 SHA1 299b58d7f7491747767bace9d037a19814cf383d SHA256 fe64cbe5e74adcaef9402d18cf13077b64145a50ab5f7f6d4bd9461889868561 diff --git a/apps/dev-libs/safe-iop/safe-iop-0.3.1.ebuild b/apps/dev-libs/safe-iop/safe-iop-0.3.1.ebuild deleted file mode 100644 index 6d6ca7a..0000000 --- a/apps/dev-libs/safe-iop/safe-iop-0.3.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="Safe integer operations." -HOMEPAGE="http://code.google.com/p/${PN}/" -SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz" -LICENSE="BSD" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_compile() { - einfo "Nothing to compile." -} - -src_install() { - insinto /usr/include - doins include/safe_iop.h -} diff --git a/apps/media-gfx/brother-brscan2/Manifest b/apps/media-gfx/brother-brscan2/Manifest deleted file mode 100644 index eaa810b..0000000 --- a/apps/media-gfx/brother-brscan2/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST brscan2-0.2.4-0.i386.rpm 74179 RMD160 ed447ebfa12bd0448d1692ae1a601215db045969 SHA1 86ae5326049e610aaab30d06f9c066fefae1cbcb SHA256 5e72834f04622a9f7673c0ed76d2847fff1d31db57415e3629ad13e34701f075 -DIST brscan2-0.2.4-0.x86_64.rpm 85559 RMD160 2d4d9be69c66c8b808f61d56637cbccdc9b6357c SHA1 77d55a81d33e821805b1d2adfecdc28853c99a33 SHA256 bfee8988cd71fb73fe3bb1925689e9a1ff8abaeb97d24c6a662cffc121d7740f -EBUILD brother-brscan2-0.2.4.ebuild 786 RMD160 b66f3dcf8ac53df3360e06efffe0b9739b9deb66 SHA1 5afad81be05851914813ecc7ab4a4fe62e58a950 SHA256 91a33009434d352daa1f8602e464a316f9e7f6c8c417e61a30337390fd41e66c diff --git a/apps/media-gfx/brother-brscan2/brother-brscan2-0.2.4.ebuild b/apps/media-gfx/brother-brscan2/brother-brscan2-0.2.4.ebuild deleted file mode 100644 index 7edbee6..0000000 --- a/apps/media-gfx/brother-brscan2/brother-brscan2-0.2.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit rpm - -KEYWORDS="~amd64 ~x86" -DESCRIPTION="Brother brscan2 scanner driver." -HOMEPAGE="http://solutions.brother.com/linux/en_us/index.html" -SRC_URI="amd64? ( http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_others/64bit/brscan2-${PV}-0.x86_64.rpm ) - x86? ( http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_others/brscan2-${PV}-0.i386.rpm )" -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND=">=media-gfx/sane-backends-1.0.19" - -src_unpack() { - rpm_src_unpack -} - -src_compile() { - echo "Nothing to compile." -} - -src_install() { - cp -Rf "./" "${D}/" -} - -pkg_postinst() { - ${ROOT}usr/local/Brother/sane/setupSaneScan2 -i -} diff --git a/apps/net-print/brother-cups/Manifest b/apps/net-print/brother-cups/Manifest deleted file mode 100644 index d316b61..0000000 --- a/apps/net-print/brother-cups/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST brmfc8860dnlpr-2.0.1-1.i386.rpm 35766 RMD160 a2c434756515374b934b1068b6babbe321975232 SHA1 d0aa0baab117033085707e42df0f8aa58b321a37 SHA256 d5292900d9a9c657af15b7e6766e4562d8d22cde6a9e405924163d85c008f16d -DIST cupswrapperMFC8860DN-2.0.1-1.i386.rpm 13339 RMD160 7a874d0ebe7d69563df3c2330eebc53180108f3a SHA1 7542bc787fd074a136d5f903a087383132ff6318 SHA256 a6fd12076a50e3dfe0b4720319c4f49600d00ab9d61c115a902bcd2dffea610e -EBUILD brother-cups-2.0.1.ebuild 1310 RMD160 a8cf56674cb237b804be087a3d218c4b7ab9bcdd SHA1 52d3666b6ad8f020767acc252957b40a5b6c1d94 SHA256 948923770b5aa328289cac667dd8ef724e6f4b0dbdd9d5b028b76ca306ad5c07 diff --git a/apps/net-print/brother-cups/brother-cups-2.0.1.ebuild b/apps/net-print/brother-cups/brother-cups-2.0.1.ebuild deleted file mode 100644 index 0a7e342..0000000 --- a/apps/net-print/brother-cups/brother-cups-2.0.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -LPR_BASEURI="http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others" -CUPS_BASEURI="http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper" - -inherit rpm - -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="Brother MFC-8860DN CUPS printer driver." -HOMEPAGE="http://solutions.brother.com/linux/en_us/index.html" -SRC_URI="${LPR_BASEURI}/brmfc8860dnlpr-${PV}-1.i386.rpm - ${CUPS_BASEURI}/cupswrapperMFC8860DN-${PV}-1.i386.rpm" -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND=">=net-print/cups-1.3" - -src_unpack() { - rpm_src_unpack -} - -src_compile() { - sed -e "s|/usr/lib/cups/|/usr/libexec/cups/|g" -i usr/local/Brother/cupswrapper/cupswrapperMFC8860DN-${PV} - sed -e "s|/usr/lib64/cups/|/usr/libexec/cups/|g" -i usr/local/Brother/cupswrapper/cupswrapperMFC8860DN-${PV} -} - -src_install() { - cp -Rf "./" "${D}/" -} - -pkg_postinst() { - ${ROOT}usr/local/Brother/inf/setupPrintcap MFC8860DN -i USB - ${ROOT}usr/local/Brother/inf/braddprinter -i MFC8860DN - echo "[psconvert2]" >> ${ROOT}usr/local/Brother/inf/brMFC8860DNfunc - echo "pstops=`which pstops`" >> ${ROOT}usr/local/Brother/inf/brMFC8860DNfunc - - ${ROOT}usr/local/Brother/cupswrapper/cupswrapperMFC8860DN-${PV} -i -} diff --git a/apps/profiles/categories b/apps/profiles/categories deleted file mode 100644 index 312ffbd..0000000 --- a/apps/profiles/categories +++ /dev/null @@ -1 +0,0 @@ -dev-eiffel diff --git a/apps/profiles/repo_name b/apps/profiles/repo_name deleted file mode 100644 index 69e1550..0000000 --- a/apps/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -chtekk-apps diff --git a/apps/sys-apps/areca-cli/Manifest b/apps/sys-apps/areca-cli/Manifest deleted file mode 100644 index 965baa8..0000000 --- a/apps/sys-apps/areca-cli/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST V1.80A_71012.zip 1132839 RMD160 2398e18f662c808a81dcc55433e52b7aa63aaa88 SHA1 0f6dfbf9e9d193c3a516210f7ebd43b9176db5e5 SHA256 3b63bf9a78c91970ec1e2ef1e2b4258cb6977e9f3e0f7f3496ff5ffed1075b64 -DIST v1.82_81103.zip 1213820 RMD160 a2f7439f3356158de6d1ff4925b36fd9b3938fa5 SHA1 e8816d6829796562bb8f6037c740b277ed9f0780 SHA256 77a51f4fe4848c49af04771bd105df0e115eae7774179163ba6be46f7316c912 -EBUILD areca-cli-1.80.71012.ebuild 662 RMD160 ca5302483a50cf716190c401da743b0ca20c05c4 SHA1 9cc67490cf6853dd285a40e16480a73d23a601b8 SHA256 8430f416b7a8266bbc416e80b692d66df74186d513e5444950712d4c94d48dea -EBUILD areca-cli-1.82.81103.ebuild 665 RMD160 e1fdd15aa69282477f45a6cd9ea34ef50c55acd3 SHA1 a8be9a7292183b82a0cae08b0a3f7f4c73f23a62 SHA256 d91e3aa4ce4f68d54465e6d454b9e87854587aa39e18d9162c7061bad984f1d1 diff --git a/apps/sys-apps/areca-cli/areca-cli-1.80.71012.ebuild b/apps/sys-apps/areca-cli/areca-cli-1.80.71012.ebuild deleted file mode 100644 index c930a68..0000000 --- a/apps/sys-apps/areca-cli/areca-cli-1.80.71012.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="-* ~amd64 ~x86" - -MY_PV="V1.80A_71012" - -DESCRIPTION="Areca RaidCard CLI tools for amd64 and x86." -HOMEPAGE="http://www.areca.com.tw/support/main.htm" -SRC_URI="ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/CLI/${MY_PV}.zip" -LICENSE="areca" -SLOT="0" -IUSE="" -RESTRICT="strip" - -S="${WORKDIR}/${MY_PV}" - -DEPEND="app-arch/unzip" -RDEPEND="" - -src_install() { - if use amd64 ; then - newsbin "x86-64/cli64" "${PN}" - elif use x86 ; then - newsbin "i386/cli32" "${PN}" - else - eerror "Invalid ARCH, there are no Areca tools for you!" - fi -} diff --git a/apps/sys-apps/areca-cli/areca-cli-1.82.81103.ebuild b/apps/sys-apps/areca-cli/areca-cli-1.82.81103.ebuild deleted file mode 100644 index a23e2ea..0000000 --- a/apps/sys-apps/areca-cli/areca-cli-1.82.81103.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="-* ~amd64 ~x86" - -MY_PV="v1.82_81103" - -DESCRIPTION="Areca RaidCard CLI tools for amd64 and x86." -HOMEPAGE="http://www.areca.com.tw/support/main.htm" -SRC_URI="ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/CLI/${MY_PV}.zip" -LICENSE="areca" -SLOT="0" -IUSE="" -RESTRICT="strip" - -S="${WORKDIR}/${MY_PV/v/V}" - -DEPEND="app-arch/unzip" -RDEPEND="" - -src_install() { - if use amd64 ; then - newsbin "x86-64/cli64" "${PN}" - elif use x86 ; then - newsbin "i386/cli32" "${PN}" - else - eerror "Invalid ARCH, there are no Areca tools for you!" - fi -} diff --git a/apps/sys-apps/areca-http/Manifest b/apps/sys-apps/areca-http/Manifest deleted file mode 100644 index 89d42bb..0000000 --- a/apps/sys-apps/areca-http/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX areca-http-initd 608 RMD160 cdf0538aff23565a6f655fc023b5ea7505f04ab4 SHA1 d3c045a464d6af5fa4bcec457d8210e617bd4414 SHA256 26e8510ca49cac6e582d0f43ca20c0d78626be324f210a5d76419974b88384a1 -DIST v1.82_70911.zip 1177354 RMD160 b63ec1b0f229faa028286755b3d1ffa256a4c32d SHA1 7bfe4934a273a53df2963704b70d7ccb4b0b35de SHA256 04fd312810dacad4789a2abb3f0d971874487943982236e6429d1e33845e8eea -DIST v1.83_81103.zip 1245545 RMD160 80f6a6d99c36457015e7b745cfd5f3802231c857 SHA1 46200ace46ba172354ed56ee40751e4f146c53f6 SHA256 12d0399b17dd4e3a7e96ac35f0edd5d4b58326025a1676542527dd786e355101 -EBUILD areca-http-1.82.70911.ebuild 715 RMD160 d6d82bc1f30542e7480f8c55ccfebd833fbeb58c SHA1 dfcfe689724db10f6a0d2ca7b14412e1b5db737f SHA256 4b7fd1770a68bd402a1d87312acb3e25ae9925864d8ec8f8cb493968253a45e1 -EBUILD areca-http-1.83.81103.ebuild 715 RMD160 f32beb5e660adbcb94bc13d567ca491f6822577d SHA1 f8c86b6599c559df891bc77edf6d61cd593c4a6c SHA256 8a715f5ced4a47e591aada34cda5939c4e3676358a92c49b32030dd072dc7779 diff --git a/apps/sys-apps/areca-http/areca-http-1.82.70911.ebuild b/apps/sys-apps/areca-http/areca-http-1.82.70911.ebuild deleted file mode 100644 index 06d2aec..0000000 --- a/apps/sys-apps/areca-http/areca-http-1.82.70911.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="-* ~amd64 ~x86" - -MY_PV="v1.82_70911" - -DESCRIPTION="Areca RaidCard HTTPd for amd64 and x86." -HOMEPAGE="http://www.areca.com.tw/support/main.htm" -SRC_URI="ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/HTTP/${MY_PV}.zip" -LICENSE="areca" -SLOT="0" -IUSE="" -RESTRICT="strip" - -S="${WORKDIR}/${MY_PV/v/V}" - -DEPEND="app-arch/unzip" -RDEPEND="" - -src_install() { - if use amd64 ; then - newsbin "x86-64/archttp64" "${PN}" - elif use x86 ; then - newsbin "i386/archttp32" "${PN}" - else - eerror "Invalid ARCH, there are no Areca tools for you!" - fi - - newinitd "${FILESDIR}/${PN}-initd" "${PN}" -} diff --git a/apps/sys-apps/areca-http/areca-http-1.83.81103.ebuild b/apps/sys-apps/areca-http/areca-http-1.83.81103.ebuild deleted file mode 100644 index e41075d..0000000 --- a/apps/sys-apps/areca-http/areca-http-1.83.81103.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -KEYWORDS="-* ~amd64 ~x86" - -MY_PV="v1.83_81103" - -DESCRIPTION="Areca RaidCard HTTPd for amd64 and x86." -HOMEPAGE="http://www.areca.com.tw/support/main.htm" -SRC_URI="ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/HTTP/${MY_PV}.zip" -LICENSE="areca" -SLOT="0" -IUSE="" -RESTRICT="strip" - -S="${WORKDIR}/${MY_PV/v/V}" - -DEPEND="app-arch/unzip" -RDEPEND="" - -src_install() { - if use amd64 ; then - newsbin "x86-64/archttp64" "${PN}" - elif use x86 ; then - newsbin "i386/archttp32" "${PN}" - else - eerror "Invalid ARCH, there are no Areca tools for you!" - fi - - newinitd "${FILESDIR}/${PN}-initd" "${PN}" -} diff --git a/apps/sys-apps/areca-http/files/areca-http-initd b/apps/sys-apps/areca-http/files/areca-http-initd deleted file mode 100644 index 7a4a1fe..0000000 --- a/apps/sys-apps/areca-http/files/areca-http-initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net -} - -start() { - ebegin "Starting ${SVCNAME}" - - if [[ -f "/var/run/${SVCNAME}.pid" ]] ; then - rm -f "/var/run/${SVCNAME}.pid" - fi - - start-stop-daemon \ - --start \ - --background \ - --make-pidfile \ - --pidfile "/var/run/${SVCNAME}.pid" \ - --exec /usr/sbin/areca-http - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - - start-stop-daemon \ - --stop \ - --signal 9 \ - --pidfile "/var/run/${SVCNAME}.pid" \ - --exec /usr/sbin/areca-http - eend $? -} diff --git a/coda/net-fs/coda/Manifest b/coda/net-fs/coda/Manifest deleted file mode 100644 index 12512fb..0000000 --- a/coda/net-fs/coda/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX auth2 604 RMD160 eb4336656492f22541e79c6854130ae46bee287d SHA1 4af20753da5c61666b9aff5fcec07f596af851b2 SHA256 f3da3e16eed06fb3a8d6949bbc0557b009232dcfee812afd79b38a494bd916a4 -AUX coda-6.9.3-gentoo-dirs.patch 11035 RMD160 628dea7bf66c897110693ba17da2bd35971753ed SHA1 e55be90dd9a3df2248fcd5b32e4cdfec104e0ead SHA256 d3765e414149c56dbfc6c58c09395fcaa41a76a0189db2708863afcef128435c -AUX coda-update 929 RMD160 17dc273447dcf9c80ccba62625e065298f5a863f SHA1 4be4d18b8d4c8f3da070e1072250b37f30b8f37d SHA256 ad62ed9fa6d78da0a334a4b72597beb74d8920365f53d084fde56d06f9af2d12 -AUX codasrv 528 RMD160 bacac42bcf31c659f10c2dec76a2cc66b1da2d55 SHA1 a7be5983aab0a6d8d86ca97064257a99818fa0d2 SHA256 5239f678bf5be56d61ead907c7ad0992baaf6328d9b750bc0061225a718e1a70 -AUX venus 566 RMD160 7938eeea4decdd21ed05570ff3d19ce598e6a32e SHA1 75656ccd579dce627b5e7e11e98b7127cd1d5262 SHA256 63f7d6f4f7cfc73435b3f16591312d3316c2d5d9906cb88ac7f17fe7c8f399df -DIST coda-6.9.3.tar.gz 1662535 RMD160 c12e30c84471f1d659d48cd1bf2ecaf5f684fe0e SHA1 cc73ac3e6987154ffa1772d4005b7acedc0f0afb SHA256 608a91fd9cea79b0b77511f47dc29d176f66898b9a0ef1856f8bafa3cc53d320 -EBUILD coda-6.9.3.ebuild 2235 RMD160 e541b178b5774250af0f55038d4f72b397d70f76 SHA1 c87806a14db7d683d883fc67500a580bfceb2de3 SHA256 91fb4522194de5519ac875b387cea8fe6d4cc214671510ad8ef1c4f9d7fea30e -MISC metadata.xml 250 RMD160 6aa4816072481129f87c0eb8a85c6a15287da965 SHA1 a8f9a0fb13692c19c95e700e32796c147c6c7804 SHA256 1ed32cc76b9bd8664c2bfd7d84f4186b444d5d39659b40523d0bc27e0ebb9846 diff --git a/coda/net-fs/coda/coda-6.9.3.ebuild b/coda/net-fs/coda/coda-6.9.3.ebuild deleted file mode 100644 index 7f5965d..0000000 --- a/coda/net-fs/coda/coda-6.9.3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit autotools eutils - -KEYWORDS="~amd64 ~ppc ~x86" - -DESCRIPTION="Coda is an advanced networked filesystem developed at Carnegie Mellon Uni." -HOMEPAGE="http://www.coda.cs.cmu.edu/" -SRC_URI="http://www.coda.cs.cmu.edu/pub/${PN}/src/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -IUSE="kerberos server" - -RDEPEND=">=sys-libs/lwp-2.4 - >=net-libs/rpc2-2.7 - >=sys-libs/rvm-1.15 - >=sys-libs/db-4.2 - >=sys-libs/ncurses-5.4 - >=sys-libs/readline-5.0 - dev-lang/perl - kerberos? ( virtual/krb5 )" - -DEPEND="${RDEPEND} - virtual/os-headers" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}/${P}-gentoo-dirs.patch" -} - -src_compile() { - local myconf="--enable-client" - - use server && myconf="${myconf} --enable-server" - use kerberos && myconf="${myconf} --with-crypto --with-krb5" - - econf ${myconf} || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc INSTALL* README* - - rm -Rf "${D}"/etc/init.d - doinitd "${FILESDIR}"/venus - if use server ; then - doinitd "${FILESDIR}"/auth2 - doinitd "${FILESDIR}"/coda-update - doinitd "${FILESDIR}"/codasrv - fi - - # Fix conflict with backup.sh from tar. - mv -f "${D}"/usr/sbin/backup{,-coda}.sh - - # Add Gentoo specific dirs. - if use server ; then - dodir /var/lib/vice - dodir /mnt/vicepa - fi - dodir /var/lib/coda/spool - dodir /mnt/coda - - diropts -m0700 - dodir /var/lib/coda/etc - dodir /var/lib/coda/venus.cache - - # Symlink traditional Coda dirs to Gentoo dirs. - if use server ; then - dosym /var/lib/vice /vice - dosym /mnt/vicepa /vicepa - fi - dosym /var/lib/coda /usr/coda - dosym /mnt/coda /coda -} - -pkg_postinst() { - if use server ; then - elog "To configure the coda server, run vice-setup." - elog "To enable the coda server at boot up, please do:" - elog " rc-update add auth2 default" - elog " rc-update add coda-update default" - elog " rc-update add codasrv default" - elog - fi - elog "To configure the coda client, run venus-setup." - elog "To enable the coda client at boot up, please do:" - elog " rc-update add venus default" -} diff --git a/coda/net-fs/coda/files/auth2 b/coda/net-fs/coda/files/auth2 deleted file mode 100644 index 8b18727..0000000 --- a/coda/net-fs/coda/files/auth2 +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net - use logger - after domainname -} - -start() { - if [[ "`cat /var/lib/vice/hostname`" != "`cat /var/lib/vice/db/scm`" ]] ; then - CHK="-chk" - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --background \ - --pidfile /var/lib/vice/auth2/pid --make-pidfile \ - --exec /usr/sbin/auth2 -- ${CHK} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop \ - --pidfile /var/lib/vice/auth2/pid \ - --name auth2 - eend $? -} diff --git a/coda/net-fs/coda/files/coda-6.9.3-gentoo-dirs.patch b/coda/net-fs/coda/files/coda-6.9.3-gentoo-dirs.patch deleted file mode 100644 index c023335..0000000 --- a/coda/net-fs/coda/files/coda-6.9.3-gentoo-dirs.patch +++ /dev/null @@ -1,332 +0,0 @@ -diff -Nru coda-6.9.3/coda-src/scripts/bldvldb.sh.in coda-6.9.3-gt/coda-src/scripts/bldvldb.sh.in ---- coda-6.9.3/coda-src/scripts/bldvldb.sh.in 2004-03-05 22:12:44.000000000 +0100 -+++ coda-6.9.3-gt/coda-src/scripts/bldvldb.sh.in 2008-07-12 23:15:47.141740587 +0200 -@@ -28,7 +28,7 @@ - fi - - if [ x${vicedir} = x ] ; then -- vicedir=/vice -+ vicedir=/var/lib/vice - fi - - THISHOST=`hostname | tr A-Z a-z` -diff -Nru coda-6.9.3/coda-src/scripts/coda-server-logrotate coda-6.9.3-gt/coda-src/scripts/coda-server-logrotate ---- coda-6.9.3/coda-src/scripts/coda-server-logrotate 2003-08-04 20:09:58.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/coda-server-logrotate 2008-07-12 23:15:53.629741210 +0200 -@@ -3,7 +3,7 @@ - # Simple logrotation for Coda server logfiles - # - --vicedir=/vice -+vicedir=/var/lib/vice - . "`codaconfedit server.conf`" - - srvdir="${vicedir}/srv" -diff -Nru coda-6.9.3/coda-src/scripts/codastart coda-6.9.3-gt/coda-src/scripts/codastart ---- coda-6.9.3/coda-src/scripts/codastart 2006-09-19 19:48:57.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/codastart 2008-07-12 23:16:40.249741012 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh --if [ "`cat /vice/hostname`" = "`cat /vice/db/scm`" ] -+if [ "`cat /var/lib/vice/hostname`" = "`cat /var/lib/vice/db/scm`" ] - then - updatesrv & - auth2 & - else - auth2 -chk & - fi --updateclnt -h `grep '' /vice/db/scm` & -+updateclnt -h `grep '' /var/lib/vice/db/scm` & - startserver - -diff -Nru coda-6.9.3/coda-src/scripts/createvol_rep.in coda-6.9.3-gt/coda-src/scripts/createvol_rep.in ---- coda-6.9.3/coda-src/scripts/createvol_rep.in 2007-06-26 18:18:28.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/createvol_rep.in 2008-07-12 23:17:29.601740626 +0200 -@@ -32,7 +32,7 @@ - export PATH - - # load the server configuration file --vicedir=/vice -+vicedir=/var/lib/vice - . "`@sbindir@/codaconfedit server.conf`" - - if [ ! -f ${vicedir}/hostname -o ! -f ${vicedir}/db/scm ] ; then -diff -Nru coda-6.9.3/coda-src/scripts/purgevol_rep.in coda-6.9.3-gt/coda-src/scripts/purgevol_rep.in ---- coda-6.9.3/coda-src/scripts/purgevol_rep.in 2005-05-04 14:13:41.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/purgevol_rep.in 2008-07-12 23:18:23.829740822 +0200 -@@ -24,7 +24,7 @@ - export PATH - - # load the server configuration file --vicedir=/vice -+vicedir=/var/lib/vice - . "`@sbindir@/codaconfedit server.conf`" - - SCM=`cat ${vicedir}/db/scm` -diff -Nru coda-6.9.3/coda-src/scripts/startserver.in coda-6.9.3-gt/coda-src/scripts/startserver.in ---- coda-6.9.3/coda-src/scripts/startserver.in 2004-10-26 23:36:43.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/startserver.in 2008-07-12 23:18:54.541741263 +0200 -@@ -30,7 +30,7 @@ - fi - - if [ x${vicedir} = x ]; then -- vicedir=/vice -+ vicedir=/var/lib/vice - fi - - # Rotate logfiles -diff -Nru coda-6.9.3/coda-src/scripts/venus-setup.in coda-6.9.3-gt/coda-src/scripts/venus-setup.in ---- coda-6.9.3/coda-src/scripts/venus-setup.in 2007-08-10 20:02:24.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/venus-setup.in 2008-07-12 23:22:24.537741513 +0200 -@@ -65,16 +65,16 @@ - #fi - - # default paths --errorlog=/usr/coda/etc/console --cachedir=/usr/coda/venus.cache --checkpointdir=/usr/coda/spool --logfile=/usr/coda/etc/venus.log --marinersocket=/usr/coda/spool/mariner --pid_file=/usr/coda/venus.cache/pid --run_control_file=/usr/coda/venus.cache/VENUS_CTRL --rvm_log=/usr/coda/LOG --rvm_data=/usr/coda/DATA --mountpoint=/coda -+errorlog=/var/lib/coda/etc/console -+cachedir=/var/lib/coda/venus.cache -+checkpointdir=/var/lib/coda/spool -+logfile=/var/lib/coda/etc/venus.log -+marinersocket=/var/lib/coda/spool/mariner -+pid_file=/var/lib/coda/venus.cache/pid -+run_control_file=/var/lib/coda/venus.cache/VENUS_CTRL -+rvm_log=/var/lib/coda/LOG -+rvm_data=/var/lib/coda/DATA -+mountpoint=/mnt/coda - - # override with user defined paths - if [ x${conf} != x/dev/null ] ; then -@@ -224,8 +224,8 @@ - # next run will always initialize - touch $cachedir/INIT - --if [ -f /usr/coda/etc/vstab ] ; then -- echo "To avoid confusion, remove /usr/coda/etc/vstab, we have switched to" -+if [ -f /var/lib/coda/etc/vstab ] ; then -+ echo "To avoid confusion, remove /var/lib/coda/etc/vstab, we have switched to" - echo "the /etc/coda/venus.conf file for configuring the client." - fi - -diff -Nru coda-6.9.3/coda-src/scripts/vice-setup-rvm.in coda-6.9.3-gt/coda-src/scripts/vice-setup-rvm.in ---- coda-6.9.3/coda-src/scripts/vice-setup-rvm.in 2006-09-19 19:35:02.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/vice-setup-rvm.in 2008-07-12 23:23:28.909741348 +0200 -@@ -42,7 +42,7 @@ - # - - # defaults, will be overridden by settings in the server.conf file --vicedir=/vice -+vicedir=/var/lib/vice - - prefix=@prefix@ - exec_prefix=@exec_prefix@ -diff -Nru coda-6.9.3/coda-src/scripts/vice-setup-scm coda-6.9.3-gt/coda-src/scripts/vice-setup-scm ---- coda-6.9.3/coda-src/scripts/vice-setup-scm 2005-09-01 23:59:24.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/vice-setup-scm 2008-07-12 23:23:46.517741267 +0200 -@@ -36,7 +36,7 @@ - . "`codaconfedit server.conf`" - - if [ x${vicedir} = x ] ; then -- vicedir=/vice -+ vicedir=/var/lib/vice - fi - - # current first maximum replicated volume id (0x7f000000) -diff -Nru coda-6.9.3/coda-src/scripts/vice-setup-srvdir coda-6.9.3-gt/coda-src/scripts/vice-setup-srvdir ---- coda-6.9.3/coda-src/scripts/vice-setup-srvdir 2005-09-01 23:59:24.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/vice-setup-srvdir 2008-07-12 23:24:28.813741293 +0200 -@@ -28,7 +28,7 @@ - # - # Configuration - # --vicedir=/vice -+vicedir=/var/lib/vice - numservers=1 - . "`codaconfedit server.conf`" - -@@ -73,15 +73,15 @@ - echo - - if [ $numservers -gt 1 ]; then -- echon "Where shall we store your file data for server $n ($hn) [/vicepa]? " -+ echon "Where shall we store your file data for server $n ($hn) [/mnt/vicepa]? " - else -- echon 'Where shall we store your file data [/vicepa]? ' -+ echon 'Where shall we store your file data [/mnt/vicepa]? ' - fi - srvdir= - read srvdir - - if [ "x$srvdir" = x ]; then -- srvdir=/vicepa -+ srvdir=/mnt/vicepa - fi - - # Create the directory if needed. (Symlink is OK.) -diff -Nru coda-6.9.3/coda-src/scripts/vice-setup-user coda-6.9.3-gt/coda-src/scripts/vice-setup-user ---- coda-6.9.3/coda-src/scripts/vice-setup-user 2004-12-22 16:06:25.000000000 +0100 -+++ coda-6.9.3-gt/coda-src/scripts/vice-setup-user 2008-07-12 23:24:51.889740616 +0200 -@@ -31,7 +31,7 @@ - # - # Configuration - # --vicedir=/vice -+vicedir=/var/lib/vice - . "`codaconfedit server.conf`" - - # Set up password and group files for Coda -diff -Nru coda-6.9.3/coda-src/scripts/vice-setup.in coda-6.9.3-gt/coda-src/scripts/vice-setup.in ---- coda-6.9.3/coda-src/scripts/vice-setup.in 2007-07-20 23:34:49.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/scripts/vice-setup.in 2008-07-12 23:25:43.881740900 +0200 -@@ -122,12 +122,12 @@ - fi - fi - --echon "What is the root directory for your coda server(s)? [/vice] " -+echon "What is the root directory for your coda server(s)? [/var/lib/vice] " - vicedir="" - read vicedir - - if [ "x$vicedir" = x ] ; then -- vicedir=/vice -+ vicedir=/var/lib/vice - fi - - if [ $mkconf = 1 ] ; then -@@ -410,7 +410,7 @@ - echo "That seems to have worked..." - echo "If you have a working Coda client you should now be able to" - echo "access the new Coda realm" -- echo " - cfs lv /coda/${hn}/" -+ echo " - cfs lv /mnt/coda/${hn}/" - fi - echo - echo "enjoy Coda." -@@ -444,7 +444,7 @@ - echo "After that, there is still some configuration needed on the SCM before" - echo "this server can be started." - echo --echo "An entry for this host is needed in /vice/db/servers" -+echo "An entry for this host is needed in /var/lib/vice/db/servers" - echo "Then all servers need to be shut down and restarted, as they need to" - echo "know about the new server." - echo "After all that it _should_ be ok to start the new server and create" -diff -Nru coda-6.9.3/coda-src/venus/venus.conf.ex coda-6.9.3-gt/coda-src/venus/venus.conf.ex ---- coda-6.9.3/coda-src/venus/venus.conf.ex 2007-10-17 21:26:34.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/venus/venus.conf.ex 2008-07-12 22:53:43.817740642 +0200 -@@ -20,7 +20,7 @@ - # Which file is used for realm lookups, before we look at dns SRV and A - # records. - # --#realmtab=/etc/coda/realms -+realmtab=/etc/coda/realms - - # - # What should the size of the local cache be in 1k blocks. If this is -@@ -55,9 +55,9 @@ - - # - # Which file should receive venus's stderr output. --# (default is /usr/coda/etc/console). -+# (default is /var/lib/coda/etc/console). - # --#errorlog=/usr/coda/etc/console -+errorlog=/var/lib/coda/etc/console - - # - # What is the uid of the primary user of this system. The primary user -@@ -72,43 +72,43 @@ - - # - # What are the locations of the rvm log and data files or partitions. --# (default /usr/coda/{LOG,DATA} -+# (default /var/lib/coda/{LOG,DATA} - # - # CAUTION: these are _unrelated_ to the server's rvm log and data. Also - # when specifying partitions, do NOT specify any partions which might - # have an existing filesystem, as you WILL lose all data during - # initialization. - # --#rvm_log=/usr/coda/LOG --#rvm_data=/usr/coda/DATA -+rvm_log=/var/lib/coda/LOG -+rvm_data=/var/lib/coda/DATA - - # - # Where should venus keep it's pool of cached files. --# (default is /usr/coda/venus.cache) -+# (default is /var/lib/coda/venus.cache) - # --#cachedir=/usr/coda/venus.cache -+cachedir=/var/lib/coda/venus.cache - - # - # Where should venus store snapshots of the modification logs. This is - # primarily to provide some safe fallback when venus dies or messes up --# the CML during reintegration. (default is /usr/coda/spool) -+# the CML during reintegration. (default is /var/lib/coda/spool) - # --#checkpointdir=/usr/coda/spool -+checkpointdir=/var/lib/coda/spool - - # - # Where does venus store it's pidfile - # --#pid_file=/usr/coda/venus.cache/pid -+pid_file=/var/lib/coda/venus.cache/pid - - # - # What file does vutil use to control venus - # --#run_control_file=/usr/coda/venus.cache/VENUS_CTRL -+run_control_file=/var/lib/coda/venus.cache/VENUS_CTRL - - # - # Venus log file - # --#logfile=/usr/coda/etc/venus.log -+logfile=/var/lib/coda/etc/venus.log - - # - # Mariner socket, -@@ -116,7 +116,7 @@ - # codacon and spy use to talk to venus. On other platforms they will - # connect to venus through tcp port 2430. - # --#marinersocket=/usr/coda/spool/mariner -+marinersocket=/var/lib/coda/spool/mariner - - # - # Dont use RVM, -@@ -271,3 +271,11 @@ - # - #isr=0 - -+# Mountpoint -+# Where the coda filesystem is mounted, many application still depend on -+# this being /coda. I am unsure whether it matters much on Windows95/98, -+# but we normally use N: for those. -+# -+#mountpoint=N: -+#mountpoint=/coda -+mountpoint=/mnt/coda -diff -Nru coda-6.9.3/coda-src/vice/server.conf.ex coda-6.9.3-gt/coda-src/vice/server.conf.ex ---- coda-6.9.3/coda-src/vice/server.conf.ex 2007-06-26 18:18:19.000000000 +0200 -+++ coda-6.9.3-gt/coda-src/vice/server.conf.ex 2008-07-12 22:54:43.185740582 +0200 -@@ -11,7 +11,7 @@ - # - # Prefix of server tree - # --#vicedir=/vice -+vicedir=/var/lib/vice - - # - # Should the server use private mmaps for RVM diff --git a/coda/net-fs/coda/files/coda-update b/coda/net-fs/coda/files/coda-update deleted file mode 100644 index b1fc1b6..0000000 --- a/coda/net-fs/coda/files/coda-update +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net auth2 - use logger - after domainname -} - -start() { - if [[ "`cat /var/lib/vice/hostname`" == "`cat /var/lib/vice/db/scm`" ]] ; then - ebegin "Starting updatesrv" - start-stop-daemon --start --background \ - --pidfile /var/lib/vice/misc/updatesrv.pid \ - --exec /usr/sbin/updatesrv - eend $? - fi - - ebegin "Starting updateclnt" - start-stop-daemon --start --background \ - --pidfile /var/lib/vice/misc/updateclnt.pid \ - --exec /usr/sbin/updateclnt -- -h `cat /var/lib/vice/db/scm` - eend $? -} - -stop() { - ebegin "Stopping updatesrv" - start-stop-daemon --stop \ - --pidfile /var/lib/vice/misc/updatesrv.pid \ - --name updatesrv - eend $? - - ebegin "Stopping updateclnt" - start-stop-daemon --stop \ - --pidfile /var/lib/vice/misc/updateclnt.pid \ - --name updateclnt - eend $? -} diff --git a/coda/net-fs/coda/files/codasrv b/coda/net-fs/coda/files/codasrv deleted file mode 100644 index 349020b..0000000 --- a/coda/net-fs/coda/files/codasrv +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net coda-update auth2 - use logger - after domainname -} - -start() { - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --background \ - --exec /usr/sbin/codasrv - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - volmsg=`/usr/sbin/volutil shutdown 2>&1` || echo "${volmsg}" - start-stop-daemon --stop \ - --retry 30/TERM --oknodo \ - --exec /usr/sbin/codasrv - eend $? -} diff --git a/coda/net-fs/coda/files/venus b/coda/net-fs/coda/files/venus deleted file mode 100644 index 4b58c7d..0000000 --- a/coda/net-fs/coda/files/venus +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net - after codasrv domainname -} - -start() { - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --background \ - --pidfile /var/lib/coda/venus.cache/pid --make-pidfile \ - --exec /usr/sbin/venus - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop \ - --pidfile /var/lib/coda/venus.cache/pid \ - --name venus - eend $? - - ebegin "Unmounting /mnt/coda" - umount -l /mnt/coda - eend $? -} diff --git a/coda/net-fs/coda/metadata.xml b/coda/net-fs/coda/metadata.xml deleted file mode 100644 index fde0080..0000000 --- a/coda/net-fs/coda/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-fs</herd> -<maintainer> - <email>chtekk@gentoo.org</email> - <name>Luca Longinotti</name> -</maintainer> -</pkgmetadata> diff --git a/coda/net-libs/rpc2/Manifest b/coda/net-libs/rpc2/Manifest deleted file mode 100644 index 408227c..0000000 --- a/coda/net-libs/rpc2/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST rpc2-2.7.tar.gz 624013 RMD160 d57410399424a08e6a016c4cf517454f6ae3961f SHA1 adcb2eb324d18f8da88b3e7e85ec4551b1591372 SHA256 39ac1b27384cb6529b48986fa3a72687914b67d152ed47ba8ba5342b324dd60d -EBUILD rpc2-2.7.ebuild 641 RMD160 f0de2d9f4713d17758b7ecb38efcb6f30d68badd SHA1 05db001695747383b0b13ad9ad20be6b6930765a SHA256 fc04825bf9a3f4af18b6bdfdfeaf4b2d97a19713833aedd5ccea3e7dfe9b8f33 -MISC metadata.xml 250 RMD160 6aa4816072481129f87c0eb8a85c6a15287da965 SHA1 a8f9a0fb13692c19c95e700e32796c147c6c7804 SHA256 1ed32cc76b9bd8664c2bfd7d84f4186b444d5d39659b40523d0bc27e0ebb9846 diff --git a/coda/net-libs/rpc2/metadata.xml b/coda/net-libs/rpc2/metadata.xml deleted file mode 100644 index fde0080..0000000 --- a/coda/net-libs/rpc2/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-fs</herd> -<maintainer> - <email>chtekk@gentoo.org</email> - <name>Luca Longinotti</name> -</maintainer> -</pkgmetadata> diff --git a/coda/net-libs/rpc2/rpc2-2.7.ebuild b/coda/net-libs/rpc2/rpc2-2.7.ebuild deleted file mode 100644 index e8138ea..0000000 --- a/coda/net-libs/rpc2/rpc2-2.7.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit autotools - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" - -DESCRIPTION="Remote procedure call package for IP/UDP (used by Coda)." -HOMEPAGE="http://www.coda.cs.cmu.edu/" -SRC_URI="http://www.coda.cs.cmu.edu/pub/${PN}/src/${P}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="" - -RDEPEND=">=sys-libs/lwp-2.4" -DEPEND="${RDEPEND} - dev-lang/perl" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS NEWS README README.ipv6 -} diff --git a/coda/profiles/repo_name b/coda/profiles/repo_name deleted file mode 100644 index ebf05ad..0000000 --- a/coda/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -chtekk-coda diff --git a/coda/sys-libs/lwp/Manifest b/coda/sys-libs/lwp/Manifest deleted file mode 100644 index 9b1db13..0000000 --- a/coda/sys-libs/lwp/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX lwp-2.4-imp_dec.patch 349 RMD160 ea2f865f59e702d030688393003a34eb65638b1f SHA1 b942f0f96c80e14a832568e0673d8890693a2be2 SHA256 397618636b439217f784cf0ed3f0935fc07dd652351fed5cf01521197b826747 -DIST lwp-2.4.tar.gz 386511 RMD160 963786da9e39ad2182df3994ff8b4050f30d4cd6 SHA1 c15064a9b5991db14cd00ea0bd8528559a28f57b SHA256 2905ea436d6a9bdd18487e05e2cd253d49d98ec18c662a45310b3a2d913b76c9 -EBUILD lwp-2.4.ebuild 703 RMD160 f68d93599dee71bd8e7012c240e3fd5173e003bb SHA1 1cc9bb1b62aee18fd353f5345e2da14c4394b6bc SHA256 24819562ca3b7191cb3b26cfc4c5e6affaf458ad183bfc9838758b6e298cf71c -MISC metadata.xml 250 RMD160 6aa4816072481129f87c0eb8a85c6a15287da965 SHA1 a8f9a0fb13692c19c95e700e32796c147c6c7804 SHA256 1ed32cc76b9bd8664c2bfd7d84f4186b444d5d39659b40523d0bc27e0ebb9846 diff --git a/coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch b/coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch deleted file mode 100644 index 2158f5b..0000000 --- a/coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lwp-2.4/src/lwp_ucontext.c 2006-07-19 21:52:24.000000000 +0200 -+++ lwp-2.4/src/lwp_ucontext.c 2008-07-12 19:01:57.865778827 +0200 -@@ -18,6 +18,8 @@ - #include <stdlib.h> - #include <assert.h> - #include <stdarg.h> -+#include <string.h> -+#include <unistd.h> - #include "lwp_ucontext.h" - - /* if we already have ucontext.h we don't need any of this */ diff --git a/coda/sys-libs/lwp/lwp-2.4.ebuild b/coda/sys-libs/lwp/lwp-2.4.ebuild deleted file mode 100644 index 23ae4e6..0000000 --- a/coda/sys-libs/lwp/lwp-2.4.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit autotools eutils - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" - -DESCRIPTION="Lightweight process library (used by Coda). This is NOT libwww-perl." -HOMEPAGE="http://www.coda.cs.cmu.edu/" -SRC_URI="http://www.coda.cs.cmu.edu/pub/${PN}/src/${P}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}/${P}-imp_dec.patch" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS NEWS PORTING README -} diff --git a/coda/sys-libs/lwp/metadata.xml b/coda/sys-libs/lwp/metadata.xml deleted file mode 100644 index fde0080..0000000 --- a/coda/sys-libs/lwp/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-fs</herd> -<maintainer> - <email>chtekk@gentoo.org</email> - <name>Luca Longinotti</name> -</maintainer> -</pkgmetadata> diff --git a/coda/sys-libs/rvm/Manifest b/coda/sys-libs/rvm/Manifest deleted file mode 100644 index 5803697..0000000 --- a/coda/sys-libs/rvm/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST rvm-1.15.tar.gz 554417 RMD160 33697e65725fb82d099eaf1fc3bb34b17aa9ab01 SHA1 d4aa3e034cd26812191250982ff4266cc90c0243 SHA256 8edcf5895e5d8a47e40ba4e3ce71cb677de050793ac0e0c0fdad74877bc74540 -EBUILD rvm-1.15.ebuild 598 RMD160 37b64663afd19182d658be8879b8591e4b80ae20 SHA1 b30fc918bd58b8e77a9e52ee7b6dfd9391a4aacf SHA256 5880d77a435920303e4e28144bb3f1d2918316d5e46836ac42da9101bd71f193 -MISC metadata.xml 250 RMD160 6aa4816072481129f87c0eb8a85c6a15287da965 SHA1 a8f9a0fb13692c19c95e700e32796c147c6c7804 SHA256 1ed32cc76b9bd8664c2bfd7d84f4186b444d5d39659b40523d0bc27e0ebb9846 diff --git a/coda/sys-libs/rvm/metadata.xml b/coda/sys-libs/rvm/metadata.xml deleted file mode 100644 index fde0080..0000000 --- a/coda/sys-libs/rvm/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-fs</herd> -<maintainer> - <email>chtekk@gentoo.org</email> - <name>Luca Longinotti</name> -</maintainer> -</pkgmetadata> diff --git a/coda/sys-libs/rvm/rvm-1.15.ebuild b/coda/sys-libs/rvm/rvm-1.15.ebuild deleted file mode 100644 index 28518bd..0000000 --- a/coda/sys-libs/rvm/rvm-1.15.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit autotools - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" - -DESCRIPTION="Recoverable Virtual Memory (used by Coda)." -HOMEPAGE="http://www.coda.cs.cmu.edu/" -SRC_URI="http://www.coda.cs.cmu.edu/pub/${PN}/src/${P}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="" - -DEPEND=">=sys-libs/lwp-2.4" -RDEPEND="${DEPEND}" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS NEWS README -} diff --git a/syscp/patches/gentoo-config-files/bind-ssl/etc_libnss-mysql-root.cfg b/syscp/patches/gentoo-config-files/bind-ssl/etc_libnss-mysql-root.cfg deleted file mode 100644 index 6498977..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/etc_libnss-mysql-root.cfg +++ /dev/null @@ -1,2 +0,0 @@ -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> diff --git a/syscp/patches/gentoo-config-files/bind-ssl/etc_libnss-mysql.cfg b/syscp/patches/gentoo-config-files/bind-ssl/etc_libnss-mysql.cfg deleted file mode 100644 index d284192..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/etc_libnss-mysql.cfg +++ /dev/null @@ -1,38 +0,0 @@ -getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE uid='%1$u' \ - LIMIT 1 -getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users -getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users -getgrnam SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE groupname='%1$s' \ - LIMIT 1 -getgrgid SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE gid='%1$u' \ - LIMIT 1 -getgrent SELECT groupname,'x',gid \ - FROM ftp_groups -memsbygid SELECT username \ - FROM ftp_users \ - WHERE gid='%1$u' -gidsbymem SELECT gid \ - FROM ftp_users \ - WHERE username='%1$s' - -host <SQL_HOST> -database <SQL_DB> -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> -socket /var/run/mysqld/mysqld.sock diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/bind/etc_bind_default.zone b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/bind/etc_bind_default.zone deleted file mode 100644 index 817b9bc..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/bind/etc_bind_default.zone +++ /dev/null @@ -1,21 +0,0 @@ -$TTL 1W -@ IN SOA ns root ( - 2004060501 ; serial - 8H ; refresh - 2H ; retry - 1W ; expiry - 11h) ; minimum - - IN NS ns - IN MX 10 mail - - IN A <SERVERIP> - IN MX 10 mail - -* IN A <SERVERIP> - IN MX 10 mail - -ns IN A <SERVERIP> - -mail IN A <SERVERIP> - IN MX 10 mail diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_imapd b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_imapd deleted file mode 100644 index f594e41..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_imapd +++ /dev/null @@ -1,376 +0,0 @@ -##VERSION: $Id: imapd.dist.in,v 1.32 2004/11/25 04:57:04 mrsam Exp $ -# -# imapd created from imapd.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used with the couriertcpd server. -# A lot of the stuff here is documented in the manual page for couriertcpd. -# -# NOTE - do not use \ to split long variable contents on multiple lines. -# This will break the default imapd.rc script, which parses this file. -# -##NAME: ADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# ADDRESS=127.0.0.1 - -ADDRESS=0 - -##NAME: PORT:1 -# -# Port numbers that connections are accepted on. The default is 143, -# the standard IMAP port. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possible to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The previous ADDRESS setting is a default for ports that do not have -# a specified IP address. - -PORT=143 - -##NAME: AUTHSERVICE:0 -# -# It's possible to authenticate using a different 'service' parameter -# depending on the connection's port. This only works with authentication -# modules that use the 'service' parameter, such as PAM. Example: -# -# AUTHSERVICE143=imap -# AUTHSERVICE993=imaps - -##NAME: MAXDAEMONS:0 -# -# Maximum number of IMAP servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:0 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=10 - -##NAME: PIDFILE:0 -# -# File where couriertcpd will save its process ID -# - -PIDFILE=/var/run/imapd.pid - -##NAME: TCPDOPTS:0 -# -# Miscellaneous couriertcpd options that shouldn't be changed. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: IMAP_CAPABILITY:1 -# -# IMAP_CAPABILITY specifies what most of the response should be to the -# CAPABILITY command. -# -# If you have properly configured Courier to use CRAM-MD5 or CRAM-SHA1 -# authentication (see INSTALL), set IMAP_CAPABILITY as follows: -# -# IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" -# - -IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE" - -##NAME: KEYWORDS_CAPABILITY:0 -# -# IMAP_KEYWORDS=1 enables custom IMAP keywords. Set this option to 0 to -# disable custom keywords. - -IMAP_KEYWORDS=1 - -##NAME: SMAP1_CAPABILITY:0 -# -# EXPERIMENTAL -# -# To enable the experimental "Simple Mail Access Protocol" extensions, -# uncomment the following setting. -# -# SMAP_CAPABILITY=SMAP1 - -##NAME: IMAP_CAPABILITY_ORIG:1 -# -# For use by webadmin - -IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" - -##NAME: IMAP_PROXY:0 -# -# Enable proxying. See README.proxy - -IMAP_PROXY=0 - -##NAME: IMAP_PROXY_FOREIGN:0 -# -# Proxying to non-Courier servers. Re-sends the CAPABILITY command after -# logging in to the remote server. May not work with all IMAP clients. - -IMAP_PROXY_FOREIGN=0 - -##NAME: IMAP_IDLE_TIMEOUT:0 -# -# This setting controls how often -# the server polls for changes to the folder, in IDLE mode (in seconds). - -IMAP_IDLE_TIMEOUT=60 - -##NAME: IMAP_CAPABILITY_TLS:0 -# -# The following setting will advertise SASL PLAIN authentication after -# STARTTLS is established. If you want to allow SASL PLAIN authentication -# with or without TLS then just comment this out, and add AUTH=PLAIN to -# IMAP_CAPABILITY - -IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN" - -##NAME: IMAP_TLS_ORIG:0 -# -# For use by webadmin - -IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN" - -##NAME: IMAP_DISABLETHREADSORT:0 -# -# Set IMAP_DISABLETHREADSORT to disable the THREAD and SORT commands - -# server side sorting and threading. -# -# Those capabilities will still be advertised, but the server will reject -# them. Set this option if you want to disable all the extra load from -# server-side threading and sorting. Not advertising those capabilities -# will simply result in the clients reading the entire folder, and sorting -# it on the client side. That will still put some load on the server. -# advertising these capabilities, but rejecting the commands, will stop this -# silliness. -# - -IMAP_DISABLETHREADSORT=0 - -##NAME: IMAP_CHECK_ALL_FOLDERS:0 -# -# Set IMAP_CHECK_ALL_FOLDERS to 1 if you want the server to check for new -# mail in every folder. Not all IMAP clients use the IMAP's new mail -# indicator, but some do. Normally new mail is checked only in INBOX, -# because it is a comparatively time consuming operation, and it would be -# a complete waste of time unless mail filters are used to deliver -# mail directly to folders. -# -# When IMAP clients are used which support new mail indication, and when -# mail filters are used to sort incoming mail into folders, setting -# IMAP_CHECK_ALL_FOLDERS to 1 will allow IMAP clients to announce new -# mail in folders. Note that this will result in slightly more load on the -# server. -# - -IMAP_CHECK_ALL_FOLDERS=0 - -##NAME: IMAP_OBSOLETE_CLIENT:0 -# -# Set IMAP_OBSOLETE_CLIENT if your IMAP client expects \\NoInferiors to mean -# what \\HasNoChildren really means. - -IMAP_OBSOLETE_CLIENT=0 - -##NAME: IMAP_UMASK:0 -# -# IMAP_UMASK sets the umask of the server process. The value of IMAP_UMASK is -# simply passed to the "umask" command. The default value is 022. -# -# This feature is mostly useful for shared folders, where the file permissions -# of the messages may be important. - -IMAP_UMASK=027 - -##NAME: IMAP_ULIMITD:0 -# -# IMAP_ULIMITD sets the maximum size of the data segment of the server -# process. The value of IMAP_ULIMITD is simply passed to the "ulimit -d" -# command (or ulimit -v). The argument to ulimi sets the upper limit on the -# size of the data segment of the server process, in kilobytes. The default -# value of 65536 sets a very generous limit of 64 megabytes, which should -# be more than plenty for anyone. -# -# This feature is used as an additional safety check that should stop -# any potential denial-of-service attacks that exploit any kind of -# a memory leak to exhaust all the available memory on the server. -# It is theoretically possible that obscenely huge folders will also -# result in the server running out of memory when doing server-side -# sorting (by my calculations you have to have at least 100,000 messages -# in a single folder, for that to happen). - -IMAP_ULIMITD=65536 - -##NAME: IMAP_USELOCKS:0 -# -# Setting IMAP_USELOCKS to 1 will use dot-locking to support concurrent -# multiple access to the same folder. This incurs slight additional -# overhead. Concurrent multiple access will still work without this setting, -# however occasionally a minor race condition may result in an IMAP client -# downloading the same message twice, or a keyword update will fail. -# -# IMAP_USELOCKS=1 is strongly recommended when shared folders are used. - -IMAP_USELOCKS=1 - -##NAME: IMAP_SHAREDINDEXFILE:0 -# -# The index of all accessible folders. Do not change this setting unless -# you know what you're doing. See README.sharedfolders for additional -# information. - -IMAP_SHAREDINDEXFILE=/etc/courier-imap/shared/index - -##NAME: IMAP_ENHANCEDIDLE:0 -# -# If Courier was compiled with the File Alteration Monitor, setting -# IMAP_ENHANCEDIDLE to 1 enables enhanced IDLE mode, where multiple -# clients may open the same folder concurrently, and receive updates to -# folder contents in realtime. See the imapd(8) man page for additional -# information. -# -# IMPORTANT: IMAP_USELOCKS *MUST* also be set to 1, and IDLE must be included -# in the IMAP_CAPABILITY list. -# - -IMAP_ENHANCEDIDLE=0 - -##NAME: IMAP_TRASHFOLDERNAME:0 -# -# The name of the magic trash Folder. For MSOE compatibility, -# you can set IMAP_TRASHFOLDERNAME="Deleted Items". -# -# IMPORTANT: If you change this, you must also change IMAP_EMPTYTRASH - -IMAP_TRASHFOLDERNAME=Trash - -##NAME: IMAP_EMPTYTRASH:0 -# -# The following setting is optional, and causes messages from the given -# folder to be automatically deleted after the given number of days. -# IMAP_EMPTYTRASH is a comma-separated list of folder:days. The default -# setting, below, purges 7 day old messages from the Trash folder. -# Another useful setting would be: -# -# IMAP_EMPTYTRASH=Trash:7,Sent:30 -# -# This would also delete messages from the Sent folder (presumably copies -# of sent mail) after 30 days. This is a global setting that is applied to -# every mail account, and is probably useful in a controlled, corporate -# environment. -# -# Important: the purging is controlled by CTIME, not MTIME (the file time -# as shown by ls). It is perfectly ordinary to see stuff in Trash that's -# a year old. That's the file modification time, MTIME, that's displayed. -# This is generally when the message was originally delivered to this -# mailbox. Purging is controlled by a different timestamp, CTIME, which is -# changed when the file is moved to the Trash folder (and at other times too). -# -# You might want to disable this setting in certain situations - it results -# in a stat() of every file in each folder, at login and logout. -# - -IMAP_EMPTYTRASH=Trash:7 - -##NAME: IMAP_MOVE_EXPUNGE_TO_TRASH:0 -# -# Set IMAP_MOVE_EXPUNGE_TO_TRASH to move expunged messages to Trash. This -# effectively allows an undo of message deletion by fishing the deleted -# mail from trash. Trash can be manually expunged as usually, and mail -# will get automatically expunged from Trash according to IMAP_EMPTYTRASH. -# -# NOTE: shared folders are still expunged as usual. Shared folders are -# not affected. -# - -IMAP_MOVE_EXPUNGE_TO_TRASH=0 - - -##NAME: OUTBOX:0 -# -# The next set of options deal with the "Outbox" enhancement. -# Uncomment the following setting to create a special folder, named -# INBOX.Outbox -# -# OUTBOX=.Outbox - -##NAME: SENDMAIL:0 -# -# If OUTBOX is defined, mail can be sent via the IMAP connection by copying -# a message to the INBOX.Outbox folder. For all practical matters, -# INBOX.Outbox looks and behaves just like any other IMAP folder. If this -# folder doesn't exist it must be created by the IMAP mail client, just -# like any other IMAP folder. The kicker: any message copied or moved to -# this folder is will be E-mailed by the Courier-IMAP server, by running -# the SENDMAIL program. Therefore, messages copied or moved to this -# folder must be well-formed RFC-2822 messages, with the recipient list -# specified in the To:, Cc:, and Bcc: headers. Courier-IMAP relies on -# SENDMAIL to read the recipient list from these headers (and delete the Bcc: -# header) by running the command "$SENDMAIL -oi -t -f $SENDER", with the -# message piped on standard input. $SENDER will be the return address -# of the message, which is set by the authentication module. -# -# DO NOT MODIFY SENDMAIL, below, unless you know what you're doing. -# - -SENDMAIL=/usr/sbin/sendmail - -##NAME: HEADERFROM:0 -# -# For administrative and oversight purposes, the return address, $SENDER -# will also be saved in the X-IMAP-Sender mail header. This header gets -# added to the sent E-mail (but it doesn't get saved in the copy of the -# message that's saved in the folder) -# -# WARNING - By enabling OUTBOX above, *every* IMAP mail client will receive -# the magic OUTBOX treatment. Therefore advance LARTing is in order for -# _all_ of your lusers, until every one of them is aware of this. Otherwise if -# OUTBOX is left at its default setting - a folder name that might be used -# accidentally - some people may be in for a rude surprise. You can redefine -# the name of the magic folder by changing OUTBOX, above. You should do that -# and pick a less-obvious name. Perhaps brand it with your organizational -# name ( OUTBOX=.WidgetsAndSonsOutbox ) - -HEADERFROM=X-IMAP-Sender - -##NAME: IMAPDSTART:0 -# -# IMAPDSTART is not used directly. Rather, this is a convenient flag to -# be read by your system startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/imapd -# -# case x$IMAPDSTART in -# x[yY]*) -# /usr/lib/courier-imap/imapd.rc start -# ;; -# esac -# -# The default setting is going to be NO, so you'll have to manually flip -# it to yes. - -IMAPDSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_imapd-ssl b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_imapd-ssl deleted file mode 100644 index 76dbcf7..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_imapd-ssl +++ /dev/null @@ -1,199 +0,0 @@ -##VERSION: $Id: imapd-ssl.dist.in,v 1.11 2004/10/21 00:45:35 mrsam Exp $ -# -# imapd-ssl created from imapd-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL IMAP connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL IMAP -# connections, you will start two instances of couriertcpd, one on the -# IMAP port 143, and another one on the IMAP-SSL port 993. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:1 -# -# Options in the imapd-ssl configuration file AUGMENT the options in the -# imapd configuration file. First the imapd configuration file is read, -# then the imapd-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 993. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=993 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# That's the SSL IMAP port we'll listen on. -# Feel free to redefine MAXDAEMONS, TCPDOPTS, and MAXPERIP. - -SSLPIDFILE=/var/run/imapd-ssl.pid - -##NAME: IMAPDSSLSTART:0 -# -# Different pid files, so that both instances of couriertcpd can coexist -# happily. -# -# You can also redefine IMAP_CAPABILITY, although I can't -# think of why you'd want to do that. -# -# -# Ok, the following settings are new to imapd-ssl: -# -# Whether or not to start IMAP over SSL on simap port: - -IMAPDSSLSTART=YES - -##NAME: IMAPDSTARTTLS:0 -# -# Whether or not to implement IMAP STARTTLS extension instead: - -IMAPDSTARTTLS=YES - -##NAME: IMAP_TLS_REQUIRED:1 -# -# Set IMAP_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED IMAP capability, until STARTTLS -# is issued). - -IMAP_TLS_REQUIRED=0 - -######################################################################### -# -# The following variables configure IMAP over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. -# -##NAME: COURIERTLS:0 -# - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the IMAP STARTTLS -# extension, as opposed to IMAP over SSL on port 993. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for IMAP clients -# that open multiple SSL sessions to the server. TLS_CACHEFILE will be -# automatically created, TLS_CACHESIZE bytes long, and used as a cache -# buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_pop3d b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_pop3d deleted file mode 100644 index 71502ae..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_pop3d +++ /dev/null @@ -1,127 +0,0 @@ -##VERSION: $Id: pop3d.dist.in,v 1.11 2004/10/30 15:39:38 mrsam Exp $ -# -# pop3d created from pop3d.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# Courier POP3 daemon configuration -# -##NAME: PIDFILE:0 -# - -PIDFILE=/var/run/pop3d.pid - -##NAME: MAXDAEMONS:0 -# -# Maximum number of POP3 servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:4 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=5 - -##NAME: POP3AUTH:1 -# -# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH -# variable: -# -# POP3AUTH="LOGIN" -# -# If you have configured the CRAM-MD5 or CRAM-SHA1, set POP3AUTH to something -# like this: -# -# POP3AUTH="LOGIN CRAM-MD5 CRAM-SHA1" - -POP3AUTH="" - -##NAME: POP3AUTH_ORIG:0 -# -# For use by webadmin - -POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" - -##NAME: POP3AUTH_TLS:1 -# -# To also advertise SASL PLAIN if SSL is enabled, uncomment the -# POP3AUTH_TLS environment variable: -# -# POP3AUTH_TLS="LOGIN PLAIN" - -POP3AUTH_TLS="" - -##NAME: POP3AUTH_TLS_ORIG:0 -# -# For use by webadmin - -POP3AUTH_TLS_ORIG="LOGIN PLAIN" - -##NAME: POP3_PROXY:0 -# -# Enable proxying. See README.proxy - -POP3_PROXY=0 - -##NAME: PORT:1 -# -# Port to listen on for connections. The default is port 110. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The ADDRESS setting is a default for ports that do not have a specified -# IP address. - -PORT=110 - -##NAME: ADDRESS:0 -# -# IP address to listen on. 0 means all IP addresses. - -ADDRESS=0 - -##NAME: TCPDOPTS:0 -# -# Other couriertcpd(1) options. The following defaults should be fine. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: POP3DSTART:0 -# -# POP3DSTART is not referenced anywhere in the standard Courier programs -# or scripts. Rather, this is a convenient flag to be read by your system -# startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/pop3d -# case x$POP3DSTART in -# x[yY]*) -# /usr/lib/courier-imap/pop3d.rc start -# ;; -# esac -# -# The default setting is going to be NO, until Courier is shipped by default -# with enough platforms so that people get annoyed with having to flip it to -# YES every time. - -POP3DSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_pop3d-ssl b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_pop3d-ssl deleted file mode 100644 index a0267a0..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier-imap_pop3d-ssl +++ /dev/null @@ -1,186 +0,0 @@ -##VERSION: $Id: pop3d-ssl.dist.in,v 1.12 2004/10/21 00:45:35 mrsam Exp $ -# -# pop3d-ssl created from pop3d-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000-2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL POP3 connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL POP3 -# connections, you will start two instances of couriertcpd, one on the -# POP3 port 110, and another one on the POP3-SSL port 995. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:0 -# -# Options in the pop3d-ssl configuration file AUGMENT the options in the -# pop3d configuration file. First the pop3d configuration file is read, -# then the pop3d-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 995. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=995 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# -# - -SSLPIDFILE=/var/run/pop3d-ssl.pid - -##NAME: POP3DSSLSTART:0 -# -# Whether or not to start POP3 over SSL on spop3 port: - -POP3DSSLSTART=YES - -##NAME: POP3_STARTTLS:0 -# -# Whether or not to implement the POP3 STLS extension: - -POP3_STARTTLS=YES - -##NAME: POP3_TLS_REQUIRED:1 -# -# Set POP3_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED POP3 capability, until STARTTLS -# is issued). - -POP3_TLS_REQUIRED=0 - -##NAME: COURIERTLS:0 -# -# The following variables configure POP3 over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the POP3 STARTTLS -# extension, as opposed to POP3 over SSL on port 995. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for long-running -# POP3 clients. TLS_CACHEFILE will be automatically created, TLS_CACHESIZE -# bytes long, and used as a cache buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier_authlib_authdaemonrc b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier_authlib_authdaemonrc deleted file mode 100644 index 867a12d..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier_authlib_authdaemonrc +++ /dev/null @@ -1,93 +0,0 @@ -##VERSION: $Id: authdaemonrc.in,v 1.12 2005/07/05 12:25:08 mrsam Exp $ -# -# Copyright 2000-2005 Double Precision, Inc. See COPYING for -# distribution information. -# -# authdaemonrc created from authdaemonrc.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# This file configures authdaemond, the resident authentication daemon. -# -# Comments in this file are ignored. Although this file is intended to -# be sourced as a shell script, authdaemond parses it manually, so -# the acceptable syntax is a bit limited. Multiline variable contents, -# with the \ continuation character, are not allowed. Everything must -# fit on one line. Do not use any additional whitespace for indentation, -# or anything else. - -##NAME: authmodulelist:2 -# -# The authentication modules that are linked into authdaemond. The -# default list is installed. You may selectively disable modules simply -# by removing them from the following list. The available modules you -# can use are: authuserdb authpam authshadow authmysql authcustom authpipe - -authmodulelist="authmysql" - -##NAME: authmodulelistorig:3 -# -# This setting is used by Courier's webadmin module, and should be left -# alone - -authmodulelistorig="authuserdb authpam authshadow authmysql authcustom authpipe" - -##NAME: daemons:0 -# -# The number of daemon processes that are started. authdaemon is typically -# installed where authentication modules are relatively expensive: such -# as authldap, or authmysql, so it's better to have a number of them running. -# PLEASE NOTE: Some platforms may experience a problem if there's more than -# one daemon. Specifically, SystemV derived platforms that use TLI with -# socket emulation. I'm suspicious of TLI's ability to handle multiple -# processes accepting connections on the same filesystem domain socket. -# -# You may need to increase daemons if as your system load increases. Symptoms -# include sporadic authentication failures. If you start getting -# authentication failures, increase daemons. However, the default of 5 -# SHOULD be sufficient. Bumping up daemon count is only a short-term -# solution. The permanent solution is to add more resources: RAM, faster -# disks, faster CPUs... - -daemons=5 - -##NAME: authdaemonvar:2 -# -# authdaemonvar is here, but is not used directly by authdaemond. It's -# used by various configuration and build scripts, so don't touch it! - -authdaemonvar=/var/lib/courier/authdaemon - -##NAME: DEBUG_LOGIN:0 -# -# Dump additional diagnostics to syslog -# -# DEBUG_LOGIN=0 - turn off debugging -# DEBUG_LOGIN=1 - turn on debugging -# DEBUG_LOGIN=2 - turn on debugging + log passwords too -# -# ** YES ** - DEBUG_LOGIN=2 places passwords into syslog. -# -# Note that most information is sent to syslog at level 'debug', so -# you may need to modify your /etc/syslog.conf to be able to see it. - -DEBUG_LOGIN=0 - -##NAME: DEFAULTOPTIONS:0 -# -# A comma-separated list of option=value pairs. Each option is applied -# to an account if the account does not have its own specific value for -# that option. So for example, you can set -# DEFAULTOPTIONS="disablewebmail=1,disableimap=1" -# and then enable webmail and/or imap on individual accounts by setting -# disablewebmail=0 and/or disableimap=0 on the account. - -DEFAULTOPTIONS="" - -##NAME: LOGGEROPTS:0 -# -# courierlogger(1) options, e.g. to set syslog facility -# - -LOGGEROPTS="" diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier_authlib_authmysqlrc b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier_authlib_authmysqlrc deleted file mode 100644 index fec6508..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/courier/etc_courier_authlib_authmysqlrc +++ /dev/null @@ -1,12 +0,0 @@ -MYSQL_SERVER <SQL_HOST> -MYSQL_USERNAME <SQL_UNPRIVILEGED_USER> -MYSQL_PASSWORD <SQL_UNPRIVILEGED_PASSWORD> -MYSQL_PORT 0 -MYSQL_DATABASE <SQL_DB> -MYSQL_USER_TABLE mail_users -MYSQL_CRYPT_PWFIELD password_enc -MYSQL_UID_FIELD <VIRTUAL_UID_MAPS> -MYSQL_GID_FIELD <VIRTUAL_GID_MAPS> -MYSQL_LOGIN_FIELD username -MYSQL_HOME_FIELD "<VIRTUAL_MAILBOX_BASE>" -MYSQL_MAILDIR_FIELD maildir diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_cron.d_syscp b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_cron.d_syscp deleted file mode 100644 index 4afe408..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_cron.d_syscp +++ /dev/null @@ -1,10 +0,0 @@ -# -# Set PATH, otherwise restart-scripts won't find start-stop-daemon -# -PATH=/sbin:/bin:/usr/sbin:/usr/bin -# -# Regular cron jobs for the syscp package -# -# Please check that all following paths are correct -# -*/5 * * * * root /usr/lib/php4/bin/php -q -c /etc/php/syscp-cronjob/php.ini /var/www/syscp/scripts/cronscript.php diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_php_syscp-cronjob_php.ini b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_php_syscp-cronjob_php.ini deleted file mode 100644 index 74c8316..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_php_syscp-cronjob_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = Off -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = -disable_functions = -disable_classes = -expose_php = Off -max_execution_time = 180 -max_input_time = 120 -memory_limit = 32M -post_max_size = 32M -error_reporting = E_ALL & ~E_NOTICE -display_errors = On -display_startup_errors = Off -log_errors = Off -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/tmp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/tmp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_php_syscp-vhost_php.ini b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_php_syscp-vhost_php.ini deleted file mode 100644 index 048c26c..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/cron/etc_php_syscp-vhost_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = 4096 -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = "/var/www/syscp/:/var/www/syscp-suphp/syscp/:/var/www/syscpwebs/:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -disable_functions = exec,passthru,shell_exec,system,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate -disable_classes = -expose_php = Off -max_execution_time = 30 -max_input_time = 60 -memory_limit = 16M -post_max_size = 12M -error_reporting = E_ALL & ~E_NOTICE -display_errors = Off -display_startup_errors = Off -log_errors = On -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/var/www/syscp-suphp/syscp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/var/www/syscp-suphp/syscp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_main.cf b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_main.cf deleted file mode 100644 index 97b10e0..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_main.cf +++ /dev/null @@ -1,65 +0,0 @@ -# Postfix directories settings -command_directory = /usr/sbin -daemon_directory = /usr/lib/postfix -queue_directory = /var/spool/postfix -sample_directory = /etc/postfix -manpage_directory = /usr/share/man -readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme -html_directory = no - -# Postfix programs paths settings -mailq_path = /usr/bin/mailq -newaliases_path = /usr/bin/newaliases -sendmail_path = /usr/sbin/sendmail - -# General Postfix configuration -myhostname = <SERVERNAME> -mydestination = $myhostname, $mydomain, localhost.$myhostname, localhost.$mydomain, localhost -mynetworks = 127.0.0.0/8 -inet_interfaces = all -mail_owner = postfix -setgid_group = postdrop -smtpd_banner = $myhostname ESMTP Mailserver -smtpd_helo_required = yes -append_dot_mydomain = no -biff = no - -# Postfix Debugger configuration -debug_peer_level = 2 -debugger_command = - PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; - echo where) | gdb $daemon_directory/$process_name $process_id 2>&1 - >$config_directory/$process_name.$process_id.log & sleep 5 - -# Postfix performance settings -default_destination_concurrency_limit = 20 -local_destination_concurrency_limit = 2 - -# Virtual delivery settings -virtual_transport = virtual -virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE> -virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf -virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf -virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf -virtual_uid_maps = static:<VIRTUAL_UID_MAPS> -virtual_gid_maps = static:<VIRTUAL_GID_MAPS> - -# Local delivery settings -local_transport = local -alias_database = hash:/etc/mail/aliases -alias_maps = $alias_database - -# SASL settings -smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination -smtpd_sasl_auth_enable = yes -smtpd_sasl_local_domain = $myhostname -smtpd_sasl_security_options = noanonymous -broken_sasl_auth_clients = yes - -# TLS settings -smtpd_use_tls = yes -smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.crt -smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.key -smtpd_tls_auth_only = no -smtpd_tls_session_cache_timeout = 3600s -tls_random_source = dev:/dev/urandom diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf deleted file mode 100644 index c921e6f..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_virtual -select_field = destination -where_field = email -additional_conditions = and destination <> '' and destination <> ' ' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf deleted file mode 100644 index 4484bee..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = panel_domains -select_field = domain -where_field = domain -additional_conditions = and isemaildomain = '1' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf deleted file mode 100644 index 7e0f79a..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf +++ /dev/null @@ -1,7 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_users -select_field = maildir -where_field = email -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_sasl2_smtpd.conf b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_sasl2_smtpd.conf deleted file mode 100644 index 2089cbb..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/postfix/etc_sasl2_smtpd.conf +++ /dev/null @@ -1,12 +0,0 @@ -pwcheck_method: auxprop -auxprop_plugin: sql -allowanonymouslogin: no -allowplaintext: yes -mech_list: PLAIN LOGIN -password_format: crypt -sql_engine: mysql -sql_hostnames: <SQL_HOST> -sql_user: <SQL_UNPRIVILEGED_USER> -sql_passwd: <SQL_UNPRIVILEGED_PASSWORD> -sql_database: <SQL_DB> -sql_select: SELECT password_enc FROM mail_users where username='%u@%r' diff --git a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/proftpd/etc_proftpd_proftpd.conf b/syscp/patches/gentoo-config-files/bind-ssl/gentoo/proftpd/etc_proftpd_proftpd.conf deleted file mode 100644 index 1e04b6d..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/gentoo/proftpd/etc_proftpd_proftpd.conf +++ /dev/null @@ -1,89 +0,0 @@ -# Server settings -ServerName "<SERVERNAME> FTP Server" -ServerType standalone -ServerIdent off -DefaultServer on -Port 21 -MaxInstances 50 - -# General settings -DeferWelcome on -MultilineRFC2228 on -ShowSymlinks on -AllowOverwrite on -AllowStoreRestart on -AllowRetrieveRestart on -UseReverseDNS off -IdentLookups off -ListOptions "-al" -DisplayFirstChdir .message - -# Modules settings -#DelayEngine off - -# Timeout settings -TimeoutLogin 120 -TimeoutNoTransfer 600 -TimeoutStalled 600 -TimeoutIdle 600 - -# Security settings -RootLogin off -RequireValidShell off -User syscpftpd -Group syscpftpd -Umask 133 022 -DefaultRoot ~ -DenyFilter \*.*/ - -# Per-Directory settings -<Directory /*> -Umask 133 022 -AllowOverwrite on -</Directory> - -# SQL settings -SQLAuthTypes Crypt -SQLAuthenticate users* groups* -SQLConnectInfo <SQL_DB>@<SQL_HOST> <SQL_UNPRIVILEGED_USER> <SQL_UNPRIVILEGED_PASSWORD> -SQLUserInfo ftp_users username password uid gid homedir shell -SQLGroupInfo ftp_groups groupname gid members -SQLUserWhereClause "login_enabled = 'y'" - -SQLLog PASS login -SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users - -SQLLog RETR download -SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users - -SQLLog STOR upload -SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users - -# TLS settings -<IfModule mod_tls.c> -TLSEngine on -TLSLog /var/log/proftpd-tls.log -TLSProtocol SSLv23 -TLSTimeoutHandshake 120 -# Really important for WinClients -TLSOptions NoCertRequest -TLSRSACertificateFile /etc/ssl/server/<SERVERNAME>.crt -TLSRSACertificateKeyFile /etc/ssl/server/<SERVERNAME>.key -# Authenticate client that want to use FTP over TLS? -TLSVerifyClient off -# Uncomment the following line to force tls login -TLSRequired off -</IfModule> - -# LOG settings -# Logging Formats -LogFormat default "%h %1 %u %t \"%r\" %s %b" -LogFormat auth "%v [%P] %h %t \"%r\" %s" -LogFormat write "%h %l %u %t \"%r\" %s %b" -# Activate Logging -# all logins -ExtendedLog /var/log/proftpd-auth.log AUTH auth -# file/dir access -ExtendedLog /var/log/proftpd-access.log WRITE,READ write -# everything (be careful, generates_ very_ big logfiles) -#ExtendedLog /var/log/proftpd-all.log ALL default diff --git a/syscp/patches/gentoo-config-files/bind-ssl/syscp-1.2.13-gentoo-admin_configfiles.php-bind-ssl b/syscp/patches/gentoo-config-files/bind-ssl/syscp-1.2.13-gentoo-admin_configfiles.php-bind-ssl deleted file mode 100644 index f13fd5a..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/syscp-1.2.13-gentoo-admin_configfiles.php-bind-ssl +++ /dev/null @@ -1,290 +0,0 @@ -<?php -/** - * filename: $Source: /syscp/syscp/admin_configfiles.php,v $ - * begin: Wednesday, Sep 08, 2004 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * @author Florian Lippert <flo@redenswert.de> - * @copyright (C) 2003-2004 Florian Lippert - * @package Panel - * @version $Id: admin_configfiles.php,v 1.9 2005/06/15 13:53:58 flo Exp $ - * Modified to reflect the Gentoo environment by Luca Longinotti <chtekk@gentoo.org> - */ - - define('AREA', 'admin'); - - /** - * Include our init.php, which manages Sessions, Language etc. - */ - require("./lib/init.php"); - - - $configfiles = Array - ( - 'gentoo' => Array - ( - 'label' => 'Gentoo', - 'daemons' => Array - ( - 'apache' => Array - ( - 'label' => 'Apache2 Webserver (HTTP)', - 'commands' => Array - ( - 'touch '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chown root:0 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chmod 0600 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'echo "Include '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf" >> /etc/apache2/httpd.conf', - 'mkdir -p '.$settings['system']['documentroot_prefix'], - 'mkdir -p '.$settings['system']['logfiles_directory'] - ), - 'restart' => Array - ( - 'rc-update add apache2 default', - '/etc/init.d/apache2 restart' - ) - ), - 'bind' => Array - ( - 'label' => 'Bind9 Nameserver (DNS)', - 'files' => Array - ( - 'etc_bind_default.zone' => '/etc/bind/default.zone' - ), - 'commands' => Array - ( - 'echo "include \"'.$settings['system']['bindconf_directory'].'syscp_bind.conf\";" >> /etc/bind/named.conf', - 'touch '.$settings['system']['bindconf_directory'].'syscp_bind.conf', - 'chown root:0 '.$settings['system']['bindconf_directory'].'syscp_bind.conf', - 'chmod 0600 '.$settings['system']['bindconf_directory'].'syscp_bind.conf' - ), - 'restart' => Array - ( - 'rc-update add named default', - '/etc/init.d/named restart' - ) - ), - 'courier' => Array - ( - 'label' => 'Courier-IMAP (POP3/IMAP)', - 'files' => Array - ( - 'etc_courier_authlib_authdaemonrc' => '/etc/courier/authlib/authdaemonrc', - 'etc_courier_authlib_authmysqlrc' => '/etc/courier/authlib/authmysqlrc', - 'etc_courier-imap_pop3d' => '/etc/courier-imap/pop3d', - 'etc_courier-imap_imapd' => '/etc/courier-imap/imapd', - 'etc_courier-imap_pop3d-ssl' => '/etc/courier-imap/pop3d-ssl', - 'etc_courier-imap_imapd-ssl' => '/etc/courier-imap/imapd-ssl' - ), - 'commands' => Array - ( - 'rm /etc/courier/authlib/authdaemonrc', - 'rm /etc/courier/authlib/authmysqlrc', - 'rm /etc/courier-imap/pop3d', - 'rm /etc/courier-imap/imapd', - 'rm /etc/courier-imap/pop3d-ssl', - 'rm /etc/courier-imap/imapd-ssl', - 'touch /etc/courier/authlib/authdaemonrc', - 'touch /etc/courier/authlib/authmysqlrc', - 'touch /etc/courier-imap/pop3d', - 'touch /etc/courier-imap/imapd', - 'touch /etc/courier-imap/pop3d-ssl', - 'touch /etc/courier-imap/imapd-ssl', - 'chown root:0 /etc/courier/authlib/authdaemonrc', - 'chown root:0 /etc/courier/authlib/authmysqlrc', - 'chown root:0 /etc/courier-imap/pop3d', - 'chown root:0 /etc/courier-imap/imapd', - 'chown root:0 /etc/courier-imap/pop3d-ssl', - 'chown root:0 /etc/courier-imap/imapd-ssl', - 'chmod 0600 /etc/courier/authlib/authdaemonrc', - 'chmod 0600 /etc/courier/authlib/authmysqlrc', - 'chmod 0600 /etc/courier-imap/pop3d', - 'chmod 0600 /etc/courier-imap/imapd', - 'chmod 0600 /etc/courier-imap/pop3d-ssl', - 'chmod 0600 /etc/courier-imap/imapd-ssl' - ), - 'restart' => Array - ( - 'rc-update add courier-authlib default', - 'rc-update add courier-pop3d default', - 'rc-update add courier-imapd default', - 'rc-update add courier-pop3d-ssl default', - 'rc-update add courier-imapd-ssl default', - '/etc/init.d/courier-authlib restart', - '/etc/init.d/courier-pop3d restart', - '/etc/init.d/courier-imapd restart', - '/etc/init.d/courier-pop3d-ssl restart', - '/etc/init.d/courier-imapd-ssl restart' - ) - ), - 'postfix' => Array - ( - 'label' => 'Postfix (MTA)', - 'files' => Array - ( - 'etc_postfix_main.cf' => '/etc/postfix/main.cf', - 'etc_postfix_mysql-virtual_alias_maps.cf' => '/etc/postfix/mysql-virtual_alias_maps.cf', - 'etc_postfix_mysql-virtual_mailbox_domains.cf' => '/etc/postfix/mysql-virtual_mailbox_domains.cf', - 'etc_postfix_mysql-virtual_mailbox_maps.cf' => '/etc/postfix/mysql-virtual_mailbox_maps.cf', - 'etc_sasl2_smtpd.conf' => '/etc/sasl2/smtpd.conf' - ), - 'commands' => Array - ( - 'mkdir -p '.$settings['system']['vmail_homedir'], - 'chown -R vmail:vmail '.$settings['system']['vmail_homedir'], - 'chmod 0750 '.$settings['system']['vmail_homedir'], - 'rm /etc/postfix/main.cf', - 'touch /etc/postfix/main.cf', - 'touch /etc/postfix/master.cf', - 'touch /etc/postfix/mysql-virtual_alias_maps.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'touch /etc/sasl2/smtpd.conf', - 'chown root:0 /etc/postfix/main.cf', - 'chown root:0 /etc/postfix/master.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_alias_maps.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chown root:0 /etc/sasl2/smtpd.conf', - 'chmod 0600 /etc/postfix/main.cf', - 'chmod 0600 /etc/postfix/master.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_alias_maps.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chmod 0600 /etc/sasl2/smtpd.conf' - ), - 'restart' => Array - ( - 'rc-update add postfix default', - '/etc/init.d/postfix restart' - ) - ), - 'proftpd' => Array - ( - 'label' => 'ProFTPd (FTP)', - 'files' => Array - ( - 'etc_proftpd_proftpd.conf' => '/etc/proftpd/proftpd.conf' - ), - 'commands' => Array - ( - 'touch /etc/proftpd/proftpd.conf', - 'chown root:0 /etc/proftpd/proftpd.conf', - 'chmod 0600 /etc/proftpd/proftpd.conf' - ), - 'restart' => Array - ( - 'rc-update add proftpd default', - '/etc/init.d/proftpd restart' - ) - ), - 'cron' => Array - ( - 'label' => 'Crond (cronscript)', - 'files' => Array - ( - 'etc_php_syscp-cronjob_php.ini' => '/etc/php/syscp-cronjob/php.ini', - 'etc_cron.d_syscp' => '/etc/cron.d/syscp' - ), - 'commands' => Array - ( - 'touch /etc/cron.d/syscp', - 'chown root:0 /etc/cron.d/syscp', - 'chmod 0640 /etc/cron.d/syscp', - 'mkdir -p /etc/php/syscp-cronjob', - 'touch /etc/php/syscp-cronjob/php.ini', - 'chown -R root:0 /etc/php/syscp-cronjob', - 'chmod 0750 /etc/php/syscp-cronjob', - 'chmod 0640 /etc/php/syscp-cronjob/php.ini' - ), - 'restart' => Array - ( - 'rc-update add vixie-cron default', - '/etc/init.d/vixie-cron restart' - ) - ) - ) - ) - ); - - /*echo '<pre>'; - print_r($configfiles); - echo '</pre>';*/ - - if( ($page == 'configfiles' || $page == 'overview') && $userinfo['change_serversettings'] == '1') - { - if(isset($_GET['distribution']) && $_GET['distribution']!='' && isset($configfiles[$_GET['distribution']]) && is_array($configfiles[$_GET['distribution']]) && - isset($_GET['daemon']) && $_GET['daemon']!='' && isset($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']]) && is_array($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']])) - { - $distribution = addslashes($_GET['distribution']); - $daemon = addslashes($_GET['daemon']); - - if(isset($configfiles[$distribution]['daemons'][$daemon]['commands']) && is_array($configfiles[$distribution]['daemons'][$daemon]['commands'])) - { - $commands = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['commands']); - } - else - { - $commands = ''; - } - - $replace_arr = Array - ( - '<SQL_UNPRIVILEGED_USER>' => $sql['user'], - '<SQL_UNPRIVILEGED_PASSWORD>' => 'MYSQL_PASSWORD', - '<SQL_DB>' => $sql['db'], - '<SQL_HOST>' => $sql['host'], - '<SERVERNAME>' => $settings['system']['hostname'], - '<SERVERIP>' => $settings['system']['ipaddress'], - '<VIRTUAL_MAILBOX_BASE>' => $settings['system']['vmail_homedir'], - '<VIRTUAL_UID_MAPS>' => $settings['system']['vmail_uid'], - '<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'] - ); - $files = ''; - if(isset($configfiles[$distribution]['daemons'][$daemon]['files']) && is_array($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - while(list($filename, $realname) = each($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - $file_content = implode('', file('./templates/misc/configfiles/'.$distribution.'/'.$daemon.'/'.$filename)); - $file_content = strtr($file_content, $replace_arr); - $file_content = htmlspecialchars($file_content); - $numbrows = count(explode("\n", $file_content)); - eval("\$files.=\"".getTemplate("configfiles/configfiles_file")."\";"); - } - } - - if(isset($configfiles[$distribution]['daemons'][$daemon]['restart']) && is_array($configfiles[$distribution]['daemons'][$daemon]['restart'])) - { - $restart = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['restart']); - } - else - { - $restart = ''; - } - - eval("echo \"".getTemplate("configfiles/configfiles")."\";"); - } - else - { - $distributions = ''; - while (list($distribution_name, $distribution_details) = each($configfiles)) - { - $daemons = ''; - while(list($daemon_name, $daemon_details) = each($distribution_details['daemons'])) - { - eval("\$daemons.=\"".getTemplate("configfiles/choose_daemon")."\";"); - } - eval("\$distributions.=\"".getTemplate("configfiles/choose_distribution")."\";"); - } - eval("echo \"".getTemplate("configfiles/choose")."\";"); - } - } - -?> diff --git a/syscp/patches/gentoo-config-files/bind-ssl/syscp-1.2.13-gentoo-config-bind-ssl-r2.tar.bz2 b/syscp/patches/gentoo-config-files/bind-ssl/syscp-1.2.13-gentoo-config-bind-ssl-r2.tar.bz2 Binary files differdeleted file mode 100644 index f799689..0000000 --- a/syscp/patches/gentoo-config-files/bind-ssl/syscp-1.2.13-gentoo-config-bind-ssl-r2.tar.bz2 +++ /dev/null diff --git a/syscp/patches/gentoo-config-files/bind/etc_libnss-mysql-root.cfg b/syscp/patches/gentoo-config-files/bind/etc_libnss-mysql-root.cfg deleted file mode 100644 index 6498977..0000000 --- a/syscp/patches/gentoo-config-files/bind/etc_libnss-mysql-root.cfg +++ /dev/null @@ -1,2 +0,0 @@ -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> diff --git a/syscp/patches/gentoo-config-files/bind/etc_libnss-mysql.cfg b/syscp/patches/gentoo-config-files/bind/etc_libnss-mysql.cfg deleted file mode 100644 index d284192..0000000 --- a/syscp/patches/gentoo-config-files/bind/etc_libnss-mysql.cfg +++ /dev/null @@ -1,38 +0,0 @@ -getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE uid='%1$u' \ - LIMIT 1 -getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users -getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users -getgrnam SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE groupname='%1$s' \ - LIMIT 1 -getgrgid SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE gid='%1$u' \ - LIMIT 1 -getgrent SELECT groupname,'x',gid \ - FROM ftp_groups -memsbygid SELECT username \ - FROM ftp_users \ - WHERE gid='%1$u' -gidsbymem SELECT gid \ - FROM ftp_users \ - WHERE username='%1$s' - -host <SQL_HOST> -database <SQL_DB> -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> -socket /var/run/mysqld/mysqld.sock diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/bind/etc_bind_default.zone b/syscp/patches/gentoo-config-files/bind/gentoo/bind/etc_bind_default.zone deleted file mode 100644 index 817b9bc..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/bind/etc_bind_default.zone +++ /dev/null @@ -1,21 +0,0 @@ -$TTL 1W -@ IN SOA ns root ( - 2004060501 ; serial - 8H ; refresh - 2H ; retry - 1W ; expiry - 11h) ; minimum - - IN NS ns - IN MX 10 mail - - IN A <SERVERIP> - IN MX 10 mail - -* IN A <SERVERIP> - IN MX 10 mail - -ns IN A <SERVERIP> - -mail IN A <SERVERIP> - IN MX 10 mail diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_imapd b/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_imapd deleted file mode 100644 index f594e41..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_imapd +++ /dev/null @@ -1,376 +0,0 @@ -##VERSION: $Id: imapd.dist.in,v 1.32 2004/11/25 04:57:04 mrsam Exp $ -# -# imapd created from imapd.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used with the couriertcpd server. -# A lot of the stuff here is documented in the manual page for couriertcpd. -# -# NOTE - do not use \ to split long variable contents on multiple lines. -# This will break the default imapd.rc script, which parses this file. -# -##NAME: ADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# ADDRESS=127.0.0.1 - -ADDRESS=0 - -##NAME: PORT:1 -# -# Port numbers that connections are accepted on. The default is 143, -# the standard IMAP port. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possible to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The previous ADDRESS setting is a default for ports that do not have -# a specified IP address. - -PORT=143 - -##NAME: AUTHSERVICE:0 -# -# It's possible to authenticate using a different 'service' parameter -# depending on the connection's port. This only works with authentication -# modules that use the 'service' parameter, such as PAM. Example: -# -# AUTHSERVICE143=imap -# AUTHSERVICE993=imaps - -##NAME: MAXDAEMONS:0 -# -# Maximum number of IMAP servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:0 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=10 - -##NAME: PIDFILE:0 -# -# File where couriertcpd will save its process ID -# - -PIDFILE=/var/run/imapd.pid - -##NAME: TCPDOPTS:0 -# -# Miscellaneous couriertcpd options that shouldn't be changed. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: IMAP_CAPABILITY:1 -# -# IMAP_CAPABILITY specifies what most of the response should be to the -# CAPABILITY command. -# -# If you have properly configured Courier to use CRAM-MD5 or CRAM-SHA1 -# authentication (see INSTALL), set IMAP_CAPABILITY as follows: -# -# IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" -# - -IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE" - -##NAME: KEYWORDS_CAPABILITY:0 -# -# IMAP_KEYWORDS=1 enables custom IMAP keywords. Set this option to 0 to -# disable custom keywords. - -IMAP_KEYWORDS=1 - -##NAME: SMAP1_CAPABILITY:0 -# -# EXPERIMENTAL -# -# To enable the experimental "Simple Mail Access Protocol" extensions, -# uncomment the following setting. -# -# SMAP_CAPABILITY=SMAP1 - -##NAME: IMAP_CAPABILITY_ORIG:1 -# -# For use by webadmin - -IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" - -##NAME: IMAP_PROXY:0 -# -# Enable proxying. See README.proxy - -IMAP_PROXY=0 - -##NAME: IMAP_PROXY_FOREIGN:0 -# -# Proxying to non-Courier servers. Re-sends the CAPABILITY command after -# logging in to the remote server. May not work with all IMAP clients. - -IMAP_PROXY_FOREIGN=0 - -##NAME: IMAP_IDLE_TIMEOUT:0 -# -# This setting controls how often -# the server polls for changes to the folder, in IDLE mode (in seconds). - -IMAP_IDLE_TIMEOUT=60 - -##NAME: IMAP_CAPABILITY_TLS:0 -# -# The following setting will advertise SASL PLAIN authentication after -# STARTTLS is established. If you want to allow SASL PLAIN authentication -# with or without TLS then just comment this out, and add AUTH=PLAIN to -# IMAP_CAPABILITY - -IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN" - -##NAME: IMAP_TLS_ORIG:0 -# -# For use by webadmin - -IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN" - -##NAME: IMAP_DISABLETHREADSORT:0 -# -# Set IMAP_DISABLETHREADSORT to disable the THREAD and SORT commands - -# server side sorting and threading. -# -# Those capabilities will still be advertised, but the server will reject -# them. Set this option if you want to disable all the extra load from -# server-side threading and sorting. Not advertising those capabilities -# will simply result in the clients reading the entire folder, and sorting -# it on the client side. That will still put some load on the server. -# advertising these capabilities, but rejecting the commands, will stop this -# silliness. -# - -IMAP_DISABLETHREADSORT=0 - -##NAME: IMAP_CHECK_ALL_FOLDERS:0 -# -# Set IMAP_CHECK_ALL_FOLDERS to 1 if you want the server to check for new -# mail in every folder. Not all IMAP clients use the IMAP's new mail -# indicator, but some do. Normally new mail is checked only in INBOX, -# because it is a comparatively time consuming operation, and it would be -# a complete waste of time unless mail filters are used to deliver -# mail directly to folders. -# -# When IMAP clients are used which support new mail indication, and when -# mail filters are used to sort incoming mail into folders, setting -# IMAP_CHECK_ALL_FOLDERS to 1 will allow IMAP clients to announce new -# mail in folders. Note that this will result in slightly more load on the -# server. -# - -IMAP_CHECK_ALL_FOLDERS=0 - -##NAME: IMAP_OBSOLETE_CLIENT:0 -# -# Set IMAP_OBSOLETE_CLIENT if your IMAP client expects \\NoInferiors to mean -# what \\HasNoChildren really means. - -IMAP_OBSOLETE_CLIENT=0 - -##NAME: IMAP_UMASK:0 -# -# IMAP_UMASK sets the umask of the server process. The value of IMAP_UMASK is -# simply passed to the "umask" command. The default value is 022. -# -# This feature is mostly useful for shared folders, where the file permissions -# of the messages may be important. - -IMAP_UMASK=027 - -##NAME: IMAP_ULIMITD:0 -# -# IMAP_ULIMITD sets the maximum size of the data segment of the server -# process. The value of IMAP_ULIMITD is simply passed to the "ulimit -d" -# command (or ulimit -v). The argument to ulimi sets the upper limit on the -# size of the data segment of the server process, in kilobytes. The default -# value of 65536 sets a very generous limit of 64 megabytes, which should -# be more than plenty for anyone. -# -# This feature is used as an additional safety check that should stop -# any potential denial-of-service attacks that exploit any kind of -# a memory leak to exhaust all the available memory on the server. -# It is theoretically possible that obscenely huge folders will also -# result in the server running out of memory when doing server-side -# sorting (by my calculations you have to have at least 100,000 messages -# in a single folder, for that to happen). - -IMAP_ULIMITD=65536 - -##NAME: IMAP_USELOCKS:0 -# -# Setting IMAP_USELOCKS to 1 will use dot-locking to support concurrent -# multiple access to the same folder. This incurs slight additional -# overhead. Concurrent multiple access will still work without this setting, -# however occasionally a minor race condition may result in an IMAP client -# downloading the same message twice, or a keyword update will fail. -# -# IMAP_USELOCKS=1 is strongly recommended when shared folders are used. - -IMAP_USELOCKS=1 - -##NAME: IMAP_SHAREDINDEXFILE:0 -# -# The index of all accessible folders. Do not change this setting unless -# you know what you're doing. See README.sharedfolders for additional -# information. - -IMAP_SHAREDINDEXFILE=/etc/courier-imap/shared/index - -##NAME: IMAP_ENHANCEDIDLE:0 -# -# If Courier was compiled with the File Alteration Monitor, setting -# IMAP_ENHANCEDIDLE to 1 enables enhanced IDLE mode, where multiple -# clients may open the same folder concurrently, and receive updates to -# folder contents in realtime. See the imapd(8) man page for additional -# information. -# -# IMPORTANT: IMAP_USELOCKS *MUST* also be set to 1, and IDLE must be included -# in the IMAP_CAPABILITY list. -# - -IMAP_ENHANCEDIDLE=0 - -##NAME: IMAP_TRASHFOLDERNAME:0 -# -# The name of the magic trash Folder. For MSOE compatibility, -# you can set IMAP_TRASHFOLDERNAME="Deleted Items". -# -# IMPORTANT: If you change this, you must also change IMAP_EMPTYTRASH - -IMAP_TRASHFOLDERNAME=Trash - -##NAME: IMAP_EMPTYTRASH:0 -# -# The following setting is optional, and causes messages from the given -# folder to be automatically deleted after the given number of days. -# IMAP_EMPTYTRASH is a comma-separated list of folder:days. The default -# setting, below, purges 7 day old messages from the Trash folder. -# Another useful setting would be: -# -# IMAP_EMPTYTRASH=Trash:7,Sent:30 -# -# This would also delete messages from the Sent folder (presumably copies -# of sent mail) after 30 days. This is a global setting that is applied to -# every mail account, and is probably useful in a controlled, corporate -# environment. -# -# Important: the purging is controlled by CTIME, not MTIME (the file time -# as shown by ls). It is perfectly ordinary to see stuff in Trash that's -# a year old. That's the file modification time, MTIME, that's displayed. -# This is generally when the message was originally delivered to this -# mailbox. Purging is controlled by a different timestamp, CTIME, which is -# changed when the file is moved to the Trash folder (and at other times too). -# -# You might want to disable this setting in certain situations - it results -# in a stat() of every file in each folder, at login and logout. -# - -IMAP_EMPTYTRASH=Trash:7 - -##NAME: IMAP_MOVE_EXPUNGE_TO_TRASH:0 -# -# Set IMAP_MOVE_EXPUNGE_TO_TRASH to move expunged messages to Trash. This -# effectively allows an undo of message deletion by fishing the deleted -# mail from trash. Trash can be manually expunged as usually, and mail -# will get automatically expunged from Trash according to IMAP_EMPTYTRASH. -# -# NOTE: shared folders are still expunged as usual. Shared folders are -# not affected. -# - -IMAP_MOVE_EXPUNGE_TO_TRASH=0 - - -##NAME: OUTBOX:0 -# -# The next set of options deal with the "Outbox" enhancement. -# Uncomment the following setting to create a special folder, named -# INBOX.Outbox -# -# OUTBOX=.Outbox - -##NAME: SENDMAIL:0 -# -# If OUTBOX is defined, mail can be sent via the IMAP connection by copying -# a message to the INBOX.Outbox folder. For all practical matters, -# INBOX.Outbox looks and behaves just like any other IMAP folder. If this -# folder doesn't exist it must be created by the IMAP mail client, just -# like any other IMAP folder. The kicker: any message copied or moved to -# this folder is will be E-mailed by the Courier-IMAP server, by running -# the SENDMAIL program. Therefore, messages copied or moved to this -# folder must be well-formed RFC-2822 messages, with the recipient list -# specified in the To:, Cc:, and Bcc: headers. Courier-IMAP relies on -# SENDMAIL to read the recipient list from these headers (and delete the Bcc: -# header) by running the command "$SENDMAIL -oi -t -f $SENDER", with the -# message piped on standard input. $SENDER will be the return address -# of the message, which is set by the authentication module. -# -# DO NOT MODIFY SENDMAIL, below, unless you know what you're doing. -# - -SENDMAIL=/usr/sbin/sendmail - -##NAME: HEADERFROM:0 -# -# For administrative and oversight purposes, the return address, $SENDER -# will also be saved in the X-IMAP-Sender mail header. This header gets -# added to the sent E-mail (but it doesn't get saved in the copy of the -# message that's saved in the folder) -# -# WARNING - By enabling OUTBOX above, *every* IMAP mail client will receive -# the magic OUTBOX treatment. Therefore advance LARTing is in order for -# _all_ of your lusers, until every one of them is aware of this. Otherwise if -# OUTBOX is left at its default setting - a folder name that might be used -# accidentally - some people may be in for a rude surprise. You can redefine -# the name of the magic folder by changing OUTBOX, above. You should do that -# and pick a less-obvious name. Perhaps brand it with your organizational -# name ( OUTBOX=.WidgetsAndSonsOutbox ) - -HEADERFROM=X-IMAP-Sender - -##NAME: IMAPDSTART:0 -# -# IMAPDSTART is not used directly. Rather, this is a convenient flag to -# be read by your system startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/imapd -# -# case x$IMAPDSTART in -# x[yY]*) -# /usr/lib/courier-imap/imapd.rc start -# ;; -# esac -# -# The default setting is going to be NO, so you'll have to manually flip -# it to yes. - -IMAPDSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_imapd-ssl b/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_imapd-ssl deleted file mode 100644 index 76dbcf7..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_imapd-ssl +++ /dev/null @@ -1,199 +0,0 @@ -##VERSION: $Id: imapd-ssl.dist.in,v 1.11 2004/10/21 00:45:35 mrsam Exp $ -# -# imapd-ssl created from imapd-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL IMAP connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL IMAP -# connections, you will start two instances of couriertcpd, one on the -# IMAP port 143, and another one on the IMAP-SSL port 993. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:1 -# -# Options in the imapd-ssl configuration file AUGMENT the options in the -# imapd configuration file. First the imapd configuration file is read, -# then the imapd-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 993. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=993 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# That's the SSL IMAP port we'll listen on. -# Feel free to redefine MAXDAEMONS, TCPDOPTS, and MAXPERIP. - -SSLPIDFILE=/var/run/imapd-ssl.pid - -##NAME: IMAPDSSLSTART:0 -# -# Different pid files, so that both instances of couriertcpd can coexist -# happily. -# -# You can also redefine IMAP_CAPABILITY, although I can't -# think of why you'd want to do that. -# -# -# Ok, the following settings are new to imapd-ssl: -# -# Whether or not to start IMAP over SSL on simap port: - -IMAPDSSLSTART=YES - -##NAME: IMAPDSTARTTLS:0 -# -# Whether or not to implement IMAP STARTTLS extension instead: - -IMAPDSTARTTLS=YES - -##NAME: IMAP_TLS_REQUIRED:1 -# -# Set IMAP_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED IMAP capability, until STARTTLS -# is issued). - -IMAP_TLS_REQUIRED=0 - -######################################################################### -# -# The following variables configure IMAP over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. -# -##NAME: COURIERTLS:0 -# - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the IMAP STARTTLS -# extension, as opposed to IMAP over SSL on port 993. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for IMAP clients -# that open multiple SSL sessions to the server. TLS_CACHEFILE will be -# automatically created, TLS_CACHESIZE bytes long, and used as a cache -# buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_pop3d b/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_pop3d deleted file mode 100644 index 71502ae..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_pop3d +++ /dev/null @@ -1,127 +0,0 @@ -##VERSION: $Id: pop3d.dist.in,v 1.11 2004/10/30 15:39:38 mrsam Exp $ -# -# pop3d created from pop3d.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# Courier POP3 daemon configuration -# -##NAME: PIDFILE:0 -# - -PIDFILE=/var/run/pop3d.pid - -##NAME: MAXDAEMONS:0 -# -# Maximum number of POP3 servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:4 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=5 - -##NAME: POP3AUTH:1 -# -# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH -# variable: -# -# POP3AUTH="LOGIN" -# -# If you have configured the CRAM-MD5 or CRAM-SHA1, set POP3AUTH to something -# like this: -# -# POP3AUTH="LOGIN CRAM-MD5 CRAM-SHA1" - -POP3AUTH="" - -##NAME: POP3AUTH_ORIG:0 -# -# For use by webadmin - -POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" - -##NAME: POP3AUTH_TLS:1 -# -# To also advertise SASL PLAIN if SSL is enabled, uncomment the -# POP3AUTH_TLS environment variable: -# -# POP3AUTH_TLS="LOGIN PLAIN" - -POP3AUTH_TLS="" - -##NAME: POP3AUTH_TLS_ORIG:0 -# -# For use by webadmin - -POP3AUTH_TLS_ORIG="LOGIN PLAIN" - -##NAME: POP3_PROXY:0 -# -# Enable proxying. See README.proxy - -POP3_PROXY=0 - -##NAME: PORT:1 -# -# Port to listen on for connections. The default is port 110. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The ADDRESS setting is a default for ports that do not have a specified -# IP address. - -PORT=110 - -##NAME: ADDRESS:0 -# -# IP address to listen on. 0 means all IP addresses. - -ADDRESS=0 - -##NAME: TCPDOPTS:0 -# -# Other couriertcpd(1) options. The following defaults should be fine. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: POP3DSTART:0 -# -# POP3DSTART is not referenced anywhere in the standard Courier programs -# or scripts. Rather, this is a convenient flag to be read by your system -# startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/pop3d -# case x$POP3DSTART in -# x[yY]*) -# /usr/lib/courier-imap/pop3d.rc start -# ;; -# esac -# -# The default setting is going to be NO, until Courier is shipped by default -# with enough platforms so that people get annoyed with having to flip it to -# YES every time. - -POP3DSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_pop3d-ssl b/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_pop3d-ssl deleted file mode 100644 index a0267a0..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier-imap_pop3d-ssl +++ /dev/null @@ -1,186 +0,0 @@ -##VERSION: $Id: pop3d-ssl.dist.in,v 1.12 2004/10/21 00:45:35 mrsam Exp $ -# -# pop3d-ssl created from pop3d-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000-2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL POP3 connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL POP3 -# connections, you will start two instances of couriertcpd, one on the -# POP3 port 110, and another one on the POP3-SSL port 995. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:0 -# -# Options in the pop3d-ssl configuration file AUGMENT the options in the -# pop3d configuration file. First the pop3d configuration file is read, -# then the pop3d-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 995. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=995 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# -# - -SSLPIDFILE=/var/run/pop3d-ssl.pid - -##NAME: POP3DSSLSTART:0 -# -# Whether or not to start POP3 over SSL on spop3 port: - -POP3DSSLSTART=YES - -##NAME: POP3_STARTTLS:0 -# -# Whether or not to implement the POP3 STLS extension: - -POP3_STARTTLS=YES - -##NAME: POP3_TLS_REQUIRED:1 -# -# Set POP3_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED POP3 capability, until STARTTLS -# is issued). - -POP3_TLS_REQUIRED=0 - -##NAME: COURIERTLS:0 -# -# The following variables configure POP3 over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the POP3 STARTTLS -# extension, as opposed to POP3 over SSL on port 995. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for long-running -# POP3 clients. TLS_CACHEFILE will be automatically created, TLS_CACHESIZE -# bytes long, and used as a cache buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier_authlib_authdaemonrc b/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier_authlib_authdaemonrc deleted file mode 100644 index 867a12d..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier_authlib_authdaemonrc +++ /dev/null @@ -1,93 +0,0 @@ -##VERSION: $Id: authdaemonrc.in,v 1.12 2005/07/05 12:25:08 mrsam Exp $ -# -# Copyright 2000-2005 Double Precision, Inc. See COPYING for -# distribution information. -# -# authdaemonrc created from authdaemonrc.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# This file configures authdaemond, the resident authentication daemon. -# -# Comments in this file are ignored. Although this file is intended to -# be sourced as a shell script, authdaemond parses it manually, so -# the acceptable syntax is a bit limited. Multiline variable contents, -# with the \ continuation character, are not allowed. Everything must -# fit on one line. Do not use any additional whitespace for indentation, -# or anything else. - -##NAME: authmodulelist:2 -# -# The authentication modules that are linked into authdaemond. The -# default list is installed. You may selectively disable modules simply -# by removing them from the following list. The available modules you -# can use are: authuserdb authpam authshadow authmysql authcustom authpipe - -authmodulelist="authmysql" - -##NAME: authmodulelistorig:3 -# -# This setting is used by Courier's webadmin module, and should be left -# alone - -authmodulelistorig="authuserdb authpam authshadow authmysql authcustom authpipe" - -##NAME: daemons:0 -# -# The number of daemon processes that are started. authdaemon is typically -# installed where authentication modules are relatively expensive: such -# as authldap, or authmysql, so it's better to have a number of them running. -# PLEASE NOTE: Some platforms may experience a problem if there's more than -# one daemon. Specifically, SystemV derived platforms that use TLI with -# socket emulation. I'm suspicious of TLI's ability to handle multiple -# processes accepting connections on the same filesystem domain socket. -# -# You may need to increase daemons if as your system load increases. Symptoms -# include sporadic authentication failures. If you start getting -# authentication failures, increase daemons. However, the default of 5 -# SHOULD be sufficient. Bumping up daemon count is only a short-term -# solution. The permanent solution is to add more resources: RAM, faster -# disks, faster CPUs... - -daemons=5 - -##NAME: authdaemonvar:2 -# -# authdaemonvar is here, but is not used directly by authdaemond. It's -# used by various configuration and build scripts, so don't touch it! - -authdaemonvar=/var/lib/courier/authdaemon - -##NAME: DEBUG_LOGIN:0 -# -# Dump additional diagnostics to syslog -# -# DEBUG_LOGIN=0 - turn off debugging -# DEBUG_LOGIN=1 - turn on debugging -# DEBUG_LOGIN=2 - turn on debugging + log passwords too -# -# ** YES ** - DEBUG_LOGIN=2 places passwords into syslog. -# -# Note that most information is sent to syslog at level 'debug', so -# you may need to modify your /etc/syslog.conf to be able to see it. - -DEBUG_LOGIN=0 - -##NAME: DEFAULTOPTIONS:0 -# -# A comma-separated list of option=value pairs. Each option is applied -# to an account if the account does not have its own specific value for -# that option. So for example, you can set -# DEFAULTOPTIONS="disablewebmail=1,disableimap=1" -# and then enable webmail and/or imap on individual accounts by setting -# disablewebmail=0 and/or disableimap=0 on the account. - -DEFAULTOPTIONS="" - -##NAME: LOGGEROPTS:0 -# -# courierlogger(1) options, e.g. to set syslog facility -# - -LOGGEROPTS="" diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier_authlib_authmysqlrc b/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier_authlib_authmysqlrc deleted file mode 100644 index fec6508..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/courier/etc_courier_authlib_authmysqlrc +++ /dev/null @@ -1,12 +0,0 @@ -MYSQL_SERVER <SQL_HOST> -MYSQL_USERNAME <SQL_UNPRIVILEGED_USER> -MYSQL_PASSWORD <SQL_UNPRIVILEGED_PASSWORD> -MYSQL_PORT 0 -MYSQL_DATABASE <SQL_DB> -MYSQL_USER_TABLE mail_users -MYSQL_CRYPT_PWFIELD password_enc -MYSQL_UID_FIELD <VIRTUAL_UID_MAPS> -MYSQL_GID_FIELD <VIRTUAL_GID_MAPS> -MYSQL_LOGIN_FIELD username -MYSQL_HOME_FIELD "<VIRTUAL_MAILBOX_BASE>" -MYSQL_MAILDIR_FIELD maildir diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_cron.d_syscp b/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_cron.d_syscp deleted file mode 100644 index 4afe408..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_cron.d_syscp +++ /dev/null @@ -1,10 +0,0 @@ -# -# Set PATH, otherwise restart-scripts won't find start-stop-daemon -# -PATH=/sbin:/bin:/usr/sbin:/usr/bin -# -# Regular cron jobs for the syscp package -# -# Please check that all following paths are correct -# -*/5 * * * * root /usr/lib/php4/bin/php -q -c /etc/php/syscp-cronjob/php.ini /var/www/syscp/scripts/cronscript.php diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_php_syscp-cronjob_php.ini b/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_php_syscp-cronjob_php.ini deleted file mode 100644 index 74c8316..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_php_syscp-cronjob_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = Off -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = -disable_functions = -disable_classes = -expose_php = Off -max_execution_time = 180 -max_input_time = 120 -memory_limit = 32M -post_max_size = 32M -error_reporting = E_ALL & ~E_NOTICE -display_errors = On -display_startup_errors = Off -log_errors = Off -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/tmp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/tmp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_php_syscp-vhost_php.ini b/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_php_syscp-vhost_php.ini deleted file mode 100644 index 048c26c..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/cron/etc_php_syscp-vhost_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = 4096 -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = "/var/www/syscp/:/var/www/syscp-suphp/syscp/:/var/www/syscpwebs/:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -disable_functions = exec,passthru,shell_exec,system,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate -disable_classes = -expose_php = Off -max_execution_time = 30 -max_input_time = 60 -memory_limit = 16M -post_max_size = 12M -error_reporting = E_ALL & ~E_NOTICE -display_errors = Off -display_startup_errors = Off -log_errors = On -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/var/www/syscp-suphp/syscp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/var/www/syscp-suphp/syscp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_main.cf b/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_main.cf deleted file mode 100644 index 9013dd6..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_main.cf +++ /dev/null @@ -1,65 +0,0 @@ -# Postfix directories settings -command_directory = /usr/sbin -daemon_directory = /usr/lib/postfix -queue_directory = /var/spool/postfix -sample_directory = /etc/postfix -manpage_directory = /usr/share/man -readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme -html_directory = no - -# Postfix programs paths settings -mailq_path = /usr/bin/mailq -newaliases_path = /usr/bin/newaliases -sendmail_path = /usr/sbin/sendmail - -# General Postfix configuration -myhostname = <SERVERNAME> -mydestination = $myhostname, $mydomain, localhost.$myhostname, localhost.$mydomain, localhost -mynetworks = 127.0.0.0/8 -inet_interfaces = all -mail_owner = postfix -setgid_group = postdrop -smtpd_banner = $myhostname ESMTP Mailserver -smtpd_helo_required = yes -append_dot_mydomain = no -biff = no - -# Postfix Debugger configuration -debug_peer_level = 2 -debugger_command = - PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; - echo where) | gdb $daemon_directory/$process_name $process_id 2>&1 - >$config_directory/$process_name.$process_id.log & sleep 5 - -# Postfix performance settings -default_destination_concurrency_limit = 20 -local_destination_concurrency_limit = 2 - -# Virtual delivery settings -virtual_transport = virtual -virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE> -virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf -virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf -virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf -virtual_uid_maps = static:<VIRTUAL_UID_MAPS> -virtual_gid_maps = static:<VIRTUAL_GID_MAPS> - -# Local delivery settings -local_transport = local -alias_database = hash:/etc/mail/aliases -alias_maps = $alias_database - -# SASL settings -smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination -smtpd_sasl_auth_enable = yes -smtpd_sasl_local_domain = $myhostname -smtpd_sasl_security_options = noanonymous -broken_sasl_auth_clients = yes - -# TLS settings -#smtpd_use_tls = yes -#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.crt -#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.key -#smtpd_tls_auth_only = no -#smtpd_tls_session_cache_timeout = 3600s -#tls_random_source = dev:/dev/urandom diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf b/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf deleted file mode 100644 index c921e6f..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_virtual -select_field = destination -where_field = email -additional_conditions = and destination <> '' and destination <> ' ' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf b/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf deleted file mode 100644 index 4484bee..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = panel_domains -select_field = domain -where_field = domain -additional_conditions = and isemaildomain = '1' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf b/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf deleted file mode 100644 index 7e0f79a..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf +++ /dev/null @@ -1,7 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_users -select_field = maildir -where_field = email -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_sasl2_smtpd.conf b/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_sasl2_smtpd.conf deleted file mode 100644 index 2089cbb..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/postfix/etc_sasl2_smtpd.conf +++ /dev/null @@ -1,12 +0,0 @@ -pwcheck_method: auxprop -auxprop_plugin: sql -allowanonymouslogin: no -allowplaintext: yes -mech_list: PLAIN LOGIN -password_format: crypt -sql_engine: mysql -sql_hostnames: <SQL_HOST> -sql_user: <SQL_UNPRIVILEGED_USER> -sql_passwd: <SQL_UNPRIVILEGED_PASSWORD> -sql_database: <SQL_DB> -sql_select: SELECT password_enc FROM mail_users where username='%u@%r' diff --git a/syscp/patches/gentoo-config-files/bind/gentoo/proftpd/etc_proftpd_proftpd.conf b/syscp/patches/gentoo-config-files/bind/gentoo/proftpd/etc_proftpd_proftpd.conf deleted file mode 100644 index 5e56215..0000000 --- a/syscp/patches/gentoo-config-files/bind/gentoo/proftpd/etc_proftpd_proftpd.conf +++ /dev/null @@ -1,89 +0,0 @@ -# Server settings -ServerName "<SERVERNAME> FTP Server" -ServerType standalone -ServerIdent off -DefaultServer on -Port 21 -MaxInstances 50 - -# General settings -DeferWelcome on -MultilineRFC2228 on -ShowSymlinks on -AllowOverwrite on -AllowStoreRestart on -AllowRetrieveRestart on -UseReverseDNS off -IdentLookups off -ListOptions "-al" -DisplayFirstChdir .message - -# Modules settings -#DelayEngine off - -# Timeout settings -TimeoutLogin 120 -TimeoutNoTransfer 600 -TimeoutStalled 600 -TimeoutIdle 600 - -# Security settings -RootLogin off -RequireValidShell off -User syscpftpd -Group syscpftpd -Umask 133 022 -DefaultRoot ~ -DenyFilter \*.*/ - -# Per-Directory settings -<Directory /*> -Umask 133 022 -AllowOverwrite on -</Directory> - -# SQL settings -SQLAuthTypes Crypt -SQLAuthenticate users* groups* -SQLConnectInfo <SQL_DB>@<SQL_HOST> <SQL_UNPRIVILEGED_USER> <SQL_UNPRIVILEGED_PASSWORD> -SQLUserInfo ftp_users username password uid gid homedir shell -SQLGroupInfo ftp_groups groupname gid members -SQLUserWhereClause "login_enabled = 'y'" - -SQLLog PASS login -SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users - -SQLLog RETR download -SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users - -SQLLog STOR upload -SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users - -# TLS settings -#<IfModule mod_tls.c> -#TLSEngine on -#TLSLog /var/log/proftpd-tls.log -#TLSProtocol SSLv23 -#TLSTimeoutHandshake 120 -# Really important for WinClients -#TLSOptions NoCertRequest -#TLSRSACertificateFile /etc/ssl/server/<SERVERNAME>.crt -#TLSRSACertificateKeyFile /etc/ssl/server/<SERVERNAME>.key -# Authenticate client that want to use FTP over TLS? -#TLSVerifyClient off -# Uncomment the following line to force tls login -#TLSRequired off -#</IfModule> - -# LOG settings -# Logging Formats -LogFormat default "%h %1 %u %t \"%r\" %s %b" -LogFormat auth "%v [%P] %h %t \"%r\" %s" -LogFormat write "%h %l %u %t \"%r\" %s %b" -# Activate Logging -# all logins -ExtendedLog /var/log/proftpd-auth.log AUTH auth -# file/dir access -ExtendedLog /var/log/proftpd-access.log WRITE,READ write -# everything (be careful, generates_ very_ big logfiles) -#ExtendedLog /var/log/proftpd-all.log ALL default diff --git a/syscp/patches/gentoo-config-files/bind/syscp-1.2.13-gentoo-admin_configfiles.php-bind b/syscp/patches/gentoo-config-files/bind/syscp-1.2.13-gentoo-admin_configfiles.php-bind deleted file mode 100644 index ff64f20..0000000 --- a/syscp/patches/gentoo-config-files/bind/syscp-1.2.13-gentoo-admin_configfiles.php-bind +++ /dev/null @@ -1,286 +0,0 @@ -<?php -/** - * filename: $Source: /syscp/syscp/admin_configfiles.php,v $ - * begin: Wednesday, Sep 08, 2004 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * @author Florian Lippert <flo@redenswert.de> - * @copyright (C) 2003-2004 Florian Lippert - * @package Panel - * @version $Id: admin_configfiles.php,v 1.9 2005/06/15 13:53:58 flo Exp $ - * Modified to reflect the Gentoo environment by Luca Longinotti <chtekk@gentoo.org> - */ - - define('AREA', 'admin'); - - /** - * Include our init.php, which manages Sessions, Language etc. - */ - require("./lib/init.php"); - - - $configfiles = Array - ( - 'gentoo' => Array - ( - 'label' => 'Gentoo', - 'daemons' => Array - ( - 'apache' => Array - ( - 'label' => 'Apache2 Webserver (HTTP)', - 'commands' => Array - ( - 'touch '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chown root:0 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chmod 0600 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'echo "Include '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf" >> /etc/apache2/httpd.conf', - 'mkdir -p '.$settings['system']['documentroot_prefix'], - 'mkdir -p '.$settings['system']['logfiles_directory'] - ), - 'restart' => Array - ( - 'rc-update add apache2 default', - '/etc/init.d/apache2 restart' - ) - ), - 'bind' => Array - ( - 'label' => 'Bind9 Nameserver (DNS)', - 'files' => Array - ( - 'etc_bind_default.zone' => '/etc/bind/default.zone' - ), - 'commands' => Array - ( - 'echo "include \"'.$settings['system']['bindconf_directory'].'syscp_bind.conf\";" >> /etc/bind/named.conf', - 'touch '.$settings['system']['bindconf_directory'].'syscp_bind.conf', - 'chown root:0 '.$settings['system']['bindconf_directory'].'syscp_bind.conf', - 'chmod 0600 '.$settings['system']['bindconf_directory'].'syscp_bind.conf' - ), - 'restart' => Array - ( - 'rc-update add named default', - '/etc/init.d/named restart' - ) - ), - 'courier' => Array - ( - 'label' => 'Courier-IMAP (POP3/IMAP)', - 'files' => Array - ( - 'etc_courier_authlib_authdaemonrc' => '/etc/courier/authlib/authdaemonrc', - 'etc_courier_authlib_authmysqlrc' => '/etc/courier/authlib/authmysqlrc', - 'etc_courier-imap_pop3d' => '/etc/courier-imap/pop3d', - 'etc_courier-imap_imapd' => '/etc/courier-imap/imapd', - 'etc_courier-imap_pop3d-ssl' => '/etc/courier-imap/pop3d-ssl', - 'etc_courier-imap_imapd-ssl' => '/etc/courier-imap/imapd-ssl' - ), - 'commands' => Array - ( - 'rm /etc/courier/authlib/authdaemonrc', - 'rm /etc/courier/authlib/authmysqlrc', - 'rm /etc/courier-imap/pop3d', - 'rm /etc/courier-imap/imapd', - 'rm /etc/courier-imap/pop3d-ssl', - 'rm /etc/courier-imap/imapd-ssl', - 'touch /etc/courier/authlib/authdaemonrc', - 'touch /etc/courier/authlib/authmysqlrc', - 'touch /etc/courier-imap/pop3d', - 'touch /etc/courier-imap/imapd', - 'touch /etc/courier-imap/pop3d-ssl', - 'touch /etc/courier-imap/imapd-ssl', - 'chown root:0 /etc/courier/authlib/authdaemonrc', - 'chown root:0 /etc/courier/authlib/authmysqlrc', - 'chown root:0 /etc/courier-imap/pop3d', - 'chown root:0 /etc/courier-imap/imapd', - 'chown root:0 /etc/courier-imap/pop3d-ssl', - 'chown root:0 /etc/courier-imap/imapd-ssl', - 'chmod 0600 /etc/courier/authlib/authdaemonrc', - 'chmod 0600 /etc/courier/authlib/authmysqlrc', - 'chmod 0600 /etc/courier-imap/pop3d', - 'chmod 0600 /etc/courier-imap/imapd', - 'chmod 0600 /etc/courier-imap/pop3d-ssl', - 'chmod 0600 /etc/courier-imap/imapd-ssl' - ), - 'restart' => Array - ( - 'rc-update add courier-authlib default', - 'rc-update add courier-pop3d default', - 'rc-update add courier-imapd default', - '/etc/init.d/courier-authlib restart', - '/etc/init.d/courier-pop3d restart', - '/etc/init.d/courier-imapd restart' - ) - ), - 'postfix' => Array - ( - 'label' => 'Postfix (MTA)', - 'files' => Array - ( - 'etc_postfix_main.cf' => '/etc/postfix/main.cf', - 'etc_postfix_mysql-virtual_alias_maps.cf' => '/etc/postfix/mysql-virtual_alias_maps.cf', - 'etc_postfix_mysql-virtual_mailbox_domains.cf' => '/etc/postfix/mysql-virtual_mailbox_domains.cf', - 'etc_postfix_mysql-virtual_mailbox_maps.cf' => '/etc/postfix/mysql-virtual_mailbox_maps.cf', - 'etc_sasl2_smtpd.conf' => '/etc/sasl2/smtpd.conf' - ), - 'commands' => Array - ( - 'mkdir -p '.$settings['system']['vmail_homedir'], - 'chown -R vmail:vmail '.$settings['system']['vmail_homedir'], - 'chmod 0750 '.$settings['system']['vmail_homedir'], - 'rm /etc/postfix/main.cf', - 'touch /etc/postfix/main.cf', - 'touch /etc/postfix/master.cf', - 'touch /etc/postfix/mysql-virtual_alias_maps.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'touch /etc/sasl2/smtpd.conf', - 'chown root:0 /etc/postfix/main.cf', - 'chown root:0 /etc/postfix/master.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_alias_maps.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chown root:0 /etc/sasl2/smtpd.conf', - 'chmod 0600 /etc/postfix/main.cf', - 'chmod 0600 /etc/postfix/master.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_alias_maps.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chmod 0600 /etc/sasl2/smtpd.conf' - ), - 'restart' => Array - ( - 'rc-update add postfix default', - '/etc/init.d/postfix restart' - ) - ), - 'proftpd' => Array - ( - 'label' => 'ProFTPd (FTP)', - 'files' => Array - ( - 'etc_proftpd_proftpd.conf' => '/etc/proftpd/proftpd.conf' - ), - 'commands' => Array - ( - 'touch /etc/proftpd/proftpd.conf', - 'chown root:0 /etc/proftpd/proftpd.conf', - 'chmod 0600 /etc/proftpd/proftpd.conf' - ), - 'restart' => Array - ( - 'rc-update add proftpd default', - '/etc/init.d/proftpd restart' - ) - ), - 'cron' => Array - ( - 'label' => 'Crond (cronscript)', - 'files' => Array - ( - 'etc_php_syscp-cronjob_php.ini' => '/etc/php/syscp-cronjob/php.ini', - 'etc_cron.d_syscp' => '/etc/cron.d/syscp' - ), - 'commands' => Array - ( - 'touch /etc/cron.d/syscp', - 'chown root:0 /etc/cron.d/syscp', - 'chmod 0640 /etc/cron.d/syscp', - 'mkdir -p /etc/php/syscp-cronjob', - 'touch /etc/php/syscp-cronjob/php.ini', - 'chown -R root:0 /etc/php/syscp-cronjob', - 'chmod 0750 /etc/php/syscp-cronjob', - 'chmod 0640 /etc/php/syscp-cronjob/php.ini' - ), - 'restart' => Array - ( - 'rc-update add vixie-cron default', - '/etc/init.d/vixie-cron restart' - ) - ) - ) - ) - ); - - /*echo '<pre>'; - print_r($configfiles); - echo '</pre>';*/ - - if( ($page == 'configfiles' || $page == 'overview') && $userinfo['change_serversettings'] == '1') - { - if(isset($_GET['distribution']) && $_GET['distribution']!='' && isset($configfiles[$_GET['distribution']]) && is_array($configfiles[$_GET['distribution']]) && - isset($_GET['daemon']) && $_GET['daemon']!='' && isset($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']]) && is_array($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']])) - { - $distribution = addslashes($_GET['distribution']); - $daemon = addslashes($_GET['daemon']); - - if(isset($configfiles[$distribution]['daemons'][$daemon]['commands']) && is_array($configfiles[$distribution]['daemons'][$daemon]['commands'])) - { - $commands = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['commands']); - } - else - { - $commands = ''; - } - - $replace_arr = Array - ( - '<SQL_UNPRIVILEGED_USER>' => $sql['user'], - '<SQL_UNPRIVILEGED_PASSWORD>' => 'MYSQL_PASSWORD', - '<SQL_DB>' => $sql['db'], - '<SQL_HOST>' => $sql['host'], - '<SERVERNAME>' => $settings['system']['hostname'], - '<SERVERIP>' => $settings['system']['ipaddress'], - '<VIRTUAL_MAILBOX_BASE>' => $settings['system']['vmail_homedir'], - '<VIRTUAL_UID_MAPS>' => $settings['system']['vmail_uid'], - '<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'] - ); - $files = ''; - if(isset($configfiles[$distribution]['daemons'][$daemon]['files']) && is_array($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - while(list($filename, $realname) = each($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - $file_content = implode('', file('./templates/misc/configfiles/'.$distribution.'/'.$daemon.'/'.$filename)); - $file_content = strtr($file_content, $replace_arr); - $file_content = htmlspecialchars($file_content); - $numbrows = count(explode("\n", $file_content)); - eval("\$files.=\"".getTemplate("configfiles/configfiles_file")."\";"); - } - } - - if(isset($configfiles[$distribution]['daemons'][$daemon]['restart']) && is_array($configfiles[$distribution]['daemons'][$daemon]['restart'])) - { - $restart = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['restart']); - } - else - { - $restart = ''; - } - - eval("echo \"".getTemplate("configfiles/configfiles")."\";"); - } - else - { - $distributions = ''; - while (list($distribution_name, $distribution_details) = each($configfiles)) - { - $daemons = ''; - while(list($daemon_name, $daemon_details) = each($distribution_details['daemons'])) - { - eval("\$daemons.=\"".getTemplate("configfiles/choose_daemon")."\";"); - } - eval("\$distributions.=\"".getTemplate("configfiles/choose_distribution")."\";"); - } - eval("echo \"".getTemplate("configfiles/choose")."\";"); - } - } - -?> diff --git a/syscp/patches/gentoo-config-files/bind/syscp-1.2.13-gentoo-config-bind-r2.tar.bz2 b/syscp/patches/gentoo-config-files/bind/syscp-1.2.13-gentoo-config-bind-r2.tar.bz2 Binary files differdeleted file mode 100644 index e859f7c..0000000 --- a/syscp/patches/gentoo-config-files/bind/syscp-1.2.13-gentoo-config-bind-r2.tar.bz2 +++ /dev/null diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql-root.cfg b/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql-root.cfg deleted file mode 100644 index 6498977..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql-root.cfg +++ /dev/null @@ -1,2 +0,0 @@ -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg b/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg deleted file mode 100644 index d284192..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg +++ /dev/null @@ -1,38 +0,0 @@ -getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE uid='%1$u' \ - LIMIT 1 -getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users -getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users -getgrnam SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE groupname='%1$s' \ - LIMIT 1 -getgrgid SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE gid='%1$u' \ - LIMIT 1 -getgrent SELECT groupname,'x',gid \ - FROM ftp_groups -memsbygid SELECT username \ - FROM ftp_users \ - WHERE gid='%1$u' -gidsbymem SELECT gid \ - FROM ftp_users \ - WHERE username='%1$s' - -host <SQL_HOST> -database <SQL_DB> -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> -socket /var/run/mysqld/mysqld.sock diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_imapd b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_imapd deleted file mode 100644 index f594e41..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_imapd +++ /dev/null @@ -1,376 +0,0 @@ -##VERSION: $Id: imapd.dist.in,v 1.32 2004/11/25 04:57:04 mrsam Exp $ -# -# imapd created from imapd.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used with the couriertcpd server. -# A lot of the stuff here is documented in the manual page for couriertcpd. -# -# NOTE - do not use \ to split long variable contents on multiple lines. -# This will break the default imapd.rc script, which parses this file. -# -##NAME: ADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# ADDRESS=127.0.0.1 - -ADDRESS=0 - -##NAME: PORT:1 -# -# Port numbers that connections are accepted on. The default is 143, -# the standard IMAP port. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possible to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The previous ADDRESS setting is a default for ports that do not have -# a specified IP address. - -PORT=143 - -##NAME: AUTHSERVICE:0 -# -# It's possible to authenticate using a different 'service' parameter -# depending on the connection's port. This only works with authentication -# modules that use the 'service' parameter, such as PAM. Example: -# -# AUTHSERVICE143=imap -# AUTHSERVICE993=imaps - -##NAME: MAXDAEMONS:0 -# -# Maximum number of IMAP servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:0 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=10 - -##NAME: PIDFILE:0 -# -# File where couriertcpd will save its process ID -# - -PIDFILE=/var/run/imapd.pid - -##NAME: TCPDOPTS:0 -# -# Miscellaneous couriertcpd options that shouldn't be changed. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: IMAP_CAPABILITY:1 -# -# IMAP_CAPABILITY specifies what most of the response should be to the -# CAPABILITY command. -# -# If you have properly configured Courier to use CRAM-MD5 or CRAM-SHA1 -# authentication (see INSTALL), set IMAP_CAPABILITY as follows: -# -# IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" -# - -IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE" - -##NAME: KEYWORDS_CAPABILITY:0 -# -# IMAP_KEYWORDS=1 enables custom IMAP keywords. Set this option to 0 to -# disable custom keywords. - -IMAP_KEYWORDS=1 - -##NAME: SMAP1_CAPABILITY:0 -# -# EXPERIMENTAL -# -# To enable the experimental "Simple Mail Access Protocol" extensions, -# uncomment the following setting. -# -# SMAP_CAPABILITY=SMAP1 - -##NAME: IMAP_CAPABILITY_ORIG:1 -# -# For use by webadmin - -IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" - -##NAME: IMAP_PROXY:0 -# -# Enable proxying. See README.proxy - -IMAP_PROXY=0 - -##NAME: IMAP_PROXY_FOREIGN:0 -# -# Proxying to non-Courier servers. Re-sends the CAPABILITY command after -# logging in to the remote server. May not work with all IMAP clients. - -IMAP_PROXY_FOREIGN=0 - -##NAME: IMAP_IDLE_TIMEOUT:0 -# -# This setting controls how often -# the server polls for changes to the folder, in IDLE mode (in seconds). - -IMAP_IDLE_TIMEOUT=60 - -##NAME: IMAP_CAPABILITY_TLS:0 -# -# The following setting will advertise SASL PLAIN authentication after -# STARTTLS is established. If you want to allow SASL PLAIN authentication -# with or without TLS then just comment this out, and add AUTH=PLAIN to -# IMAP_CAPABILITY - -IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN" - -##NAME: IMAP_TLS_ORIG:0 -# -# For use by webadmin - -IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN" - -##NAME: IMAP_DISABLETHREADSORT:0 -# -# Set IMAP_DISABLETHREADSORT to disable the THREAD and SORT commands - -# server side sorting and threading. -# -# Those capabilities will still be advertised, but the server will reject -# them. Set this option if you want to disable all the extra load from -# server-side threading and sorting. Not advertising those capabilities -# will simply result in the clients reading the entire folder, and sorting -# it on the client side. That will still put some load on the server. -# advertising these capabilities, but rejecting the commands, will stop this -# silliness. -# - -IMAP_DISABLETHREADSORT=0 - -##NAME: IMAP_CHECK_ALL_FOLDERS:0 -# -# Set IMAP_CHECK_ALL_FOLDERS to 1 if you want the server to check for new -# mail in every folder. Not all IMAP clients use the IMAP's new mail -# indicator, but some do. Normally new mail is checked only in INBOX, -# because it is a comparatively time consuming operation, and it would be -# a complete waste of time unless mail filters are used to deliver -# mail directly to folders. -# -# When IMAP clients are used which support new mail indication, and when -# mail filters are used to sort incoming mail into folders, setting -# IMAP_CHECK_ALL_FOLDERS to 1 will allow IMAP clients to announce new -# mail in folders. Note that this will result in slightly more load on the -# server. -# - -IMAP_CHECK_ALL_FOLDERS=0 - -##NAME: IMAP_OBSOLETE_CLIENT:0 -# -# Set IMAP_OBSOLETE_CLIENT if your IMAP client expects \\NoInferiors to mean -# what \\HasNoChildren really means. - -IMAP_OBSOLETE_CLIENT=0 - -##NAME: IMAP_UMASK:0 -# -# IMAP_UMASK sets the umask of the server process. The value of IMAP_UMASK is -# simply passed to the "umask" command. The default value is 022. -# -# This feature is mostly useful for shared folders, where the file permissions -# of the messages may be important. - -IMAP_UMASK=027 - -##NAME: IMAP_ULIMITD:0 -# -# IMAP_ULIMITD sets the maximum size of the data segment of the server -# process. The value of IMAP_ULIMITD is simply passed to the "ulimit -d" -# command (or ulimit -v). The argument to ulimi sets the upper limit on the -# size of the data segment of the server process, in kilobytes. The default -# value of 65536 sets a very generous limit of 64 megabytes, which should -# be more than plenty for anyone. -# -# This feature is used as an additional safety check that should stop -# any potential denial-of-service attacks that exploit any kind of -# a memory leak to exhaust all the available memory on the server. -# It is theoretically possible that obscenely huge folders will also -# result in the server running out of memory when doing server-side -# sorting (by my calculations you have to have at least 100,000 messages -# in a single folder, for that to happen). - -IMAP_ULIMITD=65536 - -##NAME: IMAP_USELOCKS:0 -# -# Setting IMAP_USELOCKS to 1 will use dot-locking to support concurrent -# multiple access to the same folder. This incurs slight additional -# overhead. Concurrent multiple access will still work without this setting, -# however occasionally a minor race condition may result in an IMAP client -# downloading the same message twice, or a keyword update will fail. -# -# IMAP_USELOCKS=1 is strongly recommended when shared folders are used. - -IMAP_USELOCKS=1 - -##NAME: IMAP_SHAREDINDEXFILE:0 -# -# The index of all accessible folders. Do not change this setting unless -# you know what you're doing. See README.sharedfolders for additional -# information. - -IMAP_SHAREDINDEXFILE=/etc/courier-imap/shared/index - -##NAME: IMAP_ENHANCEDIDLE:0 -# -# If Courier was compiled with the File Alteration Monitor, setting -# IMAP_ENHANCEDIDLE to 1 enables enhanced IDLE mode, where multiple -# clients may open the same folder concurrently, and receive updates to -# folder contents in realtime. See the imapd(8) man page for additional -# information. -# -# IMPORTANT: IMAP_USELOCKS *MUST* also be set to 1, and IDLE must be included -# in the IMAP_CAPABILITY list. -# - -IMAP_ENHANCEDIDLE=0 - -##NAME: IMAP_TRASHFOLDERNAME:0 -# -# The name of the magic trash Folder. For MSOE compatibility, -# you can set IMAP_TRASHFOLDERNAME="Deleted Items". -# -# IMPORTANT: If you change this, you must also change IMAP_EMPTYTRASH - -IMAP_TRASHFOLDERNAME=Trash - -##NAME: IMAP_EMPTYTRASH:0 -# -# The following setting is optional, and causes messages from the given -# folder to be automatically deleted after the given number of days. -# IMAP_EMPTYTRASH is a comma-separated list of folder:days. The default -# setting, below, purges 7 day old messages from the Trash folder. -# Another useful setting would be: -# -# IMAP_EMPTYTRASH=Trash:7,Sent:30 -# -# This would also delete messages from the Sent folder (presumably copies -# of sent mail) after 30 days. This is a global setting that is applied to -# every mail account, and is probably useful in a controlled, corporate -# environment. -# -# Important: the purging is controlled by CTIME, not MTIME (the file time -# as shown by ls). It is perfectly ordinary to see stuff in Trash that's -# a year old. That's the file modification time, MTIME, that's displayed. -# This is generally when the message was originally delivered to this -# mailbox. Purging is controlled by a different timestamp, CTIME, which is -# changed when the file is moved to the Trash folder (and at other times too). -# -# You might want to disable this setting in certain situations - it results -# in a stat() of every file in each folder, at login and logout. -# - -IMAP_EMPTYTRASH=Trash:7 - -##NAME: IMAP_MOVE_EXPUNGE_TO_TRASH:0 -# -# Set IMAP_MOVE_EXPUNGE_TO_TRASH to move expunged messages to Trash. This -# effectively allows an undo of message deletion by fishing the deleted -# mail from trash. Trash can be manually expunged as usually, and mail -# will get automatically expunged from Trash according to IMAP_EMPTYTRASH. -# -# NOTE: shared folders are still expunged as usual. Shared folders are -# not affected. -# - -IMAP_MOVE_EXPUNGE_TO_TRASH=0 - - -##NAME: OUTBOX:0 -# -# The next set of options deal with the "Outbox" enhancement. -# Uncomment the following setting to create a special folder, named -# INBOX.Outbox -# -# OUTBOX=.Outbox - -##NAME: SENDMAIL:0 -# -# If OUTBOX is defined, mail can be sent via the IMAP connection by copying -# a message to the INBOX.Outbox folder. For all practical matters, -# INBOX.Outbox looks and behaves just like any other IMAP folder. If this -# folder doesn't exist it must be created by the IMAP mail client, just -# like any other IMAP folder. The kicker: any message copied or moved to -# this folder is will be E-mailed by the Courier-IMAP server, by running -# the SENDMAIL program. Therefore, messages copied or moved to this -# folder must be well-formed RFC-2822 messages, with the recipient list -# specified in the To:, Cc:, and Bcc: headers. Courier-IMAP relies on -# SENDMAIL to read the recipient list from these headers (and delete the Bcc: -# header) by running the command "$SENDMAIL -oi -t -f $SENDER", with the -# message piped on standard input. $SENDER will be the return address -# of the message, which is set by the authentication module. -# -# DO NOT MODIFY SENDMAIL, below, unless you know what you're doing. -# - -SENDMAIL=/usr/sbin/sendmail - -##NAME: HEADERFROM:0 -# -# For administrative and oversight purposes, the return address, $SENDER -# will also be saved in the X-IMAP-Sender mail header. This header gets -# added to the sent E-mail (but it doesn't get saved in the copy of the -# message that's saved in the folder) -# -# WARNING - By enabling OUTBOX above, *every* IMAP mail client will receive -# the magic OUTBOX treatment. Therefore advance LARTing is in order for -# _all_ of your lusers, until every one of them is aware of this. Otherwise if -# OUTBOX is left at its default setting - a folder name that might be used -# accidentally - some people may be in for a rude surprise. You can redefine -# the name of the magic folder by changing OUTBOX, above. You should do that -# and pick a less-obvious name. Perhaps brand it with your organizational -# name ( OUTBOX=.WidgetsAndSonsOutbox ) - -HEADERFROM=X-IMAP-Sender - -##NAME: IMAPDSTART:0 -# -# IMAPDSTART is not used directly. Rather, this is a convenient flag to -# be read by your system startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/imapd -# -# case x$IMAPDSTART in -# x[yY]*) -# /usr/lib/courier-imap/imapd.rc start -# ;; -# esac -# -# The default setting is going to be NO, so you'll have to manually flip -# it to yes. - -IMAPDSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_imapd-ssl b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_imapd-ssl deleted file mode 100644 index 76dbcf7..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_imapd-ssl +++ /dev/null @@ -1,199 +0,0 @@ -##VERSION: $Id: imapd-ssl.dist.in,v 1.11 2004/10/21 00:45:35 mrsam Exp $ -# -# imapd-ssl created from imapd-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL IMAP connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL IMAP -# connections, you will start two instances of couriertcpd, one on the -# IMAP port 143, and another one on the IMAP-SSL port 993. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:1 -# -# Options in the imapd-ssl configuration file AUGMENT the options in the -# imapd configuration file. First the imapd configuration file is read, -# then the imapd-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 993. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=993 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# That's the SSL IMAP port we'll listen on. -# Feel free to redefine MAXDAEMONS, TCPDOPTS, and MAXPERIP. - -SSLPIDFILE=/var/run/imapd-ssl.pid - -##NAME: IMAPDSSLSTART:0 -# -# Different pid files, so that both instances of couriertcpd can coexist -# happily. -# -# You can also redefine IMAP_CAPABILITY, although I can't -# think of why you'd want to do that. -# -# -# Ok, the following settings are new to imapd-ssl: -# -# Whether or not to start IMAP over SSL on simap port: - -IMAPDSSLSTART=YES - -##NAME: IMAPDSTARTTLS:0 -# -# Whether or not to implement IMAP STARTTLS extension instead: - -IMAPDSTARTTLS=YES - -##NAME: IMAP_TLS_REQUIRED:1 -# -# Set IMAP_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED IMAP capability, until STARTTLS -# is issued). - -IMAP_TLS_REQUIRED=0 - -######################################################################### -# -# The following variables configure IMAP over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. -# -##NAME: COURIERTLS:0 -# - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the IMAP STARTTLS -# extension, as opposed to IMAP over SSL on port 993. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for IMAP clients -# that open multiple SSL sessions to the server. TLS_CACHEFILE will be -# automatically created, TLS_CACHESIZE bytes long, and used as a cache -# buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_pop3d b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_pop3d deleted file mode 100644 index 71502ae..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_pop3d +++ /dev/null @@ -1,127 +0,0 @@ -##VERSION: $Id: pop3d.dist.in,v 1.11 2004/10/30 15:39:38 mrsam Exp $ -# -# pop3d created from pop3d.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# Courier POP3 daemon configuration -# -##NAME: PIDFILE:0 -# - -PIDFILE=/var/run/pop3d.pid - -##NAME: MAXDAEMONS:0 -# -# Maximum number of POP3 servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:4 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=5 - -##NAME: POP3AUTH:1 -# -# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH -# variable: -# -# POP3AUTH="LOGIN" -# -# If you have configured the CRAM-MD5 or CRAM-SHA1, set POP3AUTH to something -# like this: -# -# POP3AUTH="LOGIN CRAM-MD5 CRAM-SHA1" - -POP3AUTH="" - -##NAME: POP3AUTH_ORIG:0 -# -# For use by webadmin - -POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" - -##NAME: POP3AUTH_TLS:1 -# -# To also advertise SASL PLAIN if SSL is enabled, uncomment the -# POP3AUTH_TLS environment variable: -# -# POP3AUTH_TLS="LOGIN PLAIN" - -POP3AUTH_TLS="" - -##NAME: POP3AUTH_TLS_ORIG:0 -# -# For use by webadmin - -POP3AUTH_TLS_ORIG="LOGIN PLAIN" - -##NAME: POP3_PROXY:0 -# -# Enable proxying. See README.proxy - -POP3_PROXY=0 - -##NAME: PORT:1 -# -# Port to listen on for connections. The default is port 110. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The ADDRESS setting is a default for ports that do not have a specified -# IP address. - -PORT=110 - -##NAME: ADDRESS:0 -# -# IP address to listen on. 0 means all IP addresses. - -ADDRESS=0 - -##NAME: TCPDOPTS:0 -# -# Other couriertcpd(1) options. The following defaults should be fine. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: POP3DSTART:0 -# -# POP3DSTART is not referenced anywhere in the standard Courier programs -# or scripts. Rather, this is a convenient flag to be read by your system -# startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/pop3d -# case x$POP3DSTART in -# x[yY]*) -# /usr/lib/courier-imap/pop3d.rc start -# ;; -# esac -# -# The default setting is going to be NO, until Courier is shipped by default -# with enough platforms so that people get annoyed with having to flip it to -# YES every time. - -POP3DSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_pop3d-ssl b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_pop3d-ssl deleted file mode 100644 index a0267a0..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier-imap_pop3d-ssl +++ /dev/null @@ -1,186 +0,0 @@ -##VERSION: $Id: pop3d-ssl.dist.in,v 1.12 2004/10/21 00:45:35 mrsam Exp $ -# -# pop3d-ssl created from pop3d-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000-2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL POP3 connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL POP3 -# connections, you will start two instances of couriertcpd, one on the -# POP3 port 110, and another one on the POP3-SSL port 995. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:0 -# -# Options in the pop3d-ssl configuration file AUGMENT the options in the -# pop3d configuration file. First the pop3d configuration file is read, -# then the pop3d-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 995. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=995 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# -# - -SSLPIDFILE=/var/run/pop3d-ssl.pid - -##NAME: POP3DSSLSTART:0 -# -# Whether or not to start POP3 over SSL on spop3 port: - -POP3DSSLSTART=YES - -##NAME: POP3_STARTTLS:0 -# -# Whether or not to implement the POP3 STLS extension: - -POP3_STARTTLS=YES - -##NAME: POP3_TLS_REQUIRED:1 -# -# Set POP3_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED POP3 capability, until STARTTLS -# is issued). - -POP3_TLS_REQUIRED=0 - -##NAME: COURIERTLS:0 -# -# The following variables configure POP3 over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the POP3 STARTTLS -# extension, as opposed to POP3 over SSL on port 995. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for long-running -# POP3 clients. TLS_CACHEFILE will be automatically created, TLS_CACHESIZE -# bytes long, and used as a cache buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier_authlib_authdaemonrc b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier_authlib_authdaemonrc deleted file mode 100644 index 867a12d..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier_authlib_authdaemonrc +++ /dev/null @@ -1,93 +0,0 @@ -##VERSION: $Id: authdaemonrc.in,v 1.12 2005/07/05 12:25:08 mrsam Exp $ -# -# Copyright 2000-2005 Double Precision, Inc. See COPYING for -# distribution information. -# -# authdaemonrc created from authdaemonrc.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# This file configures authdaemond, the resident authentication daemon. -# -# Comments in this file are ignored. Although this file is intended to -# be sourced as a shell script, authdaemond parses it manually, so -# the acceptable syntax is a bit limited. Multiline variable contents, -# with the \ continuation character, are not allowed. Everything must -# fit on one line. Do not use any additional whitespace for indentation, -# or anything else. - -##NAME: authmodulelist:2 -# -# The authentication modules that are linked into authdaemond. The -# default list is installed. You may selectively disable modules simply -# by removing them from the following list. The available modules you -# can use are: authuserdb authpam authshadow authmysql authcustom authpipe - -authmodulelist="authmysql" - -##NAME: authmodulelistorig:3 -# -# This setting is used by Courier's webadmin module, and should be left -# alone - -authmodulelistorig="authuserdb authpam authshadow authmysql authcustom authpipe" - -##NAME: daemons:0 -# -# The number of daemon processes that are started. authdaemon is typically -# installed where authentication modules are relatively expensive: such -# as authldap, or authmysql, so it's better to have a number of them running. -# PLEASE NOTE: Some platforms may experience a problem if there's more than -# one daemon. Specifically, SystemV derived platforms that use TLI with -# socket emulation. I'm suspicious of TLI's ability to handle multiple -# processes accepting connections on the same filesystem domain socket. -# -# You may need to increase daemons if as your system load increases. Symptoms -# include sporadic authentication failures. If you start getting -# authentication failures, increase daemons. However, the default of 5 -# SHOULD be sufficient. Bumping up daemon count is only a short-term -# solution. The permanent solution is to add more resources: RAM, faster -# disks, faster CPUs... - -daemons=5 - -##NAME: authdaemonvar:2 -# -# authdaemonvar is here, but is not used directly by authdaemond. It's -# used by various configuration and build scripts, so don't touch it! - -authdaemonvar=/var/lib/courier/authdaemon - -##NAME: DEBUG_LOGIN:0 -# -# Dump additional diagnostics to syslog -# -# DEBUG_LOGIN=0 - turn off debugging -# DEBUG_LOGIN=1 - turn on debugging -# DEBUG_LOGIN=2 - turn on debugging + log passwords too -# -# ** YES ** - DEBUG_LOGIN=2 places passwords into syslog. -# -# Note that most information is sent to syslog at level 'debug', so -# you may need to modify your /etc/syslog.conf to be able to see it. - -DEBUG_LOGIN=0 - -##NAME: DEFAULTOPTIONS:0 -# -# A comma-separated list of option=value pairs. Each option is applied -# to an account if the account does not have its own specific value for -# that option. So for example, you can set -# DEFAULTOPTIONS="disablewebmail=1,disableimap=1" -# and then enable webmail and/or imap on individual accounts by setting -# disablewebmail=0 and/or disableimap=0 on the account. - -DEFAULTOPTIONS="" - -##NAME: LOGGEROPTS:0 -# -# courierlogger(1) options, e.g. to set syslog facility -# - -LOGGEROPTS="" diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier_authlib_authmysqlrc b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier_authlib_authmysqlrc deleted file mode 100644 index fec6508..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/courier/etc_courier_authlib_authmysqlrc +++ /dev/null @@ -1,12 +0,0 @@ -MYSQL_SERVER <SQL_HOST> -MYSQL_USERNAME <SQL_UNPRIVILEGED_USER> -MYSQL_PASSWORD <SQL_UNPRIVILEGED_PASSWORD> -MYSQL_PORT 0 -MYSQL_DATABASE <SQL_DB> -MYSQL_USER_TABLE mail_users -MYSQL_CRYPT_PWFIELD password_enc -MYSQL_UID_FIELD <VIRTUAL_UID_MAPS> -MYSQL_GID_FIELD <VIRTUAL_GID_MAPS> -MYSQL_LOGIN_FIELD username -MYSQL_HOME_FIELD "<VIRTUAL_MAILBOX_BASE>" -MYSQL_MAILDIR_FIELD maildir diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_cron.d_syscp b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_cron.d_syscp deleted file mode 100644 index 4afe408..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_cron.d_syscp +++ /dev/null @@ -1,10 +0,0 @@ -# -# Set PATH, otherwise restart-scripts won't find start-stop-daemon -# -PATH=/sbin:/bin:/usr/sbin:/usr/bin -# -# Regular cron jobs for the syscp package -# -# Please check that all following paths are correct -# -*/5 * * * * root /usr/lib/php4/bin/php -q -c /etc/php/syscp-cronjob/php.ini /var/www/syscp/scripts/cronscript.php diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_php_syscp-cronjob_php.ini b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_php_syscp-cronjob_php.ini deleted file mode 100644 index 74c8316..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_php_syscp-cronjob_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = Off -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = -disable_functions = -disable_classes = -expose_php = Off -max_execution_time = 180 -max_input_time = 120 -memory_limit = 32M -post_max_size = 32M -error_reporting = E_ALL & ~E_NOTICE -display_errors = On -display_startup_errors = Off -log_errors = Off -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/tmp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/tmp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_php_syscp-vhost_php.ini b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_php_syscp-vhost_php.ini deleted file mode 100644 index 048c26c..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/cron/etc_php_syscp-vhost_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = 4096 -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = "/var/www/syscp/:/var/www/syscp-suphp/syscp/:/var/www/syscpwebs/:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -disable_functions = exec,passthru,shell_exec,system,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate -disable_classes = -expose_php = Off -max_execution_time = 30 -max_input_time = 60 -memory_limit = 16M -post_max_size = 12M -error_reporting = E_ALL & ~E_NOTICE -display_errors = Off -display_startup_errors = Off -log_errors = On -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/var/www/syscp-suphp/syscp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/var/www/syscp-suphp/syscp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_main.cf b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_main.cf deleted file mode 100644 index 97b10e0..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_main.cf +++ /dev/null @@ -1,65 +0,0 @@ -# Postfix directories settings -command_directory = /usr/sbin -daemon_directory = /usr/lib/postfix -queue_directory = /var/spool/postfix -sample_directory = /etc/postfix -manpage_directory = /usr/share/man -readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme -html_directory = no - -# Postfix programs paths settings -mailq_path = /usr/bin/mailq -newaliases_path = /usr/bin/newaliases -sendmail_path = /usr/sbin/sendmail - -# General Postfix configuration -myhostname = <SERVERNAME> -mydestination = $myhostname, $mydomain, localhost.$myhostname, localhost.$mydomain, localhost -mynetworks = 127.0.0.0/8 -inet_interfaces = all -mail_owner = postfix -setgid_group = postdrop -smtpd_banner = $myhostname ESMTP Mailserver -smtpd_helo_required = yes -append_dot_mydomain = no -biff = no - -# Postfix Debugger configuration -debug_peer_level = 2 -debugger_command = - PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; - echo where) | gdb $daemon_directory/$process_name $process_id 2>&1 - >$config_directory/$process_name.$process_id.log & sleep 5 - -# Postfix performance settings -default_destination_concurrency_limit = 20 -local_destination_concurrency_limit = 2 - -# Virtual delivery settings -virtual_transport = virtual -virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE> -virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf -virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf -virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf -virtual_uid_maps = static:<VIRTUAL_UID_MAPS> -virtual_gid_maps = static:<VIRTUAL_GID_MAPS> - -# Local delivery settings -local_transport = local -alias_database = hash:/etc/mail/aliases -alias_maps = $alias_database - -# SASL settings -smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination -smtpd_sasl_auth_enable = yes -smtpd_sasl_local_domain = $myhostname -smtpd_sasl_security_options = noanonymous -broken_sasl_auth_clients = yes - -# TLS settings -smtpd_use_tls = yes -smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.crt -smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.key -smtpd_tls_auth_only = no -smtpd_tls_session_cache_timeout = 3600s -tls_random_source = dev:/dev/urandom diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf deleted file mode 100644 index c921e6f..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_virtual -select_field = destination -where_field = email -additional_conditions = and destination <> '' and destination <> ' ' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf deleted file mode 100644 index 4484bee..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = panel_domains -select_field = domain -where_field = domain -additional_conditions = and isemaildomain = '1' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf deleted file mode 100644 index 7e0f79a..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf +++ /dev/null @@ -1,7 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_users -select_field = maildir -where_field = email -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_sasl2_smtpd.conf b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_sasl2_smtpd.conf deleted file mode 100644 index 2089cbb..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/postfix/etc_sasl2_smtpd.conf +++ /dev/null @@ -1,12 +0,0 @@ -pwcheck_method: auxprop -auxprop_plugin: sql -allowanonymouslogin: no -allowplaintext: yes -mech_list: PLAIN LOGIN -password_format: crypt -sql_engine: mysql -sql_hostnames: <SQL_HOST> -sql_user: <SQL_UNPRIVILEGED_USER> -sql_passwd: <SQL_UNPRIVILEGED_PASSWORD> -sql_database: <SQL_DB> -sql_select: SELECT password_enc FROM mail_users where username='%u@%r' diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/proftpd/etc_proftpd_proftpd.conf b/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/proftpd/etc_proftpd_proftpd.conf deleted file mode 100644 index 1e04b6d..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/gentoo/proftpd/etc_proftpd_proftpd.conf +++ /dev/null @@ -1,89 +0,0 @@ -# Server settings -ServerName "<SERVERNAME> FTP Server" -ServerType standalone -ServerIdent off -DefaultServer on -Port 21 -MaxInstances 50 - -# General settings -DeferWelcome on -MultilineRFC2228 on -ShowSymlinks on -AllowOverwrite on -AllowStoreRestart on -AllowRetrieveRestart on -UseReverseDNS off -IdentLookups off -ListOptions "-al" -DisplayFirstChdir .message - -# Modules settings -#DelayEngine off - -# Timeout settings -TimeoutLogin 120 -TimeoutNoTransfer 600 -TimeoutStalled 600 -TimeoutIdle 600 - -# Security settings -RootLogin off -RequireValidShell off -User syscpftpd -Group syscpftpd -Umask 133 022 -DefaultRoot ~ -DenyFilter \*.*/ - -# Per-Directory settings -<Directory /*> -Umask 133 022 -AllowOverwrite on -</Directory> - -# SQL settings -SQLAuthTypes Crypt -SQLAuthenticate users* groups* -SQLConnectInfo <SQL_DB>@<SQL_HOST> <SQL_UNPRIVILEGED_USER> <SQL_UNPRIVILEGED_PASSWORD> -SQLUserInfo ftp_users username password uid gid homedir shell -SQLGroupInfo ftp_groups groupname gid members -SQLUserWhereClause "login_enabled = 'y'" - -SQLLog PASS login -SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users - -SQLLog RETR download -SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users - -SQLLog STOR upload -SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users - -# TLS settings -<IfModule mod_tls.c> -TLSEngine on -TLSLog /var/log/proftpd-tls.log -TLSProtocol SSLv23 -TLSTimeoutHandshake 120 -# Really important for WinClients -TLSOptions NoCertRequest -TLSRSACertificateFile /etc/ssl/server/<SERVERNAME>.crt -TLSRSACertificateKeyFile /etc/ssl/server/<SERVERNAME>.key -# Authenticate client that want to use FTP over TLS? -TLSVerifyClient off -# Uncomment the following line to force tls login -TLSRequired off -</IfModule> - -# LOG settings -# Logging Formats -LogFormat default "%h %1 %u %t \"%r\" %s %b" -LogFormat auth "%v [%P] %h %t \"%r\" %s" -LogFormat write "%h %l %u %t \"%r\" %s %b" -# Activate Logging -# all logins -ExtendedLog /var/log/proftpd-auth.log AUTH auth -# file/dir access -ExtendedLog /var/log/proftpd-access.log WRITE,READ write -# everything (be careful, generates_ very_ big logfiles) -#ExtendedLog /var/log/proftpd-all.log ALL default diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/syscp-1.2.13-gentoo-admin_configfiles.php-nodns-ssl b/syscp/patches/gentoo-config-files/nodns-ssl/syscp-1.2.13-gentoo-admin_configfiles.php-nodns-ssl deleted file mode 100644 index 83565e4..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/syscp-1.2.13-gentoo-admin_configfiles.php-nodns-ssl +++ /dev/null @@ -1,270 +0,0 @@ -<?php -/** - * filename: $Source: /syscp/syscp/admin_configfiles.php,v $ - * begin: Wednesday, Sep 08, 2004 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * @author Florian Lippert <flo@redenswert.de> - * @copyright (C) 2003-2004 Florian Lippert - * @package Panel - * @version $Id: admin_configfiles.php,v 1.9 2005/06/15 13:53:58 flo Exp $ - * Modified to reflect the Gentoo environment by Luca Longinotti <chtekk@gentoo.org> - */ - - define('AREA', 'admin'); - - /** - * Include our init.php, which manages Sessions, Language etc. - */ - require("./lib/init.php"); - - - $configfiles = Array - ( - 'gentoo' => Array - ( - 'label' => 'Gentoo', - 'daemons' => Array - ( - 'apache' => Array - ( - 'label' => 'Apache2 Webserver (HTTP)', - 'commands' => Array - ( - 'touch '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chown root:0 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chmod 0600 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'echo "Include '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf" >> /etc/apache2/httpd.conf', - 'mkdir -p '.$settings['system']['documentroot_prefix'], - 'mkdir -p '.$settings['system']['logfiles_directory'] - ), - 'restart' => Array - ( - 'rc-update add apache2 default', - '/etc/init.d/apache2 restart' - ) - ), - 'courier' => Array - ( - 'label' => 'Courier-IMAP (POP3/IMAP)', - 'files' => Array - ( - 'etc_courier_authlib_authdaemonrc' => '/etc/courier/authlib/authdaemonrc', - 'etc_courier_authlib_authmysqlrc' => '/etc/courier/authlib/authmysqlrc', - 'etc_courier-imap_pop3d' => '/etc/courier-imap/pop3d', - 'etc_courier-imap_imapd' => '/etc/courier-imap/imapd', - 'etc_courier-imap_pop3d-ssl' => '/etc/courier-imap/pop3d-ssl', - 'etc_courier-imap_imapd-ssl' => '/etc/courier-imap/imapd-ssl' - ), - 'commands' => Array - ( - 'rm /etc/courier/authlib/authdaemonrc', - 'rm /etc/courier/authlib/authmysqlrc', - 'rm /etc/courier-imap/pop3d', - 'rm /etc/courier-imap/imapd', - 'rm /etc/courier-imap/pop3d-ssl', - 'rm /etc/courier-imap/imapd-ssl', - 'touch /etc/courier/authlib/authdaemonrc', - 'touch /etc/courier/authlib/authmysqlrc', - 'touch /etc/courier-imap/pop3d', - 'touch /etc/courier-imap/imapd', - 'touch /etc/courier-imap/pop3d-ssl', - 'touch /etc/courier-imap/imapd-ssl', - 'chown root:0 /etc/courier/authlib/authdaemonrc', - 'chown root:0 /etc/courier/authlib/authmysqlrc', - 'chown root:0 /etc/courier-imap/pop3d', - 'chown root:0 /etc/courier-imap/imapd', - 'chown root:0 /etc/courier-imap/pop3d-ssl', - 'chown root:0 /etc/courier-imap/imapd-ssl', - 'chmod 0600 /etc/courier/authlib/authdaemonrc', - 'chmod 0600 /etc/courier/authlib/authmysqlrc', - 'chmod 0600 /etc/courier-imap/pop3d', - 'chmod 0600 /etc/courier-imap/imapd', - 'chmod 0600 /etc/courier-imap/pop3d-ssl', - 'chmod 0600 /etc/courier-imap/imapd-ssl' - ), - 'restart' => Array - ( - 'rc-update add courier-authlib default', - 'rc-update add courier-pop3d default', - 'rc-update add courier-imapd default', - 'rc-update add courier-pop3d-ssl default', - 'rc-update add courier-imapd-ssl default', - '/etc/init.d/courier-authlib restart', - '/etc/init.d/courier-pop3d restart', - '/etc/init.d/courier-imapd restart', - '/etc/init.d/courier-pop3d-ssl restart', - '/etc/init.d/courier-imapd-ssl restart' - ) - ), - 'postfix' => Array - ( - 'label' => 'Postfix (MTA)', - 'files' => Array - ( - 'etc_postfix_main.cf' => '/etc/postfix/main.cf', - 'etc_postfix_mysql-virtual_alias_maps.cf' => '/etc/postfix/mysql-virtual_alias_maps.cf', - 'etc_postfix_mysql-virtual_mailbox_domains.cf' => '/etc/postfix/mysql-virtual_mailbox_domains.cf', - 'etc_postfix_mysql-virtual_mailbox_maps.cf' => '/etc/postfix/mysql-virtual_mailbox_maps.cf', - 'etc_sasl2_smtpd.conf' => '/etc/sasl2/smtpd.conf' - ), - 'commands' => Array - ( - 'mkdir -p '.$settings['system']['vmail_homedir'], - 'chown -R vmail:vmail '.$settings['system']['vmail_homedir'], - 'chmod 0750 '.$settings['system']['vmail_homedir'], - 'rm /etc/postfix/main.cf', - 'touch /etc/postfix/main.cf', - 'touch /etc/postfix/master.cf', - 'touch /etc/postfix/mysql-virtual_alias_maps.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'touch /etc/sasl2/smtpd.conf', - 'chown root:0 /etc/postfix/main.cf', - 'chown root:0 /etc/postfix/master.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_alias_maps.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chown root:0 /etc/sasl2/smtpd.conf', - 'chmod 0600 /etc/postfix/main.cf', - 'chmod 0600 /etc/postfix/master.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_alias_maps.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chmod 0600 /etc/sasl2/smtpd.conf' - ), - 'restart' => Array - ( - 'rc-update add postfix default', - '/etc/init.d/postfix restart' - ) - ), - 'proftpd' => Array - ( - 'label' => 'ProFTPd (FTP)', - 'files' => Array - ( - 'etc_proftpd_proftpd.conf' => '/etc/proftpd/proftpd.conf' - ), - 'commands' => Array - ( - 'touch /etc/proftpd/proftpd.conf', - 'chown root:0 /etc/proftpd/proftpd.conf', - 'chmod 0600 /etc/proftpd/proftpd.conf' - ), - 'restart' => Array - ( - 'rc-update add proftpd default', - '/etc/init.d/proftpd restart' - ) - ), - 'cron' => Array - ( - 'label' => 'Crond (cronscript)', - 'files' => Array - ( - 'etc_php_syscp-cronjob_php.ini' => '/etc/php/syscp-cronjob/php.ini', - 'etc_cron.d_syscp' => '/etc/cron.d/syscp' - ), - 'commands' => Array - ( - 'touch /etc/cron.d/syscp', - 'chown root:0 /etc/cron.d/syscp', - 'chmod 0640 /etc/cron.d/syscp', - 'mkdir -p /etc/php/syscp-cronjob', - 'touch /etc/php/syscp-cronjob/php.ini', - 'chown -R root:0 /etc/php/syscp-cronjob', - 'chmod 0750 /etc/php/syscp-cronjob', - 'chmod 0640 /etc/php/syscp-cronjob/php.ini' - ), - 'restart' => Array - ( - 'rc-update add vixie-cron default', - '/etc/init.d/vixie-cron restart' - ) - ) - ) - ) - ); - - /*echo '<pre>'; - print_r($configfiles); - echo '</pre>';*/ - - if( ($page == 'configfiles' || $page == 'overview') && $userinfo['change_serversettings'] == '1') - { - if(isset($_GET['distribution']) && $_GET['distribution']!='' && isset($configfiles[$_GET['distribution']]) && is_array($configfiles[$_GET['distribution']]) && - isset($_GET['daemon']) && $_GET['daemon']!='' && isset($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']]) && is_array($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']])) - { - $distribution = addslashes($_GET['distribution']); - $daemon = addslashes($_GET['daemon']); - - if(isset($configfiles[$distribution]['daemons'][$daemon]['commands']) && is_array($configfiles[$distribution]['daemons'][$daemon]['commands'])) - { - $commands = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['commands']); - } - else - { - $commands = ''; - } - - $replace_arr = Array - ( - '<SQL_UNPRIVILEGED_USER>' => $sql['user'], - '<SQL_UNPRIVILEGED_PASSWORD>' => 'MYSQL_PASSWORD', - '<SQL_DB>' => $sql['db'], - '<SQL_HOST>' => $sql['host'], - '<SERVERNAME>' => $settings['system']['hostname'], - '<SERVERIP>' => $settings['system']['ipaddress'], - '<VIRTUAL_MAILBOX_BASE>' => $settings['system']['vmail_homedir'], - '<VIRTUAL_UID_MAPS>' => $settings['system']['vmail_uid'], - '<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'] - ); - $files = ''; - if(isset($configfiles[$distribution]['daemons'][$daemon]['files']) && is_array($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - while(list($filename, $realname) = each($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - $file_content = implode('', file('./templates/misc/configfiles/'.$distribution.'/'.$daemon.'/'.$filename)); - $file_content = strtr($file_content, $replace_arr); - $file_content = htmlspecialchars($file_content); - $numbrows = count(explode("\n", $file_content)); - eval("\$files.=\"".getTemplate("configfiles/configfiles_file")."\";"); - } - } - - if(isset($configfiles[$distribution]['daemons'][$daemon]['restart']) && is_array($configfiles[$distribution]['daemons'][$daemon]['restart'])) - { - $restart = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['restart']); - } - else - { - $restart = ''; - } - - eval("echo \"".getTemplate("configfiles/configfiles")."\";"); - } - else - { - $distributions = ''; - while (list($distribution_name, $distribution_details) = each($configfiles)) - { - $daemons = ''; - while(list($daemon_name, $daemon_details) = each($distribution_details['daemons'])) - { - eval("\$daemons.=\"".getTemplate("configfiles/choose_daemon")."\";"); - } - eval("\$distributions.=\"".getTemplate("configfiles/choose_distribution")."\";"); - } - eval("echo \"".getTemplate("configfiles/choose")."\";"); - } - } - -?> diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/syscp-1.2.13-gentoo-config-nodns-ssl-r2.tar.bz2 b/syscp/patches/gentoo-config-files/nodns-ssl/syscp-1.2.13-gentoo-config-nodns-ssl-r2.tar.bz2 Binary files differdeleted file mode 100644 index b81c77e..0000000 --- a/syscp/patches/gentoo-config-files/nodns-ssl/syscp-1.2.13-gentoo-config-nodns-ssl-r2.tar.bz2 +++ /dev/null diff --git a/syscp/patches/gentoo-config-files/nodns/etc_libnss-mysql-root.cfg b/syscp/patches/gentoo-config-files/nodns/etc_libnss-mysql-root.cfg deleted file mode 100644 index 6498977..0000000 --- a/syscp/patches/gentoo-config-files/nodns/etc_libnss-mysql-root.cfg +++ /dev/null @@ -1,2 +0,0 @@ -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> diff --git a/syscp/patches/gentoo-config-files/nodns/etc_libnss-mysql.cfg b/syscp/patches/gentoo-config-files/nodns/etc_libnss-mysql.cfg deleted file mode 100644 index d284192..0000000 --- a/syscp/patches/gentoo-config-files/nodns/etc_libnss-mysql.cfg +++ /dev/null @@ -1,38 +0,0 @@ -getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users \ - WHERE uid='%1$u' \ - LIMIT 1 -getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users \ - WHERE username='%1$s' \ - LIMIT 1 -getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \ - FROM ftp_users -getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \ - FROM ftp_users -getgrnam SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE groupname='%1$s' \ - LIMIT 1 -getgrgid SELECT groupname,'x',gid \ - FROM ftp_groups \ - WHERE gid='%1$u' \ - LIMIT 1 -getgrent SELECT groupname,'x',gid \ - FROM ftp_groups -memsbygid SELECT username \ - FROM ftp_users \ - WHERE gid='%1$u' -gidsbymem SELECT gid \ - FROM ftp_users \ - WHERE username='%1$s' - -host <SQL_HOST> -database <SQL_DB> -username <SQL_UNPRIVILEGED_USER> -password <SQL_UNPRIVILEGED_PASSWORD> -socket /var/run/mysqld/mysqld.sock diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_imapd b/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_imapd deleted file mode 100644 index f594e41..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_imapd +++ /dev/null @@ -1,376 +0,0 @@ -##VERSION: $Id: imapd.dist.in,v 1.32 2004/11/25 04:57:04 mrsam Exp $ -# -# imapd created from imapd.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used with the couriertcpd server. -# A lot of the stuff here is documented in the manual page for couriertcpd. -# -# NOTE - do not use \ to split long variable contents on multiple lines. -# This will break the default imapd.rc script, which parses this file. -# -##NAME: ADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# ADDRESS=127.0.0.1 - -ADDRESS=0 - -##NAME: PORT:1 -# -# Port numbers that connections are accepted on. The default is 143, -# the standard IMAP port. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possible to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The previous ADDRESS setting is a default for ports that do not have -# a specified IP address. - -PORT=143 - -##NAME: AUTHSERVICE:0 -# -# It's possible to authenticate using a different 'service' parameter -# depending on the connection's port. This only works with authentication -# modules that use the 'service' parameter, such as PAM. Example: -# -# AUTHSERVICE143=imap -# AUTHSERVICE993=imaps - -##NAME: MAXDAEMONS:0 -# -# Maximum number of IMAP servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:0 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=10 - -##NAME: PIDFILE:0 -# -# File where couriertcpd will save its process ID -# - -PIDFILE=/var/run/imapd.pid - -##NAME: TCPDOPTS:0 -# -# Miscellaneous couriertcpd options that shouldn't be changed. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: IMAP_CAPABILITY:1 -# -# IMAP_CAPABILITY specifies what most of the response should be to the -# CAPABILITY command. -# -# If you have properly configured Courier to use CRAM-MD5 or CRAM-SHA1 -# authentication (see INSTALL), set IMAP_CAPABILITY as follows: -# -# IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" -# - -IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE" - -##NAME: KEYWORDS_CAPABILITY:0 -# -# IMAP_KEYWORDS=1 enables custom IMAP keywords. Set this option to 0 to -# disable custom keywords. - -IMAP_KEYWORDS=1 - -##NAME: SMAP1_CAPABILITY:0 -# -# EXPERIMENTAL -# -# To enable the experimental "Simple Mail Access Protocol" extensions, -# uncomment the following setting. -# -# SMAP_CAPABILITY=SMAP1 - -##NAME: IMAP_CAPABILITY_ORIG:1 -# -# For use by webadmin - -IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" - -##NAME: IMAP_PROXY:0 -# -# Enable proxying. See README.proxy - -IMAP_PROXY=0 - -##NAME: IMAP_PROXY_FOREIGN:0 -# -# Proxying to non-Courier servers. Re-sends the CAPABILITY command after -# logging in to the remote server. May not work with all IMAP clients. - -IMAP_PROXY_FOREIGN=0 - -##NAME: IMAP_IDLE_TIMEOUT:0 -# -# This setting controls how often -# the server polls for changes to the folder, in IDLE mode (in seconds). - -IMAP_IDLE_TIMEOUT=60 - -##NAME: IMAP_CAPABILITY_TLS:0 -# -# The following setting will advertise SASL PLAIN authentication after -# STARTTLS is established. If you want to allow SASL PLAIN authentication -# with or without TLS then just comment this out, and add AUTH=PLAIN to -# IMAP_CAPABILITY - -IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN" - -##NAME: IMAP_TLS_ORIG:0 -# -# For use by webadmin - -IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN" - -##NAME: IMAP_DISABLETHREADSORT:0 -# -# Set IMAP_DISABLETHREADSORT to disable the THREAD and SORT commands - -# server side sorting and threading. -# -# Those capabilities will still be advertised, but the server will reject -# them. Set this option if you want to disable all the extra load from -# server-side threading and sorting. Not advertising those capabilities -# will simply result in the clients reading the entire folder, and sorting -# it on the client side. That will still put some load on the server. -# advertising these capabilities, but rejecting the commands, will stop this -# silliness. -# - -IMAP_DISABLETHREADSORT=0 - -##NAME: IMAP_CHECK_ALL_FOLDERS:0 -# -# Set IMAP_CHECK_ALL_FOLDERS to 1 if you want the server to check for new -# mail in every folder. Not all IMAP clients use the IMAP's new mail -# indicator, but some do. Normally new mail is checked only in INBOX, -# because it is a comparatively time consuming operation, and it would be -# a complete waste of time unless mail filters are used to deliver -# mail directly to folders. -# -# When IMAP clients are used which support new mail indication, and when -# mail filters are used to sort incoming mail into folders, setting -# IMAP_CHECK_ALL_FOLDERS to 1 will allow IMAP clients to announce new -# mail in folders. Note that this will result in slightly more load on the -# server. -# - -IMAP_CHECK_ALL_FOLDERS=0 - -##NAME: IMAP_OBSOLETE_CLIENT:0 -# -# Set IMAP_OBSOLETE_CLIENT if your IMAP client expects \\NoInferiors to mean -# what \\HasNoChildren really means. - -IMAP_OBSOLETE_CLIENT=0 - -##NAME: IMAP_UMASK:0 -# -# IMAP_UMASK sets the umask of the server process. The value of IMAP_UMASK is -# simply passed to the "umask" command. The default value is 022. -# -# This feature is mostly useful for shared folders, where the file permissions -# of the messages may be important. - -IMAP_UMASK=027 - -##NAME: IMAP_ULIMITD:0 -# -# IMAP_ULIMITD sets the maximum size of the data segment of the server -# process. The value of IMAP_ULIMITD is simply passed to the "ulimit -d" -# command (or ulimit -v). The argument to ulimi sets the upper limit on the -# size of the data segment of the server process, in kilobytes. The default -# value of 65536 sets a very generous limit of 64 megabytes, which should -# be more than plenty for anyone. -# -# This feature is used as an additional safety check that should stop -# any potential denial-of-service attacks that exploit any kind of -# a memory leak to exhaust all the available memory on the server. -# It is theoretically possible that obscenely huge folders will also -# result in the server running out of memory when doing server-side -# sorting (by my calculations you have to have at least 100,000 messages -# in a single folder, for that to happen). - -IMAP_ULIMITD=65536 - -##NAME: IMAP_USELOCKS:0 -# -# Setting IMAP_USELOCKS to 1 will use dot-locking to support concurrent -# multiple access to the same folder. This incurs slight additional -# overhead. Concurrent multiple access will still work without this setting, -# however occasionally a minor race condition may result in an IMAP client -# downloading the same message twice, or a keyword update will fail. -# -# IMAP_USELOCKS=1 is strongly recommended when shared folders are used. - -IMAP_USELOCKS=1 - -##NAME: IMAP_SHAREDINDEXFILE:0 -# -# The index of all accessible folders. Do not change this setting unless -# you know what you're doing. See README.sharedfolders for additional -# information. - -IMAP_SHAREDINDEXFILE=/etc/courier-imap/shared/index - -##NAME: IMAP_ENHANCEDIDLE:0 -# -# If Courier was compiled with the File Alteration Monitor, setting -# IMAP_ENHANCEDIDLE to 1 enables enhanced IDLE mode, where multiple -# clients may open the same folder concurrently, and receive updates to -# folder contents in realtime. See the imapd(8) man page for additional -# information. -# -# IMPORTANT: IMAP_USELOCKS *MUST* also be set to 1, and IDLE must be included -# in the IMAP_CAPABILITY list. -# - -IMAP_ENHANCEDIDLE=0 - -##NAME: IMAP_TRASHFOLDERNAME:0 -# -# The name of the magic trash Folder. For MSOE compatibility, -# you can set IMAP_TRASHFOLDERNAME="Deleted Items". -# -# IMPORTANT: If you change this, you must also change IMAP_EMPTYTRASH - -IMAP_TRASHFOLDERNAME=Trash - -##NAME: IMAP_EMPTYTRASH:0 -# -# The following setting is optional, and causes messages from the given -# folder to be automatically deleted after the given number of days. -# IMAP_EMPTYTRASH is a comma-separated list of folder:days. The default -# setting, below, purges 7 day old messages from the Trash folder. -# Another useful setting would be: -# -# IMAP_EMPTYTRASH=Trash:7,Sent:30 -# -# This would also delete messages from the Sent folder (presumably copies -# of sent mail) after 30 days. This is a global setting that is applied to -# every mail account, and is probably useful in a controlled, corporate -# environment. -# -# Important: the purging is controlled by CTIME, not MTIME (the file time -# as shown by ls). It is perfectly ordinary to see stuff in Trash that's -# a year old. That's the file modification time, MTIME, that's displayed. -# This is generally when the message was originally delivered to this -# mailbox. Purging is controlled by a different timestamp, CTIME, which is -# changed when the file is moved to the Trash folder (and at other times too). -# -# You might want to disable this setting in certain situations - it results -# in a stat() of every file in each folder, at login and logout. -# - -IMAP_EMPTYTRASH=Trash:7 - -##NAME: IMAP_MOVE_EXPUNGE_TO_TRASH:0 -# -# Set IMAP_MOVE_EXPUNGE_TO_TRASH to move expunged messages to Trash. This -# effectively allows an undo of message deletion by fishing the deleted -# mail from trash. Trash can be manually expunged as usually, and mail -# will get automatically expunged from Trash according to IMAP_EMPTYTRASH. -# -# NOTE: shared folders are still expunged as usual. Shared folders are -# not affected. -# - -IMAP_MOVE_EXPUNGE_TO_TRASH=0 - - -##NAME: OUTBOX:0 -# -# The next set of options deal with the "Outbox" enhancement. -# Uncomment the following setting to create a special folder, named -# INBOX.Outbox -# -# OUTBOX=.Outbox - -##NAME: SENDMAIL:0 -# -# If OUTBOX is defined, mail can be sent via the IMAP connection by copying -# a message to the INBOX.Outbox folder. For all practical matters, -# INBOX.Outbox looks and behaves just like any other IMAP folder. If this -# folder doesn't exist it must be created by the IMAP mail client, just -# like any other IMAP folder. The kicker: any message copied or moved to -# this folder is will be E-mailed by the Courier-IMAP server, by running -# the SENDMAIL program. Therefore, messages copied or moved to this -# folder must be well-formed RFC-2822 messages, with the recipient list -# specified in the To:, Cc:, and Bcc: headers. Courier-IMAP relies on -# SENDMAIL to read the recipient list from these headers (and delete the Bcc: -# header) by running the command "$SENDMAIL -oi -t -f $SENDER", with the -# message piped on standard input. $SENDER will be the return address -# of the message, which is set by the authentication module. -# -# DO NOT MODIFY SENDMAIL, below, unless you know what you're doing. -# - -SENDMAIL=/usr/sbin/sendmail - -##NAME: HEADERFROM:0 -# -# For administrative and oversight purposes, the return address, $SENDER -# will also be saved in the X-IMAP-Sender mail header. This header gets -# added to the sent E-mail (but it doesn't get saved in the copy of the -# message that's saved in the folder) -# -# WARNING - By enabling OUTBOX above, *every* IMAP mail client will receive -# the magic OUTBOX treatment. Therefore advance LARTing is in order for -# _all_ of your lusers, until every one of them is aware of this. Otherwise if -# OUTBOX is left at its default setting - a folder name that might be used -# accidentally - some people may be in for a rude surprise. You can redefine -# the name of the magic folder by changing OUTBOX, above. You should do that -# and pick a less-obvious name. Perhaps brand it with your organizational -# name ( OUTBOX=.WidgetsAndSonsOutbox ) - -HEADERFROM=X-IMAP-Sender - -##NAME: IMAPDSTART:0 -# -# IMAPDSTART is not used directly. Rather, this is a convenient flag to -# be read by your system startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/imapd -# -# case x$IMAPDSTART in -# x[yY]*) -# /usr/lib/courier-imap/imapd.rc start -# ;; -# esac -# -# The default setting is going to be NO, so you'll have to manually flip -# it to yes. - -IMAPDSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_imapd-ssl b/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_imapd-ssl deleted file mode 100644 index 76dbcf7..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_imapd-ssl +++ /dev/null @@ -1,199 +0,0 @@ -##VERSION: $Id: imapd-ssl.dist.in,v 1.11 2004/10/21 00:45:35 mrsam Exp $ -# -# imapd-ssl created from imapd-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL IMAP connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL IMAP -# connections, you will start two instances of couriertcpd, one on the -# IMAP port 143, and another one on the IMAP-SSL port 993. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:1 -# -# Options in the imapd-ssl configuration file AUGMENT the options in the -# imapd configuration file. First the imapd configuration file is read, -# then the imapd-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 993. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=993 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# That's the SSL IMAP port we'll listen on. -# Feel free to redefine MAXDAEMONS, TCPDOPTS, and MAXPERIP. - -SSLPIDFILE=/var/run/imapd-ssl.pid - -##NAME: IMAPDSSLSTART:0 -# -# Different pid files, so that both instances of couriertcpd can coexist -# happily. -# -# You can also redefine IMAP_CAPABILITY, although I can't -# think of why you'd want to do that. -# -# -# Ok, the following settings are new to imapd-ssl: -# -# Whether or not to start IMAP over SSL on simap port: - -IMAPDSSLSTART=YES - -##NAME: IMAPDSTARTTLS:0 -# -# Whether or not to implement IMAP STARTTLS extension instead: - -IMAPDSTARTTLS=YES - -##NAME: IMAP_TLS_REQUIRED:1 -# -# Set IMAP_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED IMAP capability, until STARTTLS -# is issued). - -IMAP_TLS_REQUIRED=0 - -######################################################################### -# -# The following variables configure IMAP over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. -# -##NAME: COURIERTLS:0 -# - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the IMAP STARTTLS -# extension, as opposed to IMAP over SSL on port 993. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for IMAP clients -# that open multiple SSL sessions to the server. TLS_CACHEFILE will be -# automatically created, TLS_CACHESIZE bytes long, and used as a cache -# buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_pop3d b/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_pop3d deleted file mode 100644 index 71502ae..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_pop3d +++ /dev/null @@ -1,127 +0,0 @@ -##VERSION: $Id: pop3d.dist.in,v 1.11 2004/10/30 15:39:38 mrsam Exp $ -# -# pop3d created from pop3d.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# Courier POP3 daemon configuration -# -##NAME: PIDFILE:0 -# - -PIDFILE=/var/run/pop3d.pid - -##NAME: MAXDAEMONS:0 -# -# Maximum number of POP3 servers started -# - -MAXDAEMONS=50 - -##NAME: MAXPERIP:4 -# -# Maximum number of connections to accept from the same IP address - -MAXPERIP=5 - -##NAME: POP3AUTH:1 -# -# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH -# variable: -# -# POP3AUTH="LOGIN" -# -# If you have configured the CRAM-MD5 or CRAM-SHA1, set POP3AUTH to something -# like this: -# -# POP3AUTH="LOGIN CRAM-MD5 CRAM-SHA1" - -POP3AUTH="" - -##NAME: POP3AUTH_ORIG:0 -# -# For use by webadmin - -POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" - -##NAME: POP3AUTH_TLS:1 -# -# To also advertise SASL PLAIN if SSL is enabled, uncomment the -# POP3AUTH_TLS environment variable: -# -# POP3AUTH_TLS="LOGIN PLAIN" - -POP3AUTH_TLS="" - -##NAME: POP3AUTH_TLS_ORIG:0 -# -# For use by webadmin - -POP3AUTH_TLS_ORIG="LOGIN PLAIN" - -##NAME: POP3_PROXY:0 -# -# Enable proxying. See README.proxy - -POP3_PROXY=0 - -##NAME: PORT:1 -# -# Port to listen on for connections. The default is port 110. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The ADDRESS setting is a default for ports that do not have a specified -# IP address. - -PORT=110 - -##NAME: ADDRESS:0 -# -# IP address to listen on. 0 means all IP addresses. - -ADDRESS=0 - -##NAME: TCPDOPTS:0 -# -# Other couriertcpd(1) options. The following defaults should be fine. -# - -TCPDOPTS="-nodnslookup -noidentlookup" - -##NAME: POP3DSTART:0 -# -# POP3DSTART is not referenced anywhere in the standard Courier programs -# or scripts. Rather, this is a convenient flag to be read by your system -# startup script in /etc/rc.d, like this: -# -# . /etc/courier-imap/pop3d -# case x$POP3DSTART in -# x[yY]*) -# /usr/lib/courier-imap/pop3d.rc start -# ;; -# esac -# -# The default setting is going to be NO, until Courier is shipped by default -# with enough platforms so that people get annoyed with having to flip it to -# YES every time. - -POP3DSTART=YES - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIR=.maildir -MAILDIRPATH=.maildir -#Put any program for ${PRERUN} here -PRERUN= diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_pop3d-ssl b/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_pop3d-ssl deleted file mode 100644 index a0267a0..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier-imap_pop3d-ssl +++ /dev/null @@ -1,186 +0,0 @@ -##VERSION: $Id: pop3d-ssl.dist.in,v 1.12 2004/10/21 00:45:35 mrsam Exp $ -# -# pop3d-ssl created from pop3d-ssl.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# Copyright 2000-2004 Double Precision, Inc. See COPYING for -# distribution information. -# -# This configuration file sets various options for the Courier-IMAP server -# when used to handle SSL POP3 connections. -# -# SSL and non-SSL connections are handled by a dedicated instance of the -# couriertcpd daemon. If you are accepting both SSL and non-SSL POP3 -# connections, you will start two instances of couriertcpd, one on the -# POP3 port 110, and another one on the POP3-SSL port 995. -# -# Download OpenSSL from http://www.openssl.org/ -# -##NAME: SSLPORT:0 -# -# Options in the pop3d-ssl configuration file AUGMENT the options in the -# pop3d configuration file. First the pop3d configuration file is read, -# then the pop3d-ssl configuration file, so we do not have to redefine -# anything. -# -# However, some things do have to be redefined. The port number is -# specified by SSLPORT, instead of PORT. The default port is port 995. -# -# Multiple port numbers can be separated by commas. When multiple port -# numbers are used it is possibly to select a specific IP address for a -# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900" -# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1 -# The SSLADDRESS setting is a default for ports that do not have -# a specified IP address. - -SSLPORT=995 - -##NAME: SSLADDRESS:0 -# -# Address to listen on, can be set to a single IP address. -# -# SSLADDRESS=127.0.0.1 - -SSLADDRESS=0 - -##NAME: SSLPIDFILE:0 -# -# -# - -SSLPIDFILE=/var/run/pop3d-ssl.pid - -##NAME: POP3DSSLSTART:0 -# -# Whether or not to start POP3 over SSL on spop3 port: - -POP3DSSLSTART=YES - -##NAME: POP3_STARTTLS:0 -# -# Whether or not to implement the POP3 STLS extension: - -POP3_STARTTLS=YES - -##NAME: POP3_TLS_REQUIRED:1 -# -# Set POP3_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone. -# (this option advertises the LOGINDISABLED POP3 capability, until STARTTLS -# is issued). - -POP3_TLS_REQUIRED=0 - -##NAME: COURIERTLS:0 -# -# The following variables configure POP3 over SSL. If OpenSSL is available -# during configuration, the couriertls helper gets compiled, and upon -# installation a dummy TLS_CERTFILE gets generated. courieresmtpd will -# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE -# and COURIERTLS exist. -# -# WARNING: Peer certificate verification has NOT yet been tested. Proceed -# at your own risk. Only the basic SSL/TLS functionality is known to be -# working. Keep this in mind as you play with the following variables. - -COURIERTLS=/usr/sbin/couriertls - -##NAME: TLS_PROTOCOL:0 -# -# TLS_PROTOCOL sets the protocol version. The possible versions are: -# -# SSL2 - SSLv2 -# SSL3 - SSLv3 -# TLS1 - TLS1 - -TLS_PROTOCOL=SSL3 - -##NAME: TLS_STARTTLS_PROTOCOL:0 -# -# TLS_STARTTLS_PROTOCOL is used instead of TLS_PROTOCOL for the POP3 STARTTLS -# extension, as opposed to POP3 over SSL on port 995. -# - -TLS_STARTTLS_PROTOCOL=TLS1 - -##NAME: TLS_CIPHER_LIST:0 -# -# TLS_CIPHER_LIST optionally sets the list of ciphers to be used by the -# OpenSSL library. In most situations you can leave TLS_CIPHER_LIST -# undefined -# -# TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" - -##NAME: TLS_TIMEOUT:0 -# TLS_TIMEOUT is currently not implemented, and reserved for future use. -# This is supposed to be an inactivity timeout, but its not yet implemented. -# - -##NAME: TLS_DHCERTFILE:0 -# -# TLS_DHCERTFILE - PEM file that stores our Diffie-Hellman cipher pair. -# When OpenSSL is compiled to use Diffie-Hellman ciphers instead of RSA -# you must generate a DH pair that will be used. In most situations the -# DH pair is to be treated as confidential, and the file specified by -# TLS_DHCERTFILE must not be world-readable. -# -# TLS_DHCERTFILE= - -##NAME: TLS_CERTFILE:0 -# -# TLS_CERTFILE - certificate to use. TLS_CERTFILE is required for SSL/TLS -# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually -# treated as confidential, and must not be world-readable. -# -TLS_CERTFILE=/etc/ssl/server/<SERVERNAME>.crt_and_key - -##NAME: TLS_TRUSTCERTS:0 -# -# TLS_TRUSTCERTS=pathname - load trusted certificates from pathname. -# pathname can be a file or a directory. If a file, the file should -# contain a list of trusted certificates, in PEM format. If a -# directory, the directory should contain the trusted certificates, -# in PEM format, one per file and hashed using OpenSSL's c_rehash -# script. TLS_TRUSTCERTS is used by SSL/TLS clients (by specifying -# the -domain option) and by SSL/TLS servers (TLS_VERIFYPEER is set -# to PEER or REQUIREPEER). -# -# -# TLS_TRUSTCERTS= - -##NAME: TLS_VERIFYPEER:0 -# -# TLS_VERIFYPEER - how to verify client certificates. The possible values of -# this setting are: -# -# NONE - do not verify anything -# -# PEER - verify the client certificate, if one's presented -# -# REQUIREPEER - require a client certificate, fail if one's not presented -# -# -TLS_VERIFYPEER=NONE - -##NAME: TLS_CACHE:0 -# -# A TLS/SSL session cache may slightly improve response for long-running -# POP3 clients. TLS_CACHEFILE will be automatically created, TLS_CACHESIZE -# bytes long, and used as a cache buffer. -# -# This is an experimental feature and should be disabled if it causes -# problems with SSL clients. Disable SSL caching by commenting out the -# following settings: - -TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache -TLS_CACHESIZE=524288 - -##NAME: MAILDIRPATH:0 -# -# MAILDIRPATH - directory name of the maildir directory. -# -MAILDIRPATH=Maildir - -#Hardwire a value for ${MAILDIR} -MAILDIRPATH=.maildir diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier_authlib_authdaemonrc b/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier_authlib_authdaemonrc deleted file mode 100644 index 867a12d..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier_authlib_authdaemonrc +++ /dev/null @@ -1,93 +0,0 @@ -##VERSION: $Id: authdaemonrc.in,v 1.12 2005/07/05 12:25:08 mrsam Exp $ -# -# Copyright 2000-2005 Double Precision, Inc. See COPYING for -# distribution information. -# -# authdaemonrc created from authdaemonrc.dist by sysconftool -# -# Do not alter lines that begin with ##, they are used when upgrading -# this configuration. -# -# This file configures authdaemond, the resident authentication daemon. -# -# Comments in this file are ignored. Although this file is intended to -# be sourced as a shell script, authdaemond parses it manually, so -# the acceptable syntax is a bit limited. Multiline variable contents, -# with the \ continuation character, are not allowed. Everything must -# fit on one line. Do not use any additional whitespace for indentation, -# or anything else. - -##NAME: authmodulelist:2 -# -# The authentication modules that are linked into authdaemond. The -# default list is installed. You may selectively disable modules simply -# by removing them from the following list. The available modules you -# can use are: authuserdb authpam authshadow authmysql authcustom authpipe - -authmodulelist="authmysql" - -##NAME: authmodulelistorig:3 -# -# This setting is used by Courier's webadmin module, and should be left -# alone - -authmodulelistorig="authuserdb authpam authshadow authmysql authcustom authpipe" - -##NAME: daemons:0 -# -# The number of daemon processes that are started. authdaemon is typically -# installed where authentication modules are relatively expensive: such -# as authldap, or authmysql, so it's better to have a number of them running. -# PLEASE NOTE: Some platforms may experience a problem if there's more than -# one daemon. Specifically, SystemV derived platforms that use TLI with -# socket emulation. I'm suspicious of TLI's ability to handle multiple -# processes accepting connections on the same filesystem domain socket. -# -# You may need to increase daemons if as your system load increases. Symptoms -# include sporadic authentication failures. If you start getting -# authentication failures, increase daemons. However, the default of 5 -# SHOULD be sufficient. Bumping up daemon count is only a short-term -# solution. The permanent solution is to add more resources: RAM, faster -# disks, faster CPUs... - -daemons=5 - -##NAME: authdaemonvar:2 -# -# authdaemonvar is here, but is not used directly by authdaemond. It's -# used by various configuration and build scripts, so don't touch it! - -authdaemonvar=/var/lib/courier/authdaemon - -##NAME: DEBUG_LOGIN:0 -# -# Dump additional diagnostics to syslog -# -# DEBUG_LOGIN=0 - turn off debugging -# DEBUG_LOGIN=1 - turn on debugging -# DEBUG_LOGIN=2 - turn on debugging + log passwords too -# -# ** YES ** - DEBUG_LOGIN=2 places passwords into syslog. -# -# Note that most information is sent to syslog at level 'debug', so -# you may need to modify your /etc/syslog.conf to be able to see it. - -DEBUG_LOGIN=0 - -##NAME: DEFAULTOPTIONS:0 -# -# A comma-separated list of option=value pairs. Each option is applied -# to an account if the account does not have its own specific value for -# that option. So for example, you can set -# DEFAULTOPTIONS="disablewebmail=1,disableimap=1" -# and then enable webmail and/or imap on individual accounts by setting -# disablewebmail=0 and/or disableimap=0 on the account. - -DEFAULTOPTIONS="" - -##NAME: LOGGEROPTS:0 -# -# courierlogger(1) options, e.g. to set syslog facility -# - -LOGGEROPTS="" diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier_authlib_authmysqlrc b/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier_authlib_authmysqlrc deleted file mode 100644 index fec6508..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/courier/etc_courier_authlib_authmysqlrc +++ /dev/null @@ -1,12 +0,0 @@ -MYSQL_SERVER <SQL_HOST> -MYSQL_USERNAME <SQL_UNPRIVILEGED_USER> -MYSQL_PASSWORD <SQL_UNPRIVILEGED_PASSWORD> -MYSQL_PORT 0 -MYSQL_DATABASE <SQL_DB> -MYSQL_USER_TABLE mail_users -MYSQL_CRYPT_PWFIELD password_enc -MYSQL_UID_FIELD <VIRTUAL_UID_MAPS> -MYSQL_GID_FIELD <VIRTUAL_GID_MAPS> -MYSQL_LOGIN_FIELD username -MYSQL_HOME_FIELD "<VIRTUAL_MAILBOX_BASE>" -MYSQL_MAILDIR_FIELD maildir diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_cron.d_syscp b/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_cron.d_syscp deleted file mode 100644 index 4afe408..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_cron.d_syscp +++ /dev/null @@ -1,10 +0,0 @@ -# -# Set PATH, otherwise restart-scripts won't find start-stop-daemon -# -PATH=/sbin:/bin:/usr/sbin:/usr/bin -# -# Regular cron jobs for the syscp package -# -# Please check that all following paths are correct -# -*/5 * * * * root /usr/lib/php4/bin/php -q -c /etc/php/syscp-cronjob/php.ini /var/www/syscp/scripts/cronscript.php diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_php_syscp-cronjob_php.ini b/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_php_syscp-cronjob_php.ini deleted file mode 100644 index 74c8316..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_php_syscp-cronjob_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = Off -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = -disable_functions = -disable_classes = -expose_php = Off -max_execution_time = 180 -max_input_time = 120 -memory_limit = 32M -post_max_size = 32M -error_reporting = E_ALL & ~E_NOTICE -display_errors = On -display_startup_errors = Off -log_errors = Off -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/tmp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/tmp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_php_syscp-vhost_php.ini b/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_php_syscp-vhost_php.ini deleted file mode 100644 index 048c26c..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/cron/etc_php_syscp-vhost_php.ini +++ /dev/null @@ -1,61 +0,0 @@ -short_open_tag = On -asp_tags = Off -precision = 14 -output_buffering = 4096 -allow_call_time_pass_reference = Off -safe_mode = Off -safe_mode_gid = Off -safe_mode_include_dir = "/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -open_basedir = "/var/www/syscp/:/var/www/syscp-suphp/syscp/:/var/www/syscpwebs/:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -disable_functions = exec,passthru,shell_exec,system,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate -disable_classes = -expose_php = Off -max_execution_time = 30 -max_input_time = 60 -memory_limit = 16M -post_max_size = 12M -error_reporting = E_ALL & ~E_NOTICE -display_errors = Off -display_startup_errors = Off -log_errors = On -log_errors_max_len = 1024 -ignore_repeated_errors = Off -ignore_repeated_source = Off -report_memleaks = On -track_errors = Off -html_errors = Off -variables_order = "GPCS" -register_globals = Off -register_argc_argv = Off -gpc_order = "GPC" -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off -include_path = ".:/usr/share/php/:/usr/share/php4/:/usr/share/php5/" -enable_dl = Off -file_uploads = On -upload_tmp_dir = "/var/www/syscp-suphp/syscp/" -upload_max_filesize = 32M -allow_url_fopen = Off -session.save_handler = files -session.save_path = "/var/www/syscp-suphp/syscp/" -session.use_cookies = 1 -session.name = PHPSESSID -session.auto_start = 0 -session.cookie_lifetime = 0 -session.cookie_path = / -session.cookie_domain = -session.serialize_handler = php -session.gc_probability = 1 -session.gc_divisor = 1000 -session.gc_maxlifetime = 1440 -session.bug_compat_42 = 0 -session.bug_compat_warn = 1 -session.referer_check = -session.entropy_length = 16 -session.entropy_file = /dev/urandom -session.cache_limiter = nocache -session.cache_expire = 180 -session.use_trans_sid = 0 diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_main.cf b/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_main.cf deleted file mode 100644 index 9013dd6..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_main.cf +++ /dev/null @@ -1,65 +0,0 @@ -# Postfix directories settings -command_directory = /usr/sbin -daemon_directory = /usr/lib/postfix -queue_directory = /var/spool/postfix -sample_directory = /etc/postfix -manpage_directory = /usr/share/man -readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme -html_directory = no - -# Postfix programs paths settings -mailq_path = /usr/bin/mailq -newaliases_path = /usr/bin/newaliases -sendmail_path = /usr/sbin/sendmail - -# General Postfix configuration -myhostname = <SERVERNAME> -mydestination = $myhostname, $mydomain, localhost.$myhostname, localhost.$mydomain, localhost -mynetworks = 127.0.0.0/8 -inet_interfaces = all -mail_owner = postfix -setgid_group = postdrop -smtpd_banner = $myhostname ESMTP Mailserver -smtpd_helo_required = yes -append_dot_mydomain = no -biff = no - -# Postfix Debugger configuration -debug_peer_level = 2 -debugger_command = - PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; - echo where) | gdb $daemon_directory/$process_name $process_id 2>&1 - >$config_directory/$process_name.$process_id.log & sleep 5 - -# Postfix performance settings -default_destination_concurrency_limit = 20 -local_destination_concurrency_limit = 2 - -# Virtual delivery settings -virtual_transport = virtual -virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE> -virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf -virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf -virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf -virtual_uid_maps = static:<VIRTUAL_UID_MAPS> -virtual_gid_maps = static:<VIRTUAL_GID_MAPS> - -# Local delivery settings -local_transport = local -alias_database = hash:/etc/mail/aliases -alias_maps = $alias_database - -# SASL settings -smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination -smtpd_sasl_auth_enable = yes -smtpd_sasl_local_domain = $myhostname -smtpd_sasl_security_options = noanonymous -broken_sasl_auth_clients = yes - -# TLS settings -#smtpd_use_tls = yes -#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.crt -#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.key -#smtpd_tls_auth_only = no -#smtpd_tls_session_cache_timeout = 3600s -#tls_random_source = dev:/dev/urandom diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf b/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf deleted file mode 100644 index c921e6f..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_alias_maps.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_virtual -select_field = destination -where_field = email -additional_conditions = and destination <> '' and destination <> ' ' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf b/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf deleted file mode 100644 index 4484bee..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_domains.cf +++ /dev/null @@ -1,8 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = panel_domains -select_field = domain -where_field = domain -additional_conditions = and isemaildomain = '1' -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf b/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf deleted file mode 100644 index 7e0f79a..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_postfix_mysql-virtual_mailbox_maps.cf +++ /dev/null @@ -1,7 +0,0 @@ -user = <SQL_UNPRIVILEGED_USER> -password = <SQL_UNPRIVILEGED_PASSWORD> -dbname = <SQL_DB> -table = mail_users -select_field = maildir -where_field = email -hosts = <SQL_HOST> diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_sasl2_smtpd.conf b/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_sasl2_smtpd.conf deleted file mode 100644 index 2089cbb..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/postfix/etc_sasl2_smtpd.conf +++ /dev/null @@ -1,12 +0,0 @@ -pwcheck_method: auxprop -auxprop_plugin: sql -allowanonymouslogin: no -allowplaintext: yes -mech_list: PLAIN LOGIN -password_format: crypt -sql_engine: mysql -sql_hostnames: <SQL_HOST> -sql_user: <SQL_UNPRIVILEGED_USER> -sql_passwd: <SQL_UNPRIVILEGED_PASSWORD> -sql_database: <SQL_DB> -sql_select: SELECT password_enc FROM mail_users where username='%u@%r' diff --git a/syscp/patches/gentoo-config-files/nodns/gentoo/proftpd/etc_proftpd_proftpd.conf b/syscp/patches/gentoo-config-files/nodns/gentoo/proftpd/etc_proftpd_proftpd.conf deleted file mode 100644 index 5e56215..0000000 --- a/syscp/patches/gentoo-config-files/nodns/gentoo/proftpd/etc_proftpd_proftpd.conf +++ /dev/null @@ -1,89 +0,0 @@ -# Server settings -ServerName "<SERVERNAME> FTP Server" -ServerType standalone -ServerIdent off -DefaultServer on -Port 21 -MaxInstances 50 - -# General settings -DeferWelcome on -MultilineRFC2228 on -ShowSymlinks on -AllowOverwrite on -AllowStoreRestart on -AllowRetrieveRestart on -UseReverseDNS off -IdentLookups off -ListOptions "-al" -DisplayFirstChdir .message - -# Modules settings -#DelayEngine off - -# Timeout settings -TimeoutLogin 120 -TimeoutNoTransfer 600 -TimeoutStalled 600 -TimeoutIdle 600 - -# Security settings -RootLogin off -RequireValidShell off -User syscpftpd -Group syscpftpd -Umask 133 022 -DefaultRoot ~ -DenyFilter \*.*/ - -# Per-Directory settings -<Directory /*> -Umask 133 022 -AllowOverwrite on -</Directory> - -# SQL settings -SQLAuthTypes Crypt -SQLAuthenticate users* groups* -SQLConnectInfo <SQL_DB>@<SQL_HOST> <SQL_UNPRIVILEGED_USER> <SQL_UNPRIVILEGED_PASSWORD> -SQLUserInfo ftp_users username password uid gid homedir shell -SQLGroupInfo ftp_groups groupname gid members -SQLUserWhereClause "login_enabled = 'y'" - -SQLLog PASS login -SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users - -SQLLog RETR download -SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users - -SQLLog STOR upload -SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users - -# TLS settings -#<IfModule mod_tls.c> -#TLSEngine on -#TLSLog /var/log/proftpd-tls.log -#TLSProtocol SSLv23 -#TLSTimeoutHandshake 120 -# Really important for WinClients -#TLSOptions NoCertRequest -#TLSRSACertificateFile /etc/ssl/server/<SERVERNAME>.crt -#TLSRSACertificateKeyFile /etc/ssl/server/<SERVERNAME>.key -# Authenticate client that want to use FTP over TLS? -#TLSVerifyClient off -# Uncomment the following line to force tls login -#TLSRequired off -#</IfModule> - -# LOG settings -# Logging Formats -LogFormat default "%h %1 %u %t \"%r\" %s %b" -LogFormat auth "%v [%P] %h %t \"%r\" %s" -LogFormat write "%h %l %u %t \"%r\" %s %b" -# Activate Logging -# all logins -ExtendedLog /var/log/proftpd-auth.log AUTH auth -# file/dir access -ExtendedLog /var/log/proftpd-access.log WRITE,READ write -# everything (be careful, generates_ very_ big logfiles) -#ExtendedLog /var/log/proftpd-all.log ALL default diff --git a/syscp/patches/gentoo-config-files/nodns/syscp-1.2.13-gentoo-admin_configfiles.php-nodns b/syscp/patches/gentoo-config-files/nodns/syscp-1.2.13-gentoo-admin_configfiles.php-nodns deleted file mode 100644 index 1541fa8..0000000 --- a/syscp/patches/gentoo-config-files/nodns/syscp-1.2.13-gentoo-admin_configfiles.php-nodns +++ /dev/null @@ -1,266 +0,0 @@ -<?php -/** - * filename: $Source: /syscp/syscp/admin_configfiles.php,v $ - * begin: Wednesday, Sep 08, 2004 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * @author Florian Lippert <flo@redenswert.de> - * @copyright (C) 2003-2004 Florian Lippert - * @package Panel - * @version $Id: admin_configfiles.php,v 1.9 2005/06/15 13:53:58 flo Exp $ - * Modified to reflect the Gentoo environment by Luca Longinotti <chtekk@gentoo.org> - */ - - define('AREA', 'admin'); - - /** - * Include our init.php, which manages Sessions, Language etc. - */ - require("./lib/init.php"); - - - $configfiles = Array - ( - 'gentoo' => Array - ( - 'label' => 'Gentoo', - 'daemons' => Array - ( - 'apache' => Array - ( - 'label' => 'Apache2 Webserver (HTTP)', - 'commands' => Array - ( - 'touch '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chown root:0 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'chmod 0600 '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf', - 'echo "Include '.$settings['system']['apacheconf_directory'].'vhosts.d/99_syscp-vhosts.conf" >> /etc/apache2/httpd.conf', - 'mkdir -p '.$settings['system']['documentroot_prefix'], - 'mkdir -p '.$settings['system']['logfiles_directory'] - ), - 'restart' => Array - ( - 'rc-update add apache2 default', - '/etc/init.d/apache2 restart' - ) - ), - 'courier' => Array - ( - 'label' => 'Courier-IMAP (POP3/IMAP)', - 'files' => Array - ( - 'etc_courier_authlib_authdaemonrc' => '/etc/courier/authlib/authdaemonrc', - 'etc_courier_authlib_authmysqlrc' => '/etc/courier/authlib/authmysqlrc', - 'etc_courier-imap_pop3d' => '/etc/courier-imap/pop3d', - 'etc_courier-imap_imapd' => '/etc/courier-imap/imapd', - 'etc_courier-imap_pop3d-ssl' => '/etc/courier-imap/pop3d-ssl', - 'etc_courier-imap_imapd-ssl' => '/etc/courier-imap/imapd-ssl' - ), - 'commands' => Array - ( - 'rm /etc/courier/authlib/authdaemonrc', - 'rm /etc/courier/authlib/authmysqlrc', - 'rm /etc/courier-imap/pop3d', - 'rm /etc/courier-imap/imapd', - 'rm /etc/courier-imap/pop3d-ssl', - 'rm /etc/courier-imap/imapd-ssl', - 'touch /etc/courier/authlib/authdaemonrc', - 'touch /etc/courier/authlib/authmysqlrc', - 'touch /etc/courier-imap/pop3d', - 'touch /etc/courier-imap/imapd', - 'touch /etc/courier-imap/pop3d-ssl', - 'touch /etc/courier-imap/imapd-ssl', - 'chown root:0 /etc/courier/authlib/authdaemonrc', - 'chown root:0 /etc/courier/authlib/authmysqlrc', - 'chown root:0 /etc/courier-imap/pop3d', - 'chown root:0 /etc/courier-imap/imapd', - 'chown root:0 /etc/courier-imap/pop3d-ssl', - 'chown root:0 /etc/courier-imap/imapd-ssl', - 'chmod 0600 /etc/courier/authlib/authdaemonrc', - 'chmod 0600 /etc/courier/authlib/authmysqlrc', - 'chmod 0600 /etc/courier-imap/pop3d', - 'chmod 0600 /etc/courier-imap/imapd', - 'chmod 0600 /etc/courier-imap/pop3d-ssl', - 'chmod 0600 /etc/courier-imap/imapd-ssl' - ), - 'restart' => Array - ( - 'rc-update add courier-authlib default', - 'rc-update add courier-pop3d default', - 'rc-update add courier-imapd default', - '/etc/init.d/courier-authlib restart', - '/etc/init.d/courier-pop3d restart', - '/etc/init.d/courier-imapd restart' - ) - ), - 'postfix' => Array - ( - 'label' => 'Postfix (MTA)', - 'files' => Array - ( - 'etc_postfix_main.cf' => '/etc/postfix/main.cf', - 'etc_postfix_mysql-virtual_alias_maps.cf' => '/etc/postfix/mysql-virtual_alias_maps.cf', - 'etc_postfix_mysql-virtual_mailbox_domains.cf' => '/etc/postfix/mysql-virtual_mailbox_domains.cf', - 'etc_postfix_mysql-virtual_mailbox_maps.cf' => '/etc/postfix/mysql-virtual_mailbox_maps.cf', - 'etc_sasl2_smtpd.conf' => '/etc/sasl2/smtpd.conf' - ), - 'commands' => Array - ( - 'mkdir -p '.$settings['system']['vmail_homedir'], - 'chown -R vmail:vmail '.$settings['system']['vmail_homedir'], - 'chmod 0750 '.$settings['system']['vmail_homedir'], - 'rm /etc/postfix/main.cf', - 'touch /etc/postfix/main.cf', - 'touch /etc/postfix/master.cf', - 'touch /etc/postfix/mysql-virtual_alias_maps.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'touch /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'touch /etc/sasl2/smtpd.conf', - 'chown root:0 /etc/postfix/main.cf', - 'chown root:0 /etc/postfix/master.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_alias_maps.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chown root:postfix /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chown root:0 /etc/sasl2/smtpd.conf', - 'chmod 0600 /etc/postfix/main.cf', - 'chmod 0600 /etc/postfix/master.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_alias_maps.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_domains.cf', - 'chmod 0640 /etc/postfix/mysql-virtual_mailbox_maps.cf', - 'chmod 0600 /etc/sasl2/smtpd.conf' - ), - 'restart' => Array - ( - 'rc-update add postfix default', - '/etc/init.d/postfix restart' - ) - ), - 'proftpd' => Array - ( - 'label' => 'ProFTPd (FTP)', - 'files' => Array - ( - 'etc_proftpd_proftpd.conf' => '/etc/proftpd/proftpd.conf' - ), - 'commands' => Array - ( - 'touch /etc/proftpd/proftpd.conf', - 'chown root:0 /etc/proftpd/proftpd.conf', - 'chmod 0600 /etc/proftpd/proftpd.conf' - ), - 'restart' => Array - ( - 'rc-update add proftpd default', - '/etc/init.d/proftpd restart' - ) - ), - 'cron' => Array - ( - 'label' => 'Crond (cronscript)', - 'files' => Array - ( - 'etc_php_syscp-cronjob_php.ini' => '/etc/php/syscp-cronjob/php.ini', - 'etc_cron.d_syscp' => '/etc/cron.d/syscp' - ), - 'commands' => Array - ( - 'touch /etc/cron.d/syscp', - 'chown root:0 /etc/cron.d/syscp', - 'chmod 0640 /etc/cron.d/syscp', - 'mkdir -p /etc/php/syscp-cronjob', - 'touch /etc/php/syscp-cronjob/php.ini', - 'chown -R root:0 /etc/php/syscp-cronjob', - 'chmod 0750 /etc/php/syscp-cronjob', - 'chmod 0640 /etc/php/syscp-cronjob/php.ini' - ), - 'restart' => Array - ( - 'rc-update add vixie-cron default', - '/etc/init.d/vixie-cron restart' - ) - ) - ) - ) - ); - - /*echo '<pre>'; - print_r($configfiles); - echo '</pre>';*/ - - if( ($page == 'configfiles' || $page == 'overview') && $userinfo['change_serversettings'] == '1') - { - if(isset($_GET['distribution']) && $_GET['distribution']!='' && isset($configfiles[$_GET['distribution']]) && is_array($configfiles[$_GET['distribution']]) && - isset($_GET['daemon']) && $_GET['daemon']!='' && isset($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']]) && is_array($configfiles[$_GET['distribution']]['daemons'][$_GET['daemon']])) - { - $distribution = addslashes($_GET['distribution']); - $daemon = addslashes($_GET['daemon']); - - if(isset($configfiles[$distribution]['daemons'][$daemon]['commands']) && is_array($configfiles[$distribution]['daemons'][$daemon]['commands'])) - { - $commands = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['commands']); - } - else - { - $commands = ''; - } - - $replace_arr = Array - ( - '<SQL_UNPRIVILEGED_USER>' => $sql['user'], - '<SQL_UNPRIVILEGED_PASSWORD>' => 'MYSQL_PASSWORD', - '<SQL_DB>' => $sql['db'], - '<SQL_HOST>' => $sql['host'], - '<SERVERNAME>' => $settings['system']['hostname'], - '<SERVERIP>' => $settings['system']['ipaddress'], - '<VIRTUAL_MAILBOX_BASE>' => $settings['system']['vmail_homedir'], - '<VIRTUAL_UID_MAPS>' => $settings['system']['vmail_uid'], - '<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'] - ); - $files = ''; - if(isset($configfiles[$distribution]['daemons'][$daemon]['files']) && is_array($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - while(list($filename, $realname) = each($configfiles[$distribution]['daemons'][$daemon]['files'])) - { - $file_content = implode('', file('./templates/misc/configfiles/'.$distribution.'/'.$daemon.'/'.$filename)); - $file_content = strtr($file_content, $replace_arr); - $file_content = htmlspecialchars($file_content); - $numbrows = count(explode("\n", $file_content)); - eval("\$files.=\"".getTemplate("configfiles/configfiles_file")."\";"); - } - } - - if(isset($configfiles[$distribution]['daemons'][$daemon]['restart']) && is_array($configfiles[$distribution]['daemons'][$daemon]['restart'])) - { - $restart = implode("\n", $configfiles[$distribution]['daemons'][$daemon]['restart']); - } - else - { - $restart = ''; - } - - eval("echo \"".getTemplate("configfiles/configfiles")."\";"); - } - else - { - $distributions = ''; - while (list($distribution_name, $distribution_details) = each($configfiles)) - { - $daemons = ''; - while(list($daemon_name, $daemon_details) = each($distribution_details['daemons'])) - { - eval("\$daemons.=\"".getTemplate("configfiles/choose_daemon")."\";"); - } - eval("\$distributions.=\"".getTemplate("configfiles/choose_distribution")."\";"); - } - eval("echo \"".getTemplate("configfiles/choose")."\";"); - } - } - -?> diff --git a/syscp/patches/gentoo-config-files/nodns/syscp-1.2.13-gentoo-config-nodns-r2.tar.bz2 b/syscp/patches/gentoo-config-files/nodns/syscp-1.2.13-gentoo-config-nodns-r2.tar.bz2 Binary files differdeleted file mode 100644 index 92af781..0000000 --- a/syscp/patches/gentoo-config-files/nodns/syscp-1.2.13-gentoo-config-nodns-r2.tar.bz2 +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/ball.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/ball.gif Binary files differdeleted file mode 100644 index 2a681e4..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/ball.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/cambialingua.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/cambialingua.gif Binary files differdeleted file mode 100644 index a9baccf..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/cambialingua.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/errore.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/errore.gif Binary files differdeleted file mode 100644 index 694a789..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/errore.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/finesezione.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/finesezione.gif Binary files differdeleted file mode 100644 index 5e26ce7..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/finesezione.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/footer.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/footer.gif Binary files differdeleted file mode 100644 index ab1a51a..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/footer.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/header.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/header.gif Binary files differdeleted file mode 100644 index 7737ca0..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/header.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/header_r.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/header_r.gif Binary files differdeleted file mode 100644 index 16a8ee2..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/header_r.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/login.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/login.gif Binary files differdeleted file mode 100644 index 07c8014..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/login.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/logininterno.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/logininterno.gif Binary files differdeleted file mode 100644 index 4a368c3..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/logininterno.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/ombra.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/ombra.gif Binary files differdeleted file mode 100644 index 7805f7f..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/ombra.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/order_asc.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/order_asc.gif Binary files differdeleted file mode 100644 index 470e978..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/order_asc.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/order_desc.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/order_desc.gif Binary files differdeleted file mode 100644 index a2d17da..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/order_desc.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/sezione.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/sezione.gif Binary files differdeleted file mode 100644 index bd67ead..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/sezione.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/sottosezione.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/sottosezione.gif Binary files differdeleted file mode 100644 index 1396bc3..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/sottosezione.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/titolo.gif b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/titolo.gif Binary files differdeleted file mode 100644 index c686057..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/titolo.gif +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/valid-xhtml10 b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/valid-xhtml10 Binary files differdeleted file mode 100644 index 2275ee6..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/valid-xhtml10 +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/vcss b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/vcss Binary files differdeleted file mode 100644 index 020c75a..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/images/vcss +++ /dev/null diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins.tpl deleted file mode 100644 index d411bff..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins.tpl +++ /dev/null @@ -1,29 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td colspan="9" class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['admins']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">ID <a href="admin_admins.php?page=admins&sortby=loginname&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_admins.php?page=admins&sortby=loginname&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay">{$lng['customer']['name']} <a href="admin_admins.php?page=admins&sortby=name&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_admins.php?page=admins&sortby=name&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay">{$lng['admin']['customers']}<br />{$lng['admin']['domains']}</td> - <td class="campodisplay">Space<br />Traffic</td> - <td class="campodisplay">MySQL<br />FTP</td> - <td class="campodisplay">eMails<br />Subdomains</td> - <td class="campodisplay">Accounts<br />Forwarders</td> - <td class="campodisplay">Active <a href="admin_admins.php?page=admins&sortby=deactivated&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_admins.php?page=admins&sortby=deactivated&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay"> </td> - </tr> - $admins - <if 0 < $pages> - <tr> - <td colspan="9" class="campodisplay">{$paging}</td> - </tr> - </if> - <tr> - <td colspan="9" class="campodisplay_bordosx"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['admin_add']}</a></td> - </tr> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_add.tpl deleted file mode 100644 index 112e6b1..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_add.tpl +++ /dev/null @@ -1,89 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['admin_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="loginname" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['name']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="name" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['email']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="def_language">$language_options</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['change_serversettings']}</td> - <td class="install_campodisplay" nowrap="nowrap">$change_serversettings</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customers']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customers" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customers_see_all']}</td> - <td class="install_campodisplay" nowrap="nowrap">$customers_see_all</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['domains']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="domains" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['domains_see_all']}</td> - <td class="install_campodisplay" nowrap="nowrap">$domains_see_all</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['diskspace']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="diskspace" value="0" maxlength="6" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['traffic']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="traffic" value="0" maxlength="3" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['subdomains']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subdomains" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['emails']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="emails" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['accounts']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_accounts" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['forwarders']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_forwarders" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['ftps']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="ftps" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['mysqls']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="mysqls" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" value="" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_admin.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_admin.tpl deleted file mode 100644 index dd42ebf..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_admin.tpl +++ /dev/null @@ -1,11 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['loginname']}</td> - <td class="nomecampo">{$row['name']}</td> - <td class="nomecampo"><b><font color="green">{$row['customers_used']}</font></b>/<b><font color="#FD6204">{$row['customers']}</font></b><br /><b><font color="green">{$row['domains_used']}</font></b>/<b><font color="#FD6204">{$row['domains']}</font></b></td> - <td class="nomecampo"><b><font color="green">{$row['diskspace_used']}</font></b>/<b><font color="#FD6204">{$row['diskspace']}</font></b> (MB)<br /><b><font color="green">{$row['traffic_used']}</font></b>/<b><font color="#FD6204">{$row['traffic']}</font></b> (GB)</td> - <td class="nomecampo"><b><font color="green">{$row['mysqls_used']}</font></b>/<b><font color="#FD6204">{$row['mysqls']}</font></b><br /><b><font color="green">{$row['ftps_used']}</font></b>/<b><font color="#FD6204">{$row['ftps']}</font></b></td> - <td class="nomecampo"><b><font color="green">{$row['emails_used']}</font></b>/<b><font color="#FD6204">{$row['emails']}</font></b><br /><b><font color="green">{$row['subdomains_used']}</font></b>/<b><font color="#FD6204">{$row['subdomains']}</font></b></td> - <td class="nomecampo"><b><font color="green">{$row['email_accounts_used']}</font></b>/<b><font color="#FD6204">{$row['email_accounts']}</font></b><br /><b><font color="green">{$row['email_forwarders_used']}</font></b>/<b><font color="#FD6204">{$row['email_forwarders']}</font></b></td> - <td class="nomecampo">{$row['deactivated']}</td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=delete&id={$row['adminid']}">{$lng['panel']['delete']}</a><br /><a href="$filename?s=$s&page=$page&action=edit&id={$row['adminid']}">{$lng['panel']['edit']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_edit.tpl deleted file mode 100644 index 245f6c9..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/admins/admins_edit.tpl +++ /dev/null @@ -1,94 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['admin_edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['loginname']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['name']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="name" value="{$result['name']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['email']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email" value="{$result['email']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="def_language">$language_options</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['change_serversettings']}</td> - <td class="install_campodisplay" nowrap="nowrap">$change_serversettings</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customers']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customers" value="{$result['customers']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customers_see_all']}</td> - <td class="install_campodisplay" nowrap="nowrap">$customers_see_all</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['domains']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="domains" value="{$result['domains']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['domains_see_all']}</td> - <td class="install_campodisplay" nowrap="nowrap">$domains_see_all</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['diskspace']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="diskspace" value="{$result['diskspace']}" maxlength="6" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['traffic']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="traffic" value="{$result['traffic']}" maxlength="3" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['subdomains']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subdomains" value="{$result['subdomains']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['emails']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="emails" value="{$result['emails']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['accounts']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_accounts" value="{$result['email_accounts']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['forwarders']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_forwarders" value="{$result['email_forwarders']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['ftps']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="ftps" value="{$result['ftps']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['mysqls']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="mysqls" value="{$result['mysqls']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['deactivated_user']}?</td> - <td class="install_campodisplay" nowrap="nowrap">$deactivated</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']} ({$lng['panel']['emptyfornochanges']}):</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="newpassword" value="" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose.tpl deleted file mode 100644 index 1bb6450..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose.tpl +++ /dev/null @@ -1,10 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_40"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']}</b></td> - </tr> - $distributions - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose_daemon.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose_daemon.tpl deleted file mode 100644 index bc0d257..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose_daemon.tpl +++ /dev/null @@ -1,2 +0,0 @@ - » <a href="$filename?distribution=$distribution_name&daemon=$daemon_name&s=$s">{$daemon_details['label']}</a> -<br />
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose_distribution.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose_distribution.tpl deleted file mode 100644 index cfb64d6..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/choose_distribution.tpl +++ /dev/null @@ -1,12 +0,0 @@ -<tr> - <td class="campodisplay_bordosx"> - <table cellpadding="5" cellspacing="0" border="0" align="center"> - <tr> - <td class="install_titolo">» {$distribution_details['label']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx">$daemons</td> - </tr> - </table> - </td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/configfiles.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/configfiles.tpl deleted file mode 100644 index 27360f7..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/configfiles.tpl +++ /dev/null @@ -1,24 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$configfiles[$distribution]['daemons'][$daemon]['label']}</b></td> - </tr> - <if $commands != ''> - <tr> - <td class="campodisplay_bordosx">{$lng['admin']['configfiles']['commands']}<br /><br /><textarea class="textarea_bordo" rows="6" cols="70" readonly="readonly">$commands</textarea></td> - </tr> - </if> - <if $files != ''> - <tr> - <td class="campodisplay_bordosx">{$lng['admin']['configfiles']['files']}<br />{$files}</td> - </tr> - </if> - <if $restart != ''> - <tr> - <td class="campodisplay_bordosx">{$lng['admin']['configfiles']['restart']}<br /><br /><textarea class="textarea_bordo" rows="3" cols="70" readonly="readonly">$restart</textarea></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/configfiles_file.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/configfiles_file.tpl deleted file mode 100644 index 1d57e10..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/configfiles/configfiles_file.tpl +++ /dev/null @@ -1 +0,0 @@ -<p><b>$realname:</b><br /><textarea class="textarea_bordo" rows="<if $numbrows <= 8 >{$numbrows}</if><if 8 < $numbrows >8</if>" cols="70" readonly="readonly">$file_content</textarea></p>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers.tpl deleted file mode 100644 index 2851d7f..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers.tpl +++ /dev/null @@ -1,39 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td colspan="10" class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['customers']}</b></td> - </tr> - <if ($userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1') && 15 < $userinfo['customers_used']> - <tr> - <td colspan="10" class="campodisplay_bordosx"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['customer_add']}</a></td> - </tr> - </if> - <tr> - <td class="campodisplay_bordosx">ID <a href="admin_customers.php?page=customers&sortby=loginname&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_customers.php?page=customers&sortby=loginname&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <if $userinfo['customers_see_all']> - <td class="campodisplay">{$lng['admin']['admin']} <a href="admin_customers.php?page=customers&sortby=adminid&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_customers.php?page=customers&sortby=adminid&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - </if> - <td class="campodisplay">{$lng['customer']['name']}</td> - <td class="campodisplay">Domains</td> - <td class="campodisplay">Space Traffic</td> - <td class="campodisplay">MySQL<br />FTP</td> - <td class="campodisplay">eMails<br />Subdomains</td> - <td class="campodisplay">Accounts<br />Forwarders</td> - <td class="campodisplay">Active <a href="admin_customers.php?page=customers&sortby=deactivated&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_customers.php?page=customers&sortby=deactivated&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay"> </td> - </tr> - $customers - <if 0 < $pages> - <tr> - <td colspan="10" class="campodisplay">{$paging}</td> - </tr> - </if> - <if $userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1'> - <tr> - <td colspan="10" class="campodisplay_bordosx"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['customer_add']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_add.tpl deleted file mode 100644 index 977ae7e..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_add.tpl +++ /dev/null @@ -1,109 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['customer_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="loginname" value="" maxlength="10" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['name']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="name" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['firstname']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="firstname" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['company']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="company" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['street']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="street" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['zipcode']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="zipcode" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['city']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="city" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['phone']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="phone" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['fax']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="fax" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['email']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['customernumber']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customernumber" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="def_language">$language_options</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['diskspace']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="diskspace" value="0" maxlength="6" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['traffic']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="traffic" value="0" maxlength="3" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['subdomains']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subdomains" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['emails']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="emails" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['accounts']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_accounts" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['forwarders']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_forwarders" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['ftps']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="ftps" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['mysqls']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="mysqls" value="0" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['stdsubdomain_add']}?</td> - <td class="install_campodisplay" nowrap="nowrap">$createstdsubdomain</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" value="" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['sendpassword']}?</td> - <td class="install_campodisplay" nowrap="nowrap">$sendpassword</td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_customer.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_customer.tpl deleted file mode 100644 index 9233b0e..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_customer.tpl +++ /dev/null @@ -1,18 +0,0 @@ -<tr> - <td class="nomecampo_bordosx"><a href="$filename?s=$s&page=$page&action=su&id={$row['customerid']}" target="_blank">{$row['loginname']}</a></td> - <if $userinfo['customers_see_all']> - <td class="nomecampo">{$row['adminname']}</td> - </if> - <td class="nomecampo">{$row['name']}<br />{$row['firstname']}</td> - <td class="nomecampo">{$row['domains']}</td> - <td class="nomecampo"> - <span<if $row['diskspace'] < $row['diskspace_used'] && $row['diskspace'] != 'UL'> style="color:red"</if><if $row['diskspace_used'] < $row['diskspace'] || $row['diskspace'] == 'UL'> style="color:green"</if>><b>{$row['diskspace_used']}</b>/<b><font color="#FD6204">{$row['diskspace']}</font></b></span> (MB) - <br /> - <span<if $row['traffic'] < $row['traffic_used'] && $row['traffic'] != 'UL'> style="color:red"</if><if $row['traffic_used'] < $row['traffic'] || $row['traffic'] == 'UL'> style="color:green"</if>><b>{$row['traffic_used']}</b>/<b><font color="#FD6204">{$row['traffic']}</font></b></span> (GB) - </td> - <td class="nomecampo"><b><font color="green">{$row['mysqls_used']}</font></b>/<b><font color="#FD6204">{$row['mysqls']}</font></b><br /><b><font color="green">{$row['ftps_used']}</font></b>/<b><font color="#FD6204">{$row['ftps']}</font></b></td> - <td class="nomecampo"><b><font color="green">{$row['emails_used']}</font></b>/<b><font color="#FD6204">{$row['emails']}</font></b><br /><b><font color="green">{$row['subdomains_used']}</font></b>/<b><font color="#FD6204">{$row['subdomains']}</font></b></td> - <td class="nomecampo"><b><font color="green">{$row['email_accounts_used']}</font></b>/<b><font color="#FD6204">{$row['email_accounts']}</font></b><br /><b><font color="green">{$row['email_forwarders_used']}</font></b>/<b><font color="#FD6204">{$row['email_forwarders']}</font></b></td> - <td class="nomecampo"><center>{$row['deactivated']}</center></td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=delete&id={$row['customerid']}">{$lng['panel']['delete']}</a><br /><a href="$filename?s=$s&page=$page&action=edit&id={$row['customerid']}">{$lng['panel']['edit']}</a></td> -</tr> diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_edit.tpl deleted file mode 100644 index 297b966..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/customers/customers_edit.tpl +++ /dev/null @@ -1,114 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['customer_edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['loginname']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['documentroot']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['documentroot']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['name']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="name" value="{$result['name']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['firstname']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="firstname" value="{$result['firstname']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['company']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="company" value="{$result['company']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['street']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="street" value="{$result['street']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['zipcode']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="zipcode" value="{$result['zipcode']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['city']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="city" value="{$result['city']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['phone']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="phone" value="{$result['phone']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['fax']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="fax" value="{$result['fax']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['email']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email" value="{$result['email']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['customernumber']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customernumber" value="{$result['customernumber']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="def_language">$language_options</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['diskspace']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="diskspace" value="{$result['diskspace']}" maxlength="6" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['traffic']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="traffic" value="{$result['traffic']}" maxlength="3" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['subdomains']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subdomains" value="{$result['subdomains']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['emails']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="emails" value="{$result['emails']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['accounts']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_accounts" value="{$result['email_accounts']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['forwarders']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_forwarders" value="{$result['email_forwarders']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['ftps']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="ftps" value="{$result['ftps']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['mysqls']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="mysqls" value="{$result['mysqls']}" maxlength="9" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['stdsubdomain_add']}?<br />({$result['loginname']}.{$settings['system']['hostname']})</td> - <td class="install_campodisplay" nowrap="nowrap">$createstdsubdomain</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['deactivated_user']}?</td> - <td class="install_campodisplay" nowrap="nowrap">$deactivated</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']} ({$lng['panel']['emptyfornochanges']}):</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="newpassword" value="" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains.tpl deleted file mode 100644 index d2ac311..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains.tpl +++ /dev/null @@ -1,32 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="6"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['domains']}</b></td> - </tr> - <if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && 15 < $userinfo['domains_used']> - <tr> - <td class="campodisplay_bordosx" colspan="6"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['domain_add']}</a></td> - </tr> - </if> - <tr> - <td class="campodisplay_bordosx">ID <a href="admin_domains.php?page=domains&sortby=id&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_domains.php?page=domains&sortby=id&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay">Domain <a href="admin_domains.php?page=domains&sortby=domain&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_domains.php?page=domains&sortby=domain&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay">{$lng['admin']['ipsandports']['ip']} <a href="admin_domains.php?page=domains&sortby=ip&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_domains.php?page=domains&sortby=ip&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay">{$lng['admin']['customer']} <a href="admin_domains.php?page=domains&sortby=loginname&sortorder=desc&s=$s"><img src="../images/order_desc.gif" border="0" alt="" /></a><a href="admin_domains.php?page=domains&sortby=loginname&sortorder=asc&s=$s"><img src="../images/order_asc.gif" border="0" alt="" /></a></td> - <td class="campodisplay" colspan="2"> </td> - </tr> - $domains - <if 0 < $pages> - <tr> - <td colspan="6" class="campodisplay">{$paging}</td> - </tr> - </if> - <if $userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1'> - <tr> - <td class="campodisplay_bordosx" colspan="6"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['domain_add']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_add.tpl deleted file mode 100644 index ee29269..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_add.tpl +++ /dev/null @@ -1,77 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['domain_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customer']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="customerid">$customers</select></td> - </tr> - <tr> - <td class="install_nomecampo">Domain:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="domain" value="" size="60" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['domains']['aliasdomain']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="alias">$domains</select></td> - </tr> - <if $userinfo['change_serversettings'] == '1'> - <tr> - <td class="install_nomecampo">DocumentRoot:<br />({$lng['panel']['emptyfordefault']})</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="documentroot" value="" size="60" /></td> - </tr> - <tr> - <td class="install_nomecampo">IP/Port:</td> - <td class="install_campodisplay" nowrap="nowrap"><select name="ipandport">$ipsandports</select></td> - </tr> - <tr> - <td class="install_nomecampo">Nameserver:</td> - <td class="install_campodisplay" nowrap="nowrap">$isbinddomain</td> - </tr> - <tr> - <td class="install_nomecampo">Zonefile:<br />({$lng['panel']['emptyfordefault']})</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="zonefile" value="" size="60" /></td> - </tr> - </if> - <tr> - <td class="install_nomecampo">Emaildomain:</td> - <td class="install_campodisplay" nowrap="nowrap">$isemaildomain</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['subdomainforemail']}:</td> - <td class="install_campodisplay" nowrap="nowrap">$subcanemaildomain</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['domain_edit']}:</td> - <td class="install_campodisplay" nowrap="nowrap">$caneditdomain</td> - </tr> - <if $userinfo['change_serversettings'] == '1'> - <tr> - <td class="install_nomecampo">OpenBasedir:</td> - <td class="install_campodisplay" nowrap="nowrap">$openbasedir</td> - </tr> - <tr> - <td class="install_nomecampo">Safemode:</td> - <td class="install_campodisplay" nowrap="nowrap">$safemode</td> - </tr> - <tr> - <td class="install_nomecampo">Speciallogfile:</td> - <td class="install_campodisplay" nowrap="nowrap">$speciallogfile</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['ownvhostsettings']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><textarea class="textarea_nobordo" rows="12" cols="60" name="specialsettings"></textarea></td> - </tr> - </if> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_domain.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_domain.tpl deleted file mode 100644 index 156d25b..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_domain.tpl +++ /dev/null @@ -1,8 +0,0 @@ -<tr> - <td class="nomecampo_bordosx"><font size="-1">{$row['id']}</font></td> - <td class="nomecampo"><font size="-1">{$row['domain']}</font></td> - <td class="nomecampo"><font size="-1">{$row['ipandport']}</font></td> - <td class="nomecampo"><font size="-1">{$row['name']} {$row['firstname']} ({$row['loginname']})</font></td> - <td class="nomecampo"><if (!$standardsubdomain && !$aliasdomain)><a href="$filename?s=$s&page=$page&action=delete&id={$row['id']}">{$lng['panel']['delete']}</a></if> </td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=edit&id={$row['id']}">{$lng['panel']['edit']}</a></td> -</tr> diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_edit.tpl deleted file mode 100644 index 894d188..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/domains/domains_edit.tpl +++ /dev/null @@ -1,80 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['domain_edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customer']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['name']} {$result['firstname']} ({$result['loginname']})</td> - </tr> - <tr> - <td class="install_nomecampo">Domain:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['domain']}</td> - </tr> - <if $alias_check == '0'> - <tr> - <td class="install_nomecampo">{$lng['domains']['aliasdomain']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="alias">$domains</select></td> - </tr> - </if> - <if $userinfo['change_serversettings'] == '1'> - <tr> - <td class="install_nomecampo">DocumentRoot:<br />({$lng['panel']['emptyfordefault']})</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="documentroot" value="{$result['documentroot']}" size="60" /></td> - </tr> - <tr> - <td class="install_nomecampo">IP/Port:</td> - <td class="install_campodisplay" nowrap="nowrap"><select name="ipandport">$ipsandports</select></td> - </tr> - <tr> - <td class="install_nomecampo">Nameserver:</td> - <td class="install_campodisplay" nowrap="nowrap">$isbinddomain</td> - </tr> - <tr> - <td class="install_nomecampo">Zonefile:<br />({$lng['panel']['emptyfordefault']})</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="zonefile" value="{$result['zonefile']}" size="60" /></td> - </tr> - </if> - <tr> - <td class="install_nomecampo">Emaildomain:</td> - <td class="install_campodisplay" nowrap="nowrap">$isemaildomain</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['subdomainforemail']}:</td> - <td class="install_campodisplay" nowrap="nowrap">$subcanemaildomain</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['domain_edit']}:</td> - <td class="install_campodisplay" nowrap="nowrap">$caneditdomain</td> - </tr> - <if $userinfo['change_serversettings'] == '1'> - <tr> - <td class="install_nomecampo">OpenBasedir:</td> - <td class="install_campodisplay" nowrap="nowrap">$openbasedir</td> - </tr> - <tr> - <td class="install_nomecampo">Safemode:</td> - <td class="install_campodisplay" nowrap="nowrap">$safemode</td> - </tr> - <tr> - <td class="install_nomecampo">Speciallogfile:</td> - <td class="install_campodisplay" nowrap="nowrap"><b>$speciallogfile</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['ownvhostsettings']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><textarea class="textarea_nobordo" rows="12" cols="60" name="specialsettings">{$result['specialsettings']}</textarea></td> - </tr> - </if> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/change_language.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/change_language.tpl deleted file mode 100644 index c2c45d9..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/change_language.tpl +++ /dev/null @@ -1,23 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="none" rowspan="4"><img src="../images/cambialingua.gif" alt="" /></td> - </tr> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changelanguage']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="def_language">$language_options</select></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['menue']['main']['changelanguage']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/change_password.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/change_password.tpl deleted file mode 100644 index c4a2aa2..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/change_password.tpl +++ /dev/null @@ -1,31 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="none" rowspan="6"><img src="../images/logininterno.gif" alt="" /></td> - </tr> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['old_password']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="old_password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['new_password']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="new_password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['new_password_confirm']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="new_password_confirm" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['menue']['main']['changepassword']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/index.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/index.tpl deleted file mode 100644 index d0c0937..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/index/index.tpl +++ /dev/null @@ -1,91 +0,0 @@ -$header - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td colspan="2" class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['ressourcedetails']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['customers']}:</td> - <td class="install_campodisplay">{$overview['number_customers']} ({$userinfo['customers']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['domains']}:</td> - <td class="install_campodisplay">{$overview['number_domains']} ({$userinfo['domains']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['diskspace']}:</td> - <td class="install_campodisplay">{$overview['diskspace_used']} ({$userinfo['diskspace_used']}/{$userinfo['diskspace']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['traffic']}:</td> - <td class="install_campodisplay">{$overview['traffic_used']} ({$userinfo['traffic_used']}/{$userinfo['traffic']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['mysqls']}:</td> - <td class="install_campodisplay">{$overview['mysqls_used']} ({$userinfo['mysqls_used']}/{$userinfo['mysqls']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['emails']}:</td> - <td class="install_campodisplay">{$overview['emails_used']} ({$userinfo['emails_used']}/{$userinfo['emails']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['accounts']}:</td> - <td class="install_campodisplay">{$overview['email_accounts_used']} ({$userinfo['email_accounts_used']}/{$userinfo['email_accounts']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['forwarders']}:</td> - <td class="install_campodisplay">{$overview['email_forwarders_used']} ({$userinfo['email_forwarders_used']}/{$userinfo['email_forwarders']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['ftps']}:</td> - <td class="install_campodisplay">{$overview['ftps_used']} ({$userinfo['ftps_used']}/{$userinfo['ftps']})</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['customer']['subdomains']}:</td> - <td class="install_campodisplay">{$overview['subdomains_used']} ({$userinfo['subdomains_used']}/{$userinfo['subdomains']})</td> - </tr> - <tr> - <td colspan="2" class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['systemdetails']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">Serversoftware:</td> - <td class="install_campodisplay">{$_SERVER['SERVER_SOFTWARE']}</td> - </tr> - <tr> - <td class="install_nomecampo">PHP-Version:</td> - <td class="install_campodisplay">$phpversion</td> - </tr> - <tr> - <td class="install_nomecampo">PHP-Memory-Limit:</td> - <td class="install_campodisplay">$phpmemorylimit</td> - </tr> - <tr> - <td class="install_nomecampo">MySQL Server Version:</td> - <td class="install_campodisplay">$mysqlserverversion</td> - </tr> - <tr> - <td class="install_nomecampo">MySQL Client Version:</td> - <td class="install_campodisplay">$mysqlclientversion</td> - </tr> - <tr> - <td class="install_nomecampo">Webserver Interface:</td> - <td class="install_campodisplay">$webserverinterface</td> - </tr> - <tr> - <td colspan="2" class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['syscpdetails']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['cronlastrun']}:</td> - <td class="install_campodisplay">$cronlastrun</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['installedversion']}:</td> - <td class="install_campodisplay">$version</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['latestversion']}:</td> - <td class="install_campodisplay"><a href="$lookfornewversion_link">$lookfornewversion_lable</a></td> - </tr> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports.tpl deleted file mode 100644 index 8237d55..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports.tpl +++ /dev/null @@ -1,30 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="4"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['ipsandports']['ipsandports']}</b></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="4" nowrap="nowrap"> - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - {$lng['admin']['ipsandports']['default']}: - <select name="defaultipandport">$ipsandports_default</select> - <input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /> - </form> - </td> - </tr> - <tr> - <td class="campodisplay_bordosx">ID</td> - <td class="campodisplay">{$lng['admin']['ipsandports']['ipandport']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - $ipsandports - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['ipsandports']['add']}</a></td> - </tr> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_add.tpl deleted file mode 100644 index 47595f9..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_add.tpl +++ /dev/null @@ -1,25 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_40"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['ipsandports']['add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['ipsandports']['ip']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="ip" value="" size="15" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['ipsandports']['port']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="port" value="" size="5" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_edit.tpl deleted file mode 100644 index 0fe5ab8..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_edit.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_40"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['ipsandports']['edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['ipsandports']['ip']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="ip" value="{$result['ip']}" size="15" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['ipsandports']['port']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="port" value="{$result['port']}" size="5" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_ipandport.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_ipandport.tpl deleted file mode 100644 index c61f8bc..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/ipsandports/ipsandports_ipandport.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td class="nomecampo_bordosx"><font size="-1">{$row['id']}</font></td> - <td class="nomecampo"><font size="-1">{$row['ip']}:{$row['port']}</font></td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=delete&id={$row['id']}">{$lng['panel']['delete']}</a></td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=edit&id={$row['id']}">{$lng['panel']['edit']}</a></td> -</tr> diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/settings/settings.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/settings/settings.tpl deleted file mode 100644 index 343d8f4..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/settings/settings.tpl +++ /dev/null @@ -1,121 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['serversettings']} {$lng['panel']['edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['session_timeout']['title']}:</b><br />{$lng['serversettings']['session_timeout']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="session_sessiontimeout" value="{$settings['session']['sessiontimeout']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['maxloginattempts']['title']}:</b><br />{$lng['serversettings']['maxloginattempts']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="login_maxloginattempts" value="{$settings['login']['maxloginattempts']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['deactivatetime']['title']}:</b><br />{$lng['serversettings']['deactivatetime']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="login_deactivatetime" value="{$settings['login']['deactivatetime']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['accountprefix']['title']}:</b><br />{$lng['serversettings']['accountprefix']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customer_accountprefix" value="{$settings['customer']['accountprefix']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['mysqlprefix']['title']}:</b><br />{$lng['serversettings']['mysqlprefix']['description']} ({$settings['customer']['accountprefix']}X{$settings['customer']['mysqlprefix']}Y)</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customer_mysqlprefix" value="{$settings['customer']['mysqlprefix']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['ftpprefix']['title']}:</b><br />{$lng['serversettings']['ftpprefix']['description']} ({$settings['customer']['accountprefix']}X{$settings['customer']['ftpprefix']}Y)</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="customer_ftpprefix" value="{$settings['customer']['ftpprefix']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['documentroot_prefix']['title']}:</b><br />{$lng['serversettings']['documentroot_prefix']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_documentroot_prefix" value="{$settings['system']['documentroot_prefix']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['logfiles_directory']['title']}:</b><br />{$lng['serversettings']['logfiles_directory']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_logfiles_directory" value="{$settings['system']['logfiles_directory']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['ipaddress']['title']}:</b><br />{$lng['serversettings']['ipaddress']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><select name="system_ipaddress">$system_ipaddress</select></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['hostname']['title']}:</b><br />{$lng['serversettings']['hostname']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_hostname" value="{$settings['system']['hostname']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['apacheconf_directory']['title']}:</b><br />{$lng['serversettings']['apacheconf_directory']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_apacheconf_directory" value="{$settings['system']['apacheconf_directory']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['apacheconf_filename']['title']}:</b><br />{$lng['serversettings']['apacheconf_filename']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_apacheconf_filename" value="{$settings['system']['apacheconf_filename']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['apachereload_command']['title']}:</b><br />{$lng['serversettings']['apachereload_command']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_apachereload_command" value="{$settings['system']['apachereload_command']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['bindconf_directory']['title']}:</b><br />{$lng['serversettings']['bindconf_directory']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_bindconf_directory" value="{$settings['system']['bindconf_directory']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['bindreload_command']['title']}:</b><br />{$lng['serversettings']['bindreload_command']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_bindreload_command" value="{$settings['system']['bindreload_command']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['binddefaultzone']['title']}:</b><br />{$lng['serversettings']['binddefaultzone']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_binddefaultzone" value="{$settings['system']['binddefaultzone']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['vmail_uid']['title']}:</b><br />{$lng['serversettings']['vmail_uid']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_vmail_uid" value="{$settings['system']['vmail_uid']}" maxlength="5" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['vmail_gid']['title']}:</b><br />{$lng['serversettings']['vmail_gid']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_vmail_gid" value="{$settings['system']['vmail_gid']}" maxlength="5" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['vmail_homedir']['title']}:</b><br />{$lng['serversettings']['vmail_homedir']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="system_vmail_homedir" value="{$settings['system']['vmail_homedir']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['adminmail']['title']}:</b><br />{$lng['serversettings']['adminmail']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="panel_adminmail" value="{$settings['panel']['adminmail']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['paging']['title']}:</b><br />{$lng['serversettings']['paging']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="panel_paging" value="{$settings['panel']['paging']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['login']['language']}:</b><br />{$lng['serversettings']['language']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="panel_standardlanguage">$languages2</select></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['pathedit']['title']}:</b><br />{$lng['serversettings']['pathedit']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="panel_pathedit">$pathedit</select></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['phpmyadmin_url']['title']}:</b><br />{$lng['serversettings']['phpmyadmin_url']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="panel_phpmyadmin_url" value="{$settings['panel']['phpmyadmin_url']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['webmail_url']['title']}:</b><br />{$lng['serversettings']['webmail_url']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="panel_webmail_url" value="{$settings['panel']['webmail_url']}" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['serversettings']['webftp_url']['title']}:</b><br />{$lng['serversettings']['webftp_url']['description']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="panel_webftp_url" value="{$settings['panel']['webftp_url']}" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates.tpl deleted file mode 100644 index 8b202c7..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates.tpl +++ /dev/null @@ -1,20 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td colspan="4" class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['templates']['templates']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['login']['language']}</td> - <td class="campodisplay">{$lng['admin']['templates']['action']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - $templates - <if $add> - <tr> - <td colspan="4" class="campodisplay_bordosx"><a href="$filename?page=$page&action=add&s=$s">{$lng['admin']['templates']['template_add']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_add_1.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_add_1.tpl deleted file mode 100644 index ff6c74d..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_add_1.tpl +++ /dev/null @@ -1,21 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_40"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['templates']['template_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="language">$language_options</select></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="prepare" value="prepare" /><input class="bottone" type="submit" value="{$lng['panel']['next']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_add_2.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_add_2.tpl deleted file mode 100644 index c23e688..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_add_2.tpl +++ /dev/null @@ -1,66 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['templates']['template_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><b>$language</b><input type="hidden" name="language" value="$language" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['templates']['action']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="template">$template_options</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['templates']['subject']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subject" value="" maxlength="255" size="100" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['templates']['mailbody']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><textarea class="textarea_nobordo" name="mailbody" rows="20" cols="75"></textarea></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - <br /> - <br /> - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b> <img src="../images/titolo.gif" alt="" /> {$lng['admin']['templates']['template_replace_vars']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx" colspan="2"><b>{$lng['admin']['templates']['createcustomer']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{FIRSTNAME}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['FIRSTNAME']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{NAME}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['NAME']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{USERNAME}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['USERNAME']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{PASSWORD}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['PASSWORD']}</td> - </tr> - <tr> - <td class="campodisplay_bordosx" colspan="2"><b>{$lng['admin']['templates']['pop_success']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{EMAIL}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['EMAIL']}</td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_edit.tpl deleted file mode 100644 index 34f3778..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_edit.tpl +++ /dev/null @@ -1,68 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="subjectid" value="$subjectid" /> - <input type="hidden" name="mailbodyid" value="$mailbodyid" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['admin']['templates']['template_edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><b>{$result['language']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['templates']['action']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><b>$template</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['templates']['subject']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subject" value="$subject" maxlength="255" size="100" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['admin']['templates']['mailbody']}: *</td> - <td class="install_campodisplay" nowrap="nowrap"><textarea class="textarea_nobordo" name="mailbody" rows="20" cols="75">$mailbody</textarea></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - <br /> - <br /> - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b> <img src="../images/titolo.gif" alt="" /> {$lng['admin']['templates']['template_replace_vars']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx" colspan="2"><b>{$lng['admin']['templates']['createcustomer']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{FIRSTNAME}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['FIRSTNAME']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{NAME}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['NAME']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{USERNAME}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['USERNAME']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{PASSWORD}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['PASSWORD']}</td> - </tr> - <tr> - <td class="campodisplay_bordosx" colspan="2"><b>{$lng['admin']['templates']['pop_success']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx"><i>{EMAIL}</i>:</td> - <td class="nomecampo">{$lng['admin']['templates']['EMAIL']}</td> - </tr> - </table> - </form> -<br /> -<br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_template.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_template.tpl deleted file mode 100644 index a5e0c2b..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/admin/templates/templates_template.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$language}</td> - <td class="nomecampo">{$template}</td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=delete&subjectid=$subjectid&mailbodyid=$mailbodyid">{$lng['panel']['delete']}</a></td> - <td class="nomecampo"><a href="$filename?s=$s&page=$page&action=edit&subjectid=$subjectid&mailbodyid=$mailbodyid">{$lng['panel']['edit']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domainlist.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domainlist.tpl deleted file mode 100644 index e31e042..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domainlist.tpl +++ /dev/null @@ -1,30 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="4"><b><img src="../images/titolo.gif" alt="" /> {$lng['domains']['domainsettings']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['domains']['domainname']}</td> - <td class="campodisplay">{$lng['panel']['path']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - <if ($userinfo['subdomains_used'] < $userinfo['subdomains'] || $userinfo['subdomains'] == '-1') && 15 < $domains_count && $parentdomains_count != 0 > - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=domains&action=add&s=$s">{$lng['domains']['subdomain_add']}</a></td> - </tr> - </if> - $domains - <if 0 < $pages> - <tr> - <td colspan="4" class="campodisplay">{$paging}</td> - </tr> - </if> - <if ($userinfo['subdomains_used'] < $userinfo['subdomains'] || $userinfo['subdomains'] == '-1') && $parentdomains_count != 0 > - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=domains&action=add&s=$s">{$lng['domains']['subdomain_add']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains.tpl deleted file mode 100644 index fed081b..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains.tpl +++ /dev/null @@ -1,12 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['domains']['domains']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['domains']['description']}</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_add.tpl deleted file mode 100644 index a75f21e..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_add.tpl +++ /dev/null @@ -1,29 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['domains']['subdomain_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['domains']['domainname']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="subdomain" value="" size="15" maxlength="50" /> <b>.</b> <select class="tendina_nobordo" name="domain">$domains</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['domains']['aliasdomain']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="alias">$aliasdomains</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['panel']['path']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$pathSelect}</td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['domains']['subdomain_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_delimiter.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_delimiter.tpl deleted file mode 100644 index dd3e5ba..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_delimiter.tpl +++ /dev/null @@ -1,3 +0,0 @@ -<tr> - <td class="titolo" colspan="4"> <b>{$row['domain']}</b></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_domain.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_domain.tpl deleted file mode 100644 index 8df2e43..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_domain.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['domain']}</td> - <td class="nomecampo"><if $row['aliasdomain'] == ''>{$row['documentroot']}</if><if $row['aliasdomain'] != ''>{$lng['domains']['aliasdomain']} {$row['aliasdomain']}</if></td> - <td class="nomecampo"><if $row['caneditdomain'] == '1'><a href="$filename?page=domains&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></if></td> - <td class="nomecampo"><if $row['parentdomainid'] != '0' && !$aliasdomain><a href="$filename?page=domains&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></if></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_edit.tpl deleted file mode 100644 index 4c31697..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/domains/domains_edit.tpl +++ /dev/null @@ -1,44 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['domains']['subdomain_edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['domains']['domainname']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['domain']}</td> - </tr> - <if $alias_check == '0'> - <tr> - <td class="install_nomecampo">{$lng['domains']['aliasdomain']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="alias">$domains</select></td> - </tr> - </if> - <tr> - <td class="install_nomecampo">{$lng['panel']['path']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$pathSelect}</td> - </tr> - <if $result['parentdomainid'] == '0' && $userinfo['subdomains'] != '0' > - <tr> - <td class="install_nomecampo">{$lng['domains']['wildcarddomain']}</td> - <td class="install_campodisplay" nowrap="nowrap">$iswildcarddomain</td> - </tr> - </if> - <if $result['subcanemaildomain'] == '1' && $result['parentdomainid'] != '0' > - <tr> - <td class="install_nomecampo">Emaildomain:</td> - <td class="install_campodisplay" nowrap="nowrap">$isemaildomain</td> - </tr> - </if> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/account_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/account_add.tpl deleted file mode 100644 index 56e366c..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/account_add.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['emails']['account_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['emails']['emailaddress']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['email_full']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['emails']['account_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/account_changepw.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/account_changepw.tpl deleted file mode 100644 index b2f3b10..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/account_changepw.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['emails']['emailaddress']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['email_full']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['menue']['main']['changepassword']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/email.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/email.tpl deleted file mode 100644 index f49a7a0..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/email.tpl +++ /dev/null @@ -1,12 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['email']['email']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['emails']['description']}</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails.tpl deleted file mode 100644 index 69dd6e2..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails.tpl +++ /dev/null @@ -1,27 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="6"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['email']['emails']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['emails']['emailaddress']}</td> - <td class="campodisplay">{$lng['emails']['forwarders']}</td> - <td class="campodisplay">{$lng['emails']['account']}</td> - <td class="campodisplay">{$lng['emails']['catchall']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - <if ($userinfo['emails_used'] < $userinfo['emails'] || $userinfo['emails'] == '-1') && 15 < $emails_count && $emaildomains_count !=0 > - <tr> - <td class="campodisplay_bordosx" colspan="6"><a href="$filename?page={$page}&action=add&s=$s">{$lng['emails']['emails_add']}</a></td> - </tr> - </if> - $accounts - <if ($userinfo['emails_used'] < $userinfo['emails'] || $userinfo['emails'] == '-1') && $emaildomains_count !=0 > - <tr> - <td class="campodisplay_bordosx" colspan="6"><a href="$filename?page={$page}&action=add&s=$s">{$lng['emails']['emails_add']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_add.tpl deleted file mode 100644 index 4c8636e..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_add.tpl +++ /dev/null @@ -1,25 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['emails']['emails_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['emails']['emailaddress']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="email_part" value="" size="15" /> @ <select class="tendina_nobordo" name="domain">$domains</select></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['emails']['iscatchall']}</td> - <td class="install_campodisplay" nowrap="nowrap">$iscatchall</td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['emails']['emails_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_domain.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_domain.tpl deleted file mode 100644 index 3c01c0b..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_domain.tpl +++ /dev/null @@ -1,3 +0,0 @@ -<tr> - <td class="titolo" colspan="6"> <b>{$domainname}</b></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_edit.tpl deleted file mode 100644 index e5c5853..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_edit.tpl +++ /dev/null @@ -1,40 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['emails']['emails_edit']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['emails']['emailaddress']}:</td> - <td class="nomecampo" nowrap="nowrap">{$result['email_full']}</td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['emails']['account']}:</td> - <td class="nomecampo" nowrap="nowrap"> - <if $result['popaccountid'] != 0> - {$lng['panel']['yes']} [<a href="$filename?page=accounts&action=changepw&id={$result['id']}&s=$s">{$lng['menue']['main']['changepassword']}</a>] [<a href="$filename?page=accounts&action=delete&id={$result['id']}&s=$s">{$lng['emails']['account_delete']}</a>] - </if> - <if $result['popaccountid'] == 0> - {$lng['panel']['no']} [<a href="$filename?page=accounts&action=add&id={$result['id']}&s=$s">{$lng['emails']['account_add']}</a>] - </if> - </td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['emails']['catchall']}:</td> - <td class="nomecampo" nowrap="nowrap"> - <if $result['iscatchall'] != 0> - {$lng['panel']['yes']} - </if> - <if $result['iscatchall'] == 0> - {$lng['panel']['no']} - </if> - [<a href="$filename?page=$page&action=togglecatchall&id={$result['id']}&s=$s">{$lng['panel']['toggle']}</a>] - </td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['emails']['forwarders']} ({$forwarders_count}):</td> - <td class="nomecampo">$forwarders<a href="$filename?page=forwarders&action=add&id={$result['id']}&s=$s">{$lng['emails']['forwarder_add']}</a></td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_edit_forwarder.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_edit_forwarder.tpl deleted file mode 100644 index 3800fd6..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_edit_forwarder.tpl +++ /dev/null @@ -1,2 +0,0 @@ -$destination [<a href="$filename?page=forwarders&action=delete&id={$result['id']}&forwarderid={$forwarderid}&s=$s">{$lng['panel']['delete']}</a>] -<br />
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_email.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_email.tpl deleted file mode 100644 index 4c74758..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/emails_email.tpl +++ /dev/null @@ -1,8 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['email_full']}</td> - <td class="nomecampo">{$row['destination']}</td> - <td class="nomecampo"><if $row['popaccountid'] != 0>{$lng['panel']['yes']}</if><if $row['popaccountid'] == 0>{$lng['panel']['no']}</if></td> - <td class="nomecampo"><if $row['iscatchall'] != 0>{$lng['panel']['yes']}</if><if $row['iscatchall'] == 0>{$lng['panel']['no']}</if></td> - <td class="nomecampo"><a href="$filename?page={$page}&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td> - <td class="nomecampo"><a href="$filename?page={$page}&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/forwarder_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/forwarder_add.tpl deleted file mode 100644 index 7410d14..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/email/forwarder_add.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['emails']['forwarder_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['emails']['from']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['email_full']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['emails']['to']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="destination" size="30" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['emails']['forwarder_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/extras.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/extras.tpl deleted file mode 100644 index 0fa7bf4..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/extras.tpl +++ /dev/null @@ -1,12 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['extras']['extras']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['extras']['description']}</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess.tpl deleted file mode 100644 index 03e776f..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess.tpl +++ /dev/null @@ -1,21 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="7"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['extras']['pathoptions']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['panel']['path']}</td> - <td class="campodisplay">{$lng['extras']['view_directory']}</td> - <td class="campodisplay">{$lng['extras']['error404path']}</td> - <td class="campodisplay">{$lng['extras']['error403path']}</td> - <td class="campodisplay">{$lng['extras']['error500path']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - $htaccess - <tr> - <td class="campodisplay_bordosx" colspan="7"><a href="$filename?page=htaccess&action=add&s=$s">{$lng['extras']['pathoptions_add']}</a></td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_add.tpl deleted file mode 100644 index 93f3ca3..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_add.tpl +++ /dev/null @@ -1,37 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['extras']['pathoptions_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['panel']['path']}:</b></td> - <td class="install_campodisplay" nowrap="nowrap">{$pathSelect}</td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['directory_browsing']}:</b></td> - <td class="install_campodisplay" nowrap="nowrap">$options_indexes</td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error404path" value="" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument403path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error403path" value="" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument500path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error500path" value="" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['extras']['pathoptions_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_edit.tpl deleted file mode 100644 index 5f0e3b7..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_edit.tpl +++ /dev/null @@ -1,38 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['extras']['pathoptions_edit']}</b></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['panel']['path']}:</b></td> - <td class="install_campodisplay" nowrap="nowrap">{$result['path']}</td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['directory_browsing']}:</b></td> - <td class="install_campodisplay" nowrap="nowrap">$options_indexes</td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error404path" value="{$result['error404path']}" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument403path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error403path" value="{$result['error403path']}" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument500path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error500path" value="{$result['error500path']}" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['extras']['pathoptions_edit']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_htaccess.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_htaccess.tpl deleted file mode 100644 index 3577809..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htaccess_htaccess.tpl +++ /dev/null @@ -1,9 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['path']}</td> - <td class="nomecampo">{$row['options_indexes']}</td> - <td class="nomecampo">{$row['error404path']}</td> - <td class="nomecampo">{$row['error403path']}</td> - <td class="nomecampo">{$row['error500path']}</td> - <td class="nomecampo"><a href="$filename?page=htaccess&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td> - <td class="nomecampo"><a href="$filename?page=htaccess&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds.tpl deleted file mode 100644 index 0899db9..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds.tpl +++ /dev/null @@ -1,18 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="4"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['extras']['directoryprotection']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['login']['username']}</td> - <td class="campodisplay">{$lng['panel']['path']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - $htpasswds - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=htpasswds&action=add&s=$s">{$lng['extras']['directoryprotection_add']}</a></td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_add.tpl deleted file mode 100644 index bab5063..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_add.tpl +++ /dev/null @@ -1,29 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['extras']['directoryprotection_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['panel']['path']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$pathSelect}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="username" size="30" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" size="30" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['extras']['directoryprotection_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_edit.tpl deleted file mode 100644 index 39bbbb9..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_edit.tpl +++ /dev/null @@ -1,30 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['panel']['path']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['path']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['username']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['menue']['main']['changepassword']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_htpasswd.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_htpasswd.tpl deleted file mode 100644 index fb9b004..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/extras/htpasswds_htpasswd.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['username']}</td> - <td class="nomecampo">{$row['path']}</td> - <td class="nomecampo"><a href="$filename?page=htpasswds&action=edit&id={$row['id']}&s=$s">{$lng['menue']['main']['changepassword']}</a></td> - <td class="nomecampo"><a href="$filename?page=htpasswds&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts.tpl deleted file mode 100644 index 3502729..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts.tpl +++ /dev/null @@ -1,30 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="4"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['ftp']['accounts']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['login']['username']}</td> - <td class="campodisplay">{$lng['panel']['path']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - <if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count > - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=accounts&action=add&s=$s">{$lng['ftp']['account_add']}</a></td> - </tr> - </if> - $accounts - <if 0 < $pages> - <tr> - <td colspan="4" class="campodisplay">{$paging}</td> - </tr> - </if> - <if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') > - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=accounts&action=add&s=$s">{$lng['ftp']['account_add']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_account.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_account.tpl deleted file mode 100644 index 5c637cd..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_account.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['username']}</td> - <td class="nomecampo">{$row['documentroot']}</td> - <td class="nomecampo"><a href="$filename?page=accounts&action=edit&id={$row['id']}&s=$s">{$lng['menue']['main']['changepassword']}</a></td> - <td class="nomecampo"><a href="$filename?page=accounts&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_add.tpl deleted file mode 100644 index 24d6cf8..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_add.tpl +++ /dev/null @@ -1,25 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['ftp']['account_add']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['panel']['path']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$pathSelect}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" size="30" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['ftp']['account_add']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_edit.tpl deleted file mode 100644 index ffc75de..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/accounts_edit.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['username']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['username']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['menue']['main']['changepassword']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/ftp.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/ftp.tpl deleted file mode 100644 index 4ea0215..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/ftp/ftp.tpl +++ /dev/null @@ -1,12 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['ftp']['ftp']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['ftp']['description']}</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/change_language.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/change_language.tpl deleted file mode 100644 index c2c45d9..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/change_language.tpl +++ /dev/null @@ -1,23 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="none" rowspan="4"><img src="../images/cambialingua.gif" alt="" /></td> - </tr> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changelanguage']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['language']}</td> - <td class="install_campodisplay" nowrap="nowrap"><select class="tendina_nobordo" name="def_language">$language_options</select></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottone" type="submit" value="{$lng['menue']['main']['changelanguage']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/change_password.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/change_password.tpl deleted file mode 100644 index 7aeebde..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/change_password.tpl +++ /dev/null @@ -1,34 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="none" rowspan="7"><img src="../images/logininterno.gif" alt="" /></td> - </tr> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['old_password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="old_password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['new_password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="new_password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['new_password_confirm']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="new_password_confirm" maxlength="50" /></td> - </tr> - <tr> - <td class="install_nomecampo" colspan="2"><input type="checkbox" name="change_main_ftp" value="true" />{$lng['changepassword']['also_change_ftp']}</td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['menue']['main']['changepassword']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/index.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/index.tpl deleted file mode 100644 index 22bb133..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/index/index.tpl +++ /dev/null @@ -1,76 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['index']['customerdetails']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['name']}:</td> - <td class="campodisplay">{$userinfo['firstname']} {$userinfo['name']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['company']}:</td> - <td class="campodisplay">{$userinfo['company']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['street']}:</td> - <td class="campodisplay">{$userinfo['street']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['zipcode']}/{$lng['customer']['city']}:</td> - <td class="campodisplay">{$userinfo['zipcode']} {$userinfo['city']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['email']}:</td> - <td class="campodisplay">{$userinfo['email']}</td> - </tr> - <tr> - <td class="nomecampo_nobordobasso">{$lng['customer']['customernumber']}:</td> - <td class="campodisplay_nobordobasso">{$userinfo['customernumber']}</td> - </tr> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['index']['accountdetails']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['login']['username']}:</td> - <td class="campodisplay">{$userinfo['loginname']}</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['domains']}:</td> - <td class="campodisplay">$domains</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['subdomains']}:</td> - <td class="campodisplay">{$userinfo['subdomains_used']} ({$userinfo['subdomains']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['diskspace']}:</td> - <td class="campodisplay">{$userinfo['diskspace_used']} ({$userinfo['diskspace']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['traffic']} ($month):</td> - <td class="campodisplay">{$userinfo['traffic_used']} ({$userinfo['traffic']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['emails']}:</td> - <td class="campodisplay">{$userinfo['emails_used']} ({$userinfo['emails']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['accounts']}:</td> - <td class="campodisplay">{$userinfo['email_accounts_used']} ({$userinfo['email_accounts']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['forwarders']}:</td> - <td class="campodisplay">{$userinfo['email_forwarders_used']} ({$userinfo['email_forwarders']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['mysqls']}:</td> - <td class="campodisplay">{$userinfo['mysqls_used']} ({$userinfo['mysqls']})</td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['customer']['ftps']}:</td> - <td class="campodisplay">{$userinfo['ftps_used']} ({$userinfo['ftps']})</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysql.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysql.tpl deleted file mode 100644 index 29bcfeb..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysql.tpl +++ /dev/null @@ -1,12 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['mysql']['mysql']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">{$lng['mysql']['description']}</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls.tpl deleted file mode 100644 index ffa7c27..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls.tpl +++ /dev/null @@ -1,25 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> - <td class="install_titolo" colspan="4"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['mysql']['databases']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['mysql']['databasename']}</td> - <td class="campodisplay">{$lng['mysql']['databasedescription']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - <if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') && 15 < $mysqls_count > - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=mysqls&action=add&s=$s">{$lng['mysql']['database_create']}</a></td> - </tr> - </if> - $mysqls - <if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') > - <tr> - <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=mysqls&action=add&s=$s">{$lng['mysql']['database_create']}</a></td> - </tr> - </if> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_add.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_add.tpl deleted file mode 100644 index c046a8f..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_add.tpl +++ /dev/null @@ -1,25 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['mysql']['database_create']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['mysql']['databasedescription']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="description" maxlength="100" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['mysql']['database_create']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_database.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_database.tpl deleted file mode 100644 index a0d13f3..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_database.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td class="nomecampo_bordosx">{$row['databasename']}</td> - <td class="nomecampo">{$row['description']}</td> - <td class="nomecampo"><a href="$filename?page=mysqls&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td> - <td class="nomecampo"><a href="$filename?page=mysqls&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -</tr>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_edit.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_edit.tpl deleted file mode 100644 index 5f100de..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/customer/mysql/mysqls_edit.tpl +++ /dev/null @@ -1,30 +0,0 @@ -$header - <form method="post" action="$filename"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="page" value="$page" /> - <input type="hidden" name="action" value="$action" /> - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['mysql']['databasename']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['databasename']}</td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['mysql']['databasedescription']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="description" maxlength="100" value="{$result['description']}" /></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['changepassword']['new_password_ifnotempty']}:</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['panel']['save']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/footer.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/footer.tpl deleted file mode 100644 index 0c539c0..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/footer.tpl +++ /dev/null @@ -1,16 +0,0 @@ - </td> - </tr> - </table> - <table cellspacing="0" cellpadding="0" border="0" width="100%"> - <tr> - <td width="100%" class="footer"> - <br />SysCP $version © 2003-2006 by <a href="http://www.syscp.org/" target="_blank">the SysCP Team</a> - <br />Templates by <a href="mailto:info@havanastudio.ch">Luca Piona</a> & <a href="mailto:chtekk@gentoo.org">Luca Longinotti</a> - <br /> - <br /><a href="http://validator.w3.org/check?uri=referer" target="_blank"><img src="../images/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" border="0" /></a> <a href="http://jigsaw.w3.org/css-validator/" target="_blank"><img style="border:0;width:88px;height:31px" src="../images/vcss" alt="Valid CSS!" border="0" /></a> - <br /> - </td> - </tr> - </table> - </body> -</html> diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/header.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/header.tpl deleted file mode 100644 index 4d70ce6..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/header.tpl +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /> - <link rel="stylesheet" href="templates/maincss.css" type="text/css" /> - <title>SysCP</title> -</head> -<body style="margin: 0; padding: 0;" onload="document.loginform.loginname.focus()"> -<!-- - We request you retain the full copyright notice below including the link to www.syscp.org. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of SysCP. If you refuse - to include even this then support on our forums may be affected. - The SysCP Team : 2003-2006 -// --> -<table cellspacing="0" cellpadding="0" border="0" width="100%"> - <tr> - <td width="800"><img src="../images/header.gif" width="800" height="90" alt="" /></td> - <td class="header"> </td> - </tr> -</table> -<table cellspacing="0" cellpadding="0" border="0" width="100%"> - <tr> - <td width="240" valign="top" bgcolor="#EBECF5">$navigation<br /></td> - <td width="15" class="linea_ombra"> </td> - <td valign="top" bgcolor="#FFFFFF"> - <br /> - <br /> diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/login/login.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/login/login.tpl deleted file mode 100644 index 97ac4d8..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/login/login.tpl +++ /dev/null @@ -1,33 +0,0 @@ -$header - <br /> - <br /> - <br /> - <form method="post" action="$filename" name="loginform"> - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_40"> - <tr> - <td class="install_titolo" colspan="3"><b><img src="../images/titolo.gif" alt="" /> SysCP - Login</b></td> - </tr> - <tr> - <td rowspan="3" class="nomecampo_acenter"><img src="../images/login.gif" alt="" /></td> - <td class="nomecampo"><font size="-1">{$lng['login']['username']}:</font></td> - <td class="campodisplay"><input type="text" name="loginname" value="" maxlength="50" /></td> - </tr> - <tr> - <td class="nomecampo"><font size="-1">{$lng['login']['password']}:</font></td> - <td class="campodisplay"><input type="password" name="password" maxlength="50" /></td> - </tr> - <tr> - <td class="nomecampo"><font size="-1">{$lng['login']['language']}:</font></td> - <td class="campodisplay"><select class="tendina_nobordo" name="language">$language_options</select></td> - </tr> - <tr> - <td class="nomecampo_acenter" colspan="3"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['login']['login']}" /></td> - </tr> - </table> - </form> - <br /> - <br /> - <br /> - <br /> - <br /> -$footer diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/maincss.css b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/maincss.css deleted file mode 100644 index 6b71d74..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/maincss.css +++ /dev/null @@ -1,244 +0,0 @@ -body { - color : #000000; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; -} - -.header { - background-image : url( '../images/header_r.gif' ); - background-repeat : repeat-x; -} - -.footer { - text-align : center; - border-color : #EBECF5; - border-style : solid; - border-width : 1px; - border-right : none; - border-left : none; - background-image : url( '../images/footer.gif' ); - background-repeat : repeat-y; -} - -.linea_ombra { - background-image : url( '../images/ombra.gif' ); - background-repeat : repeat-y; - background-position : top left; -} - -.sezione { - height : 25px; - background-image : url( '../images/sezione.gif' ); -} - -.sottosezione { - height : 25px; - background-image : url( '../images/sottosezione.gif' ); -} - -.finesezione { - height : 25px; - background-image : url( '../images/finesezione.gif' ); -} - -a,a:visited,a:active { - color : #000000; - text-decoration : underline; -} - -a:hover { - color : #F89826; - text-decoration : none; -} - -select,textarea { - color : black; - text-decoration : none; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; - font-weight : bold; - border : 1px solid #B7B7B7; - background-color : #C6DEFF; -} - -select.tendina_nobordo { - color : black; - text-decoration : none; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; - font-weight : bold; - border : 0px solid #B7B7B7; - background-color : #C6DEFF; -} - -textarea.textarea_nobordo { - color : black; - text-decoration : none; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; - font-weight : bold; - border : 0px solid #B7B7B7; - background-color : #C6DEFF; -} - -textarea.textarea_bordo { - color : black; - text-decoration : none; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; - font-weight : bold; - border : 1px solid #B7B7B7; - background-color : #C6DEFF; -} - -input { - color : black; - text-decoration : none; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; - font-weight : bold; - border : 0px solid #B7B7B7; - background-color : #C6DEFF; -} - -input.bottone { - color : black; - text-decoration : none; - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size : 12px; - font-weight : bold; - border : 1px solid #000000; - background-color : #C6DEFF; -} - -.install_tabella { - width : 90%; -} - -.install_tabella_60 { - width : 60%; -} - -.install_tabella_40 { - width : 40%; -} - -.install_titolo { - width : 90%; - background-color : #ABC9E8; - border-color : #000000; - border-style : solid; - border-width : 1px; - text-align : left; -} - -.titolo { - background-color : #ABC9E8; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - border-top : none; - text-align : left; -} - -.install_nomecampo { - width : 84%; - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : left; -} - -.install_confermacampo { - width : 84%; - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : right; -} - -.nomecampo { - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : left; - border-top : none; - border-left : none; -} - -.nomecampo_nobordobasso { - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : left; - border-top : none; - border-bottom : none; -} - -.nomecampo_acenter { - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : center; - border-top : none; -} - -.nomecampo_acenter_nobordo { - height : 30px; - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : center; - border-top : none; - border-right : none; -} - -.nomecampo_bordosx { - background-color : #EBECF5; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - text-align : left; - border-top : none; -} - -.install_campodisplay { - width : 6%; - background-color : #C6DEFF; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; -} - -.campodisplay { - background-color : #C6DEFF; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - border-top : none; - border-left : none; -} - -.campodisplay_bordosx { - background-color : #C6DEFF; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - border-top : none; -} - -.campodisplay_nobordobasso { - background-color : #C6DEFF; - border-color : #B7B7B7; - border-style : solid; - border-width : 1px; - border-top : none; - border-left : none; - border-bottom : none; -} diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/error.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/error.tpl deleted file mode 100644 index 60f95f3..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/error.tpl +++ /dev/null @@ -1,13 +0,0 @@ -$header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b> <img src="../images/titolo.gif" alt="" /> {$lng['error']['error']}</b></td> - </tr> - <tr> - <td class="nomecampo_acenter_nobordo"><img src="../images/errore.gif" alt="" /></td> - <td class="nomecampo">$error</td> - </tr> - </table> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/question_yesno.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/question_yesno.tpl deleted file mode 100644 index a0f3511..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/question_yesno.tpl +++ /dev/null @@ -1,18 +0,0 @@ -$header - <form action="$yesfile" method="post"> - <input type="hidden" name="s" value="$s" /> - <input type="hidden" name="send" value="send" /> - $hiddenparams - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_60"> - <tr> - <td class="install_titolo" colspan="2"><b> <img src="../images/titolo.gif" alt="" /> {$lng['question']['question']}</b></td> - </tr> - <tr> - <td class="nomecampo_bordosx">$text</td> - <td class="nomecampo" nowrap="nowrap"><input type="submit" class="bottone" name="submitbutton" value="{$lng['panel']['yes']}" /> <input type="button" class="bottone" value="{$lng['panel']['no']}" onclick="history.back();" /></td> - </tr> - </table> - </form> - <br /> - <br /> -$footer
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/standardcustomer/index.html b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/standardcustomer/index.html deleted file mode 100644 index 82e2710..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/misc/standardcustomer/index.html +++ /dev/null @@ -1,11 +0,0 @@ -<html> -<head> - <title>Gentoo-SysCP Defaultpage</title> -</head> -<body> - <p align="center" style="font-family: Verdana,Helvetica,sans-serif; font-size: 14px;"> - <br />This domain was created using Gentoo-SysCP. - <br />There is no content on this domain yet. - </p> -</body> -</html>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/navigation_element.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/navigation_element.tpl deleted file mode 100644 index 26e1904..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/navigation_element.tpl +++ /dev/null @@ -1,12 +0,0 @@ -<br /> -<table cellspacing="0" cellpadding="0" border="0" width="200" align="center"> - <tr> - <td class="sezione"><b> <img src="../images/titolo.gif" alt="" /> $completeLink_ElementTitle</b></td> - </tr> - <tr> - <td class="sottosezione"><br />$navigation_links</td> - </tr> - <tr> - <td class="finesezione"> </td> - </tr> -</table>
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/navigation_link.tpl b/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/navigation_link.tpl deleted file mode 100644 index fded1da..0000000 --- a/syscp/patches/gentoo-syscp-design/gentoo-syscp-design/templates/navigation_link.tpl +++ /dev/null @@ -1,2 +0,0 @@ - <img src="../images/ball.gif" alt="" /> {$completeLink} -<br />
\ No newline at end of file diff --git a/syscp/patches/gentoo-syscp-design/syscp-1.2.13-gentoo-syscp-design-r3.tar.bz2 b/syscp/patches/gentoo-syscp-design/syscp-1.2.13-gentoo-syscp-design-r3.tar.bz2 Binary files differdeleted file mode 100644 index 0994344..0000000 --- a/syscp/patches/gentoo-syscp-design/syscp-1.2.13-gentoo-syscp-design-r3.tar.bz2 +++ /dev/null diff --git a/syscp/patches/italian-lang/italian.lng.php b/syscp/patches/italian-lang/italian.lng.php deleted file mode 100644 index 1021e11..0000000 --- a/syscp/patches/italian-lang/italian.lng.php +++ /dev/null @@ -1,407 +0,0 @@ -<?php
-/**
- * filename: $Source: /cvsroot/syscp/syscp/lng/italian.lng.php,v $
- * begin: Friday, Dec 02, 2005
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version. This program is distributed in the
- * hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * @author Luca Piona <info@havanastudio.ch> & Luca Longinotti <chtekk@gentoo.org>
- * @copyright (C) 2005 Luca Piona & Luca Longinotti
- * @package Language
- * @version $Id: $
- */
-
-
-/**
- * Global
- */
-$lng['panel']['edit'] = 'Modifica';
-$lng['panel']['delete'] = 'Cancella';
-$lng['panel']['create'] = 'Crea';
-$lng['panel']['save'] = 'Salva';
-$lng['panel']['yes'] = 'Si';
-$lng['panel']['no'] = 'No';
-$lng['panel']['emptyfornochanges'] = 'lasciare vuoto se non si vuole cambiare';
-$lng['panel']['emptyfordefault'] = 'lasciare vuoto per l\'impostazione di default';
-$lng['panel']['path'] = 'Percorso';
-$lng['panel']['toggle'] = 'Cambia';
-$lng['panel']['next'] = 'Prossimo';
-$lng['panel']['dirsmissing'] = 'Impossibile trovare o leggere la directory!';
-
-/**
- * Login
- */
-$lng['login']['username'] = 'Nome Utente';
-$lng['login']['password'] = 'Password';
-$lng['login']['language'] = 'Lingua';
-$lng['login']['login'] = 'Login';
-$lng['login']['logout'] = 'Logout';
-$lng['login']['profile_lng'] = 'Scegli la lingua';
-
-/**
- * Customer
- */
-$lng['customer']['documentroot'] = 'Cartella Principale';
-$lng['customer']['name'] = 'Cognome';
-$lng['customer']['firstname'] = 'Nome';
-$lng['customer']['company'] = 'Ditta';
-$lng['customer']['street'] = 'Via';
-$lng['customer']['zipcode'] = 'CAP';
-$lng['customer']['city'] = 'Città';
-$lng['customer']['phone'] = 'Telefono';
-$lng['customer']['fax'] = 'Fax';
-$lng['customer']['email'] = 'Email';
-$lng['customer']['customernumber'] = 'ID Cliente';
-$lng['customer']['diskspace'] = 'Spazio Web (MB)';
-$lng['customer']['traffic'] = 'Traffico (GB)';
-$lng['customer']['mysqls'] = 'Database MySQL';
-$lng['customer']['emails'] = 'Indirizzi Email';
-$lng['customer']['accounts'] = 'Account Email';
-$lng['customer']['forwarders'] = 'Reindirizzamenti Email';
-$lng['customer']['ftps'] = 'Account FTP';
-$lng['customer']['subdomains'] = 'Sottodomini';
-$lng['customer']['domains'] = 'Domini';
-$lng['customer']['unlimited'] = 'illimitati';
-
-/**
- * Customermenue
- */
-$lng['menue']['main']['main'] = 'Principale';
-$lng['menue']['main']['changepassword'] = 'Cambia la password';
-$lng['menue']['main']['changelanguage'] = 'Cambia la lingua';
-$lng['menue']['email']['email'] = 'Email';
-$lng['menue']['email']['emails'] = 'Indirizzi';
-$lng['menue']['email']['webmail'] = 'WebMail';
-$lng['menue']['mysql']['mysql'] = 'MySQL';
-$lng['menue']['mysql']['databases'] = 'Database';
-$lng['menue']['mysql']['phpmyadmin'] = 'phpMyAdmin';
-$lng['menue']['domains']['domains'] = 'Domini';
-$lng['menue']['domains']['settings'] = 'Opzioni';
-$lng['menue']['ftp']['ftp'] = 'FTP';
-$lng['menue']['ftp']['accounts'] = 'Account';
-$lng['menue']['ftp']['webftp'] = 'WebFTP';
-$lng['menue']['extras']['extras'] = 'Extra';
-$lng['menue']['extras']['directoryprotection'] = 'Cartelle Protette';
-$lng['menue']['extras']['pathoptions'] = 'Opzioni Cartelle';
-
-/**
- * Index
- */
-$lng['index']['customerdetails'] = 'Dettagli Cliente';
-$lng['index']['accountdetails'] = 'Dettagli Account';
-
-/**
- * Change Password
- */
-$lng['changepassword']['old_password'] = 'Vecchia password';
-$lng['changepassword']['new_password'] = 'Nuova password';
-$lng['changepassword']['new_password_confirm'] = 'Nuova password (verifica)';
-$lng['changepassword']['new_password_ifnotempty'] = 'Nuova password (vuota = non cambia)';
-$lng['changepassword']['also_change_ftp'] = ' cambia la password dell\'account FTP principale?';
-
-/**
- * Domains
- */
-$lng['domains']['description'] = 'Qui puoi creare (sotto)domini e cambiare il loro percorso.<br />Il sistema, dopo ogni cambiamento, necessita di un po\' di tempo per applicare le nuove impostazioni.';
-$lng['domains']['domainsettings'] = 'Opzioni del dominio';
-$lng['domains']['domainname'] = 'Nome del dominio';
-$lng['domains']['subdomain_add'] = 'Crea sottodominio';
-$lng['domains']['subdomain_edit'] = 'Modifica il (sotto)dominio';
-$lng['domains']['wildcarddomain'] = 'Crea una wildcarddomain?';
-$lng['domains']['aliasdomain'] = 'Alias per questo dominio';
-$lng['domains']['noaliasdomain'] = 'Nessun alias per il dominio';
-
-/**
- * eMails
- */
-$lng['emails']['description'] = 'Qui puoi creare e cambiare i tuoi indirizzi Email.<br />Un account è come la bucalettere davanti a casa tua. Se qualcuno ti manda un\'Email, essa sarà recapitata all\'interno del tuo account.<br /><br />Per scaricare le tue Email usa le seguenti impostazioni nel tuo programma di posta elettronica: (I dati scritti in <i>corsivo</i> vanno cambiati con i tuoi!)<br />Hostname: <b><i>Nome del dominio</i></b><br />Username: <b><i>Nome dell\'account / Indirizzo Email</i></b><br />Password: <b><i>La password scelta</i></b>';
-$lng['emails']['emailaddress'] = 'Indirizzo Email';
-$lng['emails']['emails_add'] = 'Crea indirizzo Email';
-$lng['emails']['emails_edit'] = 'Modifica indirizzo Email';
-$lng['emails']['catchall'] = 'Catch-all';
-$lng['emails']['iscatchall'] = 'Definisci come indirizzo catch-all?';
-$lng['emails']['account'] = 'Account';
-$lng['emails']['account_add'] = 'Crea account';
-$lng['emails']['account_delete'] = 'Cancella account';
-$lng['emails']['from'] = 'Da';
-$lng['emails']['to'] = 'Per';
-$lng['emails']['forwarders'] = 'Reindirizzamenti';
-$lng['emails']['forwarder_add'] = 'Crea reindirizzamento';
-
-/**
- * FTP
- */
-$lng['ftp']['description'] = 'Qui puoi creare e modificare i tuoi account FTP.<br />I cambiamenti sono effettuati in tempo reale e gli account si possono usare immediatamente.';
-$lng['ftp']['account_add'] = 'Crea account';
-
-/**
- * MySQL
- */
-$lng['mysql']['description'] = 'Qui puoi creare e modificare i tuoi database MySQL.<br />I cambiamenti sono effettuati in tempo reale e i databases si possono usare immediatamente.<br />Nel menù di sinistra trovi il tool phpMyAdmin con il quale potrai comodamente amministrare i tuoi databases attraverso il tuo web-browser.<br /><br />Per utilizzare i database nei vostri script PHP, utilizzate le seguenti impostazioni: (I dati scritti in <i>corsivo</i> vanno cambiati con i tuoi!)<br />Hostname: <b>localhost</b><br />Username: <b><i>L\'username scelto</i></b><br />Password: <b><i>La password scelta per quell\'username</i></b><br />Database: <b><i>Nome del database</i></b>';
-$lng['mysql']['databasename'] = 'Nome database';
-$lng['mysql']['databasedescription'] = 'Descrizione database';
-$lng['mysql']['database_create'] = 'Crea database';
-
-/**
- * Extras
- */
-$lng['extras']['description'] = 'Qui puoi aggiungere alcune opzioni extra, per esempio impostare delle cartelle protette.<br />Il sistema, dopo ogni cambiamento, necessita di un po\' di tempo per applicare le nuove impostazioni.';
-$lng['extras']['directoryprotection_add'] = 'Aggiungi protezione cartella';
-$lng['extras']['view_directory'] = 'Mostra protezione cartella';
-$lng['extras']['pathoptions_add'] = 'Aggiungi opzioni cartella';
-$lng['extras']['directory_browsing'] = 'Visualizza file e cartelle';
-$lng['extras']['pathoptions_edit'] = 'Modifica opzioni cartella';
-$lng['extras']['error404path'] = '404';
-$lng['extras']['error403path'] = '403';
-$lng['extras']['error500path'] = '500';
-$lng['extras']['error401path'] = '401';
-$lng['extras']['errordocument404path'] = 'URL to ErrorDocument 404';
-$lng['extras']['errordocument403path'] = 'URL to ErrorDocument 403';
-$lng['extras']['errordocument500path'] = 'URL to ErrorDocument 500';
-$lng['extras']['errordocument401path'] = 'URL to ErrorDocument 401';
-
-/**
- * Errors
- */
-$lng['error']['error'] = 'Errore';
-$lng['error']['directorymustexist'] = 'La cartella %s deve esistere. Per favore creala tramite il tuo client FTP.';
-$lng['error']['filemustexist'] = 'Il file %s deve esistere.';
-$lng['error']['allresourcesused'] = 'Hai già usato tutte le tue risorse.';
-$lng['error']['domains_cantdeletemaindomain'] = 'Non puoi cancellare un dominio usato come dominio Email.';
-$lng['error']['domains_canteditdomain'] = 'Non puoi modificare questo dominio. La funzione è stata disabilitata dall\'admin.';
-$lng['error']['domains_cantdeletedomainwithemail'] = 'Non puoi cancellare un dominio usato come dominio Email. Cancella prima tutti gli indirizzi Email che lo utilizzano.';
-$lng['error']['firstdeleteallsubdomains'] = 'Prima di creare un dominio wildcard, cancella tutti i sottodomini presenti per quel dominio.';
-$lng['error']['youhavealreadyacatchallforthisdomain'] = 'Hai già definito un catchall per questo dominio.';
-$lng['error']['ftp_cantdeletemainaccount'] = 'Non puoi cancellare il tuo account FTP principale.';
-$lng['error']['login'] = 'Il nome utente o la password da te immessi sono incorretti. Per favore riprova!';
-$lng['error']['login_blocked'] = 'Questo account è stato sospeso per i troppi tentativi di login falliti. <br />Riprovi tra '.$settings['login']['deactivatetime'].' secondi.';
-$lng['error']['notallreqfieldsorerrors'] = 'Alcuni campi sono stati lasciati vuoti o sono stati riempiti incorrettamente.';
-$lng['error']['oldpasswordnotcorrect'] = 'La vecchia password non è corretta.';
-$lng['error']['youcantallocatemorethanyouhave'] = 'Non puoi assegnare più risorse di quante ne possieda tu stesso.';
-$lng['error']['youcantdeletechangemainadmin'] = 'Non puoi cancellare o modificare l\'admin principale per ragioni di sicurezza.';
-$lng['error']['mustbeurl'] = 'Non hai inserito un\'indirizzo valido o completo (per es. http://qualchedominio.com/errore404.htm).';
-$lng['error']['invalidpath'] = 'Non hai scelto un\'indirizzo valido.';
-$lng['error']['stringisempty'] ='Manca il dato nel campo.';
-$lng['error']['stringiswrong'] ='Dato incorretto.';
-$lng['error']['myloginname'] = '\''.$lng['login']['username'].'\'';
-$lng['error']['mypassword'] = '\''.$lng['login']['password'].'\'';
-$lng['error']['oldpassword'] = '\''.$lng['changepassword']['old_password'].'\'';
-$lng['error']['newpassword'] = '\''.$lng['changepassword']['new_password'].'\'';
-$lng['error']['newpasswordconfirm']= '\''.$lng['changepassword']['new_password_confirm'].'\'';
-$lng['error']['newpasswordconfirmerror']='La nuova password non corrisponde a quella vecchia.';
-$lng['error']['myname'] = '\''.$lng['customer']['name'].'\'';
-$lng['error']['myfirstname'] = '\''.$lng['customer']['firstname'].'\'';
-$lng['error']['emailadd'] = '\''.$lng['customer']['email'].'\'';
-$lng['error']['mydomain'] = '\'Dominio\'';
-$lng['error']['mydocumentroot'] = '\'Documentroot\'';
-$lng['error']['loginnameexists']= 'Il login %s esiste già.';
-$lng['error']['emailiswrong']= 'L\'indirizzo Email %s contiene caratteri invalidi o è incompleto.';
-$lng['error']['loginnameiswrong']= 'Il login %s contiene caratteri invalidi.';
-$lng['error']['userpathcombinationdupe']='La combinazione tra nome utente e percorso esiste già.';
-$lng['error']['patherror']='Errore! Il percorso non può essere vuoto.';
-$lng['error']['errordocpathdupe']='Le opzioni per la cartella %s esistono già.';
-$lng['error']['adduserfirst']='Per favore crea prima un utente ...';
-$lng['error']['domainalreadyexists']= 'Il dominio %s è già assegnato ad un cliente.';
-$lng['error']['nolanguageselect']='Nessuna lingua selezionata.';
-$lng['error']['nosubjectcreate']='Devi definire un titolo per questo template Email.';
-$lng['error']['nomailbodycreate']='Devi definiro un testo per questo template Email.';
-$lng['error']['templatenotfound']='Il template non è stato trovato.';
-$lng['error']['alltemplatesdefined']='Non puoi definire altri template, tutte le lingue sono già definite.';
-$lng['error']['wwwnotallowed']='www non è ammesso come sottodominio.';
-$lng['error']['subdomainiswrong']='Il sottodominio %s contiene caratteri invalidi.';
-$lng['error']['domaincantbeempty']='Il nome dominio non può essere vuoto.';
-$lng['error']['domainexistalready']='Il dominio %s esiste già.';
-$lng['error']['domainisaliasorothercustomer']='Il dominio alias selezionato è a sua volta un dominio alias o appartiene ad un altro cliente.';
-$lng['error']['emailexistalready']='L\'indirizzo Email %s esiste già.';
-$lng['error']['maindomainnonexist']='Il dominio principale %s non esiste.';
-$lng['error']['destinationnonexist']='Per favore crea il tuo reindirizzamento nel campo \'Destinazione\'.';
-$lng['error']['destinationalreadyexistasmail']='Il reindirizzamento a %s esiste già come indirizzo Email attivo.';
-$lng['error']['destinationalreadyexist']='Hai già definito un reindirizzamento per %s .';
-$lng['error']['destinationiswrong']= 'Il reindirizzamento %s contiene caratteri invalidi o è incompleto.';
-$lng['error']['domainname']=$lng['domains']['domainname'];
-
-/**
- * Questions
- */
-$lng['question']['question'] = 'Domanda di sicurezza';
-$lng['question']['admin_customer_reallydelete'] = 'Sei sicuro di voler cancellare il cliente %s? Quest\'azione non potrà essere annullata!';
-$lng['question']['admin_domain_reallydelete'] = 'Sei sicuro di voler cancellare il dominio %s?';
-$lng['question']['admin_domain_reallydisablesecuritysetting'] = 'Sei sicuro di voler disattivare queste opzioni di sicurezza (OpenBasedir e/o SafeMode)?';
-$lng['question']['admin_admin_reallydelete'] = 'Sei sicuro di voler cancellare l\'admin %s? Tutti i clienti e i domini saranno affidati all\'amministratore principale.';
-$lng['question']['admin_template_reallydelete'] = 'Sei sicuro di voler cancellare il template \'%s\'?';
-$lng['question']['domains_reallydelete'] = 'Sei sicuro di voler cancellare il dominio %s?';
-$lng['question']['email_reallydelete'] = 'Sei sicuro di voler cancellare l\'indirizzo Email %s?';
-$lng['question']['email_reallydelete_account'] = 'Sei sicuro di voler cancellare l\'account Email di %s?';
-$lng['question']['email_reallydelete_forwarder'] = 'Sei sicuro di voler cancellare il reindirizzamento a %s?';
-$lng['question']['extras_reallydelete'] = 'Sei sicuro di voler cancellare la protezione per la cartella %s?';
-$lng['question']['extras_reallydelete_pathoptions'] = 'Sei sicuro di voler cancellare le opzioni cartella per %s?';
-$lng['question']['ftp_reallydelete'] = 'Sei sicuro di voler cancellare l\'account FTP %s?';
-$lng['question']['mysql_reallydelete'] = 'Sei sicuro di voler cancellare il database %s? Quest\'azione non potrà essere annullata!';
-$lng['question']['admin_configs_reallyrebuild'] = 'Sei sicuro di voler rigenerare i file di configurazione per Apache e Bind?';
-
-/**
- * Mails
- */
-$lng['mails']['pop_success']['mailbody'] = 'Salve,\n\nil tuo indirizzo Email {EMAIL}\nè stato configurato con successo.\n\nQuesta è un\'Email creata automaticamente,\n per favore non rispondere!\n\nCordiali saluti, SysCP-Team.';
-$lng['mails']['pop_success']['subject'] = 'Indirizzo Email configurato con successo';
-$lng['mails']['createcustomer']['mailbody'] = 'Salve {FIRSTNAME} {NAME},\n\nqueste sono le informazioni per il tuo account:\n\nNome Utente: {USERNAME}\nPassword: {PASSWORD}\n\nGrazie,\nSysCP-Team.';
-$lng['mails']['createcustomer']['subject'] = 'Informazioni account';
-
-/**
- * Admin
- */
-$lng['admin']['overview'] = 'Visione d\'insieme';
-$lng['admin']['ressourcedetails'] = 'Risorse utilizzate';
-$lng['admin']['systemdetails'] = 'Dettagli sistema';
-$lng['admin']['syscpdetails'] = 'Dettagli SysCP';
-$lng['admin']['installedversion'] = 'Versione installata';
-$lng['admin']['latestversion'] = 'Ultima versione disponibile';
-$lng['admin']['lookfornewversion']['clickhere'] = 'Cerca sul web';
-$lng['admin']['lookfornewversion']['error'] = 'Errore durante la lettura';
-$lng['admin']['resources'] = 'Risorse';
-$lng['admin']['customer'] = 'Cliente';
-$lng['admin']['customers'] = 'Clienti';
-$lng['admin']['customer_add'] = 'Crea cliente';
-$lng['admin']['customer_edit'] = 'Modifica cliente';
-$lng['admin']['domains'] = 'Domini';
-$lng['admin']['domain_add'] = 'Crea dominio';
-$lng['admin']['domain_edit'] = 'Modifica dominio';
-$lng['admin']['subdomainforemail'] = 'Sottodominio utilizzabile come dominio Email';
-$lng['admin']['admin'] = 'Admin';
-$lng['admin']['admins'] = 'Admin';
-$lng['admin']['admin_add'] = 'Crea admin';
-$lng['admin']['admin_edit'] = 'Modifica admin';
-$lng['admin']['customers_see_all'] = 'Può vedere tutti i clienti?';
-$lng['admin']['domains_see_all'] = 'Può vedere tutti i domini?';
-$lng['admin']['change_serversettings'] = 'Può cambiare le impostazioni del server?';
-$lng['admin']['server'] = 'Server';
-$lng['admin']['serversettings'] = 'Opzioni';
-$lng['admin']['rebuildconf'] = 'Rigenera file di configurazione';
-$lng['admin']['stdsubdomain'] = 'Sottodominio standard';
-$lng['admin']['stdsubdomain_add'] = 'Crea sottodominio standard';
-$lng['admin']['deactivated'] = 'Disattiva';
-$lng['admin']['deactivated_user'] = 'Disattiva utente';
-$lng['admin']['sendpassword'] = 'Invia password';
-$lng['admin']['ownvhostsettings'] = 'Impostazioni vHost speciali';
-$lng['admin']['configfiles']['serverconfiguration'] = 'Configurazione servizi';
-$lng['admin']['configfiles']['files'] = '<b>File di configurazione:</b> Per favore cambia questi file o creali<br />se non esistono, con il seguente contenuto.<br /><b>NOTA:</b> La password di MySQL non è stata rimpiazzata per ragioni di sicurezza.<br />Per favore rimpiazza "MYSQL_PASSWORD" con la password MySQL dell\'utente syscp. Se hai dimenticato la password per MySQL<br />la trovi in "lib/userdata.inc.php".';
-$lng['admin']['configfiles']['commands'] = '<b>Comandi:</b> Per favore esegui i seguenti comandi in una shell.';
-$lng['admin']['configfiles']['restart'] = '<b>Ricarica:</b> Per favore esegui i seguenti comandi (in ordine) in una shell per ricaricare la configurazione.';
-$lng['admin']['templates']['templates'] = 'Template';
-$lng['admin']['templates']['template_add'] = 'Aggiungi template';
-$lng['admin']['templates']['template_edit'] = 'Modifica template';
-$lng['admin']['templates']['action'] = 'Azione';
-$lng['admin']['templates']['email'] = 'Email';
-$lng['admin']['templates']['subject'] = 'Soggetto:';
-$lng['admin']['templates']['mailbody'] = 'Testo dell\'Email';
-$lng['admin']['templates']['createcustomer'] = 'Email di benvenuto per i nuovi clienti';
-$lng['admin']['templates']['pop_success'] = 'Benevenuto per ogni nuovo account Email';
-$lng['admin']['templates']['template_replace_vars'] = 'Variabili da cambiare nel template:';
-$lng['admin']['templates']['FIRSTNAME'] = 'Rimpiazzato con il nome del cliente.';
-$lng['admin']['templates']['NAME'] = 'Rimpiazzato con il cognome del cliente.';
-$lng['admin']['templates']['USERNAME'] = 'Rimpiazzato con il nome utente dell\'account.';
-$lng['admin']['templates']['PASSWORD'] = 'Rimpiazzato con la password dell\'account.';
-$lng['admin']['templates']['EMAIL'] = 'Rimapiazzato con l\'indirizzo dell\'account.';
-
-/**
- * Serversettings
- */
-$lng['serversettings']['session_timeout']['title'] = 'Timeout della sessione';
-$lng['serversettings']['session_timeout']['description'] = 'Quanto tempo un utente deve rimanere inattivo prima che la sessione diventi invalida (secondi)?';
-$lng['serversettings']['accountprefix']['title'] = 'Prefisso Cliente';
-$lng['serversettings']['accountprefix']['description'] = 'Che prefisso dovrebbero avere gli account dei clienti?';
-$lng['serversettings']['mysqlprefix']['title'] = 'Prefisso SQL';
-$lng['serversettings']['mysqlprefix']['description'] = 'Che prefisso dovrebbero avere i database SQL?';
-$lng['serversettings']['ftpprefix']['title'] = 'Prefisso FTP';
-$lng['serversettings']['ftpprefix']['description'] = 'Che prefisso dovrebbero avere gli account FTP?';
-$lng['serversettings']['documentroot_prefix']['title'] = 'Cartella dati web';
-$lng['serversettings']['documentroot_prefix']['description'] = 'Dove devono essere immagazzinati tutti i dati web?';
-$lng['serversettings']['logfiles_directory']['title'] = 'Cartella logfiles';
-$lng['serversettings']['logfiles_directory']['description'] = 'Dove devono essere immagazzinati tutti i log?';
-$lng['serversettings']['ipaddress']['title'] = 'Indirizzo IP';
-$lng['serversettings']['ipaddress']['description'] = 'Qual\'è l\'indirizzo IP di questo server?';
-$lng['serversettings']['hostname']['title'] = 'Hostname';
-$lng['serversettings']['hostname']['description'] = 'QUal\'è l\'hostname di questo server?';
-$lng['serversettings']['apacheconf_directory']['title'] = 'Cartella configurazione Apache';
-$lng['serversettings']['apacheconf_directory']['description'] = 'Dove sono i file di configurazione per Apache?';
-$lng['serversettings']['apachereload_command']['title'] = 'Comando riavvio Apache';
-$lng['serversettings']['apachereload_command']['description'] = 'Qual\'è il comando per riavviare Apache?';
-$lng['serversettings']['bindconf_directory']['title'] = 'Cartella configurazione Bind';
-$lng['serversettings']['bindconf_directory']['description'] = 'Dove sono i file di configurazione per Bind?';
-$lng['serversettings']['bindreload_command']['title'] = 'Comando riavvio Bind';
-$lng['serversettings']['bindreload_command']['description'] = 'Qual\'è il comando per riavviare Bind?';
-$lng['serversettings']['binddefaultzone']['title'] = 'Zona di default Bind';
-$lng['serversettings']['binddefaultzone']['description'] = 'Qual\'è il nome della zona di default Bind?';
-$lng['serversettings']['vmail_uid']['title'] = 'UID Email';
-$lng['serversettings']['vmail_uid']['description'] = 'Che UserID dovrebbe avere l\'utente che gestisce le Email?';
-$lng['serversettings']['vmail_gid']['title'] = 'GID Email';
-$lng['serversettings']['vmail_gid']['description'] = 'Che GroupID dovrebbe avere l\'utente che gestisce le Email?';
-$lng['serversettings']['vmail_homedir']['title'] = 'Cartella Email';
-$lng['serversettings']['vmail_homedir']['description'] = 'Dove devono essere immagazzinate tutte le Email?';
-$lng['serversettings']['adminmail']['title'] = 'Mittente';
-$lng['serversettings']['adminmail']['description'] = 'Qual\'è l\'indirizzo del mittente delle Email provenienti dal pannello?';
-$lng['serversettings']['phpmyadmin_url']['title'] = 'URL phpMyAdmin';
-$lng['serversettings']['phpmyadmin_url']['description'] = 'Qual\'è l\'URL di phpMyAdmin? (deve cominciare per http://)';
-$lng['serversettings']['webmail_url']['title'] = 'URL WebMail';
-$lng['serversettings']['webmail_url']['description'] = 'Qual\'è l\'URL della WebMail? (deve cominciare per http://)';
-$lng['serversettings']['webftp_url']['title'] = 'URL WebFTP';
-$lng['serversettings']['webftp_url']['description'] = 'Qual\'è l\'URL del WebFTP? (deve cominciare per http://)';
-$lng['serversettings']['language']['description'] = 'Qual\'è la lingua standard del tuo server?';
-$lng['serversettings']['maxloginattempts']['title'] = 'Numero massimo tentativi login';
-$lng['serversettings']['maxloginattempts']['description'] = 'Numero massimo di tentativi di login prima che l\'account sia disattivato.';
-$lng['serversettings']['deactivatetime']['title'] = 'Durata disattivamento';
-$lng['serversettings']['deactivatetime']['description'] = 'Tempo (sec.) di disattivazione dell\'account dopo troppi tentativi di login.';
-$lng['serversettings']['pathedit']['title'] = 'Modalità di scelta percorsi/cartelle';
-$lng['serversettings']['pathedit']['description'] = 'Un percorso/cartella andrà scelto attraverso un menu a tendina o inserendolo a mano?';
-
-/**
- * New strings
- */
-$lng['admin']['cronlastrun'] = 'Ultimo Cronjob';
-$lng['serversettings']['apacheconf_filename']['title'] = 'Nome file configurazione Apache';
-$lng['serversettings']['apacheconf_filename']['description'] = 'Come dovrebbe chiamarsi il file di configurazione di Apache?';
-$lng['serversettings']['paging']['title'] = 'Elementi da visualizzare per pagina';
-$lng['serversettings']['paging']['description'] = 'Quanti elementi dovrebbero essere visualizzati su una pagina? (0 = disattiva impaginazione)';
-$lng['error']['ipstillhasdomains']= 'La combinazione IP/Porta che vuoi eliminare ha ancora dei domini assegnati, per favore riassegna questi domini ad altre combinazioni IP/Porta prima di eliminare questa.';
-$lng['error']['cantdeletedefaultip'] = 'Non puoi eliminare la combinazione IP/Porta default dei rivenditori, per favore imposta un\'altra combinazione IP/Porta come default dei rivenditori prima di eliminare questa.';
-$lng['error']['cantdeletesystemip'] = 'Non puoi eliminare l\'ultima IP di sistema, crea un\'altra combinazione IP/Porta per l\'IP di sistema o cambia l\'IP di sistema.';
-$lng['error']['myipaddress'] = '\'IP\'';
-$lng['error']['myport'] = '\'Porta\'';
-$lng['error']['myipdefault'] = 'Devi selezionare una combinazione IP/Porta che diventerà default.';
-$lng['error']['myipnotdouble'] = 'Questa combinazione IP/Porta esiste già.';
-$lng['question']['admin_ip_reallydelete'] = 'Vuoi veramente eliminare l\'indirizzo IP %s?';
-$lng['admin']['ipsandports']['ipsandports'] = 'IP e Porte';
-$lng['admin']['ipsandports']['add'] = 'Aggiungi IP/Porta';
-$lng['admin']['ipsandports']['edit'] = 'Modifica IP/Porta';
-$lng['admin']['ipsandports']['ipandport'] = 'IP/Porta';
-$lng['admin']['ipsandports']['ip'] = 'IP';
-$lng['admin']['ipsandports']['port'] = 'Porta';
-$lng['admin']['ipsandports']['default'] = 'IP/Porta default dei rivenditori';
-$lng['error']['cantchangesystemip'] = 'Non puoi cambiare l\'ultima IP di sistema, crea un\'altra combinazione IP/Porta per l\'IP di sistema o cambia l\'IP di sistema.';
-$lng['question']['admin_domain_reallydocrootoutofcustomerroot'] = 'Sei sicuro di volere la cartella base dei dati web di questo dominio al di fuori della cartella base del cliente?';
-$lng['menue']['mysql']['users'] = 'Utenti';
-$lng['mysql']['databaseuser'] = 'Utente database';
-$lng['mysql']['databasesuffix'] = 'Suffisso database';
-$lng['mysql']['password_confirm'] = 'Password (conferma)';
-$lng['mysql']['database_create_user'] = 'Crea utente';
-$lng['mysql']['database_change'] = 'Cambia impostazioni database';
-$lng['mysql']['database_change_user'] = 'Cambia impostazioni utente';
-$lng['error']['passwordnomatch'] = 'Le password inserite non corrispondono.';
-$lng['error']['missingdbuser'] = 'Devi selezionare un utente per il database!';
-$lng['error']['nodbuseryet'] = 'Devi prima creare un utente database!';
-$lng['error']['dbuserstillhasdb'] = 'Non puoi eliminare questo utente database, ha ancora dei database assegnati!<br />Per favore prima riassegna od elimina tutti i database assegnati a questo utente.';
-$lng['question']['mysql_reallydelete_user'] = 'Vuoi veramente eliminare l\'utente %s? Quest\'azione non potrà essere annullata!';
-$lng['ftp']['ftpsuffix'] = 'Suffisso account';
-$lng['extras']['view_execcgi'] = 'Permetti esecuzione CGI';
-$lng['extras']['directory_execcgi'] = 'Esegui script CGI';
-$lng['extras']['php4'] = 'PHP4';
-$lng['extras']['php5'] = 'PHP5';
-$lng['extras']['view_phpversionselect'] = 'Versione PHP';
-$lng['extras']['directory_phpversionselect'] = 'Versione PHP abilitata';
-?>
\ No newline at end of file diff --git a/syscp/patches/mysql-ftp-patch/syscp-1.2.13-mysql-ftp-patch-r3.tar.bz2 b/syscp/patches/mysql-ftp-patch/syscp-1.2.13-mysql-ftp-patch-r3.tar.bz2 Binary files differdeleted file mode 100644 index 7f76972..0000000 --- a/syscp/patches/mysql-ftp-patch/syscp-1.2.13-mysql-ftp-patch-r3.tar.bz2 +++ /dev/null diff --git a/syscp/patches/mysql-ftp-patch/syscp-1.2.13-mysqli-ftpi.patch b/syscp/patches/mysql-ftp-patch/syscp-1.2.13-mysqli-ftpi.patch deleted file mode 100644 index eeaf12e..0000000 --- a/syscp/patches/mysql-ftp-patch/syscp-1.2.13-mysqli-ftpi.patch +++ /dev/null @@ -1,712 +0,0 @@ -diff -Nru syscp-gentoo-comp/admin_customers.php syscp-mysql-ftp-imp/admin_customers.php ---- syscp-gentoo-comp/admin_customers.php 2006-03-26 00:52:39.000000000 +0100 -+++ syscp-mysql-ftp-imp/admin_customers.php 2006-03-26 00:54:43.000000000 +0100 -@@ -158,20 +158,24 @@ - if(isset($_POST['send']) && $_POST['send']=='send') - { - $databases=$db->query("SELECT * FROM ".TABLE_PANEL_DATABASES." WHERE customerid='$id'"); -+ $databasesusers=$db->query("SELECT * FROM ".TABLE_PANEL_DATABASES_USERS." WHERE customerid='$id'"); - $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); - unset($db_root->password); - while($row_database=$db->fetch_array($databases)) - { -- $db_root->query( 'REVOKE ALL PRIVILEGES ON * . * FROM `' . $row_database['databasename'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -- $db_root->query( 'REVOKE ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $row_database['databasename'] ) . '` . * FROM `' . $row_database['databasename'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -- $db_root->query( 'DELETE FROM `mysql`.`user` WHERE `User` = "' . $row_database['databasename'] . '" AND `Host` = "' . $settings['system']['mysql_access_host'] . '"' ); - $db_root->query( 'DROP DATABASE IF EXISTS `' . $row_database['databasename'] . '`' ); - } -+ while($row_databaseuser=$db->fetch_array($databasesusers)) -+ { -+ $db_root->query( 'REVOKE ALL PRIVILEGES ON * . * FROM `' . $row_databaseuser['databaseuser'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -+ $db_root->query( 'DELETE FROM `mysql`.`user` WHERE `User` = "' . $row_databaseuser['databaseuser'] . '" AND `Host` = "' . $settings['system']['mysql_access_host'] . '"' ); -+ } - $db_root->query('FLUSH PRIVILEGES;'); - $db_root->close(); - - $db->query("DELETE FROM `".TABLE_PANEL_CUSTOMERS."` WHERE `customerid`='$id'"); - $db->query("DELETE FROM `".TABLE_PANEL_DATABASES."` WHERE `customerid`='$id'"); -+ $db->query("DELETE FROM `".TABLE_PANEL_DATABASES_USERS."` WHERE `customerid`='$id'"); - $db->query("DELETE FROM `".TABLE_PANEL_DOMAINS."` WHERE `customerid`='$id'"); - $domains_deleted = $db->affected_rows(); - $db->query("DELETE FROM `".TABLE_PANEL_HTPASSWDS."` WHERE `customerid`='$id'"); -diff -Nru syscp-gentoo-comp/admin_settings.php syscp-mysql-ftp-imp/admin_settings.php ---- syscp-gentoo-comp/admin_settings.php 2006-03-26 00:52:22.000000000 +0100 -+++ syscp-mysql-ftp-imp/admin_settings.php 2006-03-26 00:54:43.000000000 +0100 -@@ -111,10 +111,10 @@ - $update_users = '"' . $sql['user'] . '", "' . $sql['root_user'] . '"' ; - - // Update all customer databases -- $databases = $db->query('SELECT `databasename` FROM `' . TABLE_PANEL_DATABASES . '`;'); -+ $databases = $db->query('SELECT `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '`;'); - while ( $database = $db->fetch_array ( $databases ) ) - { -- $update_users .= ', "' . $database['databasename'] .'"' ; -+ $update_users .= ', "' . $database['databaseuser'] .'"' ; - } - - // Do the update -diff -Nru syscp-gentoo-comp/customer_ftp.php syscp-mysql-ftp-imp/customer_ftp.php ---- syscp-gentoo-comp/customer_ftp.php 2006-03-26 00:52:22.000000000 +0100 -+++ syscp-mysql-ftp-imp/customer_ftp.php 2006-03-26 00:54:43.000000000 +0100 -@@ -162,10 +162,17 @@ - { - standard_error('patherror'); - } -- - else - { -- $username=$userinfo['loginname'].$settings['customer']['ftpprefix'].(intval($userinfo['ftp_lastaccountnumber'])+1); -+ $usernamesuffix=addslashes($_POST['usernamesuffix']); -+ if($usernamesuffix=='') -+ { -+ $username=$userinfo['loginname'].$settings['customer']['ftpprefix'].(intval($userinfo['ftp_lastaccountnumber'])+1); -+ } -+ else -+ { -+ $username=$userinfo['loginname'].$settings['customer']['ftpprefix'].(intval($userinfo['ftp_lastaccountnumber'])+1).'_'.$usernamesuffix; -+ } - $db->query("INSERT INTO `".TABLE_FTP_USERS."` (`customerid`, `username`, `password`, `homedir`, `login_enabled`, `uid`, `gid`) VALUES ('".$userinfo['customerid']."', '$username', ENCRYPT('$password'), '$path', 'y', '".$userinfo['guid']."', '".$userinfo['guid']."')"); - $db->query("UPDATE `".TABLE_FTP_GROUPS."` SET `members`=CONCAT_WS(',',`members`,'".$username."') WHERE `customerid`='".$userinfo['customerid']."' AND `gid`='".$userinfo['guid']."'"); - // $db->query("INSERT INTO `".TABLE_FTP_GROUPS."` (`customerid`, `groupname`, `gid`, `members`) VALUES ('".$userinfo['customerid']."', '$username', '$uid', '$username')"); -diff -Nru syscp-gentoo-comp/customer_mysql.php syscp-mysql-ftp-imp/customer_mysql.php ---- syscp-gentoo-comp/customer_mysql.php 2006-03-26 00:52:22.000000000 +0100 -+++ syscp-mysql-ftp-imp/customer_mysql.php 2006-03-26 00:54:43.000000000 +0100 -@@ -11,8 +11,9 @@ - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * -- * @author Florian Lippert <flo@redenswert.de> -+ * @author Florian Lippert <flo@redenswert.de>, Luca Longinotti <chtekk@gentoo.org> - * @copyright (C) 2003-2004 Florian Lippert -+ * @copyright (C) 2006 Luca Longinotti - * @package Panel - * @version $Id: customer_mysql.php 213 2005-08-11 21:28:10Z flo $ - */ -@@ -42,7 +43,7 @@ - { - if($action=='') - { -- $result=$db->query( "SELECT `id`, `databasename`, `description` FROM `" . TABLE_PANEL_DATABASES . "` WHERE `customerid`='" . $userinfo['customerid'] . "' ORDER BY `databasename` ASC" ); -+ $result=$db->query( 'SELECT `id`, `databaseuser`, `databasename`, `description` FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" ORDER BY `databasename` ASC' ); - $mysqls=''; - while($row=$db->fetch_array($result)) - { -@@ -50,13 +51,177 @@ - } - $mysqls_count = $db->num_rows($result); - -+ $result2=$db->query( 'SELECT `id`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" ORDER BY `databaseuser` ASC' ); -+ $mysqlsusers=''; -+ while($row=$db->fetch_array($result2)) -+ { -+ eval("\$mysqlsusers.=\"".getTemplate("mysql/mysqls_database_user")."\";"); -+ } -+ $mysqls_count_users = $db->num_rows($result2); -+ - eval("echo \"".getTemplate("mysql/mysqls")."\";"); - } - -+ elseif($action=='adduser') -+ { -+ if($userinfo['mysqls_used_users'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') -+ { -+ if(isset($_POST['send']) && $_POST['send']=='send') -+ { -+ $password=addslashes($_POST['password']); -+ $passwordconfirm=addslashes($_POST['passwordconfirm']); -+ if($password=='' || $passwordconfirm=='') -+ { -+ standard_error(array('stringisempty','mypassword')); -+ } -+ elseif($password != $passwordconfirm) -+ { -+ standard_error('passwordnomatch'); -+ } -+ else -+ { -+ $username=$userinfo['loginname'].$settings['customer']['mysqlprefix'].(intval($userinfo['mysql_lastusernumber'])+1); -+ -+ // Begin root-session -+ $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); -+ unset($db_root->password); -+ -+ $db_root->query( 'GRANT USAGE ON *.* TO `' . $username . '`@' . $settings['system']['mysql_access_host'] ); -+ $db_root->query( 'SET PASSWORD FOR `' . $username . '`@' . $settings['system']['mysql_access_host'] . ' = PASSWORD(\'' . $password . '\')' ); -+ $db_root->query( 'FLUSH PRIVILEGES' ); -+ -+ $db_root->close(); -+ // End root-session -+ -+ $result=$db->query( 'INSERT INTO `' . TABLE_PANEL_DATABASES_USERS . '` (`customerid`, `databaseuser`) VALUES ("' . $userinfo['customerid'] . '", "' . $username . '")' ); -+ $result=$db->query( 'UPDATE `' . TABLE_PANEL_CUSTOMERS . '` SET `mysqls_used_users`=`mysqls_used_users`+1, `mysql_lastusernumber`=`mysql_lastusernumber`+1 WHERE `customerid`="' . $userinfo['customerid'] . '"' ); -+ -+ redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; -+ } -+ } -+ else -+ { -+ eval("echo \"".getTemplate("mysql/mysqls_add_user")."\";"); -+ } -+ } -+ } -+ -+ elseif($action=='add') -+ { -+ if($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') -+ { -+ if(isset($_POST['send']) && $_POST['send']=='send') -+ { -+ $databaseuser=addslashes($_POST['databaseuser']); -+ if($databaseuser=='') -+ { -+ standard_error('missingdbuser'); -+ } -+ else -+ { -+ $databasesuffix=addslashes($_POST['databasesuffix']); -+ if($databasesuffix=='') -+ { -+ $databasename=$userinfo['loginname'].$settings['customer']['mysqlprefix'].(intval($userinfo['mysql_lastaccountnumber'])+1); -+ } -+ else -+ { -+ $databasename=$userinfo['loginname'].$settings['customer']['mysqlprefix'].(intval($userinfo['mysql_lastaccountnumber'])+1).'_'.$databasesuffix; -+ } -+ -+ // Begin root-session -+ $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); -+ unset($db_root->password); -+ -+ $db_root->query( 'CREATE DATABASE `' . $databasename . '`' ); -+ $db_root->query( 'GRANT ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $databasename ) . '`.* TO `' . $databaseuser . '`@' . $settings['system']['mysql_access_host'] . ';' ); -+ $db_root->query( 'FLUSH PRIVILEGES' ); -+ -+ $db_root->close(); -+ // End root-session -+ -+ $databasedescription=addslashes($_POST['description']); -+ $result=$db->query( 'INSERT INTO `' . TABLE_PANEL_DATABASES . '` (`customerid`, `databaseuser`, `databasename`, `description`) VALUES ("' . $userinfo['customerid'] . '", "' . $databaseuser . '", "' . $databasename . '", "' . $databasedescription . '")' ); -+ $result=$db->query( 'UPDATE `' . TABLE_PANEL_CUSTOMERS . '` SET `mysqls_used`=`mysqls_used`+1, `mysql_lastaccountnumber`=`mysql_lastaccountnumber`+1 WHERE `customerid`="' . $userinfo['customerid'] . '"' ); -+ -+ redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; -+ } -+ } -+ else -+ { -+ $result=$db->query_first( 'SELECT `id`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" ORDER BY `databaseuser` ASC' ); -+ if(isset($result['databaseuser']) && $result['databaseuser'] != '') -+ { -+ $result2=$db->query( 'SELECT `id`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" ORDER BY `databaseuser` ASC' ); -+ $databaseuser=''; -+ while($row=$db->fetch_array($result2)) -+ { -+ $databaseuser.=makeoption($row['databaseuser'],$row['databaseuser']); -+ } -+ -+ eval("echo \"".getTemplate("mysql/mysqls_add")."\";"); -+ } -+ else -+ { -+ standard_error('nodbuseryet'); -+ } -+ -+ } -+ } -+ } -+ -+ elseif($action=='deleteuser' && $id!=0) -+ { -+ $result=$db->query_first( 'SELECT `id`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -+ if(isset($result['databaseuser']) && $result['databaseuser'] != '') -+ { -+ if(isset($_POST['send']) && $_POST['send']=='send') -+ { -+ $result2=$db->query_first( 'SELECT `id`, `databasename` FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `databaseuser`="' . $result['databaseuser'] . '"' ); -+ if(isset($result2['databasename']) && $result2['databasename'] != '') -+ { -+ standard_error('dbuserstillhasdb'); -+ } -+ else -+ { -+ // Begin root-session -+ $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); -+ unset($db_root->password); -+ -+ $db_root->query( 'REVOKE ALL PRIVILEGES ON * . * FROM `' . $result['databaseuser'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -+ $db_root->query( 'DELETE FROM `mysql`.`user` WHERE `User` = "' . $result['databaseuser'] . '" AND `Host` = "' . $settings['system']['mysql_access_host'] . '"' ); -+ $db_root->query( 'FLUSH PRIVILEGES' ); -+ -+ $db_root->close(); -+ // End root-session -+ -+ $result=$db->query( 'DELETE FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `databaseuser`="' . $result['databaseuser'] . '"' ); -+ -+ if($userinfo['mysqls_used_users']=='1') -+ { -+ $resetusrnumber=" , `mysql_lastusernumber`='0' "; -+ } -+ else -+ { -+ $resetusrnumber=''; -+ } -+ -+ $result=$db->query( 'UPDATE `' . TABLE_PANEL_CUSTOMERS . '` SET `mysqls_used_users`=`mysqls_used_users`-1 ' . $resetusrnumber . 'WHERE `customerid`="' . $userinfo['customerid'] .'"' ); -+ -+ redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; -+ } -+ } -+ else -+ { -+ ask_yesno('mysql_reallydelete_user', $filename, "id=$id;page=$page;action=$action", $result['databaseuser']); -+ } -+ } -+ } -+ - elseif($action=='delete' && $id!=0) - { -- $result=$db->query_first( 'SELECT `id`, `databasename` FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -- if(isset($result['databasename']) && $result['databasename'] != '') -+ $result=$db->query_first( 'SELECT `id`, `databasename`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -+ if(isset($result['databasename']) && $result['databasename'] != '' && isset($result['databaseuser']) && $result['databaseuser'] != '') - { - if(isset($_POST['send']) && $_POST['send']=='send') - { -@@ -64,16 +229,14 @@ - $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); - unset($db_root->password); - -- $db_root->query( 'REVOKE ALL PRIVILEGES ON * . * FROM `' . $result['databasename'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -- $db_root->query( 'REVOKE ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $result['databasename'] ) . '` . * FROM `' . $result['databasename'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -- $db_root->query( 'DELETE FROM `mysql`.`user` WHERE `User` = "' . $result['databasename'] . '" AND `Host` = "' . $settings['system']['mysql_access_host'] . '"' ); -+ $db_root->query( 'REVOKE ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $result['databasename'] ) . '` . * FROM `' . $result['databaseuser'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); - $db_root->query( 'DROP DATABASE IF EXISTS `' . $result['databasename'] . '`' ); - $db_root->query( 'FLUSH PRIVILEGES' ); - - $db_root->close(); - // End root-session -- -- $db->query( 'DELETE FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -+ -+ $result=$db->query( 'DELETE FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `databasename`="' . $result['databasename'] . '"' ); - - if($userinfo['mysqls_used']=='1') - { -@@ -88,89 +251,97 @@ - - redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; - } -- else -+ else - { - ask_yesno('mysql_reallydelete', $filename, "id=$id;page=$page;action=$action", $result['databasename']); - } - } - } - -- elseif($action=='add') -+ elseif($action=='edituser' && $id!=0) - { -- if($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') -+ $result=$db->query_first( 'SELECT `id`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -+ if(isset($result['databaseuser']) && $result['databaseuser'] != '') - { - if(isset($_POST['send']) && $_POST['send']=='send') - { - $password=addslashes($_POST['password']); -- if($password=='') -+ $passwordconfirm=addslashes($_POST['passwordconfirm']); -+ if($password=='' || $passwordconfirm=='') - { - standard_error(array('stringisempty','mypassword')); - } -+ elseif($password != $passwordconfirm) -+ { -+ standard_error('passwordnomatch'); -+ } - else - { -- $username=$userinfo['loginname'].$settings['customer']['mysqlprefix'].(intval($userinfo['mysql_lastaccountnumber'])+1); -- - // Begin root-session - $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); - unset($db_root->password); - -- $db_root->query( 'CREATE DATABASE `' . $username . '`' ); -- $db_root->query( 'GRANT ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $username ) . '`.* TO `' . $username . '`@' . $settings['system']['mysql_access_host'] . ' IDENTIFIED BY \'password\'' ); -- $db_root->query( 'SET PASSWORD FOR `' . $username .'`@' . $settings['system']['mysql_access_host'] . ' = PASSWORD(\'' . $password . '\')' ); -- $db_root->query( 'FLUSH PRIVILEGES' ); -+ $db_root->query('SET PASSWORD FOR `' . $result['databaseuser'] . '`@' . $settings['system']['mysql_access_host'] . ' = PASSWORD(\'' . $password .'\')'); -+ $db_root->query('FLUSH PRIVILEGES'); - - $db_root->close(); - // End root-session -- -- // Statement modifyed for Database description -- PH 2004-11-29 -- $databasedescription=addslashes($_POST['description']); -- $result=$db->query( 'INSERT INTO `' . TABLE_PANEL_DATABASES . '` (`customerid`, `databasename`, `description`) VALUES ("' . $userinfo['customerid'] .'", "' . $username .'", "' . $databasedescription .'")' ); -- $result=$db->query( 'UPDATE `' . TABLE_PANEL_CUSTOMERS . '` SET `mysqls_used`=`mysqls_used`+1, `mysql_lastaccountnumber`=`mysql_lastaccountnumber`+1 WHERE `customerid`="' . $userinfo['customerid'] . '"' ); -- -- redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; - } -+ -+ redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; - } -- else -+ else - { -- eval("echo \"".getTemplate("mysql/mysqls_add")."\";"); -+ eval("echo \"".getTemplate("mysql/mysqls_edit_user")."\";"); - } - } - } - - elseif($action=='edit' && $id!=0) - { -- $result=$db->query_first( 'SELECT `id`, `databasename`, `description` FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -- if(isset($result['databasename']) && $result['databasename'] != '') -+ $result=$db->query_first( 'SELECT `id`, `databasename`, `databaseuser`, `description` FROM `' . TABLE_PANEL_DATABASES . '` WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"' ); -+ if(isset($result['databasename']) && $result['databasename'] != '' && isset($result['databaseuser']) && $result['databaseuser'] != '') - { - if(isset($_POST['send']) && $_POST['send']=='send') - { -- // Only change Password if it is set, do nothing if it is empty! -- PH 2004-11-29 -- $password=addslashes($_POST['password']); -- if($password!='') -+ $databaseuser=addslashes($_POST['databaseuser']); -+ if($databaseuser=='') -+ { -+ standard_error('missingdbuser'); -+ } -+ else - { - // Begin root-session - $db_root=new db($sql['host'],$sql['root_user'],$sql['root_password'],''); - unset($db_root->password); - -- $db_root->query('SET PASSWORD FOR `'.$result['databasename'].'`@' . $settings['system']['mysql_access_host'] . ' = PASSWORD(\'' . $password .'\')'); -- $db_root->query('FLUSH PRIVILEGES'); -+ $db_root->query( 'REVOKE ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $result['databasename'] ) . '` . * FROM `' . $result['databaseuser'] . '`@' . $settings['system']['mysql_access_host'] . ';' ); -+ $db_root->query( 'GRANT ALL PRIVILEGES ON `' . str_replace ( '_' , '\_' , $result['databasename'] ) . '`.* TO `' . $databaseuser . '`@' . $settings['system']['mysql_access_host'] . ';' ); -+ $db_root->query( 'FLUSH PRIVILEGES' ); - - $db_root->close(); - // End root-session -+ -+ $result=$db->query( 'UPDATE `' . TABLE_PANEL_DATABASES . '` SET `databaseuser`="' . $databaseuser . '" WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"'); - } - -- // Update the Database description -- PH 2004-11-29 - $databasedescription=addslashes($_POST['description']); - $result=$db->query( 'UPDATE `' . TABLE_PANEL_DATABASES . '` SET `description`="' . $databasedescription . '" WHERE `customerid`="' . $userinfo['customerid'] . '" AND `id`="' . $id . '"'); - -- redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; -+ redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; - } -- else -+ else - { -+ $result2=$db->query( 'SELECT `id`, `databaseuser` FROM `' . TABLE_PANEL_DATABASES_USERS . '` WHERE `customerid`="' . $userinfo['customerid'] . '" ORDER BY `databaseuser` ASC' ); -+ $databaseuser=''; -+ while($row=$db->fetch_array($result2)) -+ { -+ $databaseuser.=makeoption($row['databaseuser'],$row['databaseuser'],$result['databaseuser']); -+ } -+ - eval("echo \"".getTemplate("mysql/mysqls_edit")."\";"); - } - } - } - } -- - ?> -\ No newline at end of file -diff -Nru syscp-gentoo-comp/lib/functions.php syscp-mysql-ftp-imp/lib/functions.php ---- syscp-gentoo-comp/lib/functions.php 2006-03-26 00:52:22.000000000 +0100 -+++ syscp-mysql-ftp-imp/lib/functions.php 2006-03-26 00:54:43.000000000 +0100 -@@ -650,6 +650,12 @@ - 'FROM `'.TABLE_PANEL_DATABASES.'` ' . - 'WHERE `customerid` = "'.$customer['customerid'].'"' - ); -+ -+ $customer_mysqls_users = $db->query_first( -+ 'SELECT COUNT(*) AS `number_mysqls_users` ' . -+ 'FROM `'.TABLE_PANEL_DATABASES_USERS.'` ' . -+ 'WHERE `customerid` = "'.$customer['customerid'].'"' -+ ); - - $customer_emails = $db->query_first( - 'SELECT COUNT(*) AS `number_emails` ' . -@@ -695,6 +701,7 @@ - $db->query( - 'UPDATE `'.TABLE_PANEL_CUSTOMERS.'` ' . - 'SET `mysqls_used` = "'.$customer_mysqls['number_mysqls'].'", ' . -+ ' `mysqls_used_users` = "'.$customer_mysqls_users['number_mysqls_users'].'", ' . - ' `emails_used` = "'.$customer_emails['number_emails'].'", ' . - ' `email_accounts_used` = "'.$customer_email_accounts.'", ' . - ' `email_forwarders_used` = "'.$customer_email_forwarders.'", ' . -diff -Nru syscp-gentoo-comp/lib/tables.inc.php syscp-mysql-ftp-imp/lib/tables.inc.php ---- syscp-gentoo-comp/lib/tables.inc.php 2006-03-26 00:52:22.000000000 +0100 -+++ syscp-mysql-ftp-imp/lib/tables.inc.php 2006-03-26 00:54:43.000000000 +0100 -@@ -24,6 +24,7 @@ - define('TABLE_PANEL_ADMINS','panel_admins'); - define('TABLE_PANEL_CUSTOMERS','panel_customers'); - define('TABLE_PANEL_DATABASES','panel_databases'); -+define('TABLE_PANEL_DATABASES_USERS','panel_databases_users'); - define('TABLE_PANEL_DOMAINS','panel_domains'); - define('TABLE_PANEL_HTACCESS','panel_htaccess'); - define('TABLE_PANEL_HTPASSWDS','panel_htpasswds'); -diff -Nru syscp-gentoo-comp/lng/english.lng.php syscp-mysql-ftp-imp/lng/english.lng.php ---- syscp-gentoo-comp/lng/english.lng.php 2006-03-26 00:52:22.000000000 +0100 -+++ syscp-mysql-ftp-imp/lng/english.lng.php 2006-03-26 01:00:45.000000000 +0100 -@@ -143,8 +143,6 @@ - /** - * MySQL - */ --$lng['mysql']['databasename'] = 'user/database name'; --$lng['mysql']['databasedescription'] = 'database description'; - $lng['mysql']['database_create'] = 'Create database'; - - /** -@@ -363,7 +361,6 @@ - /** - * CHANGED BETWEEN 1.2.12 and 1.2.13 - */ --$lng['mysql']['description'] = 'Here you can create and change your MySQL-Databases.<br />The changes are made instantly and the database can be used immediately.<br />At the menu on the left side you find the tool phpMyAdmin with which you can easily administer your database.<br /><br />To use your databases in your own php-scripts use the following settings: (The data in <i>italics</i> have to be changed into the equivalents you typed in!)<br />Hostname: <b>localhost</b><br />Username: <b><i>Databasename</i></b><br />Password: <b><i>the password you\'ve chosen</i></b><br />Database: <b><i>Databasename</i></b>'; - - /** - * ADDED BETWEEN 1.2.12 and 1.2.13 -@@ -392,4 +389,28 @@ - // ADDED IN 1.2.13-rc3 - $lng['error']['cantchangesystemip'] = 'You cannot change the last system IP, either create another new IP/Port combination for the system IP or change the system IP.'; - $lng['question']['admin_domain_reallydocrootoutofcustomerroot'] = 'Are you sure, you want the document root for this domain, not being within the customerroot of the customer?'; -+ -+/** -+ * CHANGED FOR MYSQL/FTP IMPROVED PATCH -+ */ -+$lng['mysql']['description'] = 'Here you can create and change your MySQL databases.<br />The changes are made instantly and the databases can be used immediately.<br />At the menu on the left side you\'ll find the tool phpMyAdmin with which you can easily administer your databases.<br /><br />To use your databases in your own PHP scripts use the following settings: (The data in <i>italics</i> have to be changed into the equivalents you typed in!)<br />Hostname: <b>localhost</b><br />Username: <b><i>the username you\'ve chosen for that database</i></b><br />Password: <b><i>the password you\'ve chosen for that user</i></b><br />Database: <b><i>the name of the database</i></b>'; -+$lng['mysql']['databasename'] = 'Database name'; -+$lng['mysql']['databasedescription'] = 'Database description'; -+ -+/** -+ * ADDED FOR MYSQL/FTP IMPROVED PATCH -+ */ -+$lng['menue']['mysql']['users'] = 'Users'; -+$lng['mysql']['databaseuser'] = 'Database user'; -+$lng['mysql']['databasesuffix'] = 'Database suffix'; -+$lng['mysql']['password_confirm'] = 'Password (confirm)'; -+$lng['mysql']['database_create_user'] = 'Create user'; -+$lng['mysql']['database_change'] = 'Change database settings'; -+$lng['mysql']['database_change_user'] = 'Change user settings'; -+$lng['error']['passwordnomatch'] = 'The passwords you inserted do not match.'; -+$lng['error']['missingdbuser'] = 'You need to select an user for the database.'; -+$lng['error']['nodbuseryet'] = 'You need to create a database user first!'; -+$lng['error']['dbuserstillhasdb'] = 'You cannot delete this database user, databases are still assigned to it!<br />Please reassign or delete all databases assigned to this user first.'; -+$lng['question']['mysql_reallydelete_user'] = 'Do you really want to delete the user %s? This cannot be undone!'; -+$lng['ftp']['ftpsuffix'] = 'Account suffix'; - ?> -\ No newline at end of file -diff -Nru syscp-gentoo-comp/templates/customer/ftp/accounts_add.tpl syscp-mysql-ftp-imp/templates/customer/ftp/accounts_add.tpl ---- syscp-gentoo-comp/templates/customer/ftp/accounts_add.tpl 2006-03-26 00:54:10.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/ftp/accounts_add.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -13,7 +13,11 @@ - </tr> - <tr> - <td class="install_nomecampo">{$lng['login']['password']}:</td> -- <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" size="30" /></td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" size="30" maxlength="50" /></td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['ftp']['ftpsuffix']}:<br />({$lng['panel']['emptyfordefault']})</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="usernamesuffix" size="30" maxlength="50" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['ftp']['account_add']}" /></td> -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls_add.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_add.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls_add.tpl 2006-03-26 00:54:10.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_add.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -8,12 +8,16 @@ - <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['mysql']['database_create']}</b></td> - </tr> - <tr> -- <td class="install_nomecampo">{$lng['mysql']['databasedescription']}:</td> -- <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="description" maxlength="100" /></td> -+ <td class="install_nomecampo">{$lng['mysql']['databasesuffix']}:<br />({$lng['panel']['emptyfordefault']})</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="databasesuffix" maxlength="50" /></td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['login']['username']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><select name="databaseuser">$databaseuser</select></td> - </tr> - <tr> -- <td class="install_nomecampo">{$lng['login']['password']}:</td> -- <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> -+ <td class="install_nomecampo">{$lng['mysql']['databasedescription']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="description" maxlength="100" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['mysql']['database_create']}" /></td> -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls_add_user.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_add_user.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls_add_user.tpl 1970-01-01 01:00:00.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_add_user.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -0,0 +1,25 @@ -+$header -+ <form method="post" action="$filename"> -+ <input type="hidden" name="s" value="$s" /> -+ <input type="hidden" name="page" value="$page" /> -+ <input type="hidden" name="action" value="$action" /> -+ <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> -+ <tr> -+ <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['mysql']['database_create_user']}</b></td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['login']['password']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['mysql']['password_confirm']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="passwordconfirm" maxlength="50" /></td> -+ </tr> -+ <tr> -+ <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['mysql']['database_create_user']}" /></td> -+ </tr> -+ </table> -+ </form> -+ <br /> -+ <br /> -+$footer -\ No newline at end of file -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls_database.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_database.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls_database.tpl 2006-03-26 00:54:10.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_database.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -1,5 +1,6 @@ - <tr> - <td class="nomecampo_bordosx">{$row['databasename']}</td> -+ <td class="nomecampo">{$row['databaseuser']}</td> - <td class="nomecampo">{$row['description']}</td> - <td class="nomecampo"><a href="$filename?page=mysqls&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td> - <td class="nomecampo"><a href="$filename?page=mysqls&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls_database_user.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_database_user.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls_database_user.tpl 1970-01-01 01:00:00.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_database_user.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -0,0 +1,5 @@ -+<tr> -+ <td class="nomecampo_bordosx">{$row['databaseuser']}</td> -+ <td class="nomecampo"><a href="$filename?page=mysqls&action=edituser&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td> -+ <td class="nomecampo"><a href="$filename?page=mysqls&action=deleteuser&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td> -+</tr> -\ No newline at end of file -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls_edit.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_edit.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls_edit.tpl 2006-03-26 00:54:10.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_edit.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -6,19 +6,19 @@ - <input type="hidden" name="id" value="$id" /> - <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> - <tr> -- <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td> -+ <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['mysql']['database_change']}</b></td> - </tr> - <tr> - <td class="install_nomecampo">{$lng['mysql']['databasename']}:</td> - <td class="install_campodisplay" nowrap="nowrap">{$result['databasename']}</td> - </tr> - <tr> -- <td class="install_nomecampo">{$lng['mysql']['databasedescription']}:</td> -- <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="description" maxlength="100" value="{$result['description']}" /></td> -+ <td class="install_nomecampo">{$lng['login']['username']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><select name="databaseuser">$databaseuser</select></td> - </tr> - <tr> -- <td class="install_nomecampo">{$lng['changepassword']['new_password_ifnotempty']}:</td> -- <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> -+ <td class="install_nomecampo">{$lng['mysql']['databasedescription']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="description" maxlength="100" value="{$result['description']}" /></td> - </tr> - <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['panel']['save']}" /></td> -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls_edit_user.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_edit_user.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls_edit_user.tpl 1970-01-01 01:00:00.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls_edit_user.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -0,0 +1,30 @@ -+$header -+ <form method="post" action="$filename"> -+ <input type="hidden" name="s" value="$s" /> -+ <input type="hidden" name="page" value="$page" /> -+ <input type="hidden" name="action" value="$action" /> -+ <input type="hidden" name="id" value="$id" /> -+ <table cellpadding="5" cellspacing="4" border="0" align="center" class="install_tabella_60"> -+ <tr> -+ <td class="install_titolo" colspan="2"><b><img src="../images/titolo.gif" alt="" /> {$lng['mysql']['database_change_user']}</b></td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['mysql']['databaseuser']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap">{$result['databaseuser']}</td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['login']['password']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="password" maxlength="50" /></td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">{$lng['mysql']['password_confirm']}:</td> -+ <td class="install_campodisplay" nowrap="nowrap"><input type="password" name="passwordconfirm" maxlength="50" /></td> -+ </tr> -+ <tr> -+ <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['panel']['save']}" /></td> -+ </tr> -+ </table> -+ </form> -+ <br /> -+ <br /> -+$footer -\ No newline at end of file -diff -Nru syscp-gentoo-comp/templates/customer/mysql/mysqls.tpl syscp-mysql-ftp-imp/templates/customer/mysql/mysqls.tpl ---- syscp-gentoo-comp/templates/customer/mysql/mysqls.tpl 2006-03-26 00:54:10.000000000 +0100 -+++ syscp-mysql-ftp-imp/templates/customer/mysql/mysqls.tpl 2006-03-26 00:54:43.000000000 +0100 -@@ -1,22 +1,45 @@ - $header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> -- <td class="install_titolo" colspan="4"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['mysql']['databases']}</b></td> -+ <td class="install_titolo" colspan="5"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['mysql']['databases']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['mysql']['databasename']}</td> -+ <td class="campodisplay">{$lng['mysql']['databaseuser']}</td> - <td class="campodisplay">{$lng['mysql']['databasedescription']}</td> - <td class="campodisplay" colspan="2"> </td> - </tr> - <if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') && 15 < $mysqls_count > - <tr> -- <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=mysqls&action=add&s=$s">{$lng['mysql']['database_create']}</a></td> -+ <td class="campodisplay_bordosx" colspan="5"><a href="$filename?page=mysqls&action=add&s=$s">{$lng['mysql']['database_create']}</a></td> - </tr> - </if> - $mysqls - <if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') > - <tr> -- <td class="campodisplay_bordosx" colspan="4"><a href="$filename?page=mysqls&action=add&s=$s">{$lng['mysql']['database_create']}</a></td> -+ <td class="campodisplay_bordosx" colspan="5"><a href="$filename?page=mysqls&action=add&s=$s">{$lng['mysql']['database_create']}</a></td> -+ </tr> -+ </if> -+ </table> -+ <br /> -+ <br /> -+ <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella_40"> -+ <tr> -+ <td class="install_titolo" colspan="3"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['mysql']['users']}</b></td> -+ </tr> -+ <tr> -+ <td class="campodisplay_bordosx">{$lng['mysql']['databaseuser']}</td> -+ <td class="campodisplay" colspan="2"> </td> -+ </tr> -+ <if ($userinfo['mysqls_used_users'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') && 15 < $mysqls_count_users > -+ <tr> -+ <td class="campodisplay_bordosx" colspan="3"><a href="$filename?page=mysqls&action=adduser&s=$s">{$lng['mysql']['database_create_user']}</a></td> -+ </tr> -+ </if> -+ $mysqlsusers -+ <if ($userinfo['mysqls_used_users'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') > -+ <tr> -+ <td class="campodisplay_bordosx" colspan="3"><a href="$filename?page=mysqls&action=adduser&s=$s">{$lng['mysql']['database_create_user']}</a></td> - </tr> - </if> - </table> diff --git a/syscp/patches/options-patch/syscp-1.2.13-moreoptions.patch b/syscp/patches/options-patch/syscp-1.2.13-moreoptions.patch deleted file mode 100644 index d2768f8..0000000 --- a/syscp/patches/options-patch/syscp-1.2.13-moreoptions.patch +++ /dev/null @@ -1,585 +0,0 @@ -diff -Nru syscp-mysql-ftp-imp/admin_customers.php syscp-options/admin_customers.php ---- syscp-mysql-ftp-imp/admin_customers.php 2006-03-26 01:05:47.000000000 +0100 -+++ syscp-options/admin_customers.php 2006-03-26 01:06:22.000000000 +0100 -@@ -424,8 +424,8 @@ - - $db->query( - "INSERT INTO `".TABLE_PANEL_DOMAINS."` " . -- "(`domain`, `customerid`, `adminid`, `parentdomainid`, `documentroot`, `zonefile`, `isemaildomain`, `caneditdomain`, `openbasedir`, `safemode`, `speciallogfile`, `specialsettings`) " . -- "VALUES ('$loginname.{$settings['system']['hostname']}', '$customerid', '{$userinfo['adminid']}', '-1', '$documentroot', '', '1', '1', '1', '1', '0', '')" -+ "(`domain`, `customerid`, `adminid`, `parentdomainid`, `documentroot`, `zonefile`, `isemaildomain`, `caneditdomain`, `ssi_includes`, `php_engine`, `openbasedir`, `safemode`, `php_errordisplay`, `speciallogfile`, `specialsettings`) " . -+ "VALUES ('$loginname.{$settings['system']['hostname']}', '$customerid', '{$userinfo['adminid']}', '-1', '$documentroot', '', '1', '1', '0', '1', '1', '1', '0', '0', '')" - ); - $domainid=$db->insert_id(); - $db->query( -@@ -555,8 +555,8 @@ - { - $db->query( - "INSERT INTO `".TABLE_PANEL_DOMAINS."` " . -- "(`domain`, `customerid`, `adminid`, `documentroot`, `zonefile`, `isemaildomain`, `caneditdomain`, `openbasedir`, `safemode`, `speciallogfile`, `specialsettings`) " . -- "VALUES ('{$result['loginname']}.{$settings['system']['hostname']}', '{$result['customerid']}', '{$userinfo['adminid']}', '{$result['documentroot']}', '', '1', '1', '1', '1', '0', '')" -+ "(`domain`, `customerid`, `adminid`, `documentroot`, `zonefile`, `isemaildomain`, `caneditdomain`, `ssi_includes`, `php_engine`, `openbasedir`, `safemode`, `php_errordisplay`, `speciallogfile`, `specialsettings`) " . -+ "VALUES ('{$result['loginname']}.{$settings['system']['hostname']}', '{$result['customerid']}', '{$userinfo['adminid']}', '{$result['documentroot']}', '', '1', '1', '0', '1', '1', '1', '0', '0', '')" - ); - $domainid=$db->insert_id(); - $db->query( -diff -Nru syscp-mysql-ftp-imp/admin_domains.php syscp-options/admin_domains.php ---- syscp-mysql-ftp-imp/admin_domains.php 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/admin_domains.php 2006-03-26 01:12:53.000000000 +0100 -@@ -56,7 +56,7 @@ - - $domains=''; - $result=$db->query( -- "SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, CONCAT(`ip`.`ip`,':',`ip`.`port`) AS `ipandport`, `d`.`zonefile`, `d`.`openbasedir`, `d`.`safemode`, `d`.`isemaildomain`, `d`.`parentdomainid`, `c`.`loginname`, `c`.`name`, `c`.`firstname`, `ad`.`domain` AS `alias` " . -+ "SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, CONCAT(`ip`.`ip`,':',`ip`.`port`) AS `ipandport`, `d`.`zonefile`, `d`.`ssi_includes`, `d`.`php_engine`, `d`.`openbasedir`, `d`.`safemode`, `d`.`php_errordisplay`, `d`.`isemaildomain`, `d`.`parentdomainid`, `c`.`loginname`, `c`.`name`, `c`.`firstname`, `ad`.`domain` AS `alias` " . - "FROM `".TABLE_PANEL_DOMAINS."` `d` " . - "LEFT JOIN `".TABLE_PANEL_CUSTOMERS."` `c` USING(`customerid`) " . - "LEFT JOIN `".TABLE_PANEL_DOMAINS."` `ad` ON `d`.`aliasdomain`=`ad`.`id` " . -@@ -93,7 +93,7 @@ - } - $pagestart = ($pageno - 1) * $settings['panel']['paging']; - $result=$db->query( -- "SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, CONCAT(`ip`.`ip`,':',`ip`.`port`) AS `ipandport`, `d`.`zonefile`, `d`.`openbasedir`, `d`.`safemode`, `d`.`isemaildomain`, `d`.`parentdomainid`, `c`.`loginname`, `c`.`name`, `c`.`firstname`, `ad`.`domain` AS `alias` " . -+ "SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, CONCAT(`ip`.`ip`,':',`ip`.`port`) AS `ipandport`, `d`.`zonefile`, `d`.`ssi_includes`, `d`.`php_engine`, `d`.`openbasedir`, `d`.`safemode`, `d`.`php_errordisplay`, `d`.`isemaildomain`, `d`.`parentdomainid`, `c`.`loginname`, `c`.`name`, `c`.`firstname`, `ad`.`domain` AS `alias` " . - "FROM `".TABLE_PANEL_DOMAINS."` `d` " . - "LEFT JOIN `".TABLE_PANEL_CUSTOMERS."` `c` USING(`customerid`) " . - "LEFT JOIN `".TABLE_PANEL_DOMAINS."` `ad` ON `d`.`aliasdomain`=`ad`.`id` " . -@@ -214,6 +214,9 @@ - $aliasdomain = intval($_POST['alias']); - $customer = $db->query_first("SELECT `documentroot` FROM `".TABLE_PANEL_CUSTOMERS."` WHERE `customerid`='$customerid'"); - $documentroot = $customer['documentroot']; -+ $ssi_includes = intval($_POST['ssi_includes']); -+ $php_engine = intval($_POST['php_engine']); -+ $php_errordisplay = intval($_POST['php_errordisplay']); - if($userinfo['change_serversettings'] == '1') - { - $isbinddomain = $_POST['isbinddomain']; -@@ -260,6 +263,14 @@ - $aliasdomain_check = $db->query_first('SELECT `id` FROM `'.TABLE_PANEL_DOMAINS.'` `d`,`'.TABLE_PANEL_CUSTOMERS.'` `c` WHERE `d`.`customerid`=\''.$customerid.'\' AND `d`.`aliasdomain` IS NULL AND `d`.`id`<>`c`.`standardsubdomain` AND `c`.`customerid`=\''.$customerid.'\' AND `d`.`id`=\''.$aliasdomain.'\''); - } - -+ if($ssi_includes != '1') -+ { -+ $ssi_includes = '0'; -+ } -+ if($php_engine != '1') -+ { -+ $php_engine = '0'; -+ } - if($openbasedir != '1') - { - $openbasedir = '0'; -@@ -268,6 +279,10 @@ - { - $safemode = '0'; - } -+ if($php_errordisplay != '1') -+ { -+ $php_errordisplay = '0'; -+ } - if($speciallogfile != '1') - { - $speciallogfile = '0'; -@@ -321,7 +336,7 @@ - && (!isset($_POST['reallydoit']) - || $_POST['reallydoit'] != 'reallydoit') ) - { -- ask_yesno('admin_domain_reallydisablesecuritysetting', $filename, "page=$page;action=$action;domain=$domain;documentroot=$documentroot;customerid=$customerid;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;speciallogfile=$speciallogfile;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;specialsettings=".urlencode($specialsettings).";reallydoit=reallydoit"); -+ ask_yesno('admin_domain_reallydisablesecuritysetting', $filename, "page=$page;action=$action;domain=$domain;documentroot=$documentroot;customerid=$customerid;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;speciallogfile=$speciallogfile;ssi_includes=$ssi_includes;php_engine=$php_engine;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;php_errordisplay=$php_errordisplay;specialsettings=".urlencode($specialsettings).";reallydoit=reallydoit"); - exit; - } - $pattern = sprintf('^%s', $customer['documentroot']); -@@ -329,7 +344,7 @@ - && ( !isset($_POST['reallydocroot'] ) - || $_POST['reallydocroot'] != 'reallydocroot') ) - { -- $params = "page=$page;action=$action;domain=$domain;documentroot=$documentroot;customerid=$customerid;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;speciallogfile=$speciallogfile;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;specialsettings=".urlencode($specialsettings).';reallydocroot=reallydocroot'; -+ $params = "page=$page;action=$action;domain=$domain;documentroot=$documentroot;customerid=$customerid;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;speciallogfile=$speciallogfile;ssi_includes=$ssi_includes;php_engine=$php_engine;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;php_errordisplay=$php_errordisplay;specialsettings=".urlencode($specialsettings).';reallydocroot=reallydocroot'; - if ( isset($_POST['reallydoit']) ) - { - $params .= ';reallydoit=reallydoit'; -@@ -345,7 +360,7 @@ - } - - $specialsettings = addslashes($specialsettings); -- $db->query("INSERT INTO `".TABLE_PANEL_DOMAINS."` (`domain`, `customerid`, `adminid`, `documentroot`, `ipandport`, `aliasdomain`, `zonefile`, `isbinddomain`, `isemaildomain`, `subcanemaildomain`, `caneditdomain`, `openbasedir`, `safemode`, `speciallogfile`, `specialsettings`) VALUES ('$domain', '$customerid', '{$userinfo['adminid']}', '$documentroot', '$ipandport', ".(($aliasdomain!=0) ? '\''.$aliasdomain.'\'' : 'NULL').", '$zonefile', '$isbinddomain', '$isemaildomain', '$subcanemaildomain', '$caneditdomain', '$openbasedir', '$safemode', '$speciallogfile', '$specialsettings')"); -+ $db->query("INSERT INTO `".TABLE_PANEL_DOMAINS."` (`domain`, `customerid`, `adminid`, `documentroot`, `ipandport`, `aliasdomain`, `zonefile`, `isbinddomain`, `isemaildomain`, `subcanemaildomain`, `caneditdomain`, `ssi_includes`, `php_engine`, `openbasedir`, `safemode`, `php_errordisplay`, `speciallogfile`, `specialsettings`) VALUES ('$domain', '$customerid', '{$userinfo['adminid']}', '$documentroot', '$ipandport', ".(($aliasdomain!=0) ? '\''.$aliasdomain.'\'' : 'NULL').", '$zonefile', '$isbinddomain', '$isemaildomain', '$subcanemaildomain', '$caneditdomain', '$ssi_includes', '$php_engine', '$openbasedir', '$safemode', '$php_errordisplay', '$speciallogfile', '$specialsettings')"); - $domainid=$db->insert_id(); - $db->query("UPDATE `".TABLE_PANEL_ADMINS."` SET `domains_used` = `domains_used` + 1 WHERE `adminid` = '{$userinfo['adminid']}'"); - -@@ -394,8 +409,11 @@ - $isemaildomain=makeyesno('isemaildomain', '1', '0', '1'); - $subcanemaildomain=makeyesno('subcanemaildomain', '1', '0', '1'); - $caneditdomain=makeyesno('caneditdomain', '1', '0', '1'); -+ $ssi_includes=makeyesno('ssi_includes', '1', '0', '0'); -+ $php_engine=makeyesno('php_engine', '1', '0', '1'); - $openbasedir=makeyesno('openbasedir', '1', '0', '1'); - $safemode=makeyesno('safemode', '1', '0', '1'); -+ $php_errordisplay=makeyesno('php_errordisplay', '1', '0', '0'); - $speciallogfile=makeyesno('speciallogfile', '1', '0', '0'); - eval("echo \"".getTemplate("domains/domains_add")."\";"); - } -@@ -405,7 +423,7 @@ - elseif($action=='edit' && $id!=0) - { - $result=$db->query_first( -- "SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, `d`.`ipandport`, `d`.`aliasdomain`, `d`.`isbinddomain`, `d`.`isemaildomain`, `d`.`subcanemaildomain`, `d`.`caneditdomain`, `d`.`zonefile`, `d`.`openbasedir`, `d`.`safemode`, `d`.`speciallogfile`, `d`.`specialsettings`, `c`.`loginname`, `c`.`name`, `c`.`firstname` " . -+ "SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, `d`.`ipandport`, `d`.`aliasdomain`, `d`.`isbinddomain`, `d`.`isemaildomain`, `d`.`subcanemaildomain`, `d`.`caneditdomain`, `d`.`zonefile`, `d`.`ssi_includes`, `d`.`php_engine`, `d`.`openbasedir`, `d`.`safemode`, `d`.`php_errordisplay`, `d`.`speciallogfile`, `d`.`specialsettings`, `c`.`loginname`, `c`.`name`, `c`.`firstname` " . - "FROM `".TABLE_PANEL_DOMAINS."` `d` " . - "LEFT JOIN `".TABLE_PANEL_CUSTOMERS."` `c` USING(`customerid`) " . - "WHERE `d`.`parentdomainid`='0' AND `d`.`id`='$id'".( $userinfo['customers_see_all'] ? '' : " AND `d`.`adminid` = '{$userinfo['adminid']}' ") -@@ -422,6 +440,9 @@ - $isemaildomain = intval($_POST['isemaildomain']); - $subcanemaildomain = intval($_POST['subcanemaildomain']); - $caneditdomain = intval($_POST['caneditdomain']); -+ $ssi_includes = intval($_POST['ssi_includes']); -+ $php_engine = intval($_POST['php_engine']); -+ $php_errordisplay = intval($_POST['php_errordisplay']); - if($userinfo['change_serversettings'] == '1') - { - $isbinddomain = $_POST['isbinddomain']; -@@ -452,6 +473,14 @@ - $documentroot = makeCorrectDir($documentroot); - } - -+ if($ssi_includes != '1') -+ { -+ $ssi_includes = '0'; -+ } -+ if($php_engine != '1') -+ { -+ $php_engine = '0'; -+ } - if($openbasedir != '1') - { - $openbasedir = '0'; -@@ -460,6 +489,10 @@ - { - $safemode = '0'; - } -+ if($php_errordisplay != '1') -+ { -+ $php_errordisplay = '0'; -+ } - if($isbinddomain != '1') - { - $isbinddomain = '0'; -@@ -489,7 +522,7 @@ - - if(($openbasedir == '0' || $safemode == '0') && (!isset($_POST['reallydoit']) || $_POST['reallydoit'] != 'reallydoit') && $userinfo['change_serversettings'] == '1') - { -- ask_yesno('admin_domain_reallydisablesecuritysetting', $filename, "id=$id;page=$page;action=$action;documentroot=$documentroot;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;specialsettings=".urlencode($specialsettings).";reallydoit=reallydoit"); -+ ask_yesno('admin_domain_reallydisablesecuritysetting', $filename, "id=$id;page=$page;action=$action;documentroot=$documentroot;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;ssi_includes=$ssi_includes;php_engine=$php_engine;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;php_errordisplay=$php_errordisplay;specialsettings=".urlencode($specialsettings).";reallydoit=reallydoit"); - exit; - } - $pattern = sprintf('^%s', $customer['documentroot']); -@@ -497,7 +530,7 @@ - && ( !isset($_POST['reallydocroot'] ) - || $_POST['reallydocroot'] != 'reallydocroot') ) - { -- $params = "id=$id;page=$page;action=$action;documentroot=$documentroot;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;specialsettings=".urlencode($specialsettings).';reallydocroot=reallydocroot'; -+ $params = "id=$id;page=$page;action=$action;documentroot=$documentroot;alias=$aliasdomain;isbinddomain=$isbinddomain;isemaildomain=$isemaildomain;subcanemaildomain=$subcanemaildomain;caneditdomain=$caneditdomain;zonefile=$zonefile;ssi_includes=$ssi_includes;php_engine=$php_engine;openbasedir=$openbasedir;ipandport=$ipandport;safemode=$safemode;php_errordisplay=$php_errordisplay;specialsettings=".urlencode($specialsettings).';reallydocroot=reallydocroot'; - if ( isset($_POST['reallydoit']) ) - { - $params .= ';reallydoit=reallydoit'; -@@ -513,7 +546,7 @@ - $specialsettings = urldecode($specialsettings); - } - -- if($documentroot != $result['documentroot'] || $ipandport != $result['ipandport'] || $openbasedir != $result['openbasedir'] || $safemode != $result['safemode'] || $specialsettings != $result['specialsettings']) -+ if($documentroot != $result['documentroot'] || $ipandport != $result['ipandport'] || $ssi_includes != $result['ssi_includes'] || $php_engine != $result['php_engine'] || $openbasedir != $result['openbasedir'] || $safemode != $result['safemode'] || $php_errordisplay != $result['php_errordisplay'] || $specialsettings != $result['specialsettings']) - { - inserttask('1'); - } -@@ -528,8 +561,8 @@ - } - - $specialsettings = addslashes($specialsettings); -- $result=$db->query("UPDATE `".TABLE_PANEL_DOMAINS."` SET `documentroot`='$documentroot', `ipandport`='$ipandport', `aliasdomain`=".(($aliasdomain!=0 && $alias_check==0) ? '\''.$aliasdomain.'\'' : 'NULL').", `isbinddomain`='$isbinddomain', `isemaildomain`='$isemaildomain', `subcanemaildomain`='$subcanemaildomain', `caneditdomain`='$caneditdomain', `zonefile`='$zonefile', `openbasedir`='$openbasedir', `safemode`='$safemode', `specialsettings`='$specialsettings' WHERE `id`='$id'"); -- $result=$db->query("UPDATE `".TABLE_PANEL_DOMAINS."` SET `ipandport`='$ipandport', `openbasedir`='$openbasedir', `safemode`='$safemode', `specialsettings`='$specialsettings' WHERE `parentdomainid`='$id'"); -+ $result=$db->query("UPDATE `".TABLE_PANEL_DOMAINS."` SET `documentroot`='$documentroot', `ipandport`='$ipandport', `aliasdomain`=".(($aliasdomain!=0 && $alias_check==0) ? '\''.$aliasdomain.'\'' : 'NULL').", `isbinddomain`='$isbinddomain', `isemaildomain`='$isemaildomain', `subcanemaildomain`='$subcanemaildomain', `caneditdomain`='$caneditdomain', `zonefile`='$zonefile', `ssi_includes`='$ssi_includes', `php_engine`='$php_engine', `openbasedir`='$openbasedir', `safemode`='$safemode', `php_errordisplay`='$php_errordisplay', `specialsettings`='$specialsettings' WHERE `id`='$id'"); -+ $result=$db->query("UPDATE `".TABLE_PANEL_DOMAINS."` SET `ipandport`='$ipandport', `ssi_includes`='$ssi_includes', `php_engine`='$php_engine', `openbasedir`='$openbasedir', `safemode`='$safemode', `php_errordisplay`='$php_errordisplay', `specialsettings`='$specialsettings' WHERE `parentdomainid`='$id'"); - - redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; - } -@@ -553,8 +586,11 @@ - $isemaildomain=makeyesno('isemaildomain', '1', '0', $result['isemaildomain']); - $subcanemaildomain=makeyesno('subcanemaildomain', '1', '0', $result['subcanemaildomain']); - $caneditdomain=makeyesno('caneditdomain', '1', '0', $result['caneditdomain']); -+ $ssi_includes=makeyesno('ssi_includes', '1', '0', $result['ssi_includes']); -+ $php_engine=makeyesno('php_engine', '1', '0', $result['php_engine']); - $openbasedir=makeyesno('openbasedir', '1', '0', $result['openbasedir']); - $safemode=makeyesno('safemode', '1', '0', $result['safemode']); -+ $php_errordisplay=makeyesno('php_errordisplay', '1', '0', $result['php_errordisplay']); - $speciallogfile=($result['speciallogfile'] == 1 ? $lng['panel']['yes'] : $lng['panel']['no']); - eval("echo \"".getTemplate("domains/domains_edit")."\";"); - } -@@ -562,4 +598,4 @@ - } - } - --?> -+?> -\ No newline at end of file -diff -Nru syscp-mysql-ftp-imp/customer_domains.php syscp-options/customer_domains.php ---- syscp-mysql-ftp-imp/customer_domains.php 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/customer_domains.php 2006-03-26 01:06:22.000000000 +0100 -@@ -224,7 +224,7 @@ - { - $subdomain = $idna_convert->encode(preg_replace(Array('/\:(\d)+$/','/^https?\:\/\//'),'',addslashes($_POST['subdomain']))); - $domain=$idna_convert->encode(addslashes($_POST['domain'])); -- $domain_check=$db->query_first("SELECT `id`, `customerid`, `domain`, `documentroot`, `isemaildomain`, `openbasedir`, `safemode`, `speciallogfile`, `specialsettings` FROM `".TABLE_PANEL_DOMAINS."` WHERE `domain`='$domain' AND `customerid`='".$userinfo['customerid']."' AND `parentdomainid`='0' AND `iswildcarddomain`='0' AND `caneditdomain`='1' "); -+ $domain_check=$db->query_first("SELECT `id`, `customerid`, `domain`, `documentroot`, `isemaildomain`, `ssi_includes`, `php_engine`, `openbasedir`, `safemode`, `php_errordisplay`, `speciallogfile`, `specialsettings` FROM `".TABLE_PANEL_DOMAINS."` WHERE `domain`='$domain' AND `customerid`='".$userinfo['customerid']."' AND `parentdomainid`='0' AND `iswildcarddomain`='0' AND `caneditdomain`='1' "); - $completedomain=$subdomain.'.'.$domain; - $completedomain_check=$db->query_first("SELECT `id`, `customerid`, `domain`, `documentroot`, `isemaildomain` FROM `".TABLE_PANEL_DOMAINS."` WHERE `domain`='$completedomain' AND `customerid`='".$userinfo['customerid']."' AND `caneditdomain` = '1'"); - $aliasdomain = intval($_POST['alias']); -@@ -283,7 +283,7 @@ - - else - { -- $result=$db->query("INSERT INTO `".TABLE_PANEL_DOMAINS."` (`customerid`, `domain`, `documentroot`, `aliasdomain`, `parentdomainid`, `isemaildomain`, `openbasedir`, `safemode`, `speciallogfile`, `specialsettings`) VALUES ('".$userinfo['customerid']."', '$completedomain', '$path', ".(($aliasdomain != 0) ? "'".$aliasdomain."'" : "NULL").", '".$domain_check['id']."', '0', '".$domain_check['openbasedir']."', '".$domain_check['safemode']."', '".$domain_check['speciallogfile']."', '".$domain_check['specialsettings']."')"); -+ $result=$db->query("INSERT INTO `".TABLE_PANEL_DOMAINS."` (`customerid`, `domain`, `documentroot`, `aliasdomain`, `parentdomainid`, `isemaildomain`, `ssi_includes`, `php_engine`, `openbasedir`, `safemode`, `php_errordisplay`, `speciallogfile`, `specialsettings`) VALUES ('".$userinfo['customerid']."', '$completedomain', '$path', ".(($aliasdomain != 0) ? "'".$aliasdomain."'" : "NULL").", '".$domain_check['id']."', '0', '".$domain_check['ssi_includes']."', '".$domain_check['php_engine']."', '".$domain_check['openbasedir']."', '".$domain_check['safemode']."', '".$domain_check['php_errordisplay']."', '".$domain_check['speciallogfile']."', '".$domain_check['specialsettings']."')"); - $result=$db->query("UPDATE `".TABLE_PANEL_CUSTOMERS."` SET `subdomains_used`=`subdomains_used`+1 WHERE `customerid`='".$userinfo['customerid']."'"); - inserttask('1'); - redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; -@@ -312,7 +312,7 @@ - - elseif($action=='edit' && $id!=0) - { -- $result=$db->query_first("SELECT `d`.`id`, `d`.`customerid`, `d`.`domain`, `d`.`documentroot`, `d`.`isemaildomain`, `d`.`iswildcarddomain`, `d`.`parentdomainid`, `d`.`aliasdomain`, `pd`.`subcanemaildomain` FROM `".TABLE_PANEL_DOMAINS."` `d`, `".TABLE_PANEL_DOMAINS."` `pd` WHERE `d`.`customerid`='".$userinfo['customerid']."' AND `d`.`id`='$id' AND ((`d`.`parentdomainid`!='0' AND `pd`.`id`=`d`.`parentdomainid`) OR (`d`.`parentdomainid`='0' AND `pd`.`id`=`d`.`id`)) AND `d`.`caneditdomain`='1'"); -+ $result=$db->query_first("SELECT `d`.`id`, `d`.`customerid`, `d`.`domain`, `d`.`documentroot`, `d`.`isemaildomain`, `d`.`php_errordisplay`, `d`.`iswildcarddomain`, `d`.`parentdomainid`, `d`.`aliasdomain`, `pd`.`subcanemaildomain` FROM `".TABLE_PANEL_DOMAINS."` `d`, `".TABLE_PANEL_DOMAINS."` `pd` WHERE `d`.`customerid`='".$userinfo['customerid']."' AND `d`.`id`='$id' AND ((`d`.`parentdomainid`!='0' AND `pd`.`id`=`d`.`parentdomainid`) OR (`d`.`parentdomainid`='0' AND `pd`.`id`=`d`.`id`)) AND `d`.`caneditdomain`='1'"); - $alias_check=$db->query_first('SELECT COUNT(`id`) AS count FROM `'.TABLE_PANEL_DOMAINS.'` WHERE `aliasdomain`=\''.$result['id'].'\''); - $alias_check=$alias_check['count']; - -@@ -358,6 +358,12 @@ - $isemaildomain = $result['isemaildomain']; - } - -+ $php_errordisplay = intval($_POST['php_errordisplay']); -+ if($php_errordisplay != '1') -+ { -+ $php_errordisplay = '0'; -+ } -+ - $aliasdomain_check=array('id' => 0); - if($aliasdomain!=0) - { -@@ -380,10 +386,10 @@ - $db->query("DELETE FROM `".TABLE_MAIL_USERS."` WHERE `customerid`='".$userinfo['customerid']."' AND `domainid`='$id'"); - $db->query("DELETE FROM `".TABLE_MAIL_VIRTUAL."` WHERE `customerid`='".$userinfo['customerid']."' AND `domainid`='$id'"); - } -- if($path != $result['documentroot'] || $isemaildomain != $result['isemaildomain'] || $iswildcarddomain != $result['iswildcarddomain'] || $aliasdomain != $result['aliasdomain']) -+ if($path != $result['documentroot'] || $isemaildomain != $result['isemaildomain'] || $php_errordisplay != $result['php_errordisplay'] || $iswildcarddomain != $result['iswildcarddomain'] || $aliasdomain != $result['aliasdomain']) - { - inserttask('1'); -- $result=$db->query("UPDATE `".TABLE_PANEL_DOMAINS."` SET `documentroot`='$path', `isemaildomain`='$isemaildomain', `iswildcarddomain`='$iswildcarddomain', `aliasdomain`=".(($aliasdomain!=0 && $alias_check==0) ? '\''.$aliasdomain.'\'' : 'NULL')." WHERE `customerid`='".$userinfo['customerid']."' AND `id`='$id'"); -+ $result=$db->query("UPDATE `".TABLE_PANEL_DOMAINS."` SET `documentroot`='$path', `isemaildomain`='$isemaildomain', `php_errordisplay`='$php_errordisplay', `iswildcarddomain`='$iswildcarddomain', `aliasdomain`=".(($aliasdomain!=0 && $alias_check==0) ? '\''.$aliasdomain.'\'' : 'NULL')." WHERE `customerid`='".$userinfo['customerid']."' AND `id`='$id'"); - } - redirectTo ( $filename , Array ( 'page' => $page , 's' => $s ) ) ; - } -@@ -403,6 +409,7 @@ - // $result['documentroot']=str_replace($userinfo['documentroot'],'',$result['documentroot']); - $iswildcarddomain=makeyesno('iswildcarddomain', '1', '0', $result['iswildcarddomain']); - $isemaildomain=makeyesno('isemaildomain', '1', '0', $result['isemaildomain']); -+ $php_errordisplay=makeyesno('php_errordisplay', '1', '0', $result['php_errordisplay']); - eval("echo \"".getTemplate("domains/domains_edit")."\";"); - } - } -diff -Nru syscp-mysql-ftp-imp/customer_extras.php syscp-options/customer_extras.php ---- syscp-mysql-ftp-imp/customer_extras.php 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/customer_extras.php 2006-03-26 01:06:22.000000000 +0100 -@@ -176,6 +176,8 @@ - $row['path']=str_replace($userinfo['documentroot'],'',$row['path']); - $row['options_indexes'] = str_replace('1', $lng['panel']['yes'], $row['options_indexes']); - $row['options_indexes'] = str_replace('0', $lng['panel']['no'], $row['options_indexes']); -+ $row['options_execcgi'] = str_replace('1', $lng['panel']['yes'], $row['options_execcgi']); -+ $row['options_execcgi'] = str_replace('0', $lng['panel']['no'], $row['options_execcgi']); - eval("\$htaccess.=\"".getTemplate("extras/htaccess_htaccess")."\";"); - } - eval("echo \"".getTemplate("extras/htaccess")."\";"); -@@ -270,6 +272,7 @@ - ' (`customerid`, ' . - ' `path`, ' . - ' `options_indexes`, ' . -+ ' `options_execcgi`, ' . - ' `error404path`, ' . - ' `error403path`, ' . - // ' `error401path`, ' . -@@ -278,6 +281,7 @@ - 'VALUES ("'.$userinfo['customerid'].'", ' . - ' "'.$path.'", ' . - ' "'.$_POST['options_indexes'].'", ' . -+ ' "'.$_POST['options_execcgi'].'", ' . - ' "'.$error404path.'", ' . - ' "'.$error403path.'", ' . - // ' "'.$error401path.'", ' . -@@ -293,6 +297,7 @@ - $pathSelect = makePathfield( $userinfo['documentroot'], $userinfo['guid'], - $userinfo['guid'], $settings['panel']['pathedit'] ); - $options_indexes = makeyesno('options_indexes','1','0','1'); -+ $options_execcgi = makeyesno('options_execcgi','1','0','0'); - eval("echo \"".getTemplate("extras/htaccess_add")."\";"); - } - } -@@ -317,6 +322,11 @@ - { - $option_indexes = '0'; - } -+ $option_execcgi = intval($_POST['options_execcgi']); -+ if ($option_execcgi != '1') -+ { -+ $option_execcgi = '0'; -+ } - if ( ($_POST['error404path'] == '') - || (preg_match('/^https?\:\/\//', $_POST['error404path']) ) - ) -@@ -359,6 +369,7 @@ - // } - - if ( ($option_indexes != $result['options_indexes']) -+ || ($option_execcgi != $result['options_execcgi']) - || ($error404path != $result['error404path']) - || ($error403path != $result['error403path']) - // || ($error401path != $result['error401path']) -@@ -369,6 +380,7 @@ - $db->query( - 'UPDATE `'.TABLE_PANEL_HTACCESS.'` ' . - 'SET `options_indexes` = "'.$option_indexes.'",' . -+ ' `options_execcgi` = "'.$option_execcgi.'",' . - ' `error404path` = "'.$error404path.'", ' . - ' `error403path` = "'.$error403path.'", ' . - // ' `error401path` = "'.$error401path.'", ' . -@@ -387,6 +399,7 @@ - // $result['error401path'] = $result['error401path']; - $result['error500path'] = $result['error500path']; - $options_indexes = makeyesno('options_indexes', '1', '0', $result['options_indexes']); -+ $options_execcgi = makeyesno('options_execcgi', '1', '0', $result['options_execcgi']); - eval("echo \"".getTemplate("extras/htaccess_edit")."\";"); - } - } -diff -Nru syscp-mysql-ftp-imp/lng/english.lng.php syscp-options/lng/english.lng.php ---- syscp-mysql-ftp-imp/lng/english.lng.php 2006-03-26 01:05:47.000000000 +0100 -+++ syscp-options/lng/english.lng.php 2006-03-26 01:06:22.000000000 +0100 -@@ -413,4 +413,14 @@ - $lng['error']['dbuserstillhasdb'] = 'You cannot delete this database user, databases are still assigned to it!<br />Please reassign or delete all databases assigned to this user first.'; - $lng['question']['mysql_reallydelete_user'] = 'Do you really want to delete the user %s? This cannot be undone!'; - $lng['ftp']['ftpsuffix'] = 'Account suffix'; -+ -+/** -+ * CHANGED FOR MOREOPTIONS PATCH -+ */ -+ -+/** -+ * ADDED FOR MOREOPTIONS PATCH -+ */ -+$lng['extras']['view_execcgi'] = 'permit CGI execution'; -+$lng['extras']['directory_execcgi'] = 'execute CGI scripts'; - ?> -\ No newline at end of file -diff -Nru syscp-mysql-ftp-imp/scripts/cron_tasks.php syscp-options/scripts/cron_tasks.php ---- syscp-mysql-ftp-imp/scripts/cron_tasks.php 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/scripts/cron_tasks.php 2006-03-26 01:06:22.000000000 +0100 -@@ -75,7 +75,7 @@ - // $vhosts_file.='ServerName '.$settings['system']['hostname']."\n"; - // $vhosts_file.='</VirtualHost>'."\n"."\n"; - -- $result_domains=$db->query("SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, CONCAT(`ip`.`ip`,':',`ip`.`port`) AS `ipandport`, `d`.`parentdomainid`, `d`.`isemaildomain`, `d`.`iswildcarddomain`, `d`.`openbasedir`, `d`.`safemode`, `d`.`speciallogfile`, `d`.`specialsettings`, `pd`.`domain` AS `parentdomain`, `c`.`loginname`, `c`.`guid`, `c`.`email`, `c`.`documentroot` AS `customerroot` FROM `".TABLE_PANEL_DOMAINS."` `d` LEFT JOIN `".TABLE_PANEL_CUSTOMERS."` `c` USING(`customerid`) LEFT JOIN `".TABLE_PANEL_DOMAINS."` `pd` ON (`pd`.`id` = `d`.`parentdomainid`) LEFT JOIN `".TABLE_PANEL_IPSANDPORTS."` `ip` ON (`d`.`ipandport` = `ip`.`id`) WHERE `d`.`deactivated` <> '1' AND `d`.`aliasdomain` IS NULL ORDER BY `d`.`iswildcarddomain`, `d`.`domain` ASC"); -+ $result_domains=$db->query("SELECT `d`.`id`, `d`.`domain`, `d`.`customerid`, `d`.`documentroot`, CONCAT(`ip`.`ip`,':',`ip`.`port`) AS `ipandport`, `d`.`parentdomainid`, `d`.`isemaildomain`, `d`.`iswildcarddomain`, `d`.`ssi_includes`, `d`.`php_engine`, `d`.`openbasedir`, `d`.`safemode`, `d`.`php_errordisplay`, `d`.`speciallogfile`, `d`.`specialsettings`, `pd`.`domain` AS `parentdomain`, `c`.`loginname`, `c`.`guid`, `c`.`email`, `c`.`documentroot` AS `customerroot` FROM `".TABLE_PANEL_DOMAINS."` `d` LEFT JOIN `".TABLE_PANEL_CUSTOMERS."` `c` USING(`customerid`) LEFT JOIN `".TABLE_PANEL_DOMAINS."` `pd` ON (`pd`.`id` = `d`.`parentdomainid`) LEFT JOIN `".TABLE_PANEL_IPSANDPORTS."` `ip` ON (`d`.`ipandport` = `ip`.`id`) WHERE `d`.`deactivated` <> '1' AND `d`.`aliasdomain` IS NULL ORDER BY `d`.`iswildcarddomain`, `d`.`domain` ASC"); - while($domain=$db->fetch_array($result_domains)) - { - fwrite( $debugHandler, ' cron_tasks: Task1 - Writing Domain '.$domain['id'].'::'.$domain['domain']); -@@ -108,19 +108,43 @@ - { - $domain['documentroot'] = makeCorrectDir ($domain['documentroot']); - $vhosts_file.=' DocumentRoot "'.$domain['documentroot']."\"\n"; -- if($domain['openbasedir'] == '1') -- { -- $vhosts_file.=' php_admin_value open_basedir "'.$domain['documentroot']."\"\n"; -- } -- if($domain['safemode'] == '1') -- { -- $vhosts_file.=' php_admin_flag safe_mode On '."\n"; -- } -- if($domain['safemode'] == '0') -+ if($domain['ssi_includes'] == '1') - { -- $vhosts_file.=' php_admin_flag safe_mode Off '."\n"; -+ $vhosts_file.=' Options +Includes'."\n"; - } -- -+ if($domain['ssi_includes'] == '0') -+ { -+ $vhosts_file.=' Options -Includes'."\n"; -+ } -+ if($domain['php_engine'] == '1') -+ { -+ $vhosts_file.=' php_admin_flag engine On'."\n"; -+ if($domain['openbasedir'] == '1') -+ { -+ $vhosts_file.=' php_admin_value open_basedir "'.$domain['documentroot']."\"\n"; -+ } -+ if($domain['safemode'] == '1') -+ { -+ $vhosts_file.=' php_admin_flag safe_mode On '."\n"; -+ } -+ if($domain['safemode'] == '0') -+ { -+ $vhosts_file.=' php_admin_flag safe_mode Off '."\n"; -+ } -+ if($domain['php_errordisplay'] == '1') -+ { -+ $vhosts_file.=' php_admin_flag display_errors On '."\n"; -+ } -+ if($domain['php_errordisplay'] == '0') -+ { -+ $vhosts_file.=' php_admin_flag display_errors Off '."\n"; -+ } -+ } -+ if($domain['php_engine'] == '0') -+ { -+ $vhosts_file.=' php_admin_flag engine Off'."\n"; -+ } -+ - if(!is_dir($domain['documentroot'])) - { - safe_exec('mkdir -p "'.$domain['documentroot'].'"'); -@@ -238,6 +262,16 @@ - $diroptions_file .= ' Options -Indexes'."\n"; - fwrite( $debugHandler, ' cron_tasks: Task3 - Setting Options -Indexes'); - } -+ if ( isset ( $row_diroptions['options_execcgi'] ) && $row_diroptions['options_execcgi'] == '1' ) -+ { -+ $diroptions_file .= ' Options +ExecCGI'."\n"; -+ fwrite( $debugHandler, ' cron_tasks: Task3 - Setting Options +ExecCGI'); -+ } -+ if ( isset ( $row_diroptions['options_execcgi'] ) && $row_diroptions['options_execcgi'] == '0' ) -+ { -+ $diroptions_file .= ' Options -ExecCGI'."\n"; -+ fwrite( $debugHandler, ' cron_tasks: Task3 - Setting Options -ExecCGI'); -+ } - if ( isset ( $row_diroptions['error404path'] ) && $row_diroptions['error404path'] != '') - { - $diroptions_file .= ' ErrorDocument 404 "'.$row_diroptions['error404path']."\"\n"; -diff -Nru syscp-mysql-ftp-imp/templates/admin/domains/domains_add.tpl syscp-options/templates/admin/domains/domains_add.tpl ---- syscp-mysql-ftp-imp/templates/admin/domains/domains_add.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/admin/domains/domains_add.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -49,6 +49,18 @@ - <td class="install_nomecampo">{$lng['admin']['domain_edit']}:</td> - <td class="install_campodisplay" nowrap="nowrap">$caneditdomain</td> - </tr> -+ <tr> -+ <td class="install_nomecampo">ServerSideIncludes:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$ssi_includes</td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">PHP Engine:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$php_engine</td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">PHP Error Display:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$php_errordisplay</td> -+ </tr> - <if $userinfo['change_serversettings'] == '1'> - <tr> - <td class="install_nomecampo">OpenBasedir:</td> -diff -Nru syscp-mysql-ftp-imp/templates/admin/domains/domains_edit.tpl syscp-options/templates/admin/domains/domains_edit.tpl ---- syscp-mysql-ftp-imp/templates/admin/domains/domains_edit.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/admin/domains/domains_edit.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -52,6 +52,18 @@ - <td class="install_nomecampo">{$lng['admin']['domain_edit']}:</td> - <td class="install_campodisplay" nowrap="nowrap">$caneditdomain</td> - </tr> -+ <tr> -+ <td class="install_nomecampo">ServerSideIncludes:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$ssi_includes</td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">PHP Engine:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$php_engine</td> -+ </tr> -+ <tr> -+ <td class="install_nomecampo">PHP Error Display:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$php_errordisplay</td> -+ </tr> - <if $userinfo['change_serversettings'] == '1'> - <tr> - <td class="install_nomecampo">OpenBasedir:</td> -diff -Nru syscp-mysql-ftp-imp/templates/customer/domains/domains_edit.tpl syscp-options/templates/customer/domains/domains_edit.tpl ---- syscp-mysql-ftp-imp/templates/customer/domains/domains_edit.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/customer/domains/domains_edit.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -35,6 +35,10 @@ - </tr> - </if> - <tr> -+ <td class="install_nomecampo">PHP Error Display:</td> -+ <td class="install_campodisplay" nowrap="nowrap">$php_errordisplay</td> -+ </tr> -+ <tr> - <td class="install_confermacampo" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottone" value="{$lng['panel']['save']}" /></td> - </tr> - </table> -diff -Nru syscp-mysql-ftp-imp/templates/customer/extras/htaccess_add.tpl syscp-options/templates/customer/extras/htaccess_add.tpl ---- syscp-mysql-ftp-imp/templates/customer/extras/htaccess_add.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/customer/extras/htaccess_add.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -16,6 +16,10 @@ - <td class="install_campodisplay" nowrap="nowrap">$options_indexes</td> - </tr> - <tr> -+ <td class="install_nomecampo"><b>{$lng['extras']['directory_execcgi']}:</b></td> -+ <td class="install_campodisplay" nowrap="nowrap">$options_execcgi</td> -+ </tr> -+ <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error404path" value="" maxlength="50" /></td> - </tr> -diff -Nru syscp-mysql-ftp-imp/templates/customer/extras/htaccess_edit.tpl syscp-options/templates/customer/extras/htaccess_edit.tpl ---- syscp-mysql-ftp-imp/templates/customer/extras/htaccess_edit.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/customer/extras/htaccess_edit.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -17,6 +17,10 @@ - <td class="install_campodisplay" nowrap="nowrap">$options_indexes</td> - </tr> - <tr> -+ <td class="install_nomecampo"><b>{$lng['extras']['directory_execcgi']}:</b></td> -+ <td class="install_campodisplay" nowrap="nowrap">$options_execcgi</td> -+ </tr> -+ <tr> - <td class="install_nomecampo"><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['emptyfordefault']}</td> - <td class="install_campodisplay" nowrap="nowrap"><input type="text" name="error404path" value="{$result['error404path']}" maxlength="50" /></td> - </tr> -diff -Nru syscp-mysql-ftp-imp/templates/customer/extras/htaccess_htaccess.tpl syscp-options/templates/customer/extras/htaccess_htaccess.tpl ---- syscp-mysql-ftp-imp/templates/customer/extras/htaccess_htaccess.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/customer/extras/htaccess_htaccess.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -1,6 +1,7 @@ - <tr> - <td class="nomecampo_bordosx">{$row['path']}</td> - <td class="nomecampo">{$row['options_indexes']}</td> -+ <td class="nomecampo">{$row['options_execcgi']}</td> - <td class="nomecampo">{$row['error404path']}</td> - <td class="nomecampo">{$row['error403path']}</td> - <td class="nomecampo">{$row['error500path']}</td> -diff -Nru syscp-mysql-ftp-imp/templates/customer/extras/htaccess.tpl syscp-options/templates/customer/extras/htaccess.tpl ---- syscp-mysql-ftp-imp/templates/customer/extras/htaccess.tpl 2006-03-26 01:05:34.000000000 +0100 -+++ syscp-options/templates/customer/extras/htaccess.tpl 2006-03-26 01:06:22.000000000 +0100 -@@ -1,11 +1,12 @@ - $header - <table cellpadding="5" cellspacing="0" border="0" align="center" class="install_tabella"> - <tr> -- <td class="install_titolo" colspan="7"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['extras']['pathoptions']}</b></td> -+ <td class="install_titolo" colspan="8"><b><img src="../images/titolo.gif" alt="" /> {$lng['menue']['extras']['pathoptions']}</b></td> - </tr> - <tr> - <td class="campodisplay_bordosx">{$lng['panel']['path']}</td> - <td class="campodisplay">{$lng['extras']['view_directory']}</td> -+ <td class="campodisplay">{$lng['extras']['view_execcgi']}</td> - <td class="campodisplay">{$lng['extras']['error404path']}</td> - <td class="campodisplay">{$lng['extras']['error403path']}</td> - <td class="campodisplay">{$lng['extras']['error500path']}</td> -@@ -13,7 +14,7 @@ - </tr> - $htaccess - <tr> -- <td class="campodisplay_bordosx" colspan="7"><a href="$filename?page=htaccess&action=add&s=$s">{$lng['extras']['pathoptions_add']}</a></td> -+ <td class="campodisplay_bordosx" colspan="8"><a href="$filename?page=htaccess&action=add&s=$s">{$lng['extras']['pathoptions_add']}</a></td> - </tr> - </table> - <br /> diff --git a/syscp/patches/options-patch/syscp-1.2.13-options-patch-r3.tar.bz2 b/syscp/patches/options-patch/syscp-1.2.13-options-patch-r3.tar.bz2 Binary files differdeleted file mode 100644 index 9187e3e..0000000 --- a/syscp/patches/options-patch/syscp-1.2.13-options-patch-r3.tar.bz2 +++ /dev/null diff --git a/syscp/patches/suexec-patch/syscp-1.2.13-suexec-patch-r3.tar.bz2 b/syscp/patches/suexec-patch/syscp-1.2.13-suexec-patch-r3.tar.bz2 Binary files differdeleted file mode 100644 index cd9aae1..0000000 --- a/syscp/patches/suexec-patch/syscp-1.2.13-suexec-patch-r3.tar.bz2 +++ /dev/null diff --git a/syscp/patches/suexec-patch/syscp-1.2.13-suexec-support.patch b/syscp/patches/suexec-patch/syscp-1.2.13-suexec-support.patch deleted file mode 100644 index 3cd7424..0000000 --- a/syscp/patches/suexec-patch/syscp-1.2.13-suexec-support.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nru syscp-options/scripts/cron_tasks.php syscp-suexec/scripts/cron_tasks.php ---- syscp-options/scripts/cron_tasks.php 2006-03-26 01:24:58.000000000 +0100 -+++ syscp-suexec/scripts/cron_tasks.php 2006-03-26 04:09:01.000000000 +0200 -@@ -108,6 +108,7 @@ - { - $domain['documentroot'] = makeCorrectDir ($domain['documentroot']); - $vhosts_file.=' DocumentRoot "'.$domain['documentroot']."\"\n"; -+ $vhosts_file.=' SuexecUserGroup '.$domain['loginname'].' '.$domain['loginname']."\n"; - if($domain['ssi_includes'] == '1') - { - $vhosts_file.=' Options +Includes'."\n"; diff --git a/syscp/patches/suphp-patch/syscp-1.2.13-suphp-patch-r3.tar.bz2 b/syscp/patches/suphp-patch/syscp-1.2.13-suphp-patch-r3.tar.bz2 Binary files differdeleted file mode 100644 index 81add91..0000000 --- a/syscp/patches/suphp-patch/syscp-1.2.13-suphp-patch-r3.tar.bz2 +++ /dev/null diff --git a/syscp/patches/suphp-patch/syscp-1.2.13-suphp-support.patch b/syscp/patches/suphp-patch/syscp-1.2.13-suphp-support.patch deleted file mode 100644 index b2f7b06..0000000 --- a/syscp/patches/suphp-patch/syscp-1.2.13-suphp-support.patch +++ /dev/null @@ -1,370 +0,0 @@ -diff -Nru syscp-suexec/customer_extras.php syscp-suphp/customer_extras.php ---- syscp-suexec/customer_extras.php 2006-03-26 04:08:39.000000000 +0200 -+++ syscp-suphp/customer_extras.php 2006-03-26 04:11:22.000000000 +0200 -@@ -178,6 +178,8 @@ - $row['options_indexes'] = str_replace('0', $lng['panel']['no'], $row['options_indexes']); - $row['options_execcgi'] = str_replace('1', $lng['panel']['yes'], $row['options_execcgi']); - $row['options_execcgi'] = str_replace('0', $lng['panel']['no'], $row['options_execcgi']); -+ $row['options_phpversionselect'] = str_replace('4', $lng['extras']['php4'], $row['options_phpversionselect']); -+ $row['options_phpversionselect'] = str_replace('5', $lng['extras']['php5'], $row['options_phpversionselect']); - eval("\$htaccess.=\"".getTemplate("extras/htaccess_htaccess")."\";"); - } - eval("echo \"".getTemplate("extras/htaccess")."\";"); -@@ -273,6 +275,7 @@ - ' `path`, ' . - ' `options_indexes`, ' . - ' `options_execcgi`, ' . -+ ' `options_phpversionselect`, ' . - ' `error404path`, ' . - ' `error403path`, ' . - // ' `error401path`, ' . -@@ -282,6 +285,7 @@ - ' "'.$path.'", ' . - ' "'.$_POST['options_indexes'].'", ' . - ' "'.$_POST['options_execcgi'].'", ' . -+ ' "'.$_POST['options_phpversionselect'].'", ' . - ' "'.$error404path.'", ' . - ' "'.$error403path.'", ' . - // ' "'.$error401path.'", ' . -@@ -298,6 +302,7 @@ - $userinfo['guid'], $settings['panel']['pathedit'] ); - $options_indexes = makeyesno('options_indexes','1','0','1'); - $options_execcgi = makeyesno('options_execcgi','1','0','0'); -+ $options_phpversionselect = "<b>".$lng['extras']['php4']."</b><input type=\"radio\" name=\"options_phpversionselect\" value=\"4\" checked=\"checked\" /> \n<b>".$lng['extras']['php5']."</b><input type=\"radio\" name=\"options_phpversionselect\" value=\"5\" />"; - eval("echo \"".getTemplate("extras/htaccess_add")."\";"); - } - } -@@ -327,6 +332,11 @@ - { - $option_execcgi = '0'; - } -+ $option_phpversionselect = intval($_POST['options_phpversionselect']); -+ if ($option_phpversionselect != '5') -+ { -+ $option_phpversionselect = '4'; -+ } - if ( ($_POST['error404path'] == '') - || (preg_match('/^https?\:\/\//', $_POST['error404path']) ) - ) -@@ -370,6 +380,7 @@ - - if ( ($option_indexes != $result['options_indexes']) - || ($option_execcgi != $result['options_execcgi']) -+ || ($option_phpversionselect != $result['options_phpversionselect']) - || ($error404path != $result['error404path']) - || ($error403path != $result['error403path']) - // || ($error401path != $result['error401path']) -@@ -381,6 +392,7 @@ - 'UPDATE `'.TABLE_PANEL_HTACCESS.'` ' . - 'SET `options_indexes` = "'.$option_indexes.'",' . - ' `options_execcgi` = "'.$option_execcgi.'",' . -+ ' `options_phpversionselect` = "'.$option_phpversionselect.'",' . - ' `error404path` = "'.$error404path.'", ' . - ' `error403path` = "'.$error403path.'", ' . - // ' `error401path` = "'.$error401path.'", ' . -@@ -400,6 +412,14 @@ - $result['error500path'] = $result['error500path']; - $options_indexes = makeyesno('options_indexes', '1', '0', $result['options_indexes']); - $options_execcgi = makeyesno('options_execcgi', '1', '0', $result['options_execcgi']); -+ if($result['options_phpversionselect'] == '5') -+ { -+ $options_phpversionselect = "<b>".$lng['extras']['php4']."</b><input type=\"radio\" name=\"options_phpversionselect\" value=\"4\" /> \n<b>".$lng['extras']['php5']."</b><input type=\"radio\" name=\"options_phpversionselect\" value=\"5\" checked=\"checked\" />"; -+ } -+ else -+ { -+ $options_phpversionselect = "<b>".$lng['extras']['php4']."</b><input type=\"radio\" name=\"options_phpversionselect\" value=\"4\" checked=\"checked\" /> \n<b>".$lng['extras']['php5']."</b><input type=\"radio\" name=\"options_phpversionselect\" value=\"5\" />"; -+ } - eval("echo \"".getTemplate("extras/htaccess_edit")."\";"); - } - } -diff -Nru syscp-suexec/lng/english.lng.php syscp-suphp/lng/english.lng.php ---- syscp-suexec/lng/english.lng.php 2006-03-26 04:08:39.000000000 +0200 -+++ syscp-suphp/lng/english.lng.php 2006-03-26 04:11:22.000000000 +0200 -@@ -423,4 +423,16 @@ - */ - $lng['extras']['view_execcgi'] = 'permit CGI execution'; - $lng['extras']['directory_execcgi'] = 'execute CGI scripts'; -+ -+/** -+ * CHANGED FOR SUPHP PATCH -+ */ -+ -+/** -+ * ADDED FOR SUPHP PATCH -+ */ -+$lng['extras']['php4'] = 'PHP4'; -+$lng['extras']['php5'] = 'PHP5'; -+$lng['extras']['view_phpversionselect'] = 'PHP version'; -+$lng['extras']['directory_phpversionselect'] = 'enabled PHP version'; - ?> -\ No newline at end of file -diff -Nru syscp-suexec/scripts/create_suphp_inis.php syscp-suphp/scripts/create_suphp_inis.php ---- syscp-suexec/scripts/create_suphp_inis.php 1970-01-01 01:00:00.000000000 +0100 -+++ syscp-suphp/scripts/create_suphp_inis.php 2006-03-26 04:11:22.000000000 +0200 -@@ -0,0 +1,129 @@ -+<?php -+/* -+ * This script creates the php.ini's used by mod_suPHP+php-cgi -+ */ -+ if(@php_sapi_name() != 'cli' && @php_sapi_name() != 'cgi' && @php_sapi_name() != 'cgi-fcgi') -+ { -+ die('This script only works in the shell.'); -+ } -+ -+ $baseconfigdir = '/var/www/syscp-suphp/config'; -+ $basetmpdir = '/var/www/syscp-suphp/tmp'; -+ $peardir = '/usr/share/php/:/usr/share/php4/:/usr/share/php5/'; -+ -+ $configdir = $baseconfigdir.'/'.$domain['loginname'].'/'.$domain['domain'].'/'; -+ $tmpdir = $basetmpdir.'/'.$domain['loginname'].'/'; -+ -+ if($domain['openbasedir'] == '1') -+ { -+ $openbasedircomm = ''; -+ $openbasedir = $domain['documentroot'].':'.$tmpdir.':'.$peardir; -+ } -+ if($domain['openbasedir'] == '0') -+ { -+ $openbasedircomm = ';'; -+ $openbasedir = ''; -+ } -+ -+ if($domain['safemode'] == '1') -+ { -+ $safemode = 'On'; -+ } -+ if($domain['safemode'] == '0') -+ { -+ $safemode = 'Off'; -+ } -+ -+ if($domain['php_errordisplay'] == '1') -+ { -+ $phperrordisplay = 'On'; -+ } -+ if($domain['php_errordisplay'] == '0') -+ { -+ $phperrordisplay = 'Off'; -+ } -+ -+ // create config dir if necessary -+ if(!is_dir($configdir)) -+ { -+ safe_exec('mkdir -p "'.$configdir.'"'); -+ } -+ -+ // create tmp dir if necessary -+ if(!is_dir($tmpdir)) -+ { -+ safe_exec('mkdir -p "'.$tmpdir.'"'); -+ safe_exec('chown -R '.$domain['guid'].':'.$domain['guid'].' "'.$tmpdir.'"'); -+ safe_exec('chmod 0750 "'.$tmpdir.'"'); -+ } -+ -+// define the php.ini -+$config_file_php_ini = 'short_open_tag = On -+asp_tags = Off -+precision = 14 -+output_buffering = 4096 -+allow_call_time_pass_reference = Off -+safe_mode = '.$safemode.' -+safe_mode_gid = Off -+safe_mode_include_dir = "'.$peardir.'" -+safe_mode_allowed_env_vars = PHP_ -+safe_mode_protected_env_vars = LD_LIBRARY_PATH -+'.$openbasedircomm.'open_basedir = "'.$openbasedir.'" -+disable_functions = exec,passthru,shell_exec,system,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate -+disable_classes = -+expose_php = Off -+max_execution_time = 30 -+max_input_time = 60 -+memory_limit = 8M -+post_max_size = 8M -+error_reporting = E_ALL -+display_errors = '.$phperrordisplay.' -+display_startup_errors = Off -+log_errors = On -+log_errors_max_len = 1024 -+ignore_repeated_errors = Off -+ignore_repeated_source = Off -+report_memleaks = On -+track_errors = Off -+html_errors = Off -+variables_order = "GPCS" -+register_globals = Off -+register_argc_argv = Off -+gpc_order = "GPC" -+magic_quotes_gpc = Off -+magic_quotes_runtime = Off -+magic_quotes_sybase = Off -+include_path = ".:'.$peardir.'" -+enable_dl = Off -+file_uploads = On -+upload_tmp_dir = "'.$tmpdir.'" -+upload_max_filesize = 32M -+allow_url_fopen = Off -+sendmail_path = "/usr/sbin/sendmail -t -f '.$domain['email'].'" -+session.save_handler = files -+session.save_path = "'.$tmpdir.'" -+session.use_cookies = 1 -+session.name = PHPSESSID -+session.auto_start = 0 -+session.cookie_lifetime = 0 -+session.cookie_path = / -+session.cookie_domain = -+session.serialize_handler = php -+session.gc_probability = 1 -+session.gc_divisor = 1000 -+session.gc_maxlifetime = 1440 -+session.bug_compat_42 = 0 -+session.bug_compat_warn = 1 -+session.referer_check = -+session.entropy_length = 16 -+session.entropy_file = /dev/urandom -+session.cache_limiter = nocache -+session.cache_expire = 180 -+session.use_trans_sid = 0'; -+ -+$config_file_handler = fopen($configdir.'php.ini', 'w'); -+fwrite($config_file_handler, $config_file_php_ini); -+fclose($config_file_handler); -+safe_exec('chown root:0 "'.$configdir.'php.ini"'); -+safe_exec('chmod 0644 "'.$configdir.'php.ini"'); -+?> -\ No newline at end of file -diff -Nru syscp-suexec/scripts/cron_tasks.php syscp-suphp/scripts/cron_tasks.php ---- syscp-suexec/scripts/cron_tasks.php 2006-03-26 04:09:01.000000000 +0200 -+++ syscp-suphp/scripts/cron_tasks.php 2006-03-26 04:11:22.000000000 +0200 -@@ -119,31 +119,14 @@ - } - if($domain['php_engine'] == '1') - { -- $vhosts_file.=' php_admin_flag engine On'."\n"; -- if($domain['openbasedir'] == '1') -- { -- $vhosts_file.=' php_admin_value open_basedir "'.$domain['documentroot']."\"\n"; -- } -- if($domain['safemode'] == '1') -- { -- $vhosts_file.=' php_admin_flag safe_mode On '."\n"; -- } -- if($domain['safemode'] == '0') -- { -- $vhosts_file.=' php_admin_flag safe_mode Off '."\n"; -- } -- if($domain['php_errordisplay'] == '1') -- { -- $vhosts_file.=' php_admin_flag display_errors On '."\n"; -- } -- if($domain['php_errordisplay'] == '0') -- { -- $vhosts_file.=' php_admin_flag display_errors Off '."\n"; -- } -+ $vhosts_file.=' suPHP_Engine On'."\n"; -+ $vhosts_file.=' suPHP_UserGroup '.$domain['loginname'].' '.$domain['loginname']."\n"; -+ include 'create_suphp_inis.php'; -+ $vhosts_file.=' suPHP_ConfigPath "'.$configdir."\"\n"; - } - if($domain['php_engine'] == '0') - { -- $vhosts_file.=' php_admin_flag engine Off'."\n"; -+ $vhosts_file.=' suPHP_Engine Off'."\n"; - } - - if(!is_dir($domain['documentroot'])) -@@ -198,6 +181,8 @@ - safe_exec('chown -R '.$row['data']['uid'].':'.$row['data']['gid'].' "'.$settings['system']['documentroot_prefix'].$row['data']['loginname'].'"'); - safe_exec('chown -R '.$settings['system']['vmail_uid'].':'.$settings['system']['vmail_gid'].' "'.$settings['system']['vmail_homedir'].$row['data']['loginname'].'"'); - safe_exec('chmod 0750 "'.$settings['system']['vmail_homedir'].$row['data']['loginname'].'"'); -+ safe_exec('chown '.$row['data']['uid'].':apache "'.$settings['system']['documentroot_prefix'].$row['data']['loginname'].'"'); -+ safe_exec('chmod 0750 "'.$settings['system']['documentroot_prefix'].$row['data']['loginname'].'"'); - } - } - -@@ -273,6 +258,20 @@ - $diroptions_file .= ' Options -ExecCGI'."\n"; - fwrite( $debugHandler, ' cron_tasks: Task3 - Setting Options -ExecCGI'); - } -+ if ( isset ( $row_diroptions['options_phpversionselect'] ) && $row_diroptions['options_phpversionselect'] == '5' ) -+ { -+ $diroptions_file .= ' AddType application/x-httpd-php5 .php .php5 .php4 .php3 .phtml'."\n"; -+ $diroptions_file .= ' AddHandler x-httpd-php5 .php .php5 .php4 .php3 .phtml'."\n"; -+ $diroptions_file .= ' suPHP_AddHandler x-httpd-php5'."\n"; -+ fwrite( $debugHandler, ' cron_tasks: Task3 - Setting PHP version to 5'); -+ } -+ if ( isset ( $row_diroptions['options_phpversionselect'] ) && $row_diroptions['options_phpversionselect'] == '4' ) -+ { -+ $diroptions_file .= ' AddType application/x-httpd-php4 .php .php5 .php4 .php3 .phtml'."\n"; -+ $diroptions_file .= ' AddHandler x-httpd-php4 .php .php5 .php4 .php3 .phtml'."\n"; -+ $diroptions_file .= ' suPHP_AddHandler x-httpd-php4'."\n"; -+ fwrite( $debugHandler, ' cron_tasks: Task3 - Setting PHP version to 4'); -+ } - if ( isset ( $row_diroptions['error404path'] ) && $row_diroptions['error404path'] != '') - { - $diroptions_file .= ' ErrorDocument 404 "'.$row_diroptions['error404path']."\"\n"; -diff -Nru syscp-suexec/templates/customer/extras/htaccess_add.tpl syscp-suphp/templates/customer/extras/htaccess_add.tpl ---- syscp-suexec/templates/custome |