From c0877d60386798d64fe7ae9f0357c05ad1fae7ac Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Tue, 8 Jul 2014 05:32:52 +0000 Subject: Version bump. Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7! --- www-servers/thin/ChangeLog | 7 +++- www-servers/thin/Manifest | 14 ++++++- www-servers/thin/thin-1.6.2.ebuild | 83 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 www-servers/thin/thin-1.6.2.ebuild (limited to 'www-servers') diff --git a/www-servers/thin/ChangeLog b/www-servers/thin/ChangeLog index 1587c9cd5dc8..04721a04d116 100644 --- a/www-servers/thin/ChangeLog +++ b/www-servers/thin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/thin # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v 1.29 2014/01/01 14:30:31 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v 1.30 2014/07/08 05:32:51 graaff Exp $ + +*thin-1.6.2 (08 Jul 2014) + + 08 Jul 2014; Hans de Graaff +thin-1.6.2.ebuild: + Version bump. 01 Jan 2014; Patrick Lauer thin-1.5.1-r1.ebuild, thin-1.5.1-r2.ebuild, thin-1.5.1-r3.ebuild: diff --git a/www-servers/thin/Manifest b/www-servers/thin/Manifest index c852b83f0a40..172f433d1556 100644 --- a/www-servers/thin/Manifest +++ b/www-servers/thin/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX thin.confd 772 SHA256 0c6d12deb82208da1acb5ee1f55ed9a5df159ea0f31db9a99b416ca3956a1772 SHA512 f7c1a9fdafb34b9587c10ed058e4b3094042b55c08715230f22a23e3bc5b383a80970848c0d1b2936b33f29fb6c460d834b38e6bfec59b36d2cfe8c3115840cd WHIRLPOOL b7ebe2b567545331f0969f8dd2e4afaac89b1216a351d8c38c73fab8aaa875a4c478a781ea0455a7c8de0d7bfd67042210927cea4bd375936c0e7a659c4e666d AUX thin.confd-1 1106 SHA256 8da66b4cd3c51b7d811c9505bf306fa90ccc400569d4b77086a456f19edf7547 SHA512 7fa42fcafdc1a25eecdafd96b2fbf8555fa4f757a111fdb1927d92f19c320c915d3212cdb3edaf526b74e76cbcc246c417ec194ae1e1fc1b85c82eb62a1d5c76 WHIRLPOOL 1420d82903804c0106b633a0e0bf157b0c9e4d0f0ff2ca2f51072ca0263f1ade848d9030b4a9c872783e481e263c4bc46cc29d4085d60de9954c33271dd4649d AUX thin.confd-2 1251 SHA256 36ade83707fa363434485e83ede77379fb55300f7e00a3b4bbc8f11cf1249c18 SHA512 b3e02dd2c13871068f47241a73ac4d9f0a98932fc263303913a48dbd5d4b95148dcdb7ebced7ac5f2d853e33c1a9214467375b72b3fbee0bc0354f97f96f6891 WHIRLPOOL 15bb001460aa34c03c1ebde665f0c17d50c491d9ee6ffba4d5462cd67ca3699ee4b0443ec2bbe730e736aa8d3cd9987a893d5c9a54ad11bcb9e18cba41eca83a @@ -5,8 +8,17 @@ AUX thin.initd 1591 SHA256 09f7be62b2231a9461b3aafcfddb95fe9ffadbfba1bb5b3044f27 AUX thin.initd-1 1792 SHA256 38f5faf3b383908535d5adfd1c525d655953351bbd9835850cb8883f3c50a192 SHA512 c29b78babb82069deffe8b03eef9ae20be93fda29acfbd429148647feea7a95ab53cc584731f398b41e142e74c2cf033f7a6fc61fd8fbf03f14f76e61cb8ae8f WHIRLPOOL 85c9f180a2744de1d3df6d1cfe253a26e3f204f4f3c5c1f51260d7fb22c7135f9d3fbe34b9ca1164f40a01b52396fc6478f808ce751d2cadb0685f00faedf97a AUX thin.initd-2 1766 SHA256 a507177c7cec2e5105613e8bdd164475b31e3c8422978d87af8ccc9915ee8466 SHA512 5a420bc20d1c9ac10ed7a6f533791720cf40dd776b613f729d48d869629b2d177ea7f7a5eaed0d0f006b50295ffb2b6da59926362711e97cbe43aafcfe277a02 WHIRLPOOL 3ccffe5c2ee24b34891fe29582ebc75c17d6e109af8ef1ba6c84a593e59719491f232840bbb909179fd2986ec28a7e5fe2c7d53fb2de00a48d60ccf16bfdc55c DIST thin-1.5.1.tar.gz 176614 SHA256 523eb77709cc3427279df658f566a1c4eeaf85825ba2747f599eabf1fcb83bb3 SHA512 f691569eab296f4bcc11599da8c5a0715ce3b681dd616b09a9e245e67953e4f34e7a0a9a66d85b6cdef27ce3e9d569b09f21039802ccfeaf8d02c649b39356d8 WHIRLPOOL ee832d8a3ff3c1bbbc9d3dab414a1f6798445480e24df92afe39d0fdc14a27034e3dc1c3c12c7101866fdeb1f1b8f80b86c825e2a919593af495e059e7b85f57 +DIST thin-1.6.2.tar.gz 179335 SHA256 8ae29b80a9c0fd07503ca687381d5b7a9afd59f1fd4ca0584e434ed18f45c28e SHA512 0f8e2ae0c622f53f76c4f940c16c0e5e43040e528eb76a95deab3a93bc7d10de5c8521e0d2ee66cd39f71377dd587fc0bb2a97158d1b0ffee1d06b0bd89bbd9f WHIRLPOOL cc20d29ecc99677338c670a4bbb7a4dc30ad1497104f4e547157f7aca67220102f0990326b145187b4a83e206b95a9b6068d1a5c8ca4780db4af336db4331f2f EBUILD thin-1.5.1-r1.ebuild 2404 SHA256 149b7e93d4598f9a074b9095c1e0ab8d823c25d602bac8bf0930418b0c3945a8 SHA512 12f6e45c95784f0f71bb88ca209274fcdbcbefe3a59d0fb5fe29d6284b305ec99be52849875c10233b13c84faea8fa0af44894c16bb1284baba4b6755cc7fd07 WHIRLPOOL 77aea09ad923060b393f9803aae6af725afd7307bab2afae1469baa8309e07ded78980efdcbc8fe16836a8d2e2cb78e8d8237690f60b651abfb207c3ad51801a EBUILD thin-1.5.1-r2.ebuild 2408 SHA256 348eb94965cb6d1442b15e33f8a5e9e39d00f630b1ceb28d8547ef20f4a2b1f7 SHA512 b6c1420778fefa0149b4359914474ab30db3362819014984ebfff7db3c4069a881ec9fa83d6e44ca0e37e66ccf7767efdcab5f9d08c2e959aa9c5c86ba815fda WHIRLPOOL f69983b7b40d46e5744a73627c8a26da0869a4e15180df36f7f40220ac2870e31e3d11c005652dd1063e6c38e9b07442854b33cb5ea731bfeb252354367b612b EBUILD thin-1.5.1-r3.ebuild 2408 SHA256 2c1e57cb0994d63f3dc143f30d646851d0042ca6db765188afa5fb9877d002dd SHA512 e4465db3c3d14bb3b5ab11743da3bf982f78f1cb842a237ac2fb006e4afebc1ebc9c27db2a16ab6e32e5243deb0699d727a81070d28b8d59dc6fa18ad7e35e58 WHIRLPOOL 62839591284885d6de58f9740bbbff1bb3abbd65da6e4b3b883b91fcff6fcd7308fc5811318bbbaa8ad731500caa8eb65bbdfe95cc8fc3a69802e359f68fce97 -MISC ChangeLog 4314 SHA256 5d4daa4eb19a2d89791e36ea37c51ea5811b344ff01e8f9d88ec22074c3b8f08 SHA512 a5dfdf7c923d3e8af26fd801c4a0b57588118d9b2f1d03d4954e8423dd6684eb68b0a9bda99ad9902c21e417bbc83c02e39adc95e781d7ba5bfbda7517e6e552 WHIRLPOOL 3eae7721c0a66f30ad079e326f75c2564ff6067347b5071e22e0086f343442bd1d275fcae88ab6367ba4bb9b216e605bfd87e8c0240d23d200b4788caa5ba5df +EBUILD thin-1.6.2.ebuild 2447 SHA256 b65846e4a72c3ac0ded13a177f6d628348cdb22296faa0304b721fd90078a644 SHA512 341484463c4dfb55556e90444b89dd7f18a6a60930cb61d2ae932b9dee348be272878af106f74f586ced884876ef37b9ef0383ad61cad14aab93f2e6b2b0e65d WHIRLPOOL 3f2d3ddf6cca8f4b77ab90b80663a93afd037577e1d964c704d9359c0835342324bc02ab8c643ee6ce74fea1622a113765ae24b233eebf04670d61cf81a8aab9 +MISC ChangeLog 4427 SHA256 a6313be0447df583fb9418498573ff07063ee84280ab8e4741f41a5f0756e359 SHA512 9dc86745cea89375ea60d14bc3439841a2783cce9a24241810bcb52218b978edb23e9df9f356f486e15c2f3e0dd63ab8cfb6da1c8b1ea08c6e75cad842de602c WHIRLPOOL 54c1471d24e866e50ffc0c5af9423076ff13f400224523a0f147f063441caa0f84262b999daa4e2ae101e6615615a504086004193df988da635a0a63caa796a4 MISC metadata.xml 485 SHA256 d5a8e7b9abedd72e3437697cfcb37a206c72d633fa3ecd99d0f338ed87d2532d SHA512 e3867d5631b3cfc7dae8feed1d7ef5c8940069bfdf9c0c5d3e290ecddae567d5ef78889f7cdee0c6deffd53e43aaaa8b52dcb248f56e83c6da02babc87d8fd7a WHIRLPOOL 014077ced626f20092de567e74ed9a9b3df1245ae6f91fb8787295de2ede49031fc99346227935d529f05fe4a7cdec6e3a5e8151459272f33556c1c52ec91bfc +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iF4EAREIAAYFAlO7goQACgkQiIP6VqMIqNd1OAD/bAlhIRA+LPtSKH8vLWaLuSPR +1ZgNSFvzPIA7ETaEBHcA+wcKPVenlXRFh8FXmJexGOpv15nKPlPb72N14NmTdorS +=EiUp +-----END PGP SIGNATURE----- diff --git a/www-servers/thin/thin-1.6.2.ebuild b/www-servers/thin/thin-1.6.2.ebuild new file mode 100644 index 000000000000..4cc42da83980 --- /dev/null +++ b/www-servers/thin/thin-1.6.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/thin-1.6.2.ebuild,v 1.1 2014/07/08 05:32:51 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19" + +RUBY_FAKEGEM_TASK_TEST="spec:main spec:group:0 spec:group:1 spec:group:2" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast and very simple Ruby web server" +HOMEPAGE="http://code.macournoyer.com/thin/" +SRC_URI="https://github.com/macournoyer/thin/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="${DEPEND} + dev-util/ragel" +RDEPEND="${RDEPEND}" + +# The runtime dependencies are used at build-time as well since the +# Rakefile loads thin! +mydeps=">=dev-ruby/daemons-1.0.9 + >=dev-ruby/rack-1.0.0 + >=dev-ruby/eventmachine-1.0.0 + virtual/ruby-ssl" + +ruby_add_rdepend "${mydeps}" +ruby_add_bdepend "${mydeps} + dev-ruby/rake-compiler + test? ( dev-ruby/rspec:0 )" + +all_ruby_prepare() { + # Fix Ragel-based parser generation (uses a *very* old syntax that + # is not supported in Gentoo) + sed -i -e 's: | rlgen-cd::' Rakefile || die + + # Fix specs' dependencies so that the extension is not rebuilt + # when running tests + sed -i -e '/:spec =>/s:^:#:' tasks/spec.rake || die + + # Fix rspec version to allow newer 1.x versions + sed -i -e '/gem "rspec"/ s/1.2.9/1.0/' tasks/spec.rake spec/spec_helper.rb || die + + # Avoid CLEAN since it may not be available and we don't need it. + sed -i -e '/CLEAN/ s:^:#:' tasks/*.rake || die + + # Disable a test that is known for freezing the testsuite, + # reported upstream. In thin 1.5.1 this just fails. + sed -i \ + -e '/should force kill process in pid file/,/^ end/ s:^:#:' \ + spec/daemonizing_spec.rb || die + + # nasty but too complex to fix up for now :( + use test || rm tasks/spec.rake +} + +each_ruby_compile() { + ${RUBY} -S rake compile || die "rake compile failed" +} + +all_ruby_install() { + all_fakegem_install + + keepdir /etc/thin + newinitd "${FILESDIR}"/${PN}.initd-2 ${PN} + newconfd "${FILESDIR}"/${PN}.confd-2 ${PN} + + einfo + elog "Thin is now shipped with init scripts." + elog "The default script (/etc/init.d/thin) will start all servers that have" + elog "configuration files in /etc/thin/. You can symlink the init script to" + elog "files of the format 'thin.SERVER' to be able to start individual servers." + elog "See /etc/conf.d/thin for more configuration options." + einfo +} -- cgit v1.2.3-65-gdbad