diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-07 14:22:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-09 10:33:28 +0000 |
commit | daa557246aa881f9c1362c5fe1bcb9ad1a99510e (patch) | |
tree | 09fc15650f623f02250afe4d7596366aa0ebb1b0 /main/apache-mod-fcgid | |
parent | 02d45e88435f496227ab543ceae2d63b80becba5 (diff) | |
download | alpine_aports-daa557246aa881f9c1362c5fe1bcb9ad1a99510e.tar.bz2 alpine_aports-daa557246aa881f9c1362c5fe1bcb9ad1a99510e.tar.xz alpine_aports-daa557246aa881f9c1362c5fe1bcb9ad1a99510e.zip |
main/apache-mod-fcgid: moved from testing
Diffstat (limited to 'main/apache-mod-fcgid')
-rw-r--r-- | main/apache-mod-fcgid/APKBUILD | 34 | ||||
-rw-r--r-- | main/apache-mod-fcgid/mod_fcgid.conf | 9 |
2 files changed, 43 insertions, 0 deletions
diff --git a/main/apache-mod-fcgid/APKBUILD b/main/apache-mod-fcgid/APKBUILD new file mode 100644 index 0000000000..7f9c1d7c6e --- /dev/null +++ b/main/apache-mod-fcgid/APKBUILD | |||
@@ -0,0 +1,34 @@ | |||
1 | # Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> | ||
2 | # Maintainer: | ||
3 | pkgname=apache-mod-fcgid | ||
4 | pkgver=2.3.6 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="FastCGI module for Apache 2.2" | ||
7 | url="http://httpd.apache.org/mod_fcgid/" | ||
8 | arch="all" | ||
9 | license="Apache" | ||
10 | depends= | ||
11 | makedepends="apache2-dev" | ||
12 | install="" | ||
13 | subpackages="$pkgname-doc" | ||
14 | source="http://apache.cyberuse.com//httpd/mod_fcgid/mod_fcgid-$pkgver.tar.bz2 | ||
15 | mod_fcgid.conf | ||
16 | " | ||
17 | |||
18 | _builddir="$srcdir/mod_fcgid-$pkgver" | ||
19 | |||
20 | build() { | ||
21 | cd "$_builddir" | ||
22 | ./configure.apxs || return 1 | ||
23 | make || return 1 | ||
24 | } | ||
25 | |||
26 | package() { | ||
27 | cd "$_builddir" | ||
28 | make DESTDIR="$pkgdir" install || return 1 | ||
29 | mkdir "$pkgdir"/etc/apache2/conf.d/ || return 1 | ||
30 | install -m644 "$srcdir"/mod_fcgid.conf "$pkgdir"/etc/apache2/conf.d/ || return 1 | ||
31 | } | ||
32 | |||
33 | md5sums="30ee138f3f0eb1c55303400748f128a2 mod_fcgid-2.3.6.tar.bz2 | ||
34 | df658a483cf016112d75bbd1d92d7fb0 mod_fcgid.conf" | ||
diff --git a/main/apache-mod-fcgid/mod_fcgid.conf b/main/apache-mod-fcgid/mod_fcgid.conf new file mode 100644 index 0000000000..01529b0683 --- /dev/null +++ b/main/apache-mod-fcgid/mod_fcgid.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | <IfModule mod_fcgid.c> | ||
2 | Alias /fcgi-bin/ "/usr/lib/fcgi-bin/" | ||
3 | <Location /fcgi-bin> | ||
4 | SetHandler fcgid-script | ||
5 | Options +ExecCGI | ||
6 | Order allow,deny | ||
7 | Allow from all | ||
8 | </Location> | ||
9 | </IfModule> | ||