mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
|
|
pkgname=nginx-initscripts
|
|
pkgver=1.8.0
|
|
pkgrel=0
|
|
pkgdesc="initscripts and logrotate config for nginx"
|
|
url="http://www.nginx.org"
|
|
arch="noarch"
|
|
license="nginx"
|
|
pkgusers="nginx"
|
|
pkggroups="nginx"
|
|
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
|
replaces="nginx nginx-lua"
|
|
makedepends=""
|
|
subpackages=""
|
|
source="nginx.initd
|
|
nginx.logrotate
|
|
"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
return 0
|
|
}
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
install -m755 -D "$srcdir"/nginx.initd \
|
|
"$pkgdir"/etc/init.d/nginx \
|
|
|| return 1
|
|
install -m644 -D "$srcdir"/nginx.logrotate \
|
|
"$pkgdir"/etc/logrotate.d/nginx \
|
|
|| return 1
|
|
}
|
|
|
|
md5sums="e6c76d4ffbb8549600e03e9e0f4d2dbe nginx.initd
|
|
d3f30c25c84c55252a6babd9e9b0325b nginx.logrotate"
|
|
sha256sums="6dcb7739f97ae86d4a09e12126546bcab0f87da093d78167dcf9f220194ed68b nginx.initd
|
|
6b89872994508cc7b4b225bca3301d7942767f37b8b691134141d95995740890 nginx.logrotate"
|
|
sha512sums="9d645248130ec35183f05efdd5a6b2a911f706348c5efc3bcc29ee88cc02ee68117ca3c7f532115c04db344818fa4a9fd7e31995efbf52e2d963bec568d0c69f nginx.initd
|
|
fda91710185d6b801dd746c8c3678b5719b408de0b715bef7b1985f1ee17db1e8378d440759ea6234b1f70454a35870a2917bd1d6cd309ddc70e1c066fc8d4b8 nginx.logrotate"
|