diff options
author | taca <taca@pkgsrc.org> | 2012-09-16 06:18:08 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-09-16 06:18:08 +0000 |
commit | a72cea4eaa6361cbcffe7dd4a1cfd431d51c04ee (patch) | |
tree | 29f1798d2808b640f3d2c20807265104dcecdb25 /devel | |
parent | 2ee054b22f3c9cb86b6b0912b9cfafb21d9f63b0 (diff) | |
download | pkgsrc-a72cea4eaa6361cbcffe7dd4a1cfd431d51c04ee.tar.gz |
Update ruby-eventmachine to 1.0.0.
Changes are unavailable.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-eventmachine/Makefile | 5 | ||||
-rw-r--r-- | devel/ruby-eventmachine/PLIST | 113 | ||||
-rw-r--r-- | devel/ruby-eventmachine/distinfo | 9 | ||||
-rw-r--r-- | devel/ruby-eventmachine/patches/patch-aa | 52 |
4 files changed, 64 insertions, 115 deletions
diff --git a/devel/ruby-eventmachine/Makefile b/devel/ruby-eventmachine/Makefile index 651173817ec..86a24a8bcbf 100644 --- a/devel/ruby-eventmachine/Makefile +++ b/devel/ruby-eventmachine/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2011/02/21 16:01:13 taca Exp $ +# $NetBSD: Makefile,v 1.8 2012/09/16 06:18:08 taca Exp $ -DISTNAME= eventmachine-0.12.10 -PKGREVISION= 3 +DISTNAME= eventmachine-1.0.0 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/devel/ruby-eventmachine/PLIST b/devel/ruby-eventmachine/PLIST index 3f717d7e702..22be28c9644 100644 --- a/devel/ruby-eventmachine/PLIST +++ b/devel/ruby-eventmachine/PLIST @@ -1,55 +1,59 @@ -@comment $NetBSD: PLIST,v 1.4 2009/12/04 15:57:47 fhajny Exp $ -${GEM_HOME}/cache/eventmachine-${PKGVERSION}.gem +@comment $NetBSD: PLIST,v 1.5 2012/09/16 06:18:08 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.gitignore -${GEM_LIBDIR}/README +${GEM_LIBDIR}/.yardopts +${GEM_LIBDIR}/GNU +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.md ${GEM_LIBDIR}/Rakefile -${GEM_LIBDIR}/docs/COPYING -${GEM_LIBDIR}/docs/ChangeLog -${GEM_LIBDIR}/docs/DEFERRABLES -${GEM_LIBDIR}/docs/EPOLL -${GEM_LIBDIR}/docs/GNU -${GEM_LIBDIR}/docs/INSTALL -${GEM_LIBDIR}/docs/KEYBOARD -${GEM_LIBDIR}/docs/LEGAL -${GEM_LIBDIR}/docs/LIGHTWEIGHT_CONCURRENCY -${GEM_LIBDIR}/docs/PURE_RUBY -${GEM_LIBDIR}/docs/RELEASE_NOTES -${GEM_LIBDIR}/docs/SMTP -${GEM_LIBDIR}/docs/SPAWNED_PROCESSES -${GEM_LIBDIR}/docs/TODO +${GEM_LIBDIR}/docs/DocumentationGuidesIndex.md +${GEM_LIBDIR}/docs/GettingStarted.md +${GEM_LIBDIR}/docs/old/ChangeLog +${GEM_LIBDIR}/docs/old/DEFERRABLES +${GEM_LIBDIR}/docs/old/EPOLL +${GEM_LIBDIR}/docs/old/INSTALL +${GEM_LIBDIR}/docs/old/KEYBOARD +${GEM_LIBDIR}/docs/old/LEGAL +${GEM_LIBDIR}/docs/old/LIGHTWEIGHT_CONCURRENCY +${GEM_LIBDIR}/docs/old/PURE_RUBY +${GEM_LIBDIR}/docs/old/RELEASE_NOTES +${GEM_LIBDIR}/docs/old/SMTP +${GEM_LIBDIR}/docs/old/SPAWNED_PROCESSES +${GEM_LIBDIR}/docs/old/TODO ${GEM_LIBDIR}/eventmachine.gemspec -${GEM_LIBDIR}/examples/ex_channel.rb -${GEM_LIBDIR}/examples/ex_queue.rb -${GEM_LIBDIR}/examples/helper.rb +${GEM_LIBDIR}/examples/guides/getting_started/01_eventmachine_echo_server.rb +${GEM_LIBDIR}/examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb +${GEM_LIBDIR}/examples/guides/getting_started/03_simple_chat_server.rb +${GEM_LIBDIR}/examples/guides/getting_started/04_simple_chat_server_step_one.rb +${GEM_LIBDIR}/examples/guides/getting_started/05_simple_chat_server_step_two.rb +${GEM_LIBDIR}/examples/guides/getting_started/06_simple_chat_server_step_three.rb +${GEM_LIBDIR}/examples/guides/getting_started/07_simple_chat_server_step_four.rb +${GEM_LIBDIR}/examples/guides/getting_started/08_simple_chat_server_step_five.rb +${GEM_LIBDIR}/examples/old/ex_channel.rb +${GEM_LIBDIR}/examples/old/ex_queue.rb +${GEM_LIBDIR}/examples/old/ex_tick_loop_array.rb +${GEM_LIBDIR}/examples/old/ex_tick_loop_counter.rb +${GEM_LIBDIR}/examples/old/helper.rb ${GEM_LIBDIR}/ext/binder.cpp ${GEM_LIBDIR}/ext/binder.h ${GEM_LIBDIR}/ext/cmain.cpp -${GEM_LIBDIR}/ext/cplusplus.cpp ${GEM_LIBDIR}/ext/ed.cpp ${GEM_LIBDIR}/ext/ed.h ${GEM_LIBDIR}/ext/em.cpp ${GEM_LIBDIR}/ext/em.h -${GEM_LIBDIR}/ext/emwin.cpp -${GEM_LIBDIR}/ext/emwin.h -${GEM_LIBDIR}/ext/epoll.cpp -${GEM_LIBDIR}/ext/epoll.h ${GEM_LIBDIR}/ext/eventmachine.h -${GEM_LIBDIR}/ext/eventmachine_cpp.h ${GEM_LIBDIR}/ext/extconf.rb ${GEM_LIBDIR}/ext/fastfilereader/extconf.rb ${GEM_LIBDIR}/ext/fastfilereader/mapper.cpp ${GEM_LIBDIR}/ext/fastfilereader/mapper.h ${GEM_LIBDIR}/ext/fastfilereader/rubymain.cpp -${GEM_LIBDIR}/ext/files.cpp -${GEM_LIBDIR}/ext/files.h ${GEM_LIBDIR}/ext/kb.cpp ${GEM_LIBDIR}/ext/page.cpp ${GEM_LIBDIR}/ext/page.h ${GEM_LIBDIR}/ext/pipe.cpp ${GEM_LIBDIR}/ext/project.h ${GEM_LIBDIR}/ext/rubymain.cpp -${GEM_LIBDIR}/ext/sigs.cpp -${GEM_LIBDIR}/ext/sigs.h ${GEM_LIBDIR}/ext/ssl.cpp ${GEM_LIBDIR}/ext/ssl.h ${GEM_LIBDIR}/java/.classpath @@ -59,26 +63,18 @@ ${GEM_LIBDIR}/java/src/com/rubyeventmachine/EmReactorException.java ${GEM_LIBDIR}/java/src/com/rubyeventmachine/EventableChannel.java ${GEM_LIBDIR}/java/src/com/rubyeventmachine/EventableDatagramChannel.java ${GEM_LIBDIR}/java/src/com/rubyeventmachine/EventableSocketChannel.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/application/Application.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/application/Connection.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/application/ConnectionFactory.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/application/DefaultConnectionFactory.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/application/PeriodicTimer.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/application/Timer.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/tests/ApplicationTest.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/tests/ConnectTest.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/tests/EMTest.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/tests/TestDatagrams.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/tests/TestServers.java -${GEM_LIBDIR}/java/src/com/rubyeventmachine/tests/TestTimers.java ${GEM_LIBDIR}/lib/em/buftok.rb ${GEM_LIBDIR}/lib/em/callback.rb ${GEM_LIBDIR}/lib/em/channel.rb +${GEM_LIBDIR}/lib/em/completion.rb ${GEM_LIBDIR}/lib/em/connection.rb ${GEM_LIBDIR}/lib/em/deferrable.rb +${GEM_LIBDIR}/lib/em/deferrable/pool.rb ${GEM_LIBDIR}/lib/em/file_watch.rb ${GEM_LIBDIR}/lib/em/future.rb +${GEM_LIBDIR}/lib/em/iterator.rb ${GEM_LIBDIR}/lib/em/messages.rb +${GEM_LIBDIR}/lib/em/pool.rb ${GEM_LIBDIR}/lib/em/process_watch.rb ${GEM_LIBDIR}/lib/em/processes.rb ${GEM_LIBDIR}/lib/em/protocols.rb @@ -86,6 +82,7 @@ ${GEM_LIBDIR}/lib/em/protocols/header_and_content.rb ${GEM_LIBDIR}/lib/em/protocols/httpclient.rb ${GEM_LIBDIR}/lib/em/protocols/httpclient2.rb ${GEM_LIBDIR}/lib/em/protocols/line_and_text.rb +${GEM_LIBDIR}/lib/em/protocols/line_protocol.rb ${GEM_LIBDIR}/lib/em/protocols/linetext2.rb ${GEM_LIBDIR}/lib/em/protocols/memcache.rb ${GEM_LIBDIR}/lib/em/protocols/object_protocol.rb @@ -96,34 +93,34 @@ ${GEM_LIBDIR}/lib/em/protocols/smtpserver.rb ${GEM_LIBDIR}/lib/em/protocols/socks4.rb ${GEM_LIBDIR}/lib/em/protocols/stomp.rb ${GEM_LIBDIR}/lib/em/protocols/tcptest.rb +${GEM_LIBDIR}/lib/em/pure_ruby.rb ${GEM_LIBDIR}/lib/em/queue.rb +${GEM_LIBDIR}/lib/em/resolver.rb ${GEM_LIBDIR}/lib/em/spawnable.rb ${GEM_LIBDIR}/lib/em/streamer.rb +${GEM_LIBDIR}/lib/em/threaded_resource.rb +${GEM_LIBDIR}/lib/em/tick_loop.rb ${GEM_LIBDIR}/lib/em/timers.rb ${GEM_LIBDIR}/lib/em/version.rb ${GEM_LIBDIR}/lib/eventmachine.rb -${GEM_LIBDIR}/lib/evma.rb -${GEM_LIBDIR}/lib/evma/callback.rb -${GEM_LIBDIR}/lib/evma/container.rb -${GEM_LIBDIR}/lib/evma/factory.rb -${GEM_LIBDIR}/lib/evma/protocol.rb -${GEM_LIBDIR}/lib/evma/reactor.rb ${GEM_LIBDIR}/lib/fastfilereaderext.${RUBY_DLEXT} ${GEM_LIBDIR}/lib/jeventmachine.rb -${GEM_LIBDIR}/lib/pr_eventmachine.rb ${GEM_LIBDIR}/lib/rubyeventmachine.${RUBY_DLEXT} -${GEM_LIBDIR}/setup.rb -${GEM_LIBDIR}/tasks/cpp.rake_example +${GEM_LIBDIR}/rakelib/cpp.rake_example +${GEM_LIBDIR}/rakelib/package.rake +${GEM_LIBDIR}/rakelib/test.rake ${GEM_LIBDIR}/tests/client.crt ${GEM_LIBDIR}/tests/client.key +${GEM_LIBDIR}/tests/em_test_helper.rb ${GEM_LIBDIR}/tests/test_attach.rb ${GEM_LIBDIR}/tests/test_basic.rb ${GEM_LIBDIR}/tests/test_channel.rb +${GEM_LIBDIR}/tests/test_completion.rb ${GEM_LIBDIR}/tests/test_connection_count.rb ${GEM_LIBDIR}/tests/test_defer.rb +${GEM_LIBDIR}/tests/test_deferrable.rb ${GEM_LIBDIR}/tests/test_epoll.rb ${GEM_LIBDIR}/tests/test_error_handler.rb -${GEM_LIBDIR}/tests/test_errors.rb ${GEM_LIBDIR}/tests/test_exc.rb ${GEM_LIBDIR}/tests/test_file_watch.rb ${GEM_LIBDIR}/tests/test_futures.rb @@ -132,6 +129,7 @@ ${GEM_LIBDIR}/tests/test_handler_check.rb ${GEM_LIBDIR}/tests/test_hc.rb ${GEM_LIBDIR}/tests/test_httpclient.rb ${GEM_LIBDIR}/tests/test_httpclient2.rb +${GEM_LIBDIR}/tests/test_idle_connection.rb ${GEM_LIBDIR}/tests/test_inactivity_timeout.rb ${GEM_LIBDIR}/tests/test_kb.rb ${GEM_LIBDIR}/tests/test_ltp.rb @@ -140,23 +138,28 @@ ${GEM_LIBDIR}/tests/test_next_tick.rb ${GEM_LIBDIR}/tests/test_object_protocol.rb ${GEM_LIBDIR}/tests/test_pause.rb ${GEM_LIBDIR}/tests/test_pending_connect_timeout.rb +${GEM_LIBDIR}/tests/test_pool.rb ${GEM_LIBDIR}/tests/test_process_watch.rb ${GEM_LIBDIR}/tests/test_processes.rb ${GEM_LIBDIR}/tests/test_proxy_connection.rb ${GEM_LIBDIR}/tests/test_pure.rb ${GEM_LIBDIR}/tests/test_queue.rb +${GEM_LIBDIR}/tests/test_resolver.rb ${GEM_LIBDIR}/tests/test_running.rb ${GEM_LIBDIR}/tests/test_sasl.rb ${GEM_LIBDIR}/tests/test_send_file.rb ${GEM_LIBDIR}/tests/test_servers.rb +${GEM_LIBDIR}/tests/test_set_sock_opt.rb +${GEM_LIBDIR}/tests/test_shutdown_hooks.rb ${GEM_LIBDIR}/tests/test_smtpclient.rb ${GEM_LIBDIR}/tests/test_smtpserver.rb ${GEM_LIBDIR}/tests/test_spawn.rb ${GEM_LIBDIR}/tests/test_ssl_args.rb ${GEM_LIBDIR}/tests/test_ssl_methods.rb ${GEM_LIBDIR}/tests/test_ssl_verify.rb +${GEM_LIBDIR}/tests/test_threaded_resource.rb +${GEM_LIBDIR}/tests/test_tick_loop.rb ${GEM_LIBDIR}/tests/test_timers.rb ${GEM_LIBDIR}/tests/test_ud.rb -${GEM_LIBDIR}/tests/testem.rb -${GEM_LIBDIR}/web/whatis -${GEM_HOME}/specifications/eventmachine-${PKGVERSION}.gemspec +${GEM_LIBDIR}/tests/test_unbind_reason.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-eventmachine/distinfo b/devel/ruby-eventmachine/distinfo index 93326df4e3e..ef86020ec02 100644 --- a/devel/ruby-eventmachine/distinfo +++ b/devel/ruby-eventmachine/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.5 2009/12/10 19:26:22 fhajny Exp $ +$NetBSD: distinfo,v 1.6 2012/09/16 06:18:08 taca Exp $ -SHA1 (eventmachine-0.12.10.gem) = d9b3ec65e3e94e461ed2d53c01a2b9ab62fe6a07 -RMD160 (eventmachine-0.12.10.gem) = 625b4917e84d55fec468a810e9ee0bb5273387f0 -Size (eventmachine-0.12.10.gem) = 220672 bytes -SHA1 (patch-aa) = 6debcc23193dca11b4312ca02b95f0659cdf0fcc +SHA1 (eventmachine-1.0.0.gem) = 032c91df3cca6927cb147d5be4dc4a42072453d0 +RMD160 (eventmachine-1.0.0.gem) = 250ed6c2d7368e372b57ff8d4b87a69d17e5d0ab +Size (eventmachine-1.0.0.gem) = 224256 bytes diff --git a/devel/ruby-eventmachine/patches/patch-aa b/devel/ruby-eventmachine/patches/patch-aa deleted file mode 100644 index a7af85cca14..00000000000 --- a/devel/ruby-eventmachine/patches/patch-aa +++ /dev/null @@ -1,52 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2009/12/10 19:26:22 fhajny Exp $ - ---- ext/em.cpp.orig 2009-12-10 21:13:48.000000000 +0100 -+++ ext/em.cpp -@@ -1347,7 +1347,11 @@ int EventMachine_t::DetachFD (EventableD - if (bKqueue) { - // remove any read/write events for this fd - struct kevent k; -+#ifdef __NetBSD__ -+ EV_SET (&k, ed->GetSocket(), EVFILT_READ | EVFILT_WRITE, EV_DELETE, 0, 0, (intptr_t)ed); -+#else - EV_SET (&k, ed->GetSocket(), EVFILT_READ | EVFILT_WRITE, EV_DELETE, 0, 0, ed); -+#endif - int t = kevent (kqfd, &k, 1, NULL, 0, NULL); - if (t < 0 && (errno != ENOENT) && (errno != EBADF)) { - char buf [200]; -@@ -1622,7 +1626,11 @@ void EventMachine_t::ArmKqueueWriter (Ev - if (!ed) - throw std::runtime_error ("added bad descriptor"); - struct kevent k; -+#ifdef __NetBSD__ -+ EV_SET (&k, ed->GetSocket(), EVFILT_WRITE, EV_ADD | EV_ONESHOT, 0, 0, (intptr_t)ed); -+#else - EV_SET (&k, ed->GetSocket(), EVFILT_WRITE, EV_ADD | EV_ONESHOT, 0, 0, ed); -+#endif - int t = kevent (kqfd, &k, 1, NULL, 0, NULL); - if (t < 0) { - char buf [200]; -@@ -1644,7 +1652,11 @@ void EventMachine_t::ArmKqueueReader (Ev - if (!ed) - throw std::runtime_error ("added bad descriptor"); - struct kevent k; -+#ifdef __NetBSD__ -+ EV_SET (&k, ed->GetSocket(), EVFILT_READ, EV_ADD, 0, 0, (intptr_t)ed); -+#else - EV_SET (&k, ed->GetSocket(), EVFILT_READ, EV_ADD, 0, 0, ed); -+#endif - int t = kevent (kqfd, &k, 1, NULL, 0, NULL); - if (t < 0) { - char buf [200]; -@@ -1695,7 +1707,11 @@ void EventMachine_t::_AddNewDescriptors( - // INCOMPLETE. Some descriptors don't want to be readable. - assert (kqfd != -1); - struct kevent k; -+#ifdef __NetBSD__ -+ EV_SET (&k, ed->GetSocket(), EVFILT_READ, EV_ADD, 0, 0, (intptr_t)ed); -+#else - EV_SET (&k, ed->GetSocket(), EVFILT_READ, EV_ADD, 0, 0, ed); -+#endif - int t = kevent (kqfd, &k, 1, NULL, 0, NULL); - assert (t == 0); - } |