aboutsummaryrefslogtreecommitdiffstats
path: root/main/protobuf-c/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/protobuf-c/APKBUILD')
-rw-r--r--main/protobuf-c/APKBUILD21
1 files changed, 16 insertions, 5 deletions
diff --git a/main/protobuf-c/APKBUILD b/main/protobuf-c/APKBUILD
index d6b0f8fa8a..367e16c2ff 100644
--- a/main/protobuf-c/APKBUILD
+++ b/main/protobuf-c/APKBUILD
@@ -2,21 +2,25 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=protobuf-c
pkgver=1.3.3
-pkgrel=4
-pkgdesc="C bindings for Google's Protocol Buffers"
-url="https://github.com/protobuf-c/protobuf-c/wiki"
+pkgrel=6
+pkgdesc="Protocol Buffers implementation in C"
+url="https://github.com/protobuf-c/protobuf-c"
arch="all"
license="BSD-2-Clause"
+depends_dev="$pkgname-compiler=$pkgver-r$pkgrel"
makedepends="protobuf-dev"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-compiler $pkgname-dev"
source="https://github.com/protobuf-c/protobuf-c/releases/download/v$pkgver/protobuf-c-$pkgver.tar.gz"
+# secfixes:
+# 1.3.2-r0:
+# - CVE-2021-3121
+
build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
-
make
}
@@ -28,4 +32,11 @@ package() {
make DESTDIR="$pkgdir" install
}
+compiler() {
+ pkgdesc="Protocol Buffers C compiler"
+
+ amove usr/bin/protoc-c
+ amove usr/bin/protoc-gen-c
+}
+
sha512sums="85308348929487e3a89158c6078dab39cee0b39a0611a4d5ba73d20520e41d96915e42a0d6060ebd3eb7d922c82444f5ca000ea4f8791b37734485cbb7e283b1 protobuf-c-1.3.3.tar.gz"