Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d131a7f57446a8c1dd4cbcf22cad0f733304f569
commit d131a7f57446a8c1dd4cbcf22cad0f733304f569 Author: Miklos Vajna <[email protected]> Date: Tue Dec 16 16:27:27 2008 +0100 mod_ruby-1.3.0-1-i686 - version bump diff --git a/source/network-extra/mod_ruby/FrugalBuild b/source/network-extra/mod_ruby/FrugalBuild index c37ba91..b9e5bbe 100644 --- a/source/network-extra/mod_ruby/FrugalBuild +++ b/source/network-extra/mod_ruby/FrugalBuild @@ -2,7 +2,7 @@ # Maintainer: Bence Nagy <[email protected]> pkgname=mod_ruby -pkgver=1.2.6 +pkgver=1.3.0 pkgrel=1 pkgdesc="Embeds the Ruby interpreter into the Apache web server" url="http://www.modruby.net/en" @@ -11,11 +11,9 @@ groups=('network-extra') archs=('i686' 'x86_64') backup=('/etc/httpd/conf/mod_ruby.conf') up2date="lynx -dump \"http://www.modruby.net/archive/?C=M\" | grep \"mod_ruby-[0-9.]*.tar.gz\" | tail -n 1 | sed -e \"s/.*mod_ruby-\(.*\).tar.gz.*/\1/\"" -source=(http://www.modruby.net/archive/$pkgname-$pkgver.tar.gz mod_ruby.conf \ - $pkgname-1.2.4-apache22.diff) -sha1sums=('3934fdb206a78baf9deb592334ef4d05400ea133' \ - '9d13af32d406af5ac421168d5ec557224a9d3a8d' \ - '4f9513d803c7f97a2e3b3244b2ad3f9732e4dd88') +source=(http://www.modruby.net/archive/$pkgname-$pkgver.tar.gz mod_ruby.conf) +sha1sums=('967c4efa1ec3f8b0d9870db8665295ba6e019fff' \ + '9d13af32d406af5ac421168d5ec557224a9d3a8d') build() { Fbuild --with-apr-includes=/usr/include/apr diff --git a/source/network-extra/mod_ruby/mod_ruby-1.2.4-apache22.diff b/source/network-extra/mod_ruby/mod_ruby-1.2.4-apache22.diff deleted file mode 100644 index 62f3700..0000000 --- a/source/network-extra/mod_ruby/mod_ruby-1.2.4-apache22.diff +++ /dev/null @@ -1,97 +0,0 @@ -diff -Naur mod_ruby-1.2.4/apachelib.c mod_ruby-1.2.4.apache22/apachelib.c ---- mod_ruby-1.2.4/apachelib.c 2004-09-23 20:43:18.000000000 +0200 -+++ mod_ruby-1.2.4.apache22/apachelib.c 2006-01-07 21:20:13.000000000 +0100 -@@ -27,6 +27,7 @@ - * SUCH DAMAGE. - */ - -+#define _LARGEFILE64_SOURCE - #ifndef WIN32 - #include <unistd.h> - #endif -diff -Naur mod_ruby-1.2.4/apache_request.c mod_ruby-1.2.4.apache22/apache_request.c ---- mod_ruby-1.2.4/apache_request.c 2004-09-23 20:43:18.000000000 +0200 -+++ mod_ruby-1.2.4.apache22/apache_request.c 2006-01-07 21:20:51.000000000 +0100 -@@ -14,6 +14,7 @@ - */ - /* Modified by Shugo Maeda for mod_ruby. */ - -+#define _LARGEFILE64_SOURCE - #include <errno.h> - #include <string.h> - #include "mod_ruby.h" -diff -Naur mod_ruby-1.2.4/mod_ruby.c mod_ruby-1.2.4.apache22/mod_ruby.c ---- mod_ruby-1.2.4/mod_ruby.c 2004-09-27 07:02:36.000000000 +0200 -+++ mod_ruby-1.2.4.apache22/mod_ruby.c 2006-01-07 21:19:07.000000000 +0100 -@@ -27,6 +27,7 @@ - * SUCH DAMAGE. - */ - -+#define _LARGEFILE64_SOURCE - #include <stdarg.h> - #include <signal.h> - -diff -Naur mod_ruby-1.2.4.orig/mod_ruby.h mod_ruby-1.2.4/mod_ruby.h ---- mod_ruby-1.2.4.orig/mod_ruby.h 2004-09-27 07:11:32.000000000 +0200 -+++ mod_ruby-1.2.4/mod_ruby.h 2006-01-07 22:37:13.000000000 +0100 -@@ -30,6 +30,49 @@ - #ifndef MOD_RUBY_H - #define MOD_RUBY_H - -+#ifndef _LARGEFILE64_SOURCE -+#define _LARGEFILE64_SOURCE -+#endif -+ -+/* starting with apache 2.2 the backward-compatibility defines for -+ * 1.3 APIs are not available anymore. Define them ourselves here. -+ */ -+#ifndef ap_copy_table -+ -+#define ap_copy_table apr_table_copy -+#define ap_cpystrn apr_cpystrn -+#define ap_destroy_pool apr_pool_destroy -+#define ap_isspace apr_isspace -+#define ap_make_array apr_array_make -+#define ap_make_table apr_table_make -+#define ap_null_cleanup apr_pool_cleanup_null -+#define ap_palloc apr_palloc -+#define ap_pcalloc apr_pcalloc -+#define ap_psprintf apr_psprintf -+#define ap_pstrcat apr_pstrcat -+#define ap_pstrdup apr_pstrdup -+#define ap_pstrndup apr_pstrndup -+#define ap_push_array apr_array_push -+#define ap_register_cleanup apr_pool_cleanup_register -+#define ap_snprintf apr_snprintf -+#define ap_table_add apr_table_add -+#define ap_table_do apr_table_do -+#define ap_table_get apr_table_get -+#define ap_table_set apr_table_set -+#define ap_table_setn apr_table_setn -+#define ap_table_unset apr_table_unset -+#define ap_day_snames apr_day_snames -+#define ap_month_snames apr_month_snames -+#define ap_overlay_tables apr_table_overlay -+#define ap_append_arrays apr_array_append -+#define ap_clear_table apr_table_clear -+#define ap_isdigit apr_isdigit -+#define ap_isxdigit apr_isxdigit -+#define ap_table_elts apr_table_elts -+#define ap_table_merge apr_table_merge -+ -+#endif /* defined(ap_copy_table) */ -+ - #include "httpd.h" - #include "http_config.h" - #include "http_core.h" -diff -Naur mod_ruby-1.2.4/request.c mod_ruby-1.2.4.apache22/request.c ---- mod_ruby-1.2.4/request.c 2004-09-23 20:43:18.000000000 +0200 -+++ mod_ruby-1.2.4.apache22/request.c 2006-01-07 21:20:29.000000000 +0100 -@@ -27,6 +27,7 @@ - * SUCH DAMAGE. - */ - -+#define _LARGEFILE64_SOURCE - #include <sys/types.h> - #include <sys/stat.h> - _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
