diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2013-08-17 11:56:55 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2013-08-17 12:25:09 +0200 |
commit | 4d7667c7c0b1fda57ce78fd19cfff5dd392c1d59 (patch) | |
tree | 52d853917573122d513078bc50bbfcfef996dfad | |
parent | sys-kernel/stable-sources: Version bump (diff) | |
download | portage-4d7667c7c0b1fda57ce78fd19cfff5dd392c1d59.tar.xz |
dev-php/symfony: Open-source PHP5 professional web framework, import old release
Package-Manager: portage-2.2.0
-rw-r--r-- | dev-php/symfony/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php/symfony/Manifest | 5 | ||||
-rw-r--r-- | dev-php/symfony/files/symfony-1.1.9-sfValidatorFile-getMimeType-remove-charset.diff | 11 | ||||
-rw-r--r-- | dev-php/symfony/metadata.xml | 8 | ||||
-rw-r--r-- | dev-php/symfony/symfony-1.1.9.ebuild | 58 | ||||
-rw-r--r-- | metadata/md5-cache/dev-php/symfony-1.1.9 | 11 |
6 files changed, 100 insertions, 0 deletions
diff --git a/dev-php/symfony/ChangeLog b/dev-php/symfony/ChangeLog new file mode 100644 index 00000000..e26b4807 --- /dev/null +++ b/dev-php/symfony/ChangeLog @@ -0,0 +1,7 @@ +*symfony-1.1.9 (17 Aug 2013) + + 17 Aug 2013; Bertrand Jacquin <beber@meleeweb.net> + +files/symfony-1.1.9-sfValidatorFile-getMimeType-remove-charset.diff, + +metadata.xml, +symfony-1.1.9.ebuild: + dev-php/symfony: Open-source PHP5 professional web framework, import old + release diff --git a/dev-php/symfony/Manifest b/dev-php/symfony/Manifest new file mode 100644 index 00000000..a24d016b --- /dev/null +++ b/dev-php/symfony/Manifest @@ -0,0 +1,5 @@ +AUX symfony-1.1.9-sfValidatorFile-getMimeType-remove-charset.diff 470 SHA256 23031a5fdb6ea4a1ccdae67ad79da5e011835931339ce816fb7bf24d8829bd79 WHIRLPOOL 4c51e59d44ef67cd6f9044899a5baa930f493683fe3d555fec21736943488fded7dab1fdfb706dfb0e9e2d16a9baced213dd1366b67a6ab4eb916bb8ae8aaad5 +DIST symfony-1.1.9.tgz 2134750 SHA256 28400a6f22940855863c08cb9868b2a56f10509142f57e411a8f28e41c781bad WHIRLPOOL aeb273109d414db091dfaf444ac4bcb5c8e72b85f11523d4d95d94432f6f2c2d153313c07da63d4ebf7fef741def2c1d5b6cd84303e534ff1dd070a9d9e97f36 +EBUILD symfony-1.1.9.ebuild 1521 SHA256 de9caab8f3ae4c1c396982abe7454036012eb89e461a198b4daf296db7281cf6 WHIRLPOOL fa62288059427a8e56b394320962f3777b9551f9985a92946a117c79c9b33edaa2c2dce218635bdab0294fcc52e23ea1bd3717fc5b446fa51e96a2871e2651f8 +MISC ChangeLog 280 SHA256 62ecc318942dbeed4b0a9d20c7456e08821ce2814542370ec2438b0531192085 WHIRLPOOL 2ebcb65a2f497d3c7bc02821564d9442ef95c3a7ade735ef5db5490744101fd60c6e083b042eff1751f55ace6110f024e89786a00e694dc8686bfe699a95709e +MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae diff --git a/dev-php/symfony/files/symfony-1.1.9-sfValidatorFile-getMimeType-remove-charset.diff b/dev-php/symfony/files/symfony-1.1.9-sfValidatorFile-getMimeType-remove-charset.diff new file mode 100644 index 00000000..05cfffa0 --- /dev/null +++ b/dev-php/symfony/files/symfony-1.1.9-sfValidatorFile-getMimeType-remove-charset.diff @@ -0,0 +1,11 @@ +--- lib/validator/sfValidatorFile.class.php 2013-08-16 12:47:46.370000000 -0700 ++++ lib/validator/sfValidatorFile.class.php 2013-08-16 12:52:39.250000000 -0700 +@@ -150,6 +150,8 @@ class sfValidatorFile extends sfValidato + } + + $mimeType = $this->getMimeType((string) $value['tmp_name'], (string) $value['type']); ++ // Remove Charset ++ $mimeType = preg_replace("/; (.*)$/", "", $mimeType); + + // check mime type + if ($this->hasOption('mime_types')) diff --git a/dev-php/symfony/metadata.xml b/dev-php/symfony/metadata.xml new file mode 100644 index 00000000..933498d8 --- /dev/null +++ b/dev-php/symfony/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>beber@meleeweb.net</email> + <name>Bertrand Jacquin</name> + </maintainer> +</pkgmetadata> diff --git a/dev-php/symfony/symfony-1.1.9.ebuild b/dev-php/symfony/symfony-1.1.9.ebuild new file mode 100644 index 00000000..6bdac6a4 --- /dev/null +++ b/dev-php/symfony/symfony-1.1.9.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit eutils + +DESCRIPTION="Open-source PHP5 professional web framework" +HOMEPAGE="http://symfony.com/legacy" +SRC_URI="http://pear.symfony-project.com/get/${P}.tgz" + +LICENSE="MIT LGPL-2.1 BSD BSD-2 FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/php-5.3[cli,ctype,iconv,session,simplexml,tokenizer,unicode,xml] + || ( + dev-php/pecl-apc + dev-php/eaccelerator + dev-php/xcache + )" + +src_prepare() { + epatch "${FILESDIR}/${P}-sfValidatorFile-getMimeType-remove-charset.diff" +} + +src_install() { + rm data/bin/create_sandbox.sh data/bin/SANDBOX_README + rm data/bin/release.php + rm data/bin/symfony.bat + + rm -r lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/bin + rm -r lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/pear + rm lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build* + rm lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/{CHANGELOG,INSTALL} + + find "${S}" -type f \ + -name 'LICENSE*' \ + -or -name 'default.properties' \ + | xargs --no-run-if-empty -- \ + rm + + insinto "/usr/share/php/${PN}" + doins -r data lib + + # Make executable all shebanged files + find "${ED}" -type f \ + | xargs -n 1 --no-run-if-empty -- \ + awk 'NR == 1 && /^#!/ {print FILENAME}' \ + | sed -e "s:${ED}:/:" \ + | xargs --no-run-if-empty -- \ + fperms 755 + + dosym "/usr/share/php/${PN}/data/bin/${PN}" "/usr/bin/${PN}" + + dodoc COPYRIGHT README doc/*.txt +} diff --git a/metadata/md5-cache/dev-php/symfony-1.1.9 b/metadata/md5-cache/dev-php/symfony-1.1.9 new file mode 100644 index 00000000..881b6452 --- /dev/null +++ b/metadata/md5-cache/dev-php/symfony-1.1.9 @@ -0,0 +1,11 @@ +DEFINED_PHASES=install prepare +DESCRIPTION=Open-source PHP5 professional web framework +EAPI=5 +HOMEPAGE=http://symfony.com/legacy +KEYWORDS=~amd64 ~x86 +LICENSE=MIT LGPL-2.1 BSD BSD-2 FDL-1.2 +RDEPEND=>=dev-lang/php-5.3[cli,ctype,iconv,session,simplexml,tokenizer,unicode,xml] || ( dev-php/pecl-apc dev-php/eaccelerator dev-php/xcache ) +SLOT=0 +SRC_URI=http://pear.symfony-project.com/get/symfony-1.1.9.tgz +_eclasses_=eutils 63afaaed8aa819fdcb814c7cd39495a2 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28 +_md5_=7c6058c234036e75c7f61108667706f7 |