diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 17:07:32 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 17:07:32 -0300 |
commit | 87b9cca463a1dbf2b5026c9dc770b5591b2d3fdc (patch) | |
tree | e3d31e01c79dc0e68742716887ed07c5f6a1015e /community/nginx | |
parent | c09bfc90e874607edab8e77d50d9aa15ea145b53 (diff) | |
parent | 35e9f8bc93db9e691bf6d00950956ca3e5d86e83 (diff) |
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts:
community/acpi/PKGBUILD
community/alure/PKGBUILD
community/ario/PKGBUILD
community/cantata/PKGBUILD
community/cgit/PKGBUILD
community/chntpw/PKGBUILD
community/clamz/PKGBUILD
community/deadbeef/PKGBUILD
community/dunst/PKGBUILD
community/erlang/PKGBUILD
community/ettercap/PKGBUILD
community/fcitx-mozc/PKGBUILD
community/gnome-commander/PKGBUILD
community/gq/PKGBUILD
community/gtkimageview/PKGBUILD
community/i3status/PKGBUILD
community/iasl/PKGBUILD
community/krename/PKGBUILD
community/libesmtp/PKGBUILD
community/liblinebreak/PKGBUILD
community/libmilter/PKGBUILD
community/libpaper/PKGBUILD
community/libvirt/PKGBUILD
community/libx86emu/PKGBUILD
community/libxdg-basedir/PKGBUILD
community/lightdm-gtk2-greeter/PKGBUILD
community/lightdm-gtk3-greeter/PKGBUILD
community/lightdm/PKGBUILD
community/luakit/PKGBUILD
community/lxtask/PKGBUILD
community/marisa/PKGBUILD
community/megaglest/PKGBUILD
community/mumble/PKGBUILD
community/opencolorio/PKGBUILD
community/openssh-askpass/PKGBUILD
community/pdf2svg/PKGBUILD
community/pidgin-toobars/PKGBUILD
community/powerdns/PKGBUILD
community/python-numexpr/PKGBUILD
community/python-pybox2d/PKGBUILD
community/python-pytables/PKGBUILD
community/python2-imaging/PKGBUILD
community/python2-pybluez/PKGBUILD
community/remmina/PKGBUILD
community/ruby-gtk2/PKGBUILD
community/ruby-iconv/PKGBUILD
community/scummvm-tools/PKGBUILD
community/shapelib/PKGBUILD
community/sshfs/PKGBUILD
community/subtle/PKGBUILD
community/teeworlds/PKGBUILD
community/uget/PKGBUILD
community/wireshark/PKGBUILD
community/wxcam/PKGBUILD
community/wxgtk2.9/PKGBUILD
community/xchm/PKGBUILD
community/xdelta3/PKGBUILD
community/zynaddsubfx/PKGBUILD
core/gcc/PKGBUILD
core/gcc/gcc_mips64el_lib.patch
core/gdbm/PKGBUILD
core/ldns/PKGBUILD
core/pth/PKGBUILD
core/systemd/PKGBUILD
core/wireless_tools/PKGBUILD
elementary/gtk-engine-equinox/PKGBUILD
elementary/postler/PKGBUILD
elementary/vala-010/PKGBUILD
extra/aubio/PKGBUILD
extra/audacity/PKGBUILD
extra/bc/PKGBUILD
extra/cagibi/PKGBUILD
extra/calligra/PKGBUILD
extra/chmlib/PKGBUILD
extra/clamav/PKGBUILD
extra/clisp/PKGBUILD
extra/crypto++/PKGBUILD
extra/cups/PKGBUILD
extra/dhcp/PKGBUILD
extra/ecore/PKGBUILD
extra/edje/PKGBUILD
extra/eet/PKGBUILD
extra/eeze/PKGBUILD
extra/efreet/PKGBUILD
extra/eina/PKGBUILD
extra/eio/PKGBUILD
extra/embryo/PKGBUILD
extra/emotion/PKGBUILD
extra/enlightenment17/PKGBUILD
extra/ethumb/PKGBUILD
extra/evas/PKGBUILD
extra/festival/PKGBUILD
extra/ffcall/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/git/PKGBUILD
extra/gmetadom/PKGBUILD
extra/gnutls/PKGBUILD
extra/graphviz/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/gtkmathview/PKGBUILD
extra/gvfs/PKGBUILD
extra/hugin/PKGBUILD
extra/i8kutils/PKGBUILD
extra/id3lib/PKGBUILD
extra/imagemagick/PKGBUILD
extra/jack/PKGBUILD
extra/ktorrent/PKGBUILD
extra/libaccounts-qt/PKGBUILD
extra/libdvdnav/PKGBUILD
extra/libdvdread/PKGBUILD
extra/libetpan/PKGBUILD
extra/libgadu/PKGBUILD
extra/libmikmod/PKGBUILD
extra/libpst/PKGBUILD
extra/libsecret/PKGBUILD
extra/libssh/PKGBUILD
extra/libvorbis/PKGBUILD
extra/lilv/PKGBUILD
extra/mariadb/PKGBUILD
extra/maxima/PKGBUILD
extra/mesa/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/msmtp/PKGBUILD
extra/obex-data-server/PKGBUILD
extra/openbabel/PKGBUILD
extra/opencv/PKGBUILD
extra/opengtl/PKGBUILD
extra/perl-net-dns/PKGBUILD
extra/perl-socket6/PKGBUILD
extra/pidgin/PKGBUILD
extra/poppler/PKGBUILD
extra/postfix/PKGBUILD
extra/purple-plugin-pack/PKGBUILD
extra/pycurl/PKGBUILD
extra/python-geoip/PKGBUILD
extra/qt5/PKGBUILD
extra/redland/PKGBUILD
extra/ruby/PKGBUILD
extra/shared-mime-info/PKGBUILD
extra/sqlite/PKGBUILD
extra/texmacs/PKGBUILD
extra/v4l-utils/PKGBUILD
extra/vigra/PKGBUILD
extra/vim/PKGBUILD
extra/wildmidi/PKGBUILD
extra/wxpython/PKGBUILD
extra/x2goclient/PKGBUILD
extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch
extra/xf86-video-siliconmotion/PKGBUILD
extra/xfce4-taskmanager/PKGBUILD
extra/xine-lib/PKGBUILD
extra/xorg-server/PKGBUILD
extra/xsane/PKGBUILD
extra/zsh/PKGBUILD
libre-testing/unace-libre/PKGBUILD
libre/abuse-libre/PKGBUILD
libre/audacity-libre/PKGBUILD
libre/audex-libre/PKGBUILD
libre/blackbox-libre/PKGBUILD
libre/bogofilter-libre/PKGBUILD
libre/bumblebee-libre/PKGBUILD
libre/crosstool-ng/PKGBUILD
libre/dvdrip-libre/PKGBUILD
libre/ecasound-libre/PKGBUILD
libre/enscript/PKGBUILD
libre/epdfview-libre/PKGBUILD
libre/hardinfo/PKGBUILD
libre/kile-libre/PKGBUILD
libre/lesspipe-libre/PKGBUILD
libre/libquicktime-libre/PKGBUILD
libre/linux-libre-tools/PKGBUILD
libre/linux-libre/PKGBUILD
libre/mc-libre/PKGBUILD
libre/mesa-demos-libre/PKGBUILD
libre/midori-libre/PKGBUILD
libre/oss-libre/PKGBUILD
libre/p7zip-libre/PKGBUILD
libre/python2-reportlab-libre/PKGBUILD
libre/sdl-libre/PKGBUILD
libre/seamonkey-libre/PKGBUILD
libre/unzip-libre/PKGBUILD
libre/xarchiver-libre/PKGBUILD
libre/xmlstarlet/PKGBUILD
pcr/a2jmidid/PKGBUILD
pcr/amsynth/PKGBUILD
pcr/anyremote/PKGBUILD
pcr/azr3-jack/PKGBUILD
pcr/bambus/PKGBUILD
pcr/bamf2/PKGBUILD
pcr/barnyard2/PKGBUILD
pcr/bison++/PKGBUILD
pcr/bup/PKGBUILD
pcr/din/PKGBUILD
pcr/django-tagging/PKGBUILD
pcr/doxymacs/PKGBUILD
pcr/emacs-js2-mode/PKGBUILD
pcr/eterm/PKGBUILD
pcr/frame/PKGBUILD
pcr/freeipmi/PKGBUILD
pcr/geis/PKGBUILD
pcr/ginn/PKGBUILD
pcr/grail/PKGBUILD
pcr/libast/PKGBUILD
pcr/libdshconfig/PKGBUILD
pcr/networkmanager-openswan/PKGBUILD
pcr/networkmanager-strongswan/PKGBUILD
pcr/openswan/PKGBUILD
pcr/par/PKGBUILD
pcr/snort/PKGBUILD
pcr/strongswan/PKGBUILD
social/batctl/PKGBUILD
social/bip/PKGBUILD
social/bitcoin-daemon/PKGBUILD
social/dropbear/PKGBUILD
social/ffingerd/PKGBUILD
social/haveged/PKGBUILD
social/inadyn-opendns/PKGBUILD
social/liblockfile/PKGBUILD
social/libowfat/PKGBUILD
social/lockfile-progs/PKGBUILD
social/netatalk/PKGBUILD
social/olsrd/PKGBUILD
social/poco/PKGBUILD
social/spectrum/PKGBUILD
social/squirm/PKGBUILD
social/tokyotyrant/PKGBUILD
social/tomoyo-tools/PKGBUILD
Diffstat (limited to 'community/nginx')
-rw-r--r-- | community/nginx/PKGBUILD | 131 | ||||
-rw-r--r-- | community/nginx/nginx.install (renamed from community/nginx/install) | 0 |
2 files changed, 67 insertions, 64 deletions
diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD index 9f0fdc398..ac0c3aa6b 100644 --- a/community/nginx/PKGBUILD +++ b/community/nginx/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 102927 2013-12-24 08:43:25Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# $Id: PKGBUILD 105603 2014-02-11 17:09:36Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Maintainer: Sébastien Luttringer # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> pkgname=nginx -pkgver=1.4.4 -pkgrel=2 +pkgver=1.4.5 +pkgrel=1 pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server' arch=('i686' 'x86_64' 'mips64el') url='http://nginx.org' @@ -22,75 +22,78 @@ backup=('etc/nginx/fastcgi.conf' 'etc/nginx/uwsgi_params' 'etc/nginx/win-utf' 'etc/logrotate.d/nginx') -install=install -source=("http://nginx.org/download/nginx-$pkgver.tar.gz" - 'service' - 'logrotate') -sha256sums=('7c989a58e5408c9593da0bebcd0e4ffc3d892d1316ba5042ddb0be5b0b4102b9' - '05fdc0c0483410944b988d7f4beabb00bec4a44a41bd13ebc9b78585da7d3f9b' - '272907d3213d69dac3bd6024d6d150caa23cb67d4f121e4171f34ba5581f9e98') +install=nginx.install +source=($url/download/nginx-$pkgver.tar.gz + service + logrotate) +md5sums=('1a635e9543570f0c881b8ec9db0c6898' + 'ce9a06bcaf66ec4a3c4eb59b636e0dfd' + '3441ce77cdd1aab6f0ab7e212698a8a7') build() { - cd $pkgname-$pkgver - ./configure \ - --prefix=/etc/nginx \ - --conf-path=/etc/nginx/nginx.conf \ - --sbin-path=/usr/bin/nginx \ - --pid-path=/run/nginx.pid \ - --lock-path=/run/lock/nginx.lock \ - --user=http \ - --group=http \ - --http-log-path=/var/log/nginx/access.log \ - --error-log-path=stderr \ - --http-client-body-temp-path=/var/lib/nginx/client-body \ - --http-proxy-temp-path=/var/lib/nginx/proxy \ - --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \ - --http-scgi-temp-path=/var/lib/nginx/scgi \ - --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ - --with-imap \ - --with-imap_ssl_module \ - --with-ipv6 \ - --with-pcre-jit \ - --with-file-aio \ - --with-http_dav_module \ - --with-http_gunzip_module \ - --with-http_gzip_static_module \ - --with-http_realip_module \ - --with-http_spdy_module \ - --with-http_ssl_module \ - --with-http_stub_status_module \ - --with-http_addition_module \ - --with-http_degradation_module \ - --with-http_flv_module \ - --with-http_mp4_module \ - --with-http_secure_link_module \ - --with-http_sub_module - make + cd $pkgname-$pkgver + ./configure \ + --prefix=/etc/nginx \ + --conf-path=/etc/nginx/nginx.conf \ + --sbin-path=/usr/bin/nginx \ + --pid-path=/run/nginx.pid \ + --lock-path=/run/lock/nginx.lock \ + --user=http \ + --group=http \ + --http-log-path=/var/log/nginx/access.log \ + --error-log-path=stderr \ + --http-client-body-temp-path=/var/lib/nginx/client-body \ + --http-proxy-temp-path=/var/lib/nginx/proxy \ + --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \ + --http-scgi-temp-path=/var/lib/nginx/scgi \ + --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ + --with-imap \ + --with-imap_ssl_module \ + --with-ipv6 \ + --with-pcre-jit \ + --with-file-aio \ + --with-http_dav_module \ + --with-http_gunzip_module \ + --with-http_gzip_static_module \ + --with-http_realip_module \ + --with-http_spdy_module \ + --with-http_ssl_module \ + --with-http_stub_status_module \ + --with-http_addition_module \ + --with-http_degradation_module \ + --with-http_flv_module \ + --with-http_mp4_module \ + --with-http_secure_link_module \ + --with-http_sub_module + + make } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + sed -e 's|\<user\s\+\w\+;|user html;|g' \ + -e '44s|html|/usr/share/nginx/html|' \ + -e '54s|html|/usr/share/nginx/html|' \ + -i "$pkgdir"/etc/nginx/nginx.conf + + rm "$pkgdir"/etc/nginx/*.default - sed -e 's|\<user\s\+\w\+;|user html;|g' \ - -e '44s|html|/usr/share/nginx/html|' \ - -e '54s|html|/usr/share/nginx/html|' \ - -i "$pkgdir"/etc/nginx/nginx.conf - rm "$pkgdir"/etc/nginx/*.default + install -d "$pkgdir"/var/lib/nginx + install -dm700 "$pkgdir"/var/lib/nginx/proxy - install -d "$pkgdir"/var/lib/nginx - install -dm700 "$pkgdir"/var/lib/nginx/proxy + chmod 750 "$pkgdir"/var/log/nginx + chown http:log "$pkgdir"/var/log/nginx - chmod 750 "$pkgdir"/var/log/nginx - chown http:log "$pkgdir"/var/log/nginx + install -d "$pkgdir"/usr/share/nginx + mv "$pkgdir"/etc/nginx/html/ "$pkgdir"/usr/share/nginx - install -d "$pkgdir"/usr/share/nginx - mv "$pkgdir"/etc/nginx/html/ "$pkgdir"/usr/share/nginx + install -Dm644 ../logrotate "$pkgdir"/etc/logrotate.d/nginx + install -Dm644 ../service "$pkgdir"/usr/lib/systemd/system/nginx.service + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - install -Dm644 "$srcdir"/logrotate "$pkgdir"/etc/logrotate.d/nginx - install -Dm644 "$srcdir"/service "$pkgdir"/usr/lib/systemd/system/nginx.service - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - rmdir "$pkgdir/run" + rmdir "$pkgdir/run" } -# vim:set ts=4 sw=4 et: +# vim:set ts=2 sw=2 et: diff --git a/community/nginx/install b/community/nginx/nginx.install index 7c4adf14b..7c4adf14b 100644 --- a/community/nginx/install +++ b/community/nginx/nginx.install |