summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7386109502a462f5890ffaedb914b1722b5975c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab

_mods_dir='etc/httpd/conf/mods-available'

pkgname=a2enmod-git
pkgver=r3.5ff0dc9
pkgrel=1
pkgdesc='Apache enable/disable module/site. From Debian package.'
arch=('any')
url='http://httpd.apache.org/'
license=('APACHE')
depends=(apache)
optdepends=(
'php-apache: php support'
'openssl: https support, to generate a certificate'
)
provides=(a2enmod)
conflicts=(a2enmod)
replaces=(a2enmod)
backup=(
${_mods_dir}/actions.conf
${_mods_dir}/alias.conf
${_mods_dir}/autoindex.conf
${_mods_dir}/cgid.conf
${_mods_dir}/dav_fs.conf
${_mods_dir}/dav_svn.conf
${_mods_dir}/deflate.conf
${_mods_dir}/dir.conf
${_mods_dir}/disk_cache.conf
${_mods_dir}/dnssd.conf
${_mods_dir}/fastcgi.conf
${_mods_dir}/fcgid.conf
${_mods_dir}/info.conf
${_mods_dir}/ldap.conf
${_mods_dir}/mem_cache.conf
${_mods_dir}/mime.conf
${_mods_dir}/mime_magic.conf
${_mods_dir}/mod-security.conf
${_mods_dir}/mono.conf
${_mods_dir}/negotiation.conf
${_mods_dir}/pagespeed.conf
${_mods_dir}/perl.conf
${_mods_dir}/php5_cgi.conf
${_mods_dir}/php5.conf
${_mods_dir}/proxy_balancer.conf
${_mods_dir}/proxy.conf
${_mods_dir}/proxy_ftp.conf
${_mods_dir}/qos.conf
${_mods_dir}/reqtimeout.conf
${_mods_dir}/rpaf.conf
${_mods_dir}/setenvif.conf
${_mods_dir}/ssl.conf
${_mods_dir}/status.conf
${_mods_dir}/suphp.conf
${_mods_dir}/userdir.conf
${_mods_dir}/vhost_alias.conf
etc/httpd/conf/ports.conf
etc/httpd/conf/sites-available/default
etc/httpd/conf/sites-available/default-ssl
etc/httpd/conf/conf.d/charset
etc/httpd/conf/conf.d/localized-error-pages
etc/httpd/conf/conf.d/other-vhosts-access-log
etc/httpd/conf/conf.d/security
)
options=(emptydirs !strip)
install='a2enmod.install'
source=('git://github.com/dracorp/a2enmod.git')
_gitname='a2enmod'
md5sums=('SKIP')
pkgver() {
  cd $_gitname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package(){
  cd $_gitname
  make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
}