diff --git a/dev-php/PEAR-Archive_Zip/Manifest b/dev-php/PEAR-Archive_Zip/Manifest deleted file mode 100644 index e0f19176b57722cdd157a457d5149f8b72a195c7..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-Archive_Zip/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Archive_Zip-0.1.2.tgz 19213 SHA256 472cccc82bca32d0c8dc78ec025070a78e7fc4f2aef6cebb2efba4152fc3bde3 SHA512 9ad174cb7564be30ef650e8b6755f79403a8dd8b5edb019119d61972665ead807d0c15cab3f284450d1fb893203c8d2e16a47c0e8b94f60cfcf7bbcfee34ef51 WHIRLPOOL f4c32e04015a6455cf9eb1501086eab31b56d351b85f1e30a74efd92a420f12bb9a662e1f798d21cadeaaa2edd3440fd11335c0276f999b2c04800ef2c7bb510 -EBUILD PEAR-Archive_Zip-0.1.2.ebuild 309 SHA256 c0324dcce04f6ff4d295e4ecfa2f78e1a791dcfdcca8a2b59b8a7fce8faf4e10 SHA512 e57fe2ff495699177bb9ddf0640da6df886a207b07ecab3cfe6e62566d938760f0a6e1d14117f4fba3feeae3f20c043a8bfcf7cb8f98108571241da18c96f977 WHIRLPOOL 88a16d372640ea3539d83cf78fb82f370360d36803a3fb87be6255fc761546fec06b477aee6c6beed12d9857e38ba24c0421dc78c3d5f6dc046df889806935ab diff --git a/dev-php/PEAR-Archive_Zip/PEAR-Archive_Zip-0.1.2.ebuild b/dev-php/PEAR-Archive_Zip/PEAR-Archive_Zip-0.1.2.ebuild deleted file mode 100644 index d3d5a4c6e1427d391f7c402af14047fc564b8e6c..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-Archive_Zip/PEAR-Archive_Zip-0.1.2.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -inherit php-pear-r1 - -DESCRIPTION="Zip file archiving management class" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" -RDEPEND="" diff --git a/dev-php/PEAR-DB_DataObject_FormBuilder/ChangeLog b/dev-php/PEAR-DB_DataObject_FormBuilder/ChangeLog deleted file mode 100644 index 08aabbc5f85febecdf046f79417923c996162be7..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-DB_DataObject_FormBuilder/ChangeLog +++ /dev/null @@ -1,27 +0,0 @@ -# ChangeLog for dev-php/PEAR-DB_DataObject_FormBuilder -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject_FormBuilder/Attic/ChangeLog,v 1.5 2012/04/23 18:07:37 pacho dead $ - -*PEAR-DB_DataObject_FormBuilder-1.0.1 (15 Jan 2012) - - 15 Jan 2012; Matti Bickel - -PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild, - +PEAR-DB_DataObject_FormBuilder-1.0.1.ebuild: - Version bump, remove old - -*PEAR-DB_DataObject_FormBuilder-1.0.0 (16 Feb 2010) - - 16 Feb 2010; Steve Dibb - +PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild: - Version bump - - 21 Apr 2009; Benedikt Böhm - PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild: - stable on amd64 and x86 - -*PEAR-DB_DataObject_FormBuilder-1.0.0_rc7 (22 Mar 2008) - - 22 Mar 2008; Benedikt Böhm +metadata.xml, - +PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild: - initial ebuild - diff --git a/dev-php/PEAR-DB_DataObject_FormBuilder/Manifest b/dev-php/PEAR-DB_DataObject_FormBuilder/Manifest deleted file mode 100644 index 0f92bffee5324d49a9de094ae9e33c953ee6eb5b..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-DB_DataObject_FormBuilder/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST DB_DataObject_FormBuilder-1.0.0.tgz 68183 SHA256 286e8f9cc6f02941a53206b54caed5a863c5eb96d20e08a4122370bc1b3db796 SHA512 d59ee8a56ccaeabbd29d66b45a5e0f049de1f8584a117abb7be5ddb18b155adb9edfd219a1d1b353d28c5febc5ea98af745a413a868f8d62c2e0e479b497b26d WHIRLPOOL c86ebeb8807607a535e79316679b8381b7cc6904dc6c065b8555cbb7f309728797e428de9fd46205efba9e7f7c7bfd6a3942b4c7a15ec46209f1a327bf4651cd -DIST DB_DataObject_FormBuilder-1.0.0RC7.tgz 68052 SHA256 209ad9035ebaa3579a688efab3d48b9f333410dc164d46c2477db3b2b3c80fb2 -DIST DB_DataObject_FormBuilder-1.0.1.tgz 70099 SHA256 a78aa71ffd6fdcb787a1c8ccafa765101941fe44dd52a041c49f4caa23e2217a -EBUILD PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild 704 SHA256 fdbd13c1177f4fdac7e62af4ed04007eb2f21be0e556d21cb3369e16512eb43a SHA512 97833c06989b4c453589e5f214ad7a6bf28b2526601dbdfa36eb5ffeee0e123db0aafaf0472a9117dff8c512788505080a54b325fbc5d106540ea575ccd1ca5b WHIRLPOOL e33dfd9474d575507ddd155559d3058c9d55b0a137c97a85aef5dec954df5ef4401dd759bf4482b60825eb86e94b35389a64464eff7171f43e5620b7ddcf5688 -EBUILD PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild 707 SHA256 dba49d2fba1b8105c18906faddc0716b8b9ae4e45942e6e988a2bcef899d08ad SHA512 ed1ddcf2c22cbb1580681ddabc01a47b4e5eaf52a87d1aade84e47f826cb1e47c5d90a87c4b43b726fe2a7eb34dacb1b667d05f540b23221c93a6c455e62161c WHIRLPOOL bab767062af6d59f157afd7404f6d48f9a90c275df931b0147fdd41348e03b9a041939abbbb4a930b122d3a022a6bb297dbdb3fd8edc30d8a5aedaa67501c0d3 -EBUILD PEAR-DB_DataObject_FormBuilder-1.0.1.ebuild 705 SHA256 25caaf44aeb048574536d448011ec494b3fc8422c69ac7554b333e6613cce854 SHA512 6866b362dbee9b50ced31ba9596a9f985b914a70bf75fb7c0164b6b8cbdc5821b49ad92aa52890af99bd1d831f3bc19fde7c1102a8701cf72973c362f21e59ba WHIRLPOOL cb43f4ddc5c2bb732109d9bd35ee6894830b9945059cf7006f0557a86fa289bdbfa18c51961d8403b7bfadc896a287551e1bcb8e62839b0bdef872b1c0607ef2 -MISC ChangeLog 962 SHA256 a8a2a33d83112ef5a8448dc7e462c10042796e559fdd169c1b962296ca50c1b1 SHA512 db5a5ff4bce9ef0cf48e552f2dda23083c2fbc2aa0a6aee703b9192bb9bb773cc8a1f6593ab1a1595c2612f4b8da75efb21f1ee9f2a6a60c52b0fe1ff5bbd54d WHIRLPOOL ff01ab556bb104bcc3efcf50ddc3b0ac0caac4c764c42e950f91a77e8b047f2257b50500f32b67870473e89d18f8ec8e4447709f19a1e56c43ec8c68bb29c6e4 -MISC metadata.xml 156 SHA256 5ff4548a468dae15d258559cf7c62d692a52e525dfaef26a6817e28202b9fdbd SHA512 bf867376d85b4bcf66c3ae2d809bd40989f09e0c6acdc0b9ea282fc7986128148cf19c8b4e901bd4f2303377821cb839eac8d555e9add88e3485d75f931e2e57 WHIRLPOOL 60e861e63b27182615f418fb0b47b798a5c3112f4adae0a5f437c27bd35c52efe08c7a05a2eb9ea7d002ea0dbabcb572a65ddf996fed04805e027b8eff173d6a diff --git a/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild b/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild deleted file mode 100644 index 4c0f0b59cade72b42c5c56a7754126f147db5dda..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject_FormBuilder/Attic/PEAR-DB_DataObject_FormBuilder-1.0.0.ebuild,v 1.2 2012/01/15 10:18:13 mabi dead $ - -EAPI="5" - -inherit php-pear-r1 - -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="Class to automatically build HTML_QuickForm objects from a DB_DataObject-derived class" -LICENSE="|| ( LGPL-2.1 LGPL-3 )" -SLOT="0" -IUSE="minimal" - -DEPEND="" -RDEPEND=">=dev-php/PEAR-DB_DataObject-1.8.5 - >=dev-php/PEAR-HTML_QuickForm-3.2.4 - !minimal? ( - >=dev-php/PEAR-Date-1.4.7 - >=dev-php/PEAR-HTML_Table-1.7.5 - >=dev-php/PEAR-HTML_QuickForm_ElementGrid-0.1.0 - )" diff --git a/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild b/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild deleted file mode 100644 index 2bcf937784c19aecff2a64478ab079cd55746955..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject_FormBuilder/Attic/PEAR-DB_DataObject_FormBuilder-1.0.0_rc7.ebuild,v 1.3 2012/04/23 18:07:38 pacho dead $ - -EAPI="5" - -inherit php-pear-r1 - -KEYWORDS="amd64 x86" - -DESCRIPTION="Class to automatically build HTML_QuickForm objects from a DB_DataObject-derived class" -LICENSE="|| ( LGPL-2.1 LGPL-3 )" -SLOT="0" -IUSE="minimal" - -DEPEND="" -RDEPEND=">=dev-php/PEAR-DB_DataObject-1.8.5 - >=dev-php/PEAR-HTML_QuickForm-3.2.4 - !minimal? ( - >=dev-php/PEAR-Date-1.4.7 - >=dev-php/PEAR-HTML_Table-1.7.5 - >=dev-php/PEAR-HTML_QuickForm_ElementGrid-0.1.0 - )" diff --git a/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.1.ebuild b/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.1.ebuild deleted file mode 100644 index 3cc7b5a7d0c6207cafeccf1d9a1cea55e4c99e25..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-DB_DataObject_FormBuilder/PEAR-DB_DataObject_FormBuilder-1.0.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject_FormBuilder/Attic/PEAR-DB_DataObject_FormBuilder-1.0.1.ebuild,v 1.2 2012/04/23 18:07:38 pacho dead $ - -EAPI="5" - -inherit php-pear-r1 - -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="Class to automatically build HTML_QuickForm objects from a DB_DataObject-derived class" -LICENSE="|| ( LGPL-2.1 LGPL-3 )" -SLOT="0" -IUSE="minimal" - -DEPEND="" -RDEPEND=">=dev-php/PEAR-DB_DataObject-1.8.5 - >=dev-php/PEAR-HTML_QuickForm-3.2.4 - !minimal? ( - >=dev-php/PEAR-Date-1.4.7 - >=dev-php/PEAR-HTML_Table-1.7.5 - >=dev-php/PEAR-HTML_QuickForm_ElementGrid-0.1.0 - )" diff --git a/dev-php/PEAR-DB_DataObject_FormBuilder/metadata.xml b/dev-php/PEAR-DB_DataObject_FormBuilder/metadata.xml deleted file mode 100644 index 4bf413edf04243a367db8c223ab5d615df909801..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-DB_DataObject_FormBuilder/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - php - \ No newline at end of file diff --git a/dev-php/PEAR-XML_RPC/ChangeLog b/dev-php/PEAR-XML_RPC/ChangeLog deleted file mode 100644 index ab238cfeea1e57313fc9f27d09a4ab364b71ac83..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/ChangeLog +++ /dev/null @@ -1,171 +0,0 @@ -# ChangeLog for dev-php/PEAR-XML_RPC -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-XML_RPC/Attic/ChangeLog,v 1.38 2006/05/21 01:40:45 chtekk dead $ - -*PEAR-XML_RPC-1.4.5 (15 Jan 2006) - - 15 Jan 2006; Sebastian Bergmann - +PEAR-XML_RPC-1.4.5.ebuild: - Version bump. - - 09 Jan 2006; Sebastian Bergmann - PEAR-XML_RPC-1.4.4.ebuild: - New-Style PEAR no longer uses separate packages for PEAR, Archive_Tar, - Console_Getopt, and XML_RPC. - - 19 Nov 2005; Markus Rothe PEAR-XML_RPC-1.4.4.ebuild: - Added ~ppc64 keyword; bug #102649 - -*PEAR-XML_RPC-1.4.4 (20 Oct 2005) - - 20 Oct 2005; Sebastian Bergmann - -PEAR-XML_RPC-1.4.3.ebuild, +PEAR-XML_RPC-1.4.4.ebuild: - Version bump. - -*PEAR-XML_RPC-1.4.3 (26 Sep 2005) - - 26 Sep 2005; Sebastian Bergmann - -PEAR-XML_RPC-1.4.2.ebuild, +PEAR-XML_RPC-1.4.3.ebuild: - Version bump. - -*PEAR-XML_RPC-1.4.2 (19 Sep 2005) - - 19 Sep 2005; Sebastian Bergmann - -PEAR-XML_RPC-1.4.1.ebuild, +PEAR-XML_RPC-1.4.2.ebuild: - Version bump. - - 17 Sep 2005; Marcus D. Hanwell - PEAR-XML_RPC-1.4.1.ebuild: - Marked ~amd64, bug 102649. - - 16 Sep 2005; Christian Parpart - PEAR-XML_RPC-1.4.1.ebuild: - added to ~amd64 - - 14 Sep 2005; Joseph Jezak PEAR-XML_RPC-1.4.1.ebuild: - Marked ~ppc for bug #105673. - - 10 Sep 2005; Jason Wever PEAR-XML_RPC-1.4.1.ebuild: - Added ~sparc keyword. - - 08 Sep 2005; Sebastian Bergmann - PEAR-XML_RPC-1.4.1.ebuild: - Use new PEAR eclass. - -*PEAR-XML_RPC-1.4.1 (07 Sep 2005) - - 07 Sep 2005; Sebastian Bergmann - +PEAR-XML_RPC-1.4.1.ebuild: - Version bump. - -*PEAR-XML_RPC-1.4.0 (14 Aug 2005) - - 14 Aug 2005; Sebastian Bergmann - -PEAR-XML_RPC-1.3.1.ebuild, -PEAR-XML_RPC-1.3.2.ebuild, - -PEAR-XML_RPC-1.3.3.ebuild, +PEAR-XML_RPC-1.4.0.ebuild: - Version bump, immediately marked as stable on all ARCHes due to eval() - vulnerability and this is portable PHP code. Removing vulnerable versions. - - 08 Aug 2005; Markus Rothe PEAR-XML_RPC-1.3.3.ebuild: - Stable on ppc64 - - 05 Aug 2005; Gustavo Zacarias - PEAR-XML_RPC-1.3.3.ebuild: - Stable on sparc - - 04 Aug 2005; Sebastian Bergmann - PEAR-XML_RPC-1.3.3.ebuild: - Stable on amd64 and x86. - - 25 Jul 2005; Guy Martin PEAR-XML_RPC-1.3.2.ebuild: - Stable on hppa. - - 20 Jul 2005; Markus Rothe PEAR-XML_RPC-1.3.2.ebuild: - Stable on ppc64 - - 17 Jul 2005; Tobias Scherbaum - PEAR-XML_RPC-1.3.2.ebuild: - ppc stable - -*PEAR-XML_RPC-1.3.3 (15 Jul 2005) - - 15 Jul 2005; Sebastian Bergmann - +PEAR-XML_RPC-1.3.3.ebuild: - Version bump. - - 13 Jul 2005; Gustavo Zacarias - PEAR-XML_RPC-1.3.2.ebuild: - Stable on sparc - - 12 Jul 2005; Sebastian Bergmann - PEAR-XML_RPC-1.3.2.ebuild: - Stable on amd64 and x86. - -*PEAR-XML_RPC-1.3.2 (08 Jul 2005) - - 08 Jul 2005; Sebastian Bergmann - +PEAR-XML_RPC-1.3.2.ebuild: - Version bump. - - 01 Jul 2005; Sebastian Bergmann - -PEAR-XML_RPC-1.1.0.ebuild, -PEAR-XML_RPC-1.2.2.ebuild, - PEAR-XML_RPC-1.3.1.ebuild: - Marking stable on all arches with regard to 97399. This package contains - platform-independent PHP source so it should be okay to do so. Also pull - vulnerable versions from the tree. - -*PEAR-XML_RPC-1.3.1 (30 Jun 2005) - - 30 Jun 2005; Sebastian Bergmann - +PEAR-XML_RPC-1.3.1.ebuild: - Version bump, see bug 97399. - - 27 Mar 2005; Bryan Østergaard - PEAR-XML_RPC-1.1.0.ebuild: - Stable on alpha. - - 19 Mar 2005; Jason Wever PEAR-XML_RPC-1.1.0.ebuild: - Stable on sparc wrt bug #82545. - -*PEAR-XML_RPC-1.2.2 (18 Mar 2005) - - 18 Mar 2005; Sebastian Bergmann - -PEAR-XML_RPC-1.2.0.ebuild, +PEAR-XML_RPC-1.2.2.ebuild: - Version bump. - - 09 Mar 2005; Sebastian Bergmann - PEAR-XML_RPC-1.2.0.ebuild: - Add missing KEYWORDs. - -*PEAR-XML_RPC-1.2.0 (28 Feb 2005) - - 28 Feb 2005; Sebastian Bergmann - +PEAR-XML_RPC-1.2.0.ebuild: - Version bump. - - 26 Feb 2005; Jason Wever PEAR-XML_RPC-1.1.0.ebuild: - Added ~sparc keyword wrt bug #82545. - - 20 Feb 2005; Aron Griffis PEAR-XML_RPC-1.1.0.ebuild: - stable on ia64 - - 20 Feb 2005; Sebastian Bergmann - PEAR-XML_RPC-1.1.0.ebuild: - Mark stable on x86 and amd64 for bug 82545. - - 20 Feb 2005; Joseph Jezak PEAR-XML_RPC-1.1.0.ebuild: - Marked ppc stable for bug #82545. - - 19 Feb 2005; Markus Rothe PEAR-XML_RPC-1.1.0.ebuild: - Stable on ppc64; bug #82545 - - 19 Feb 2005; Sebastian Bergmann - PEAR-XML_RPC-1.1.0.ebuild: - Mask ~amd64. - -*PEAR-XML_RPC-1.1.0 (16 Feb 2005) - - 16 Feb 2005; Sebastian Bergmann +metadata.xml, - +PEAR-XML_RPC-1.1.0.ebuild: - Initial ebuild for XML_RPC PEAR package. - diff --git a/dev-php/PEAR-XML_RPC/Manifest b/dev-php/PEAR-XML_RPC/Manifest deleted file mode 100644 index bc4a7a3fb56ff233a28b073d1ce755cd22742aa5..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST XML_RPC-1.4.0.tgz 26776 SHA256 2d15b0815447b999f4631114d3a0c40e8c3948249154ea25965b30c32810a69c SHA512 5c88f79bcbdf8c47d2b169eb0b556960afb7f1539c716271c97423beb7d28ecd953c243335f883b3f4840b898e8e2fffdf1fb6e977f085f5c4e0bff0d3d87737 WHIRLPOOL 0a15e0fd628fe33436bff136a974c461c4c3cb1551935daf3fc836954d737c5535e77bb7ca276bd8afc70bcbbf68ed45df80a61e52a9a3d0ba1660d31623f28e -DIST XML_RPC-1.4.5.tgz 29172 SHA256 2ae6e28b3f2f0cef9233f1b528c6910891597bcde2b55a01a942d0ba98039cd8 SHA512 1921e5a0aa6c7d0c61a4a938a9d237880b9723ae4d71901306e309a7b08acea28ac108a8525bfa7855ca2300fe036958e8018cdc4c185cb94775a5c3b4849377 WHIRLPOOL c6fa3d6035ae58b1f1580df36e17d39cbdd58ef3d62b9b40417ee39cf658fbb781fa83db07ea7457b9bc8e4a17f16f993bd41eb831255fc1c76158a1785ae5f6 -EBUILD PEAR-XML_RPC-1.4.0.ebuild 418 SHA256 303a9fea40077f2a54765173a217e0819e80b97d74ddb2294f5fb9e05da731c8 SHA512 87ce4d98c1b754bbd2be49f6672a526725b410e65b117273aea74e88777173c21ca9358bc423ceca1e85f488bd53ebb631fedc636548dbf9ea8311fb95d39690 WHIRLPOOL aed58b0995cd876bccf6b9e5798f7493acb11143db4b88168f22cd6ba944c1e009eef4fc3c3eca326c81eee5e886acac9a8af23edbd72549abbb60d6d0ecf8a7 -EBUILD PEAR-XML_RPC-1.4.5.ebuild 428 SHA256 34b4fff3dc60c8260ddf512e049e1c034a7b41c9d37c96a1d5966d695c9e9119 SHA512 c9b751521089019f86104e44f674a973e08b66432e7433b4c99624970b3c1d3e8df657ad5e43f51d303f5bc68f8a36949a98188ae326732e79ea40c64862853e WHIRLPOOL 7e640583bbd512b9d2c12d9fc0baaff0b5aac437dd529c52435e27753a915991bae33f3c15bb26826b481b874d98a1cc58490e67b65f5d3a3879b90e6e19dcb9 -MISC ChangeLog 5237 SHA256 fa4e9a34822e3cfac21bdad722c2315a38efecf9e6d482c03935901d55d99ff5 SHA512 51e9690ff0a7c7d89ea5cbd04176b85a964245887d8ba409222eb3ecdd5dbf171f8cb7aa1cf4739e30554aa5abaf2b83dd21284b6d4eda3ad4bdfb72ab91bf6d WHIRLPOOL b7853a01c79fc04ec3e9eecafdf1bb2dace1ea4eea37ab81100102c137f6a572d69b5b21042c47b6c938ee54dcff12585dcfd6b3fc98e346ccfa4b64760e1c1f -MISC metadata.xml 155 SHA256 4b012c464fd8b9bacd05ab0f0d7ffc0e6849073e779e662ffc51ba55743350e8 SHA512 7bfd8f37582748a9e4ba0f69875b564d21e51be13914cf5a92c7feabd17363a253489d6d3042c07aaf6b36188724150d6c9ad10617b3e523debad7bfad4762db WHIRLPOOL f65d8293e580687facb29ade7614a2ceacd0087ce37f5305b32958523d60b6bfe08cbb7de8d9140c5fe2f511196aaa3d46dd6f0453b1239fbcfba67a8383cbdd diff --git a/dev-php/PEAR-XML_RPC/PEAR-XML_RPC-1.4.0.ebuild b/dev-php/PEAR-XML_RPC/PEAR-XML_RPC-1.4.0.ebuild deleted file mode 100644 index 7911c73e9013f88aa0f340697003fe33f57b079f..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/PEAR-XML_RPC-1.4.0.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-XML_RPC/Attic/PEAR-XML_RPC-1.4.0.ebuild,v 1.3 2006/05/21 01:40:45 chtekk dead $ - -EAPI="5" - -inherit php-pear-r1 - -DESCRIPTION="PHP implementation of the XML-RPC protocol" - -LICENSE="PHP" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86" -IUSE="" diff --git a/dev-php/PEAR-XML_RPC/PEAR-XML_RPC-1.4.5.ebuild b/dev-php/PEAR-XML_RPC/PEAR-XML_RPC-1.4.5.ebuild deleted file mode 100644 index 722e78a86e2531c9ee7df845cae04f4c044ba8cb..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/PEAR-XML_RPC-1.4.5.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-XML_RPC/Attic/PEAR-XML_RPC-1.4.5.ebuild,v 1.2 2006/05/21 01:40:45 chtekk dead $ - -EAPI="5" - -inherit php-pear-r1 - -DESCRIPTION="PHP implementation of the XML-RPC protocol" - -LICENSE="PHP" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="" diff --git a/dev-php/PEAR-XML_RPC/files/digest-PEAR-XML_RPC-1.4.0 b/dev-php/PEAR-XML_RPC/files/digest-PEAR-XML_RPC-1.4.0 deleted file mode 100644 index 2ee29ea076c16da6b40451a924c37a6c1563bf09..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/files/digest-PEAR-XML_RPC-1.4.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 01202c4bcc2c03e7bb1bff5570d98367 XML_RPC-1.4.0.tgz 26776 diff --git a/dev-php/PEAR-XML_RPC/files/digest-PEAR-XML_RPC-1.4.5 b/dev-php/PEAR-XML_RPC/files/digest-PEAR-XML_RPC-1.4.5 deleted file mode 100644 index aba886fb189eb5c60530959f636f04fcff22594f..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/files/digest-PEAR-XML_RPC-1.4.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 e526da7331b818e70ade5f006a4e7a9d XML_RPC-1.4.5.tgz 29172 diff --git a/dev-php/PEAR-XML_RPC/metadata.xml b/dev-php/PEAR-XML_RPC/metadata.xml deleted file mode 100644 index 3f7ffc18c2db2c353734ff457dfcec3c1122889f..0000000000000000000000000000000000000000 --- a/dev-php/PEAR-XML_RPC/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - -php - \ No newline at end of file diff --git a/dev-vcs/kallithea/Manifest b/dev-vcs/kallithea/Manifest new file mode 100644 index 0000000000000000000000000000000000000000..23d314076d77de14537cd902b444c35bdd4cbced --- /dev/null +++ b/dev-vcs/kallithea/Manifest @@ -0,0 +1,8 @@ +AUX production.wsgi 448 SHA256 34aa607585b8526356d0a4e7103689a4c353e333bfd7dbd9316dea1601403af6 SHA512 f1d6310626ce5687317d856e4be2ea37d4d39dea5402846c64195d77cef1454ef96d3c6d23832a9a0c8ecdc6645582bc86b138cc7fbb7dc78226f45279d44f7a WHIRLPOOL cfee76d169facea538b00fdd9683a9ecefe58cd49f3c2f3f46e49025af459e5a8bdd236ea55252d5488ee52212f2f57423f3d8e21ddb2251e25851bffc93d243 +AUX start-virtualenv.sh 463 SHA256 2f5def6c4840b94b78055fcc3f3e37aa42dd709e4e71dfa16d1fc63966274456 SHA512 0912644b3806b9c04d301f5f2f59c9b212549e73dec848a324fb0dd8bc9410e60750a571a3438ccc4b9dd940020986b67a9f3bb29a7fd27945daa2ae4c24139d WHIRLPOOL f4cbb8e583ec907baaa0801c6c2f73a9832689422654661079d420002a6c55ff872f8af1b4a2b78e50085f90e2c8d5876e93a436c443ac75f9d589510d8f615c +DIST Kallithea-0.3.2.tar.gz 5347665 SHA256 891a7f88cf02a887c8eb711bfe56ff79f053a9051e0748fc29293bc7fa6ef0b3 SHA512 6f0cbab03004ea776e7278470ce12c025ba252b2194fc93c2dc5f3675811ca01306fd7ca076f1248915f22265d03d94741f2fdb7edeb8a90425e9d297a7f6af4 WHIRLPOOL ee0249a7563271ed94cc0a04ed1e90508854573a2395909e8525da19be68c04ed9b8c6968f47e76b86c6fa697a8fbf4c316fdd210caea4550655201a80bc360e +DIST Kallithea-0.3.5.tar.gz 6358269 SHA256 4b598546494a3b68a5a7ff40b313606dc5de14e8eeb351b8a6adafc68631f729 SHA512 dbf752afab9cbda07880fd1ce77ff0389280746aab4ca530a15745258e52732c240e95b8e6ee9ffef7df3e135ceab5d063bec3b2a4d77f022b3687dfbf51f126 WHIRLPOOL 099e4d2129b664a9550cb8073c455635f43ff784d4b9b79ae1543ec0b745795945b1b50f026b31e993c40be9e94f0ba2398012bcae7e3465fe09de506b042fd6 +DIST Kallithea-0.3.6.tar.gz 6374356 SHA256 745b2032ab85be07f94b8ee499059a3b015a619262d64dee067d4b7198d64180 SHA512 dfba39f64d960b6c1eae491c62dae2edd9095507d68486d344a4d4b58298a859bfeefb5f4fc33f89909507801139041facdb099bad0400737db26a5edd9cffa9 WHIRLPOOL be0ef47c136f9ce40787fd6ce57fec96c567660d6bdbd74c21ad629cefe3b76021a6e497e913b69576c436319b056cfcd2f0d6496711696271abd0ec7febbf9f +EBUILD kallithea-0.3.2.ebuild 15573 SHA256 d84b9f260eb6a5af551b5def59a89340366927dd1af0936b755fc885fcc11366 SHA512 13f3843d33cef3fce28e0e3e46999b407020a0f2fdc86baa05dac093a89881a453686ab5f7902567e5f33ef9670bb484465f6eaface3e74779e8d40d4dce5646 WHIRLPOOL 6deb4b03e56cf171403c6f92a9cab17e4eef4acb5791d76ac08a2b57806b923317e6b41110eaed3d9a6534ed5dee1b6beb883b80ae504a61ac74f2a0ae69c3ac +EBUILD kallithea-0.3.5.ebuild 15585 SHA256 27c518602eebdd4f5cee59b584fdcf50c6ae0c871d2aba9188fa5793c3d11c64 SHA512 1408dec24433afa622b1bcc747070067de71778d0c07d11a8daf8667740475d8f3da4d7156b328367d16b34c96cce02aff9b2a56099b68f10527a959324bcc8c WHIRLPOOL ee52143dff5796b268236f1359896becda961e9920b32e8753f5fcb67b9505ba21cce9ebc71b3340576a4868b7baa4a0126deec571a0fa6da4d95dc35f9a0adc +EBUILD kallithea-0.3.6.ebuild 15772 SHA256 325eddb2fe47ba538246cf0ab02c4c9372c6cf4f13773a849a7e458a65e0d61c SHA512 d4630abdabd4464b7a2a5bb5b36b0461fc64fd81329818ef2cdf2e0397af9c85f25e023586488df82692615006b50bcf213a564664f536a68e0a67b4edeaf508 WHIRLPOOL e3b05e4a1918c4280257cfdaf1fc1b1da445079bdae816bc0e0d8d57370f7766e1d50f37c65d563080e50964b0f849ac9d5c1ac8e758fd8373ca8c2151259cbf diff --git a/dev-vcs/kallithea/files/production.wsgi b/dev-vcs/kallithea/files/production.wsgi new file mode 100644 index 0000000000000000000000000000000000000000..f2b44cf949cb5a71985ff5508b416654cc356d8b --- /dev/null +++ b/dev-vcs/kallithea/files/production.wsgi @@ -0,0 +1,15 @@ +import os +os.environ["HGENCODING"] = "UTF-8" +os.environ['PYTHON_EGG_CACHE'] = '###DATADIR###/.egg-cache' + +# sometimes it's needed to set the curent dir +os.chdir('###DATADIR###/') + +import site +site.addsitedir("###BASEDIR###/lib/python2.7/site-packages") + +from paste.deploy import loadapp +from paste.script.util.logging_config import fileConfig + +fileConfig('###CONFDIR###/production.ini') +application = loadapp('config:###CONFDIR###/production.ini') diff --git a/dev-vcs/kallithea/files/start-virtualenv.sh b/dev-vcs/kallithea/files/start-virtualenv.sh new file mode 100644 index 0000000000000000000000000000000000000000..2412f88778957d51951e5b0ff99aadf57c626bce --- /dev/null +++ b/dev-vcs/kallithea/files/start-virtualenv.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# don't allow to host web applications as root +if [ $EUID -eq 0 ]; then + echo "Denying attempt to run Kallithea as root." >&2 + exit 1 +fi + +# get full + virtual environment +source /etc/profile +source /opt/kallithea/bin/activate + +# start Kallithea +cd /var/lib/kallithea +paster serve --pid-file=/run/kallithea.pid \ + --log-file=/var/log/kallithea/kallithea.log \ + --daemon \ + /etc/kallithea/production.ini diff --git a/dev-vcs/kallithea/kallithea-0.3.6.ebuild b/dev-vcs/kallithea/kallithea-0.3.6.ebuild new file mode 100644 index 0000000000000000000000000000000000000000..e7d9554225b4a9e11a8419fa41ecc72299578380 --- /dev/null +++ b/dev-vcs/kallithea/kallithea-0.3.6.ebuild @@ -0,0 +1,423 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +### NOTES ########################################################################## +# +# When updating this ebuild, comment out all workarounds and try without them first. +# Only re-enable them if they are still required. +# +# Also check that documentation URLs are still correct. +# +#################################################################################### + +EAPI="5" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit user + +DESCRIPTION="a web-based frontend and middleware to Mercurial and Git repositories" +HOMEPAGE="https://kallithea-scm.org/" +SRC_URI="https://files.pythonhosted.org/packages/d7/80/ed994733656253210e4e3b0817e940b8fb3bfaf781d454c7743c0d8f0213/Kallithea-0.3.6.tar.gz" + +IUSE="+git mysql postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +RDEPEND=" + dev-python/virtualenv + git? ( dev-vcs/git ) + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-lang/python:2.7[sqlite] ) +" + #mysql? ( virtual/libmysqlclient ) + +DEPEND="${RDEPEND} + app-arch/unzip + sys-apps/sed" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT_PYTHON_ABIS="3.*" + +installDataPath="/var/lib/kallithea" +installBasePath="/opt/kallithea" +installConfigPath="/etc/kallithea" +virtualenvActivationPath="bin/activate" + +urlDocumentationSetup="http://kallithea.readthedocs.org/en/${PV}/setup.html" +urlDocumentationRhodeCode="http://kallithea.readthedocs.org/en/${PV}/readme.html#converting-from-rhodecode" +urlDocumentationMegacoffee="http://gentoo-overlay.megacoffee.net/s/docs-kallithea-apache-mod_wsgi" + +pkg_setup() { + # create user and group + enewgroup kallithea + enewuser kallithea -1 -1 "${installDataPath}" kallithea +} + +src_unpack() { + unpack ${A} + mv Kallithea-${PV} kallithea-${PV} || die "Unexpected directory structure, aborting..." +} + +src_compile() { + # not really compiling anything + + realWorkDir=$(pwd) + + # create new virtual environment + virtualenv --python=python2.7 --no-site-packages dist/v + + # activate environment + source "dist/v/${virtualenvActivationPath}" + + # WORKAROUND: + # upgrade PIP + pip2.7 install --upgrade pip || einfo "Failed to upgrade PIP inside virtual environment; not a severe issue but might have been helpful to reduce errors." + + # WORKAROUND: + # we need to make sure we have a current version of setuptools to install Kallithea's dependencies + pip2.7 install 'setuptools>=17.1' || die "Failed to install setuptools, aborting!" + + # WORKAROUND: + # _after_ installation on --config we need a certain version of paster to create the initial config file... + pip2.7 install 'PasteScript==2.0.2' || die "Failed to install PasteScript, aborting!" + + # WORKAROUND: + # Kallithea's attempt to install Mercurial fails, so we do it first + pip2.7 install 'mercurial<4.3,>=2.9' || die "Failed to install Mercurial, aborting!" + + # WORKAROUND: + # Kallithea needs psycopg2 for PostgreSQL support which is not currently listed as a dependency?! + # at the time of writing 2.6.1 is current, so we limit the version to <2.7 + if use postgres ; then + pip2.7 install 'psycopg2>=2.6,<2.7' || die "Failed to install psycopg2 (required for PostgreSQL support), aborting!" + fi + + # WORKAROUND: + # Kallithea needs MySQLdb for MySQL support which is not currently listed as a dependency?! + # at the time of writing 1.2.5 is current, so we limit the version to <1.3 + if use mysql ; then + pip2.7 install 'MySQL-python>=1.2,<1.3' || die "Failed to install MySQL-python (required for MySQL support), aborting!" + fi + + # perform automatic installation, includes dependencies + echo + echo "===> output by Kallithea's setup.py" + python2.7 setup.py install + retval=$? + echo "<=== Kallithea's setup.py is done, resuming ebuild code" + echo + + # quit now if failed + if [ ${retval} -ne 0 ]; then + echo "Bad return value ${retval} from setup.py install" + exit 1 + fi + + # unzip all eggs + echo 'Unzipping all eggs...' + cd dist/v/lib/python2.7/site-packages/ || die "site-packages not found" + for eggname in *.egg; do + if [ -f "${eggname}" ]; then + mv "${eggname}" tmp.extract.zip + unzip -d "${eggname}" tmp.extract.zip + rm tmp.extract.zip + fi + done + + # disable Git support according to manual + # see: http://kallithea.readthedocs.org/en/0.3.1/usage/vcs_support.html + if ! use git ; then + sed -i -e "/^BACKENDS\s*=\s*{/,/}/ s/^\(\s*\)\('git'\)/\1#\2/" Kallithea-${PV}-py2.7.egg/kallithea/__init__.py || die 'Failed to disable git support, aborting...' + fi + + # create config + mkdir "${realWorkDir}/etc" + cd "${realWorkDir}/etc" + paster make-config Kallithea production.ini || die "unable to create configuration file" + + # rewrite config to refer to correct default paths + sed -i -e "s/%(here)s\(\/\(tarballcache\|data\)\)/${installDataPath//\//\\/}\1/" production.ini + sed -i -e "s/%(here)s\(\/kallithea.db\)/${installDataPath//\//\\/}\1/" production.ini + + # rewrite config to only log from WARN level to "console" + # By Kallithea defaults, handler_console logs everything from INFO level to "console". + # As mod_wsgi logs everything from "console" to error_log this results in a huge amount + # of unnecessary log entries which we would like to prevent. + # NOTE: As sed syntax is hard to read... this replacement rule is prefixed with an "address" which + # is being defined by two regexps, effectively restricting replacements just to the + # handler_console section of our ini file. + sed -i -e '/^\[handler_console\]/,/^\[/ s/level\s*=\s*INFO/level = WARN/' production.ini + + # rewrite config to disable debug mode + # By default, Kallithea uses debug = true which should *NOT* be used except during development. + # See: http://kallithea.readthedocs.org/en/0.3.1/usage/debugging.html + sed -i -e '/^\[DEFAULT\]/,/^\[/ s/\(debug\s*=\s*\)true/\1false/' production.ini + + ## (disabled, does not work from sandbox) + ## maintain system-unique variables from previous production.ini if available + #previousProductionConfig="${installConfigPath}/production.ini" + #if [ -e "${previousProductionConfig}" ]; then + # previousAppInstanceUUID="$(grep -oE '^\s*app_instance_uuid\s*=\s*[0-9a-f\-]+' /etc/kallithea/production.ini | cut -d'=' -f2 | tr -d ' ')" + # previousBeakerSessionSecret="$(grep -oE '^\s*beaker\.session\.secret\s*=\s*[0-9a-f\-]+' "${previousProductionConfig}" | cut -d'=' -f2 | tr -d ' ')" + # + # if [ ! -z "${previousAppInstanceUUID}" ]; then + # echo 'Transferring previous app instance UUID to new production.ini' + # sed -i -e "s/^\(\s*app_instance_uuid\s*=\s*\).*/\1${previousAppInstanceUUID}/" production.ini + # fi + # + # if [ ! -z "${previousBeakerSessionSecret}" ]; then + # echo 'Transferring previous Beaker session secret to new production.ini' + # sed -i -e "s/^\(\s*beaker\.session\.secret\s*=\s*\).*/\1${previousBeakerSessionSecret}/" production.ini + # fi + #fi + + # remove newly generated UUID and Beaker session secret from config + # as user should configure that instead and config diffs don't show + # unnecessary stuff + sed -i -e "s/^\(\s*app_instance_uuid\s*=\).*/#\1 (run uuidgen and insert the returned UUID here)/" production.ini + sed -i -e "s/^\(\s*beaker\.session\.secret\s*=\).*/#\1 (run uuidgen and insert the returned UUID here)/" production.ini + + # comment out sqlite DB as we don't want users to use it by accident + sed -i -e 's/^\(\s*\)\(sqlalchemy\.db1\.url\s*=\s*sqlite:.*\)/\1#\2/' production.ini + + # rename production.ini as it requires more configuration and is hard to read + mv production.ini production.ini.example + + # rewrite virtualenv directory to later installation directory + oldIFS="${IFS}" + IFS=" + " + echo "Searching files that need to have paths replaced when leaving portage sandbox..." + dirtyFiles=$(grep -Ri "${realWorkDir}/dist/v" ${realWorkDir}/dist/v | grep -vE '^Binary' | cut -d':' -f1 | sort | uniq) + for dirtyFile in ${dirtyFiles}; do + echo " patching ${dirtyFile}" + sed -e "s#${realWorkDir}/dist/v#${installBasePath}#" -i "${dirtyFile}" + done + IFS="${oldIFS}" + + # create WSGI file + cd "${realWorkDir}/etc" + cp "${FILESDIR}/production.wsgi" . + sed -e "s:###BASEDIR###:${installBasePath}:" -i production.wsgi + sed -e "s:###DATADIR###:${installDataPath}:" -i production.wsgi + sed -e "s:###CONFDIR###:${installConfigPath}:" -i production.wsgi +} + +src_install() { + # QA: no need to have anything world-writable... + chmod o-w -R dist/v/lib/python2.7/site-packages/ + + # just copy the virtualenv directory to /opt/kallithea + dodir /opt + cp -aR "${S}/dist/v" "${D}${installBasePath}" + + # install configuration files to /etc/kallithea + diropts -m750 -oroot -gkallithea + insopts -m640 -oroot -gkallithea + insinto "${installConfigPath}" + doins "${S}/etc/production.ini.example" + insopts -m644 -oroot -gkallithea + doins "${S}/etc/production.wsgi" + + # create data directory and subdirectories + diropts -m2770 -okallithea -gkallithea + keepdir "${installDataPath}" + keepdir "${installDataPath}/data" + keepdir "${installDataPath}/data/cache" + keepdir "${installDataPath}/data/cache/data" + keepdir "${installDataPath}/data/cache/lock" + keepdir "${installDataPath}/data/index" + keepdir "${installDataPath}/repositories" + keepdir "${installDataPath}/tarballcache" +} + +pkg_postinst() { + # 1 2 3 4 5 6 7 8 + # 12345678901234567890123456789012345678901234567890123456789012345678901234567890 + elog "An example configuration file has already been created so you don't need to run" + elog "make-config again; please copy and edit carefully on first setup:" + elog " cp -a ${installConfigPath}/production.ini.example ${installConfigPath}/production.ini" + elog " \$EDITOR ${installConfigPath}/production.ini" + elog "" + elog "After updates, please compare what has changed and copy any necessary changes:" + elog " diff -u ${installConfigPath}/production.ini ${installConfigPath}/production.ini.example" + elog "" + elog "You still need to follow Kallithea's other setup steps according to the" + elog "instructions at:" + elog " ${urlDocumentationSetup}" + elog "" + elog "When doing so, please mind that Kallithea was installed into a Python virtual" + elog "environment that has to be \"activated\" before it can be used. To do so," + elog "you will have to run a dedicated shell and initialize the environment by running" + elog "" + elog " source ${installBasePath}/${virtualenvActivationPath}" + elog "" + #elog "We altered the default config slightly. It may be best to have a look at our" + #elog "short example on how to setup hosting with Apache and mod_wsgi, even if you" + #elog "prefer another method of hosting Kallithea:" + #elog " ${urlDocumentationMegacoffee}" + #elog "" + #elog "We can wrap those commands for you if you run (no prior activation needed):" + #elog " emerge --config =${CATEGORY}/${PF}" + #elog "" + elog "Kallithea also provides a way to migrate your database if you are coming from" + elog "RhodeCode 2.2 or below. Instructions can be found at:" + elog "${urlDocumentationRhodeCode}" + elog "" + ewarn "Bear in mind that the whole purpose of a Python virtual environment is to" + ewarn "isolate complex dependency installations from other instances installed on the" + ewarn "same system so you will have to remember to re-emerge this ebuild when" + ewarn "Kallithea's dependencies received bug and in particular security fixes (assuming" + ewarn "it allows any more recent versions to be installed)." + + if use sqlite ; then + ewarn "" + ewarn "You chose to use SQLite for Kallithea. Please be advised that this is *ONLY* for" + ewarn "testing purposes, please avoid using SQLite in production and choose a different" + ewarn "database instead." + fi +} + + + + + +################################################################################################# +### EVERYTHING BELOW WAS AN ATTEMPT TO ASSIST USERS ON SETUP BUT CALLING EDITORS NEVER WORKED ### +### SHOULD STAY DEACTIVATED FOR NOW ### +################################################################################################# + + +my_read_line() { + # BASH function 'read' cannot write input back to variable in correct environment + # when run by emerge so we have to do *this* instead... great... :/ + # (at least this works...) + + python -c 'import sys; print(sys.stdin.readline().strip())' +} + +config_menu() { + choice="" + + oldIFS="${IFS}" + IFS=" + " + + # 1 2 3 4 5 6 7 8 + # 12345678901234567890123456789012345678901234567890123456789012345678901234567890 + echo + echo "===============================================================================" + echo + echo "Your options:" + echo + echo " 1) create production config from template (paster make-config ...)" + echo " 2) edit production config" + echo " 3) initialize Kallithea (paster setup-db)" + echo " This will also ask for repository location and create an admin account." + echo " 0) quit" + echo " Kallithea should be able to run now, check documentation for more options" + echo " such as setting up a task queue or full text search if you need it." + echo + + echo "TERM is ${TERM}" + + while [[ ! "${choice}" =~ ^[0-3]$ ]]; do + echo -n "Your choice? " + choice=$(my_read_line) + done + + IFS="${oldIFS}" + + return ${choice} +} + +pkg_config() { + echo "Erm... You are not supposed to call --config as it has not been completed." + echo "Sorry, you will have to follow the docs yourself for now, see:" + echo " ${urlDocumentationSetup}" + echo + echo + exit 1 + + # 1 2 3 4 5 6 7 8 + # 12345678901234567890123456789012345678901234567890123456789012345678901234567890 + + echo "Kallithea setup requires following multiple steps, some of which need to be run" + echo "in the correct virtual Python environment. This script helps you running those" + echo "commands by wrapping the commands to be run inside the correct virtualenv." + echo "You may still want to read the setup instructions while running this script:" + echo + echo " ${urlDocumentationSetup}" + + # activate virtualenv + cd ${installBasePath} || die "installation is gone? (${installBasePath})" + source "${virtualenvActivationPath}" || die "failed to activate virtualenv (${installBasePath}/${virtualenvActivationPath})" + + configFileName='production.ini' + + while true; do + config_menu + choice=$? + echo + + case "${choice}" in + 0) break + ;; + + 1) mkdir -p "${installBasePath}/etc" + cd "${installBasePath}/etc" + + shouldCreate="y" + if [ -e "${configFileName}" ]; then + shouldCreate="" + while true; do + echo "${configFileName} already exists, overwrite?" + while [[ ! "${shouldCreate}" =~ ^[yn]$ ]]; do + echo -n "Enter y to overwrite, n to abort: " + shouldCreate=$(my_read_line) + done + done + fi + + if [ "${shouldCreate}" == 'y' ]; then + echo 'Creating configuration file...' + paster make-config Kallithea ${configFileName} + else + echo 'Aborted, configuration file has not been overwritten.' + fi + ;; + + 2) iniPath="${installBasePath}/etc/${configFileName}" + + if [ ! -e "${iniPath}" ]; then + echo "config not found at ${iniPath}; did you follow step 1?" + continue + fi + + # terminal and shell need a reset or editor will be screwed up + source /etc/profile + reset + stty sane + + # open editor + if [[ "${EDITOR}" != "" ]] && [ -e "${EDITOR}" ]; then + TERM="xterm" ${EDITOR} "${iniPath}" + else + TERM="xterm" nano -w "${iniPath}" + fi + + # we better reset again... + source /etc/profile + reset + stty sane + ;; + + *) echo "invalid choice ${choice}" + ;; + esac + done +}