aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/tengine/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/testing/tengine/APKBUILD b/testing/tengine/APKBUILD
index 0b33d28579..6b4619ff5c 100644
--- a/testing/tengine/APKBUILD
+++ b/testing/tengine/APKBUILD
@@ -3,8 +3,8 @@
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Dennis Przytarski <dennis@przytarski.com>
pkgname=tengine
-pkgver=2.2.2
-pkgrel=4
+pkgver=2.3.2
+pkgrel=0
pkgdesc="Lightweight HTTP and reverse proxy server. It is based on the Nginx HTTP server"
url="https://tengine.taobao.org/"
arch="all !aarch64"
@@ -16,18 +16,16 @@ replaces="nginx"
makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev
openssl-dev paxmark pcre-dev perl-dev pkgconf zlib-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-openrc"
+subpackages="$pkgname-doc $pkgname-openrc"
source="http://tengine.taobao.org/download/tengine-$pkgver.tar.gz
tengine.initd
tengine.logrotate
"
build() {
- cd "$builddir"
./configure \
--prefix=/var/lib/$pkgname \
--sbin-path=/usr/sbin/$pkgname \
- --dso-path=/usr/lib/$pkgname \
--conf-path=/etc/$pkgname/$pkgname.conf \
--pid-path=/run/$pkgname/$pkgname.pid \
--lock-path=/run/$pkgname/$pkgname.lock \
@@ -70,16 +68,15 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.logrotate "$pkgdir"/etc/logrotate.d/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
+ install -Dm644 README.markdown "$pkgdir"/usr/share/doc/$pkgname/README
}
-sha512sums="f77a048261eae88fe8bdf9e68c59dfa502c61f1d6413c1166f627fadddac9673991335683897c24e7600c6367f147757f4838a655ebf96029867aeb03c99e222 tengine-2.2.2.tar.gz
+sha512sums="237d78b0689a2c75a3699a23c81046167e06aa744ee86dc5646c603c7a43d92dd9c517f759cac1b335ff0fdcc5fc866f940f378520723ba04ca1d5fea72f2a6f tengine-2.3.2.tar.gz
3075188f052bf67b4079e78a8b0c56ede7cd8cee890031bf970e45fe8ebdc5739ef092de691108d78b8a111a07cfc98e7ff30234f6a8583db3c647e5fea7d109 tengine.initd
b0ad2fffe47210805ba09667dc40b09d30c7d1ff19fcb0fd4aa548355dcb992a2f9a7a9d3b0992a81e20eecbe37a91c3646b56324daf356c1d811e526fe663f3 tengine.logrotate"