parent
775fa8bb78
commit
ad9d147a18
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/rsnapshot/rsnapshot-1.3.1-r2.ebuild,v 1.1 2013/04/25 07:16:54 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A filesystem backup utility based on rsync"
|
||||
HOMEPAGE="http://www.rsnapshot.org"
|
||||
SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.8.2
|
||||
dev-perl/Lchown
|
||||
>=sys-apps/util-linux-2.12-r4
|
||||
>=sys-apps/coreutils-5.0.91-r4
|
||||
>=net-misc/openssh-3.7.1_p2-r1
|
||||
>=net-misc/rsync-2.6.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-cp_al.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
# Change sysconfdir to install the template file as documentation
|
||||
# rather than in /etc.
|
||||
emake install DESTDIR="${D}" \
|
||||
sysconfdir="/usr/share/doc/${PF}" \
|
||||
|| die
|
||||
|
||||
dodoc README AUTHORS TODO ChangeLog \
|
||||
docs/Upgrading_from_1.1 \
|
||||
docs/HOWTOs/rsnapshot-{Mac,windows}-howto
|
||||
|
||||
docinto utils
|
||||
dodoc utils/{README,rsnaptar,*.sh,*.pl}
|
||||
|
||||
docinto utils/rsnapshotdb
|
||||
dodoc utils/rsnapshotdb/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The template configuration file has been installed as"
|
||||
elog "/usr/share/doc/${PF}/rsnapshot.conf.default"
|
||||
elog "Copy and edit the the above file as /etc/rsnapshot.conf"
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
--- mlton-20100608-orig/runtime/gc/int-inf.c 2010-06-11 23:35:14.000000000 +1000
|
||||
+++ mlton-20100608/runtime/gc/int-inf.c 2013-04-25 16:45:45.528297232 +1000
|
||||
@@ -177,8 +177,8 @@
|
||||
|
||||
static inline objptr binary (objptr lhs, objptr rhs, size_t bytes,
|
||||
void(*binop)(__mpz_struct *resmpz,
|
||||
- __gmp_const __mpz_struct *lhsspace,
|
||||
- __gmp_const __mpz_struct *rhsspace)) {
|
||||
+ const __mpz_struct *lhsspace,
|
||||
+ const __mpz_struct *rhsspace)) {
|
||||
__mpz_struct lhsmpz, rhsmpz, resmpz;
|
||||
mp_limb_t lhsspace[LIMBS_PER_OBJPTR + 1], rhsspace[LIMBS_PER_OBJPTR + 1];
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
|
||||
static objptr unary (objptr arg, size_t bytes,
|
||||
void(*unop)(__mpz_struct *resmpz,
|
||||
- __gmp_const __mpz_struct *argspace)) {
|
||||
+ const __mpz_struct *argspace)) {
|
||||
__mpz_struct argmpz, resmpz;
|
||||
mp_limb_t argspace[LIMBS_PER_OBJPTR + 1];
|
||||
|
||||
@@ -280,7 +280,7 @@
|
||||
|
||||
static objptr shary (objptr arg, Word32_t shift, size_t bytes,
|
||||
void(*shop)(__mpz_struct *resmpz,
|
||||
- __gmp_const __mpz_struct *argspace,
|
||||
+ const __mpz_struct *argspace,
|
||||
unsigned long shift))
|
||||
{
|
||||
__mpz_struct argmpz, resmpz;
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0-r4.ebuild,v 1.1 2013/04/25 07:09:51 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_IN_SOURCE_BUILD=true
|
||||
|
||||
inherit eutils gnome2 distutils-r1 gnome2-utils versionator
|
||||
|
||||
DIR_PV=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="Tool for easily browsing and finding files on your computer"
|
||||
HOMEPAGE="https://launchpad.net/gnome-activity-journal/"
|
||||
SRC_URI="http://launchpad.net/gnome-activity-journal/${DIR_PV}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/dbus-python
|
||||
dev-python/libgnome-python
|
||||
dev-python/gconf-python
|
||||
dev-python/gst-python
|
||||
dev-python/pycairo
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2
|
||||
dev-python/pyxdg
|
||||
gnome-extra/zeitgeist
|
||||
sys-apps/dbus"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
dev-python/python-distutils-extra"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-zg-0.9.patch )
|
||||
|
||||
src_configure() {
|
||||
distutils-r1_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
python_replicate_script "${ED}"/usr/bin/${PN}
|
||||
}
|
@ -1 +1 @@
|
||||
Thu, 25 Apr 2013 06:36:57 +0000
|
||||
Thu, 25 Apr 2013 08:36:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 25 Apr 2013 06:36:57 +0000
|
||||
Thu, 25 Apr 2013 08:36:58 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install postinst
|
||||
DEPEND=>=dev-lang/perl-5.8.2 dev-perl/Lchown >=sys-apps/util-linux-2.12-r4 >=sys-apps/coreutils-5.0.91-r4 >=net-misc/openssh-3.7.1_p2-r1 >=net-misc/rsync-2.6.0
|
||||
DESCRIPTION=A filesystem backup utility based on rsync
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.rsnapshot.org
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/perl-5.8.2 dev-perl/Lchown >=sys-apps/util-linux-2.12-r4 >=sys-apps/coreutils-5.0.91-r4 >=net-misc/openssh-3.7.1_p2-r1 >=net-misc/rsync-2.6.0
|
||||
SLOT=0
|
||||
SRC_URI=http://www.rsnapshot.org/downloads/rsnapshot-1.3.1.tar.gz
|
||||
_eclasses_=eutils 36e6377b0e31856b6d62af831661c4f3 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=aceeddd5ed2f4fed90a7448fbee44305
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare unpack
|
||||
DEPEND=app-text/hunspell app-text/poppler[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 >=dev-qt/qtwebkit-4.6.1:4 video? ( media-libs/phonon ) virtual/pkgconfig
|
||||
DEPEND=app-text/hunspell app-text/poppler[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 video? ( media-libs/phonon ) virtual/pkgconfig
|
||||
DESCRIPTION=Free cross-platform LaTeX editor (former texmakerX)
|
||||
EAPI=4
|
||||
HOMEPAGE=http://texstudio.sourceforge.net/
|
||||
IUSE=video
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=app-text/hunspell app-text/poppler[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 >=dev-qt/qtwebkit-4.6.1:4 video? ( media-libs/phonon ) virtual/latex-base app-text/psutils app-text/ghostscript-gpl media-libs/netpbm
|
||||
RDEPEND=app-text/hunspell app-text/poppler[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 video? ( media-libs/phonon ) virtual/latex-base app-text/psutils app-text/ghostscript-gpl media-libs/netpbm
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/texstudio/texstudio/TeXstudio%202.5.2/texstudio-2.5.2.tar.gz
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 36e6377b0e31856b6d62af831661c4f3 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa multilib 892e597faee02a5b94eb02ab512e7622 qt4-r2 f735f67b3de93a007dbdec708b481831 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=15adf61a1efc2ea227a1e4d892eece41
|
||||
_md5_=9d7ed38fe8624246a8eda5227f8ae4d5
|
||||
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare unpack
|
||||
DEPEND=app-text/hunspell app-text/poppler:=[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 >=dev-qt/qtwebkit-4.6.1:4 video? ( media-libs/phonon ) virtual/pkgconfig
|
||||
DEPEND=app-text/hunspell app-text/poppler:=[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 video? ( media-libs/phonon ) virtual/pkgconfig
|
||||
DESCRIPTION=Free cross-platform LaTeX editor (former texmakerX)
|
||||
EAPI=5
|
||||
HOMEPAGE=http://texstudio.sourceforge.net/
|
||||
IUSE=video
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=app-text/hunspell app-text/poppler:=[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 >=dev-qt/qtwebkit-4.6.1:4 video? ( media-libs/phonon ) virtual/latex-base app-text/psutils app-text/ghostscript-gpl media-libs/netpbm
|
||||
RDEPEND=app-text/hunspell app-text/poppler:=[qt4] x11-libs/libX11 x11-libs/libXext >=dev-qt/qtgui-4.6.1:4 >=dev-qt/qtcore-4.6.1:4 >=dev-qt/qtscript-4.6.1:4 >=dev-qt/qttest-4.6.1:4 video? ( media-libs/phonon ) virtual/latex-base app-text/psutils app-text/ghostscript-gpl media-libs/netpbm
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/texstudio/texstudio/TeXstudio%202.5.2/texstudio-2.5.2.tar.gz
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 36e6377b0e31856b6d62af831661c4f3 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa multilib 892e597faee02a5b94eb02ab512e7622 qt4-r2 f735f67b3de93a007dbdec708b481831 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=088cdef63a8daddfc86c37937b9b5360
|
||||
_md5_=e841039c8155fefd3ef528c470ba92a3
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test unpack
|
||||
DEPEND=dev-python/dbus-python dev-python/libgnome-python dev-python/gconf-python dev-python/gst-python dev-python/pycairo dev-python/pygobject:2 dev-python/pygtk:2 dev-python/pyxdg gnome-extra/zeitgeist sys-apps/dbus dev-util/intltool dev-python/python-distutils-extra app-arch/xz-utils >=sys-apps/sed-4 python_targets_python2_6? ( dev-lang/python:2.6 ) python_targets_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec[python_targets_python2_6(-)?,python_targets_python2_7(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-)] >=sys-apps/sed-4
|
||||
DESCRIPTION=Tool for easily browsing and finding files on your computer
|
||||
EAPI=5
|
||||
HOMEPAGE=https://launchpad.net/gnome-activity-journal/
|
||||
IUSE=debug python_targets_python2_6 python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-3 LGPL-3
|
||||
RDEPEND=dev-python/dbus-python dev-python/libgnome-python dev-python/gconf-python dev-python/gst-python dev-python/pycairo dev-python/pygobject:2 dev-python/pygtk:2 dev-python/pyxdg gnome-extra/zeitgeist sys-apps/dbus python_targets_python2_6? ( dev-lang/python:2.6 ) python_targets_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec[python_targets_python2_6(-)?,python_targets_python2_7(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-)]
|
||||
SLOT=0
|
||||
SRC_URI=http://launchpad.net/gnome-activity-journal/0.8/0.8.0/+download/gnome-activity-journal-0.8.0.tar.gz
|
||||
_eclasses_=distutils-r1 28f569122728e4a4b52d45c00fc45fff eutils 36e6377b0e31856b6d62af831661c4f3 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 96ca31031ada9967bcf96a4fd8977ae4 gnome2-utils 794d2847b4af390a1e020924876c8297 libtool 2b273eea1976cfaed3449345d94331ac multibuild 32fd04fe3ee97494341710886fd70dfe multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 python-r1 052a2872c3d341495152eb93212374e9 python-utils-r1 1abc4a4828358a8fc1c4d65e74ae4a19 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=e14bd5fb244bd13c5e5b7f044d77104c
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
|
||||
DEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops ) ssl? ( dev-libs/openssl )
|
||||
DESCRIPTION=Robust, small and high performance http and reverse proxy server
|
||||
EAPI=4
|
||||
HOMEPAGE=http://nginx.org
|
||||
IUSE=aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl syslog vim-syntax +nginx_modules_http_access +nginx_modules_http_auth_basic +nginx_modules_http_autoindex +nginx_modules_http_browser +nginx_modules_http_charset +nginx_modules_http_empty_gif +nginx_modules_http_fastcgi +nginx_modules_http_geo +nginx_modules_http_gzip +nginx_modules_http_limit_req +nginx_modules_http_limit_conn +nginx_modules_http_map +nginx_modules_http_memcached +nginx_modules_http_proxy +nginx_modules_http_referer +nginx_modules_http_rewrite +nginx_modules_http_scgi +nginx_modules_http_ssi +nginx_modules_http_split_clients +nginx_modules_http_upstream_ip_hash +nginx_modules_http_userid +nginx_modules_http_uwsgi nginx_modules_http_addition nginx_modules_http_dav nginx_modules_http_degradation nginx_modules_http_flv nginx_modules_http_geoip nginx_modules_http_gzip_static nginx_modules_http_image_filter nginx_modules_http_mp4 nginx_modules_http_perl nginx_modules_http_random_index nginx_modules_http_realip nginx_modules_http_secure_link nginx_modules_http_stub_status nginx_modules_http_sub nginx_modules_http_xslt nginx_modules_mail_imap nginx_modules_mail_pop3 nginx_modules_mail_smtp nginx_modules_http_upload_progress nginx_modules_http_headers_more nginx_modules_http_push nginx_modules_http_cache_purge nginx_modules_http_upload nginx_modules_http_slowfs_cache nginx_modules_http_fancyindex nginx_modules_http_lua nginx_modules_http_auth_pam ssl
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
LICENSE=BSD-2 BSD SSLeay MIT GPL-2
|
||||
PDEPEND=vim-syntax? ( app-vim/nginx-syntax )
|
||||
RDEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam )
|
||||
REQUIRED_USE=pcre-jit? ( pcre )
|
||||
SLOT=0
|
||||
SRC_URI=http://nginx.org/download/nginx-1.3.11.tar.gz syslog? ( https://github.com/yaoweibin/nginx_syslog_patch/archive/v0.24.tar.gz -> ngx_syslog-0.24.tar.gz ) https://github.com/simpl/ngx_devel_kit/archive/v0.2.17.tar.gz -> ngx_devel_kit-0.2.17-r1.tar.gz nginx_modules_http_upload_progress? ( https://github.com/masterzen/nginx-upload-progress-module/archive/v0.9.0.tar.gz -> ngx_http_upload_progress-0.9.0-r1.tar.gz ) nginx_modules_http_headers_more? ( https://github.com/agentzh/headers-more-nginx-module/archive/v0.19.tar.gz -> ngx_http_headers_more-0.19-r1.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz -> ngx_http_push-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-2.0.tar.gz -> ngx_http_cache_purge-2.0.tar.gz ) nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz -> ngx_http_upload-2.2.0.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.9.tar.gz -> ngx_http_slowfs_cache-1.9.tar.gz ) nginx_modules_http_fancyindex? ( http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad -> ngx_http_fancyindex-0.3.1.1.tar.gz ) nginx_modules_http_lua? ( https://github.com/chaoslawful/lua-nginx-module/archive/v0.7.11.tar.gz -> ngx_http_lua-0.7.11.tar.gz ) nginx_modules_http_auth_pam? ( http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-1.2.tar.gz -> ngx_http_auth_pam-1.2.tar.gz )
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 36e6377b0e31856b6d62af831661c4f3 flag-o-matic d900015de4e092f26d8c0a18b6bd60de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 perl-module 825d3d7654c88c5c4dec7400d3612578 ssl-cert 0b45da48a22fda62c57c1809b8b55315 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=7379d84feb79d0a82850a83b7c29ab1e
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
|
||||
DEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_spdy? ( >=dev-libs/openssl-1.0.1c ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops ) ssl? ( dev-libs/openssl )
|
||||
DESCRIPTION=Robust, small and high performance http and reverse proxy server
|
||||
EAPI=5
|
||||
HOMEPAGE=http://nginx.org
|
||||
IUSE=aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl syslog vim-syntax +nginx_modules_http_access +nginx_modules_http_auth_basic +nginx_modules_http_autoindex +nginx_modules_http_browser +nginx_modules_http_charset +nginx_modules_http_empty_gif +nginx_modules_http_fastcgi +nginx_modules_http_geo +nginx_modules_http_gzip +nginx_modules_http_limit_req +nginx_modules_http_limit_conn +nginx_modules_http_map +nginx_modules_http_memcached +nginx_modules_http_proxy +nginx_modules_http_referer +nginx_modules_http_rewrite +nginx_modules_http_scgi +nginx_modules_http_ssi +nginx_modules_http_split_clients +nginx_modules_http_upstream_ip_hash +nginx_modules_http_userid +nginx_modules_http_uwsgi nginx_modules_http_addition nginx_modules_http_dav nginx_modules_http_degradation nginx_modules_http_flv nginx_modules_http_geoip nginx_modules_http_gzip_static nginx_modules_http_image_filter nginx_modules_http_mp4 nginx_modules_http_perl nginx_modules_http_random_index nginx_modules_http_realip nginx_modules_http_secure_link nginx_modules_http_spdy nginx_modules_http_stub_status nginx_modules_http_sub nginx_modules_http_xslt nginx_modules_mail_imap nginx_modules_mail_pop3 nginx_modules_mail_smtp nginx_modules_http_upload_progress nginx_modules_http_headers_more nginx_modules_http_push nginx_modules_http_cache_purge nginx_modules_http_upload nginx_modules_http_slowfs_cache nginx_modules_http_fancyindex nginx_modules_http_lua nginx_modules_http_auth_pam ssl
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
LICENSE=BSD-2 BSD SSLeay MIT GPL-2
|
||||
PDEPEND=vim-syntax? ( app-vim/nginx-syntax )
|
||||
RDEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_spdy? ( >=dev-libs/openssl-1.0.1c ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam )
|
||||
REQUIRED_USE=pcre-jit? ( pcre )
|
||||
SLOT=0
|
||||
SRC_URI=http://nginx.org/download/nginx-1.3.16.tar.gz syslog? ( https://github.com/yaoweibin/nginx_syslog_patch/archive/v0.25.tar.gz -> ngx_syslog-0.25.tar.gz ) https://github.com/simpl/ngx_devel_kit/archive/v0.2.17.tar.gz -> ngx_devel_kit-0.2.17-r1.tar.gz nginx_modules_http_upload_progress? ( https://github.com/masterzen/nginx-upload-progress-module/archive/v0.9.0.tar.gz -> ngx_http_upload_progress-0.9.0-r1.tar.gz ) nginx_modules_http_headers_more? ( https://github.com/agentzh/headers-more-nginx-module/archive/v0.19.tar.gz -> ngx_http_headers_more-0.19-r1.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz -> ngx_http_push-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz -> ngx_http_cache_purge-2.1.tar.gz ) nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz -> ngx_http_upload-2.2.0.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.9.tar.gz -> ngx_http_slowfs_cache-1.9.tar.gz ) nginx_modules_http_fancyindex? ( http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad -> ngx_http_fancyindex-0.3.1.1.tar.gz ) nginx_modules_http_lua? ( https://github.com/chaoslawful/lua-nginx-module/archive/v0.7.11.tar.gz -> ngx_http_lua-0.7.11.tar.gz ) nginx_modules_http_auth_pam? ( http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-1.2.tar.gz -> ngx_http_auth_pam-1.2.tar.gz )
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 36e6377b0e31856b6d62af831661c4f3 flag-o-matic d900015de4e092f26d8c0a18b6bd60de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 perl-module 825d3d7654c88c5c4dec7400d3612578 ssl-cert 0b45da48a22fda62c57c1809b8b55315 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=0461dcfbcfe05d050d483d299b6eae55
|
@ -1,15 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
|
||||
DEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_spdy? ( >=dev-libs/openssl-1.0.1c ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops ) ssl? ( dev-libs/openssl )
|
||||
DEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_spdy? ( >=dev-libs/openssl-1.0.1c ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops ) ssl? ( dev-libs/openssl ) virtual/pkgconfig
|
||||
DESCRIPTION=Robust, small and high performance http and reverse proxy server
|
||||
EAPI=5
|
||||
HOMEPAGE=http://nginx.org
|
||||
IUSE=aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl syslog vim-syntax +nginx_modules_http_access +nginx_modules_http_auth_basic +nginx_modules_http_autoindex +nginx_modules_http_browser +nginx_modules_http_charset +nginx_modules_http_empty_gif +nginx_modules_http_fastcgi +nginx_modules_http_geo +nginx_modules_http_gzip +nginx_modules_http_limit_req +nginx_modules_http_limit_conn +nginx_modules_http_map +nginx_modules_http_memcached +nginx_modules_http_proxy +nginx_modules_http_referer +nginx_modules_http_rewrite +nginx_modules_http_scgi +nginx_modules_http_ssi +nginx_modules_http_split_clients +nginx_modules_http_upstream_ip_hash +nginx_modules_http_userid +nginx_modules_http_uwsgi nginx_modules_http_addition nginx_modules_http_dav nginx_modules_http_degradation nginx_modules_http_flv nginx_modules_http_geoip nginx_modules_http_gzip_static nginx_modules_http_image_filter nginx_modules_http_mp4 nginx_modules_http_perl nginx_modules_http_random_index nginx_modules_http_realip nginx_modules_http_secure_link nginx_modules_http_spdy nginx_modules_http_stub_status nginx_modules_http_sub nginx_modules_http_xslt nginx_modules_mail_imap nginx_modules_mail_pop3 nginx_modules_mail_smtp nginx_modules_http_upload_progress nginx_modules_http_headers_more nginx_modules_http_push nginx_modules_http_cache_purge nginx_modules_http_upload nginx_modules_http_slowfs_cache nginx_modules_http_fancyindex nginx_modules_http_lua nginx_modules_http_auth_pam ssl
|
||||
IUSE=aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl syslog vim-syntax +nginx_modules_http_access +nginx_modules_http_auth_basic +nginx_modules_http_autoindex +nginx_modules_http_browser +nginx_modules_http_charset +nginx_modules_http_empty_gif +nginx_modules_http_fastcgi +nginx_modules_http_geo +nginx_modules_http_gzip +nginx_modules_http_limit_req +nginx_modules_http_limit_conn +nginx_modules_http_map +nginx_modules_http_memcached +nginx_modules_http_proxy +nginx_modules_http_referer +nginx_modules_http_rewrite +nginx_modules_http_scgi +nginx_modules_http_ssi +nginx_modules_http_split_clients +nginx_modules_http_upstream_ip_hash +nginx_modules_http_userid +nginx_modules_http_uwsgi nginx_modules_http_addition nginx_modules_http_dav nginx_modules_http_degradation nginx_modules_http_flv nginx_modules_http_geoip nginx_modules_http_gzip_static nginx_modules_http_image_filter nginx_modules_http_mp4 nginx_modules_http_perl nginx_modules_http_random_index nginx_modules_http_realip nginx_modules_http_secure_link nginx_modules_http_spdy nginx_modules_http_stub_status nginx_modules_http_sub nginx_modules_http_xslt nginx_modules_mail_imap nginx_modules_mail_pop3 nginx_modules_mail_smtp nginx_modules_http_upload_progress nginx_modules_http_headers_more nginx_modules_http_push nginx_modules_http_cache_purge nginx_modules_http_slowfs_cache nginx_modules_http_fancyindex nginx_modules_http_lua nginx_modules_http_auth_pam ssl
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
LICENSE=BSD-2 BSD SSLeay MIT GPL-2
|
||||
PDEPEND=vim-syntax? ( app-vim/nginx-syntax )
|
||||
RDEPEND=pcre? ( >=dev-libs/libpcre-4.2 ) pcre-jit? ( >=dev-libs/libpcre-8.20[jit] ) selinux? ( sec-policy/selinux-nginx ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_spdy? ( >=dev-libs/openssl-1.0.1c ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) ) nginx_modules_http_auth_pam? ( virtual/pam )
|
||||
REQUIRED_USE=pcre-jit? ( pcre )
|
||||
SLOT=0
|
||||
SRC_URI=http://nginx.org/download/nginx-1.3.15.tar.gz syslog? ( https://github.com/yaoweibin/nginx_syslog_patch/archive/v0.25.tar.gz -> ngx_syslog-0.25.tar.gz ) https://github.com/simpl/ngx_devel_kit/archive/v0.2.17.tar.gz -> ngx_devel_kit-0.2.17-r1.tar.gz nginx_modules_http_upload_progress? ( https://github.com/masterzen/nginx-upload-progress-module/archive/v0.9.0.tar.gz -> ngx_http_upload_progress-0.9.0-r1.tar.gz ) nginx_modules_http_headers_more? ( https://github.com/agentzh/headers-more-nginx-module/archive/v0.19.tar.gz -> ngx_http_headers_more-0.19-r1.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz -> ngx_http_push-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz -> ngx_http_cache_purge-2.1.tar.gz ) nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz -> ngx_http_upload-2.2.0.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.9.tar.gz -> ngx_http_slowfs_cache-1.9.tar.gz ) nginx_modules_http_fancyindex? ( http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad -> ngx_http_fancyindex-0.3.1.1.tar.gz ) nginx_modules_http_lua? ( https://github.com/chaoslawful/lua-nginx-module/archive/v0.7.11.tar.gz -> ngx_http_lua-0.7.11.tar.gz ) nginx_modules_http_auth_pam? ( http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-1.2.tar.gz -> ngx_http_auth_pam-1.2.tar.gz )
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 36e6377b0e31856b6d62af831661c4f3 flag-o-matic d900015de4e092f26d8c0a18b6bd60de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 perl-module 825d3d7654c88c5c4dec7400d3612578 ssl-cert 0b45da48a22fda62c57c1809b8b55315 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=6557039897b640e20df4a505fdd30a6c
|
||||
SRC_URI=http://nginx.org/download/nginx-1.4.0.tar.gz syslog? ( https://github.com/yaoweibin/nginx_syslog_patch/archive/v0.25.tar.gz -> ngx_syslog-0.25.tar.gz ) https://github.com/simpl/ngx_devel_kit/archive/v0.2.17.tar.gz -> ngx_devel_kit-0.2.17-r1.tar.gz nginx_modules_http_upload_progress? ( https://github.com/masterzen/nginx-upload-progress-module/archive/v0.9.0.tar.gz -> ngx_http_upload_progress-0.9.0-r1.tar.gz ) nginx_modules_http_headers_more? ( https://github.com/agentzh/headers-more-nginx-module/archive/v0.19.tar.gz -> ngx_http_headers_more-0.19-r1.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz -> ngx_http_push-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz -> ngx_http_cache_purge-2.1.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.9.tar.gz -> ngx_http_slowfs_cache-1.9.tar.gz ) nginx_modules_http_fancyindex? ( http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad -> ngx_http_fancyindex-0.3.1.1.tar.gz ) nginx_modules_http_lua? ( https://github.com/chaoslawful/lua-nginx-module/archive/v0.7.11.tar.gz -> ngx_http_lua-0.7.11.tar.gz ) nginx_modules_http_auth_pam? ( http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-1.2.tar.gz -> ngx_http_auth_pam-1.2.tar.gz )
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 36e6377b0e31856b6d62af831661c4f3 flag-o-matic d900015de4e092f26d8c0a18b6bd60de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 perl-module 825d3d7654c88c5c4dec7400d3612578 ssl-cert 0b45da48a22fda62c57c1809b8b55315 systemd 3421a5715404244e4827acd1cf8ce654 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=ac138ce0ae857dff113eb9ffa97ec933
|
@ -1 +1 @@
|
||||
Thu, 25 Apr 2013 06:36:59 +0000
|
||||
Thu, 25 Apr 2013 08:36:59 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu Apr 25 06:36:57 UTC 2013
|
||||
Thu Apr 25 08:36:57 UTC 2013
|
||||
|
@ -1 +1 @@
|
||||
Thu, 25 Apr 2013 07:00:02 +0000
|
||||
Thu, 25 Apr 2013 09:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1366871701 Thu Apr 25 06:35:01 2013 UTC
|
||||
1366878901 Thu Apr 25 08:35:01 2013 UTC
|
||||
|
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=The nginx HTTP and reverse proxy server
|
||||
After=network.target remote-fs.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/nginx.pid
|
||||
ExecStartPre=/usr/bin/systemd-tmpfiles --create nginx.conf
|
||||
ExecStartPre=/usr/sbin/nginx -t
|
||||
ExecStart=/usr/sbin/nginx
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecStop=/bin/kill -QUIT $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,10 @@
|
||||
# systemd tmpfile settings for nginx
|
||||
# See tmpfiles.d(5) for details
|
||||
|
||||
d /var/log/nginx 0755 root root -
|
||||
d /var/tmp/nginx 0755 nginx nginx
|
||||
d /var/tmp/nginx/client 0755 nginx nginx
|
||||
d /var/tmp/nginx/proxy 0755 nginx nginx
|
||||
d /var/tmp/nginx/fastcgi 0755 nginx nginx
|
||||
d /var/tmp/nginx/scgi 0755 nginx nginx
|
||||
d /var/tmp/nginx/uwsgi 0755 nginx nginx
|
@ -1,417 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-1.3.11.ebuild,v 1.2 2013/02/18 14:30:19 aballier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Maintainer notes:
|
||||
# - http_rewrite-independent pcre-support makes sense for matching locations without an actual rewrite
|
||||
# - any http-module activates the main http-functionality and overrides USE=-http
|
||||
# - keep the following requirements in mind before adding external modules:
|
||||
# * alive upstream
|
||||
# * sane packaging
|
||||
# * builds cleanly
|
||||
# * does not need a patch for nginx core
|
||||
# - TODO: test the google-perftools module (included in vanilla tarball)
|
||||
|
||||
# prevent perl-module from adding automagic perl DEPENDs
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
# syslog
|
||||
SYSLOG_MODULE_PV="0.24"
|
||||
SYSLOG_MODULE_NGINX_PV="1.3.11"
|
||||
SYSLOG_MODULE_P="ngx_syslog-${SYSLOG_MODULE_PV}"
|
||||
SYSLOG_MODULE_URI="https://github.com/yaoweibin/nginx_syslog_patch/archive/v${SYSLOG_MODULE_PV}.tar.gz"
|
||||
SYSLOG_MODULE_WD="${WORKDIR}/nginx_syslog_patch-${SYSLOG_MODULE_PV}"
|
||||
|
||||
# devel_kit (https://github.com/simpl/ngx_devel_kit, BSD license)
|
||||
DEVEL_KIT_MODULE_PV="0.2.17"
|
||||
DEVEL_KIT_MODULE_P="ngx_devel_kit-${DEVEL_KIT_MODULE_PV}-r1"
|
||||
DEVEL_KIT_MODULE_URI="https://github.com/simpl/ngx_devel_kit/archive/v${DEVEL_KIT_MODULE_PV}.tar.gz"
|
||||
DEVEL_KIT_MODULE_WD="${WORKDIR}/ngx_devel_kit-${DEVEL_KIT_MODULE_PV}"
|
||||
|
||||
# http_uploadprogress (https://github.com/masterzen/nginx-upload-progress-module, BSD-2 license)
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_PV="0.9.0"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_P="ngx_http_upload_progress-${HTTP_UPLOAD_PROGRESS_MODULE_PV}-r1"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_URI="https://github.com/masterzen/nginx-upload-progress-module/archive/v${HTTP_UPLOAD_PROGRESS_MODULE_PV}.tar.gz"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_WD="${WORKDIR}/nginx-upload-progress-module-${HTTP_UPLOAD_PROGRESS_MODULE_PV}"
|
||||
|
||||
# http_headers_more (http://github.com/agentzh/headers-more-nginx-module, BSD license)
|
||||
HTTP_HEADERS_MORE_MODULE_PV="0.19"
|
||||
HTTP_HEADERS_MORE_MODULE_P="ngx_http_headers_more-${HTTP_HEADERS_MORE_MODULE_PV}-r1"
|
||||
HTTP_HEADERS_MORE_MODULE_URI="https://github.com/agentzh/headers-more-nginx-module/archive/v${HTTP_HEADERS_MORE_MODULE_PV}.tar.gz"
|
||||
HTTP_HEADERS_MORE_MODULE_WD="${WORKDIR}/headers-more-nginx-module-${HTTP_HEADERS_MORE_MODULE_PV}"
|
||||
|
||||
# http_push (http://pushmodule.slact.net/, MIT license)
|
||||
HTTP_PUSH_MODULE_PV="0.692"
|
||||
HTTP_PUSH_MODULE_P="ngx_http_push-${HTTP_PUSH_MODULE_PV}"
|
||||
HTTP_PUSH_MODULE_URI="http://pushmodule.slact.net/downloads/nginx_http_push_module-${HTTP_PUSH_MODULE_PV}.tar.gz"
|
||||
HTTP_PUSH_MODULE_WD="${WORKDIR}/nginx_http_push_module-${HTTP_PUSH_MODULE_PV}"
|
||||
|
||||
# http_cache_purge (http://labs.frickle.com/nginx_ngx_cache_purge/, BSD-2 license)
|
||||
HTTP_CACHE_PURGE_MODULE_PV="2.0"
|
||||
HTTP_CACHE_PURGE_MODULE_P="ngx_http_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
HTTP_CACHE_PURGE_MODULE_URI="http://labs.frickle.com/files/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}.tar.gz"
|
||||
HTTP_CACHE_PURGE_MODULE_WD="${WORKDIR}/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
|
||||
# http_upload (http://www.grid.net.ru/nginx/upload.en.html, BSD license)
|
||||
HTTP_UPLOAD_MODULE_PV="2.2.0"
|
||||
HTTP_UPLOAD_MODULE_P="ngx_http_upload-${HTTP_UPLOAD_MODULE_PV}"
|
||||
HTTP_UPLOAD_MODULE_URI="http://www.grid.net.ru/nginx/download/nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}.tar.gz"
|
||||
HTTP_UPLOAD_MODULE_WD="${WORKDIR}/nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}"
|
||||
|
||||
# http_slowfs_cache (http://labs.frickle.com/nginx_ngx_slowfs_cache/, BSD-2 license)
|
||||
HTTP_SLOWFS_CACHE_MODULE_PV="1.9"
|
||||
HTTP_SLOWFS_CACHE_MODULE_P="ngx_http_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
HTTP_SLOWFS_CACHE_MODULE_URI="http://labs.frickle.com/files/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}.tar.gz"
|
||||
HTTP_SLOWFS_CACHE_MODULE_WD="${WORKDIR}/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
|
||||
# http_fancyindex (http://wiki.nginx.org/NgxFancyIndex, BSD license)
|
||||
HTTP_FANCYINDEX_MODULE_PV="0.3.1.1"
|
||||
HTTP_FANCYINDEX_MODULE_P="ngx_http_fancyindex-${HTTP_FANCYINDEX_MODULE_PV}"
|
||||
HTTP_FANCYINDEX_MODULE_URI="http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad"
|
||||
HTTP_FANCYINDEX_MODULE_WD="${WORKDIR}/ngx-fancyindex-ngx-fancyindex"
|
||||
|
||||
# http_lua (https://github.com/chaoslawful/lua-nginx-module, BSD license)
|
||||
HTTP_LUA_MODULE_PV="0.7.11"
|
||||
HTTP_LUA_MODULE_P="ngx_http_lua-${HTTP_LUA_MODULE_PV}"
|
||||
HTTP_LUA_MODULE_URI="https://github.com/chaoslawful/lua-nginx-module/archive/v${HTTP_LUA_MODULE_PV}.tar.gz"
|
||||
HTTP_LUA_MODULE_WD="${WORKDIR}/lua-nginx-module-${HTTP_LUA_MODULE_PV}"
|
||||
|
||||
# http_auth_pam (http://web.iti.upv.es/~sto/nginx/, unknown license)
|
||||
HTTP_AUTH_PAM_MODULE_PV="1.2"
|
||||
HTTP_AUTH_PAM_MODULE_P="ngx_http_auth_pam-${HTTP_AUTH_PAM_MODULE_PV}"
|
||||
HTTP_AUTH_PAM_MODULE_URI="http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-${HTTP_AUTH_PAM_MODULE_PV}.tar.gz"
|
||||
HTTP_AUTH_PAM_MODULE_WD="${WORKDIR}/ngx_http_auth_pam_module-${HTTP_AUTH_PAM_MODULE_PV}"
|
||||
|
||||
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
|
||||
|
||||
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
|
||||
HOMEPAGE="http://nginx.org"
|
||||
SRC_URI="http://nginx.org/download/${P}.tar.gz
|
||||
syslog? ( ${SYSLOG_MODULE_URI} -> ${SYSLOG_MODULE_P}.tar.gz )
|
||||
${DEVEL_KIT_MODULE_URI} -> ${DEVEL_KIT_MODULE_P}.tar.gz
|
||||
nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_headers_more? ( ${HTTP_HEADERS_MORE_MODULE_URI} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_push? ( ${HTTP_PUSH_MODULE_URI} -> ${HTTP_PUSH_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_cache_purge? ( ${HTTP_CACHE_PURGE_MODULE_URI} -> ${HTTP_CACHE_PURGE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} -> ${HTTP_UPLOAD_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} -> ${HTTP_SLOWFS_CACHE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_fancyindex? ( ${HTTP_FANCYINDEX_MODULE_URI} -> ${HTTP_FANCYINDEX_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_lua? ( ${HTTP_LUA_MODULE_URI} -> ${HTTP_LUA_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_auth_pam? ( ${HTTP_AUTH_PAM_MODULE_URI} -> ${HTTP_AUTH_PAM_MODULE_P}.tar.gz )"
|
||||
|
||||
LICENSE="BSD-2 BSD SSLeay MIT GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif fastcgi
|
||||
geo gzip limit_req limit_conn map memcached proxy referer rewrite scgi ssi
|
||||
split_clients upstream_ip_hash userid uwsgi"
|
||||
NGINX_MODULES_OPT="addition dav degradation flv geoip gzip_static image_filter
|
||||
mp4 perl random_index realip secure_link stub_status sub xslt"
|
||||
NGINX_MODULES_MAIL="imap pop3 smtp"
|
||||
NGINX_MODULES_3RD="
|
||||
http_upload_progress
|
||||
http_headers_more
|
||||
http_push
|
||||
http_cache_purge
|
||||
http_upload
|
||||
http_slowfs_cache
|
||||
http_fancyindex
|
||||
http_lua
|
||||
http_auth_pam"
|
||||
|
||||
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl
|
||||
syslog vim-syntax"
|
||||
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
IUSE="${IUSE} +nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
IUSE="${IUSE} nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
IUSE="${IUSE} nginx_modules_mail_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_3RD; do
|
||||
IUSE="${IUSE} nginx_modules_${mod}"
|
||||
done
|
||||
|
||||
CDEPEND="
|
||||
pcre? ( >=dev-libs/libpcre-4.2 )
|
||||
pcre-jit? ( >=dev-libs/libpcre-8.20[jit] )
|
||||
selinux? ( sec-policy/selinux-nginx )
|
||||
ssl? ( dev-libs/openssl )
|
||||
http-cache? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_geo? ( dev-libs/geoip )
|
||||
nginx_modules_http_gzip? ( sys-libs/zlib )
|
||||
nginx_modules_http_gzip_static? ( sys-libs/zlib )
|
||||
nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] )
|
||||
nginx_modules_http_perl? ( >=dev-lang/perl-5.8 )
|
||||
nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
|
||||
nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) )
|
||||
nginx_modules_http_auth_pam? ( virtual/pam )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}
|
||||
arm? ( dev-libs/libatomic_ops )
|
||||
libatomic? ( dev-libs/libatomic_ops )"
|
||||
PDEPEND="vim-syntax? ( app-vim/nginx-syntax )"
|
||||
REQUIRED_USE="pcre-jit? ( pcre )"
|
||||
|
||||
pkg_setup() {
|
||||
ebegin "Creating nginx user and group"
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
eend $?
|
||||
|
||||
if use libatomic; then
|
||||
ewarn "GCC 4.1+ features built-in atomic operations."
|
||||
ewarn "Using libatomic_ops is only needed if using"
|
||||
ewarn "a different compiler or a GCC prior to 4.1"
|
||||
fi
|
||||
|
||||
if [[ -n $NGINX_ADD_MODULES ]]; then
|
||||
ewarn "You are building custom modules via \$NGINX_ADD_MODULES!"
|
||||
ewarn "This nginx installation is not supported!"
|
||||
ewarn "Make sure you can reproduce the bug without those modules"
|
||||
ewarn "_before_ reporting bugs."
|
||||
fi
|
||||
|
||||
if use !http; then
|
||||
ewarn "To actually disable all http-functionality you also have to disable"
|
||||
ewarn "all nginx http modules."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use syslog && epatch "${SYSLOG_MODULE_WD}"/syslog_${SYSLOG_MODULE_NGINX_PV}.patch
|
||||
|
||||
find auto/ -type f -print0 | xargs -0 sed -i 's:\&\& make:\&\& \\$(MAKE):' || die
|
||||
# We have config protection, don't rename etc files
|
||||
sed -i 's:.default::' auto/install || die
|
||||
# remove useless files
|
||||
sed -i -e '/koi-/d' -e '/win-/d' auto/install || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf= http_enabled= mail_enabled=
|
||||
|
||||
use aio && myconf+=" --with-file-aio --with-aio_module"
|
||||
use debug && myconf+=" --with-debug"
|
||||
use ipv6 && myconf+=" --with-ipv6"
|
||||
use libatomic && myconf+=" --with-libatomic"
|
||||
use pcre && myconf+=" --with-pcre"
|
||||
use pcre-jit && myconf+=" --with-pcre-jit"
|
||||
|
||||
# syslog support
|
||||
if use syslog; then
|
||||
myconf+=" --add-module=${SYSLOG_MODULE_WD}"
|
||||
fi
|
||||
|
||||
# HTTP modules
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
else
|
||||
myconf+=" --without-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
myconf+=" --with-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if use nginx_modules_http_fastcgi; then
|
||||
myconf+=" --with-http_realip_module"
|
||||
fi
|
||||
|
||||
# third-party modules
|
||||
if use nginx_modules_http_upload_progress; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_UPLOAD_PROGRESS_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_headers_more; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_HEADERS_MORE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_PUSH_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_CACHE_PURGE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_UPLOAD_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_SLOWFS_CACHE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fancyindex; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_FANCYINDEX_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_lua; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${DEVEL_KIT_MODULE_WD}"
|
||||
myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_auth_pam; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_AUTH_PAM_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use http || use http-cache; then
|
||||
http_enabled=1
|
||||
fi
|
||||
|
||||
if [ $http_enabled ]; then
|
||||
use http-cache || myconf+=" --without-http-cache"
|
||||
use ssl && myconf+=" --with-http_ssl_module"
|
||||
else
|
||||
myconf+=" --without-http --without-http-cache"
|
||||
fi
|
||||
|
||||
# MAIL modules
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
if use nginx_modules_mail_${mod}; then
|
||||
mail_enabled=1
|
||||
else
|
||||
myconf+=" --without-mail_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $mail_enabled ]; then
|
||||
myconf+=" --with-mail"
|
||||
use ssl && myconf+=" --with-mail_ssl_module"
|
||||
fi
|
||||
|
||||
# custom modules
|
||||
for mod in $NGINX_ADD_MODULES; do
|
||||
myconf+=" --add-module=${mod}"
|
||||
done
|
||||
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
tc-export CC
|
||||
|
||||
if ! use prefix; then
|
||||
myconf+=" --user=${PN} --group=${PN}"
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--conf-path="${EPREFIX}"/etc/${PN}/${PN}.conf \
|
||||
--error-log-path="${EPREFIX}"/var/log/${PN}/error_log \
|
||||
--pid-path="${EPREFIX}"/var/run/${PN}.pid \
|
||||
--lock-path="${EPREFIX}"/var/lock/nginx.lock \
|
||||
--with-cc-opt="-I${EROOT}usr/include" \
|
||||
--with-ld-opt="-L${EROOT}usr/lib" \
|
||||
--http-log-path="${EPREFIX}"/var/log/${PN}/access_log \
|
||||
--http-client-body-temp-path="${EPREFIX}"/var/tmp/${PN}/client \
|
||||
--http-proxy-temp-path="${EPREFIX}"/var/tmp/${PN}/proxy \
|
||||
--http-fastcgi-temp-path="${EPREFIX}"/var/tmp/${PN}/fastcgi \
|
||||
--http-scgi-temp-path="${EPREFIX}"/var/tmp/${PN}/scgi \
|
||||
--http-uwsgi-temp-path="${EPREFIX}"/var/tmp/${PN}/uwsgi \
|
||||
${myconf} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cp "${FILESDIR}"/nginx.conf "${ED}"/etc/nginx/nginx.conf || die
|
||||
|
||||
newinitd "${FILESDIR}"/nginx.initd nginx
|
||||
|
||||
doman man/nginx.8
|
||||
dodoc CHANGES* README
|
||||
|
||||
# just keepdir. do not copy the default htdocs files (bug #449136)
|
||||
keepdir /var/www/localhost
|
||||
rm -rf "${D}"/usr/html || die
|
||||
|
||||
# logrotate
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/nginx.logrotate nginx
|
||||
|
||||
if use nginx_modules_http_perl; then
|
||||
cd "${S}"/objs/src/http/modules/perl/
|
||||
einstall DESTDIR="${D}" INSTALLDIRS=vendor
|
||||
fixlocalpod
|
||||
fi
|
||||
|
||||
if use syslog; then
|
||||
docinto ${SYSLOG_MODULE_P}
|
||||
dodoc "${SYSLOG_MODULE_WD}"/README
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
docinto ${HTTP_PUSH_MODULE_P}
|
||||
dodoc "${HTTP_PUSH_MODULE_WD}"/{changelog.txt,protocol.txt,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
docinto ${HTTP_CACHE_PURGE_MODULE_P}
|
||||
dodoc "${HTTP_CACHE_PURGE_MODULE_WD}"/{CHANGES,README.md,TODO.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
docinto ${HTTP_UPLOAD_MODULE_P}
|
||||
dodoc "${HTTP_UPLOAD_MODULE_WD}"/{Changelog,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
docinto ${HTTP_SLOWFS_CACHE_MODULE_P}
|
||||
dodoc "${HTTP_SLOWFS_CACHE_MODULE_WD}"/{CHANGES,README.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fancyindex; then
|
||||
docinto ${HTTP_FANCYINDEX_MODULE_P}
|
||||
dodoc "${HTTP_FANCYINDEX_MODULE_WD}"/README.rst
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_lua; then
|
||||
docinto ${HTTP_LUA_MODULE_P}
|
||||
dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_auth_pam; then
|
||||
docinto ${HTTP_AUTH_PAM_MODULE_P}
|
||||
dodoc "${HTTP_AUTH_PAM_MODULE_WD}"/{README,ChangeLog}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
if [ ! -f "${EROOT}"/etc/ssl/${PN}/${PN}.key ]; then
|
||||
install_cert /etc/ssl/${PN}/${PN}
|
||||
use prefix || chown ${PN}:${PN} "${EROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,418 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-1.3.16.ebuild,v 1.1 2013/04/19 05:28:59 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Maintainer notes:
|
||||
# - http_rewrite-independent pcre-support makes sense for matching locations without an actual rewrite
|
||||
# - any http-module activates the main http-functionality and overrides USE=-http
|
||||
# - keep the following requirements in mind before adding external modules:
|
||||
# * alive upstream
|
||||
# * sane packaging
|
||||
# * builds cleanly
|
||||
# * does not need a patch for nginx core
|
||||
# - TODO: test the google-perftools module (included in vanilla tarball)
|
||||
|
||||
# prevent perl-module from adding automagic perl DEPENDs
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
# syslog
|
||||
SYSLOG_MODULE_PV="0.25"
|
||||
SYSLOG_MODULE_NGINX_PV="1.3.14"
|
||||
SYSLOG_MODULE_P="ngx_syslog-${SYSLOG_MODULE_PV}"
|
||||
SYSLOG_MODULE_URI="https://github.com/yaoweibin/nginx_syslog_patch/archive/v${SYSLOG_MODULE_PV}.tar.gz"
|
||||
SYSLOG_MODULE_WD="${WORKDIR}/nginx_syslog_patch-${SYSLOG_MODULE_PV}"
|
||||
|
||||
# devel_kit (https://github.com/simpl/ngx_devel_kit, BSD license)
|
||||
DEVEL_KIT_MODULE_PV="0.2.17"
|
||||
DEVEL_KIT_MODULE_P="ngx_devel_kit-${DEVEL_KIT_MODULE_PV}-r1"
|
||||
DEVEL_KIT_MODULE_URI="https://github.com/simpl/ngx_devel_kit/archive/v${DEVEL_KIT_MODULE_PV}.tar.gz"
|
||||
DEVEL_KIT_MODULE_WD="${WORKDIR}/ngx_devel_kit-${DEVEL_KIT_MODULE_PV}"
|
||||
|
||||
# http_uploadprogress (https://github.com/masterzen/nginx-upload-progress-module, BSD-2 license)
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_PV="0.9.0"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_P="ngx_http_upload_progress-${HTTP_UPLOAD_PROGRESS_MODULE_PV}-r1"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_URI="https://github.com/masterzen/nginx-upload-progress-module/archive/v${HTTP_UPLOAD_PROGRESS_MODULE_PV}.tar.gz"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_WD="${WORKDIR}/nginx-upload-progress-module-${HTTP_UPLOAD_PROGRESS_MODULE_PV}"
|
||||
|
||||
# http_headers_more (http://github.com/agentzh/headers-more-nginx-module, BSD license)
|
||||
HTTP_HEADERS_MORE_MODULE_PV="0.19"
|
||||
HTTP_HEADERS_MORE_MODULE_P="ngx_http_headers_more-${HTTP_HEADERS_MORE_MODULE_PV}-r1"
|
||||
HTTP_HEADERS_MORE_MODULE_URI="https://github.com/agentzh/headers-more-nginx-module/archive/v${HTTP_HEADERS_MORE_MODULE_PV}.tar.gz"
|
||||
HTTP_HEADERS_MORE_MODULE_WD="${WORKDIR}/headers-more-nginx-module-${HTTP_HEADERS_MORE_MODULE_PV}"
|
||||
|
||||
# http_push (http://pushmodule.slact.net/, MIT license)
|
||||
HTTP_PUSH_MODULE_PV="0.692"
|
||||
HTTP_PUSH_MODULE_P="ngx_http_push-${HTTP_PUSH_MODULE_PV}"
|
||||
HTTP_PUSH_MODULE_URI="http://pushmodule.slact.net/downloads/nginx_http_push_module-${HTTP_PUSH_MODULE_PV}.tar.gz"
|
||||
HTTP_PUSH_MODULE_WD="${WORKDIR}/nginx_http_push_module-${HTTP_PUSH_MODULE_PV}"
|
||||
|
||||
# http_cache_purge (http://labs.frickle.com/nginx_ngx_cache_purge/, BSD-2 license)
|
||||
HTTP_CACHE_PURGE_MODULE_PV="2.1"
|
||||
HTTP_CACHE_PURGE_MODULE_P="ngx_http_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
HTTP_CACHE_PURGE_MODULE_URI="http://labs.frickle.com/files/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}.tar.gz"
|
||||
HTTP_CACHE_PURGE_MODULE_WD="${WORKDIR}/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
|
||||
# http_upload (http://www.grid.net.ru/nginx/upload.en.html, BSD license)
|
||||
HTTP_UPLOAD_MODULE_PV="2.2.0"
|
||||
HTTP_UPLOAD_MODULE_P="ngx_http_upload-${HTTP_UPLOAD_MODULE_PV}"
|
||||
HTTP_UPLOAD_MODULE_URI="http://www.grid.net.ru/nginx/download/nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}.tar.gz"
|
||||
HTTP_UPLOAD_MODULE_WD="${WORKDIR}/nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}"
|
||||
|
||||
# http_slowfs_cache (http://labs.frickle.com/nginx_ngx_slowfs_cache/, BSD-2 license)
|
||||
HTTP_SLOWFS_CACHE_MODULE_PV="1.9"
|
||||
HTTP_SLOWFS_CACHE_MODULE_P="ngx_http_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
HTTP_SLOWFS_CACHE_MODULE_URI="http://labs.frickle.com/files/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}.tar.gz"
|
||||
HTTP_SLOWFS_CACHE_MODULE_WD="${WORKDIR}/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
|
||||
# http_fancyindex (http://wiki.nginx.org/NgxFancyIndex, BSD license)
|
||||
HTTP_FANCYINDEX_MODULE_PV="0.3.1.1"
|
||||
HTTP_FANCYINDEX_MODULE_P="ngx_http_fancyindex-${HTTP_FANCYINDEX_MODULE_PV}"
|
||||
HTTP_FANCYINDEX_MODULE_URI="http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad"
|
||||
HTTP_FANCYINDEX_MODULE_WD="${WORKDIR}/ngx-fancyindex-ngx-fancyindex"
|
||||
|
||||
# http_lua (https://github.com/chaoslawful/lua-nginx-module, BSD license)
|
||||
HTTP_LUA_MODULE_PV="0.7.11"
|
||||
HTTP_LUA_MODULE_P="ngx_http_lua-${HTTP_LUA_MODULE_PV}"
|
||||
HTTP_LUA_MODULE_URI="https://github.com/chaoslawful/lua-nginx-module/archive/v${HTTP_LUA_MODULE_PV}.tar.gz"
|
||||
HTTP_LUA_MODULE_WD="${WORKDIR}/lua-nginx-module-${HTTP_LUA_MODULE_PV}"
|
||||
|
||||
# http_auth_pam (http://web.iti.upv.es/~sto/nginx/, unknown license)
|
||||
HTTP_AUTH_PAM_MODULE_PV="1.2"
|
||||
HTTP_AUTH_PAM_MODULE_P="ngx_http_auth_pam-${HTTP_AUTH_PAM_MODULE_PV}"
|
||||
HTTP_AUTH_PAM_MODULE_URI="http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-${HTTP_AUTH_PAM_MODULE_PV}.tar.gz"
|
||||
HTTP_AUTH_PAM_MODULE_WD="${WORKDIR}/ngx_http_auth_pam_module-${HTTP_AUTH_PAM_MODULE_PV}"
|
||||
|
||||
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
|
||||
|
||||
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
|
||||
HOMEPAGE="http://nginx.org"
|
||||
SRC_URI="http://nginx.org/download/${P}.tar.gz
|
||||
syslog? ( ${SYSLOG_MODULE_URI} -> ${SYSLOG_MODULE_P}.tar.gz )
|
||||
${DEVEL_KIT_MODULE_URI} -> ${DEVEL_KIT_MODULE_P}.tar.gz
|
||||
nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_headers_more? ( ${HTTP_HEADERS_MORE_MODULE_URI} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_push? ( ${HTTP_PUSH_MODULE_URI} -> ${HTTP_PUSH_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_cache_purge? ( ${HTTP_CACHE_PURGE_MODULE_URI} -> ${HTTP_CACHE_PURGE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} -> ${HTTP_UPLOAD_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} -> ${HTTP_SLOWFS_CACHE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_fancyindex? ( ${HTTP_FANCYINDEX_MODULE_URI} -> ${HTTP_FANCYINDEX_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_lua? ( ${HTTP_LUA_MODULE_URI} -> ${HTTP_LUA_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_auth_pam? ( ${HTTP_AUTH_PAM_MODULE_URI} -> ${HTTP_AUTH_PAM_MODULE_P}.tar.gz )"
|
||||
|
||||
LICENSE="BSD-2 BSD SSLeay MIT GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif fastcgi
|
||||
geo gzip limit_req limit_conn map memcached proxy referer rewrite scgi ssi
|
||||
split_clients upstream_ip_hash userid uwsgi"
|
||||
NGINX_MODULES_OPT="addition dav degradation flv geoip gzip_static image_filter
|
||||
mp4 perl random_index realip secure_link spdy stub_status sub xslt"
|
||||
NGINX_MODULES_MAIL="imap pop3 smtp"
|
||||
NGINX_MODULES_3RD="
|
||||
http_upload_progress
|
||||
http_headers_more
|
||||
http_push
|
||||
http_cache_purge
|
||||
http_upload
|
||||
http_slowfs_cache
|
||||
http_fancyindex
|
||||
http_lua
|
||||
http_auth_pam"
|
||||
|
||||
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl
|
||||
syslog vim-syntax"
|
||||
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
IUSE="${IUSE} +nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
IUSE="${IUSE} nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
IUSE="${IUSE} nginx_modules_mail_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_3RD; do
|
||||
IUSE="${IUSE} nginx_modules_${mod}"
|
||||
done
|
||||
|
||||
CDEPEND="
|
||||
pcre? ( >=dev-libs/libpcre-4.2 )
|
||||
pcre-jit? ( >=dev-libs/libpcre-8.20[jit] )
|
||||
selinux? ( sec-policy/selinux-nginx )
|
||||
ssl? ( dev-libs/openssl )
|
||||
http-cache? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_geo? ( dev-libs/geoip )
|
||||
nginx_modules_http_gzip? ( sys-libs/zlib )
|
||||
nginx_modules_http_gzip_static? ( sys-libs/zlib )
|
||||
nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] )
|
||||
nginx_modules_http_perl? ( >=dev-lang/perl-5.8 )
|
||||
nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
|
||||
nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_spdy? ( >=dev-libs/openssl-1.0.1c )
|
||||
nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) )
|
||||
nginx_modules_http_auth_pam? ( virtual/pam )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}
|
||||
arm? ( dev-libs/libatomic_ops )
|
||||
libatomic? ( dev-libs/libatomic_ops )"
|
||||
PDEPEND="vim-syntax? ( app-vim/nginx-syntax )"
|
||||
REQUIRED_USE="pcre-jit? ( pcre )"
|
||||
|
||||
pkg_setup() {
|
||||
ebegin "Creating nginx user and group"
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
eend $?
|
||||
|
||||
if use libatomic; then
|
||||
ewarn "GCC 4.1+ features built-in atomic operations."
|
||||
ewarn "Using libatomic_ops is only needed if using"
|
||||
ewarn "a different compiler or a GCC prior to 4.1"
|
||||
fi
|
||||
|
||||
if [[ -n $NGINX_ADD_MODULES ]]; then
|
||||
ewarn "You are building custom modules via \$NGINX_ADD_MODULES!"
|
||||
ewarn "This nginx installation is not supported!"
|
||||
ewarn "Make sure you can reproduce the bug without those modules"
|
||||
ewarn "_before_ reporting bugs."
|
||||
fi
|
||||
|
||||
if use !http; then
|
||||
ewarn "To actually disable all http-functionality you also have to disable"
|
||||
ewarn "all nginx http modules."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use syslog && epatch "${SYSLOG_MODULE_WD}"/syslog_${SYSLOG_MODULE_NGINX_PV}.patch
|
||||
|
||||
find auto/ -type f -print0 | xargs -0 sed -i 's:\&\& make:\&\& \\$(MAKE):' || die
|
||||
# We have config protection, don't rename etc files
|
||||
sed -i 's:.default::' auto/install || die
|
||||
# remove useless files
|
||||
sed -i -e '/koi-/d' -e '/win-/d' auto/install || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf= http_enabled= mail_enabled=
|
||||
|
||||
use aio && myconf+=" --with-file-aio --with-aio_module"
|
||||
use debug && myconf+=" --with-debug"
|
||||
use ipv6 && myconf+=" --with-ipv6"
|
||||
use libatomic && myconf+=" --with-libatomic"
|
||||
use pcre && myconf+=" --with-pcre"
|
||||
use pcre-jit && myconf+=" --with-pcre-jit"
|
||||
|
||||
# syslog support
|
||||
if use syslog; then
|
||||
myconf+=" --add-module=${SYSLOG_MODULE_WD}"
|
||||
fi
|
||||
|
||||
# HTTP modules
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
else
|
||||
myconf+=" --without-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
myconf+=" --with-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if use nginx_modules_http_fastcgi; then
|
||||
myconf+=" --with-http_realip_module"
|
||||
fi
|
||||
|
||||
# third-party modules
|
||||
if use nginx_modules_http_upload_progress; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_UPLOAD_PROGRESS_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_headers_more; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_HEADERS_MORE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_PUSH_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_CACHE_PURGE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_UPLOAD_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_SLOWFS_CACHE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fancyindex; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_FANCYINDEX_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_lua; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${DEVEL_KIT_MODULE_WD}"
|
||||
myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_auth_pam; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_AUTH_PAM_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use http || use http-cache; then
|
||||
http_enabled=1
|
||||
fi
|
||||
|
||||
if [ $http_enabled ]; then
|
||||
use http-cache || myconf+=" --without-http-cache"
|
||||
use ssl && myconf+=" --with-http_ssl_module"
|
||||
else
|
||||
myconf+=" --without-http --without-http-cache"
|
||||
fi
|
||||
|
||||
# MAIL modules
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
if use nginx_modules_mail_${mod}; then
|
||||
mail_enabled=1
|
||||
else
|
||||
myconf+=" --without-mail_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $mail_enabled ]; then
|
||||
myconf+=" --with-mail"
|
||||
use ssl && myconf+=" --with-mail_ssl_module"
|
||||
fi
|
||||
|
||||
# custom modules
|
||||
for mod in $NGINX_ADD_MODULES; do
|
||||
myconf+=" --add-module=${mod}"
|
||||
done
|
||||
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
tc-export CC
|
||||
|
||||
if ! use prefix; then
|
||||
myconf+=" --user=${PN} --group=${PN}"
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--conf-path="${EPREFIX}"/etc/${PN}/${PN}.conf \
|
||||
--error-log-path="${EPREFIX}"/var/log/${PN}/error_log \
|
||||
--pid-path="${EPREFIX}"/run/${PN}.pid \
|
||||
--lock-path="${EPREFIX}"/var/lock/${PN}.lock \
|
||||
--with-cc-opt="-I${EROOT}usr/include" \
|
||||
--with-ld-opt="-L${EROOT}usr/lib" \
|
||||
--http-log-path="${EPREFIX}"/var/log/${PN}/access_log \
|
||||
--http-client-body-temp-path="${EPREFIX}"/var/tmp/${PN}/client \
|
||||
--http-proxy-temp-path="${EPREFIX}"/var/tmp/${PN}/proxy \
|
||||
--http-fastcgi-temp-path="${EPREFIX}"/var/tmp/${PN}/fastcgi \
|
||||
--http-scgi-temp-path="${EPREFIX}"/var/tmp/${PN}/scgi \
|
||||
--http-uwsgi-temp-path="${EPREFIX}"/var/tmp/${PN}/uwsgi \
|
||||
${myconf} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cp "${FILESDIR}"/nginx.conf "${ED}"/etc/nginx/nginx.conf || die
|
||||
|
||||
newinitd "${FILESDIR}"/nginx.initd nginx
|
||||
|
||||
doman man/nginx.8
|
||||
dodoc CHANGES* README
|
||||
|
||||
# just keepdir. do not copy the default htdocs files (bug #449136)
|
||||
keepdir /var/www/localhost
|
||||
rm -rf "${D}"/usr/html || die
|
||||
|
||||
# logrotate
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/nginx.logrotate nginx
|
||||
|
||||
if use nginx_modules_http_perl; then
|
||||
cd "${S}"/objs/src/http/modules/perl/
|
||||
einstall DESTDIR="${D}" INSTALLDIRS=vendor
|
||||
fixlocalpod
|
||||
fi
|
||||
|
||||
if use syslog; then
|
||||
docinto ${SYSLOG_MODULE_P}
|
||||
dodoc "${SYSLOG_MODULE_WD}"/README
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
docinto ${HTTP_PUSH_MODULE_P}
|
||||
dodoc "${HTTP_PUSH_MODULE_WD}"/{changelog.txt,protocol.txt,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
docinto ${HTTP_CACHE_PURGE_MODULE_P}
|
||||
dodoc "${HTTP_CACHE_PURGE_MODULE_WD}"/{CHANGES,README.md,TODO.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
docinto ${HTTP_UPLOAD_MODULE_P}
|
||||
dodoc "${HTTP_UPLOAD_MODULE_WD}"/{Changelog,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
docinto ${HTTP_SLOWFS_CACHE_MODULE_P}
|
||||
dodoc "${HTTP_SLOWFS_CACHE_MODULE_WD}"/{CHANGES,README.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fancyindex; then
|
||||
docinto ${HTTP_FANCYINDEX_MODULE_P}
|
||||
dodoc "${HTTP_FANCYINDEX_MODULE_WD}"/README.rst
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_lua; then
|
||||
docinto ${HTTP_LUA_MODULE_P}
|
||||
dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_auth_pam; then
|
||||
docinto ${HTTP_AUTH_PAM_MODULE_P}
|
||||
dodoc "${HTTP_AUTH_PAM_MODULE_WD}"/{README,ChangeLog}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
if [ ! -f "${EROOT}"/etc/ssl/${PN}/${PN}.key ]; then
|
||||
install_cert /etc/ssl/${PN}/${PN}
|
||||
use prefix || chown ${PN}:${PN} "${EROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue