Remove ap-ruby package which is not maintained for long time and depends
on ruby18.
This commit is contained in:
parent
977a832d26
commit
6b6efcf8ac
8 changed files with 0 additions and 215 deletions
|
@ -1,3 +0,0 @@
|
|||
mod_ruby embeds the Ruby interpreter into the Apache web server,
|
||||
allowing Ruby CGI scripts to be executed natively. These scripts will
|
||||
start up much faster than without mod_ruby.
|
|
@ -1,20 +0,0 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE,v 1.7 2014/06/10 15:06:56 joerg Exp $
|
||||
|
||||
In order to use this module in your Apache installation, you need to
|
||||
add the following to your httpd.conf file:
|
||||
|
||||
LoadModule ruby_module lib/httpd/mod_ruby.so
|
||||
|
||||
You may also need to create a htpasswd file, if you introduce basic
|
||||
authentication.
|
||||
|
||||
Note for apache2 (and later):
|
||||
|
||||
* Some methods are not implemented because of different API.
|
||||
|
||||
For more information, see
|
||||
|
||||
${PREFIX}/${RUBY_DOC}/mod_ruby
|
||||
|
||||
===========================================================================
|
|
@ -1,66 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.42 2016/09/08 15:19:19 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mod_ruby-${VERSION}
|
||||
PKGNAME= ${APACHE_PKG_PREFIX}-${RUBY_PKGPREFIX}-${VERSION}
|
||||
CATEGORIES= www ruby
|
||||
MASTER_SITES= # http://www.modruby.net/archive/
|
||||
|
||||
MAINTAINER= taca@NetBSD.org
|
||||
HOMEPAGE= # http://www.modruby.net/
|
||||
COMMENT= Apache module that embeds Ruby interpreter within
|
||||
|
||||
# textproc/ruby-eruby is restricted to 1.8
|
||||
RUBY_VERSIONS_ACCEPTED= 18
|
||||
|
||||
APACHE_MODULE= yes
|
||||
PKG_APACHE_ACCEPTED= apache22
|
||||
USE_APR= yes
|
||||
VERSION= 1.3.0
|
||||
HAS_CONFIGURE= yes
|
||||
INSTALL_TARGET= site-install
|
||||
INSTALLATION_DIRS= ${RUBY_DOC}/mod_ruby/html ${RUBY_EG}/mod_ruby
|
||||
CONFIG_SHELL= ${RUBY}
|
||||
CONFIGURE_SCRIPT= configure.rb
|
||||
CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
|
||||
MESSAGE_SUBST+= RUBY_DOC=${RUBY_DOC}
|
||||
DOCS= ChangeLog NOTICE README.en README.ja
|
||||
REPLACE_RUBY+= configure.rb install-rb
|
||||
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
PKG_SYSCONFVAR= apache
|
||||
PKG_SYSCONFSUBDIR?= httpd
|
||||
CONF_FILES+= ${PREFIX}/${RUBY_EG}/mod_ruby/mod_ruby.conf \
|
||||
${PKG_SYSCONFDIR}/mod_ruby.conf
|
||||
|
||||
SUBST_CLASSES+= rd2
|
||||
SUBST_STAGE.rd2= pre-configure
|
||||
SUBST_FILES.rd2= doc/Makefile.in
|
||||
SUBST_SED.rd2= -e 's|@RUBY_RD@|${RUBY_RD}|g'
|
||||
SUBST_MESSAGE.rd2= Fixing rd2.
|
||||
|
||||
SUBST_CLASSES+= path
|
||||
SUBST_STAGE.path= post-build
|
||||
SUBST_FILES.path= examples/httpd.conf
|
||||
SUBST_SED.path= -e 's|/usr/local/apache/libexec|${PREFIX}/lib/httpd|g'
|
||||
SUBST_MESSAGE.path= Fixing configuration files.
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/doc; ${MAKE}
|
||||
|
||||
post-install:
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/mod_ruby
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.rd ${DESTDIR}${PREFIX}/${RUBY_DOC}/mod_ruby
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DESTDIR}${PREFIX}/${RUBY_DOC}/mod_ruby/html
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${PREFIX}/${RUBY_DOC}/mod_ruby/html
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf ${DESTDIR}${PREFIX}/${RUBY_EG}/mod_ruby/mod_ruby.conf
|
||||
|
||||
.include "../../lang/ruby/modules.mk"
|
||||
.include "../../textproc/ruby-eruby/buildlink3.mk"
|
||||
.include "../../textproc/ruby-rdtool/rdtool.mk"
|
||||
.include "../../mk/apache.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -1,39 +0,0 @@
|
|||
@comment $NetBSD: PLIST,v 1.10 2009/06/14 22:00:16 joerg Exp $
|
||||
lib/httpd/mod_ruby.so
|
||||
${RUBY_VENDORLIB}/apache/erb-run.rb
|
||||
${RUBY_VENDORLIB}/apache/eruby-debug.rb
|
||||
${RUBY_VENDORLIB}/apache/eruby-run.rb
|
||||
${RUBY_VENDORLIB}/apache/rd2html.rb
|
||||
${RUBY_VENDORLIB}/apache/query.rb
|
||||
${RUBY_VENDORLIB}/apache/registry.rb
|
||||
${RUBY_VENDORLIB}/apache/rails-dispatcher.rb
|
||||
${RUBY_VENDORLIB}/apache/ruby-debug.rb
|
||||
${RUBY_VENDORLIB}/apache/ruby-profile.rb
|
||||
${RUBY_VENDORLIB}/apache/ruby-run.rb
|
||||
${RUBY_VENDORLIB}/auto-reload.rb
|
||||
${RUBY_DOC}/mod_ruby/ChangeLog
|
||||
${RUBY_DOC}/mod_ruby/NOTICE
|
||||
${RUBY_DOC}/mod_ruby/README.en
|
||||
${RUBY_DOC}/mod_ruby/README.ja
|
||||
${RUBY_DOC}/mod_ruby/classes.en.rd
|
||||
${RUBY_DOC}/mod_ruby/classes.ja.euc.rd
|
||||
${RUBY_DOC}/mod_ruby/directives.en.rd
|
||||
${RUBY_DOC}/mod_ruby/directives.ja.euc.rd
|
||||
${RUBY_DOC}/mod_ruby/faq.en.rd
|
||||
${RUBY_DOC}/mod_ruby/faq.ja.euc.rd
|
||||
${RUBY_DOC}/mod_ruby/html/classes.en.html
|
||||
${RUBY_DOC}/mod_ruby/html/classes.ja.jis.html
|
||||
${RUBY_DOC}/mod_ruby/html/default.css
|
||||
${RUBY_DOC}/mod_ruby/html/directives.en.html
|
||||
${RUBY_DOC}/mod_ruby/html/directives.ja.jis.html
|
||||
${RUBY_DOC}/mod_ruby/html/faq.en.html
|
||||
${RUBY_DOC}/mod_ruby/html/faq.ja.jis.html
|
||||
${RUBY_DOC}/mod_ruby/html/index.en.html
|
||||
${RUBY_DOC}/mod_ruby/html/index.ja.jis.html
|
||||
${RUBY_DOC}/mod_ruby/html/install.en.html
|
||||
${RUBY_DOC}/mod_ruby/html/install.ja.jis.html
|
||||
${RUBY_DOC}/mod_ruby/index.en.rd
|
||||
${RUBY_DOC}/mod_ruby/index.ja.euc.rd
|
||||
${RUBY_DOC}/mod_ruby/install.en.rd
|
||||
${RUBY_DOC}/mod_ruby/install.ja.euc.rd
|
||||
${RUBY_EG}/mod_ruby/mod_ruby.conf
|
|
@ -1,9 +0,0 @@
|
|||
$NetBSD: distinfo,v 1.13 2015/11/04 02:46:47 agc Exp $
|
||||
|
||||
SHA1 (mod_ruby-1.3.0.tar.gz) = 967c4efa1ec3f8b0d9870db8665295ba6e019fff
|
||||
RMD160 (mod_ruby-1.3.0.tar.gz) = a87f2a54a0b501e27efffdaab88b5ad4e6abd413
|
||||
SHA512 (mod_ruby-1.3.0.tar.gz) = 439c0c84c6f7caebb43ddf21c25843fd74858bcea907946cbe6ff3577cc804cfbb1b149b6f0dc323a5a62c57d969e4210e919ebf97738ee1b306cbfbea756220
|
||||
Size (mod_ruby-1.3.0.tar.gz) = 114246 bytes
|
||||
SHA1 (patch-aa) = a00f6d5baf7c470e7143aa5ba8b6955516787f27
|
||||
SHA1 (patch-ac) = c88ef1288325717750f76e2234c631bd3d8126c5
|
||||
SHA1 (patch-doc_Makefile.in) = 340cb64c1c194bd7679ecba0c5eb265f7fa1904d
|
|
@ -1,42 +0,0 @@
|
|||
$NetBSD: patch-aa,v 1.2 2010/09/10 10:50:27 taca Exp $
|
||||
|
||||
* Use vendor directory.
|
||||
* $XLDFLAGS might be nil, so care for it.
|
||||
|
||||
--- configure.rb.orig 2008-11-08 04:15:36.000000000 +0000
|
||||
+++ configure.rb
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env ruby
|
||||
+#!/usr/pkg/bin/ruby
|
||||
|
||||
# Generated automatically using autoconf.rb version 0.2.4
|
||||
|
||||
@@ -222,6 +222,7 @@ $bindir = CONFIG["bindir"].sub(prefix, "
|
||||
$datadir = CONFIG["datadir"].sub(prefix, "$(prefix)").sub(drive, '')
|
||||
$libdir = CONFIG["libdir"].sub(prefix, "$(exec_prefix)").sub(drive, '')
|
||||
$archdir = $archdir.sub(prefix, "$(prefix)").sub(drive, '')
|
||||
+$sitedir = $vendordir
|
||||
$sitelibdir = $sitelibdir.sub(prefix, "$(prefix)").sub(drive, '')
|
||||
$sitearchdir = $sitearchdir.sub(prefix, "$(prefix)").sub(drive, '')
|
||||
$includedir = CONFIG["includedir"].sub(prefix, "$(prefix)").sub(drive, '')
|
||||
@@ -329,11 +330,15 @@ if $LDFLAGS.to_s.empty? && /mswin32/ =~
|
||||
end
|
||||
$LIBS = CONFIG["LIBS"]
|
||||
$XLDFLAGS = CONFIG["XLDFLAGS"].to_s
|
||||
-$XLDFLAGS.gsub!(/-L\./, "")
|
||||
-if /mswin32/ !~ RUBY_PLATFORM
|
||||
- $XLDFLAGS += " -L$(libdir)"
|
||||
-elsif RUBY_VERSION >= "1.8"
|
||||
- $XLDFLAGS += " #{CONFIG['LIBPATHFLAG'] % '$(libdir)'}"
|
||||
+if $XLDFLAGS.nil?
|
||||
+ $XLDFLAGS = ''
|
||||
+else
|
||||
+ $XLDFLAGS.gsub!(/-L\./, "")
|
||||
+ if /mswin32/ !~ RUBY_PLATFORM
|
||||
+ $XLDFLAGS += " -L$(libdir)"
|
||||
+ elsif RUBY_VERSION >= "1.8"
|
||||
+ $XLDFLAGS += " #{CONFIG['LIBPATHFLAG'] % '$(libdir)'}"
|
||||
+ end
|
||||
end
|
||||
$DLDFLAGS = CONFIG["DLDFLAGS"]
|
||||
$LDSHARED = CONFIG["LDSHARED"]
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ac,v 1.2 2010/09/10 10:50:27 taca Exp $
|
||||
|
||||
cast before pass to tolower().
|
||||
|
||||
--- apache_request.c.orig 2004-09-24 03:43:18.000000000 +0900
|
||||
+++ apache_request.c
|
||||
@@ -230,7 +230,7 @@ static unsigned int utf8_convert(char *s
|
||||
x = x * 16 + str[i] - '0';
|
||||
}
|
||||
else {
|
||||
- str[i] = tolower( str[i] );
|
||||
+ str[i] = tolower((unsigned int)str[i] );
|
||||
x = x * 16 + str[i] - 'a' + 10;
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
$NetBSD: patch-doc_Makefile.in,v 1.1 2015/06/14 00:40:30 taca Exp $
|
||||
|
||||
Do not hard cord rd2.
|
||||
|
||||
--- doc/Makefile.in.orig 2004-07-01 03:49:24.000000000 +0000
|
||||
+++ doc/Makefile.in
|
||||
@@ -15,12 +15,12 @@ HTMLS = $(EN_HTMLS) $(JA_HTMLS)
|
||||
.SUFFIXES: .en.rd .ja.euc.rd .en.html .ja.jis.html
|
||||
|
||||
.en.rd.en.html:
|
||||
- $(RUBY) -Kn -S rd2 -r rd/rd2html-lib \
|
||||
+ $(RUBY) -Kn @RUBY_RD@ -r rd/rd2html-lib \
|
||||
--with-css=default.css \
|
||||
$< > $@
|
||||
|
||||
.ja.euc.rd.ja.jis.html:
|
||||
- $(RUBY) -Ke -S rd2 -r rd/rd2html-lib \
|
||||
+ $(RUBY) -Ke @RUBY_RD@ -r rd/rd2html-lib \
|
||||
--with-css=default.css --out-code=jis \
|
||||
$< > $@
|
||||
|
Loading…
Reference in a new issue