summaryrefslogtreecommitdiff
path: root/user/libxdmcp
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:13:18 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:13:18 -0500
commitd770c829b45a28a8a98813754ccdc2d981562eea (patch)
tree4bcfb4d84bc20037b80ceeefb72bd27f0a2a0964 /user/libxdmcp
parent0d760fb6086c391f6be182531d9cc13980c2d1be (diff)
downloadpackages-d770c829b45a28a8a98813754ccdc2d981562eea.tar.gz
packages-d770c829b45a28a8a98813754ccdc2d981562eea.tar.bz2
packages-d770c829b45a28a8a98813754ccdc2d981562eea.tar.xz
packages-d770c829b45a28a8a98813754ccdc2d981562eea.zip
user/libxdmcp: pull in, fix, take
Diffstat (limited to 'user/libxdmcp')
-rw-r--r--user/libxdmcp/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxdmcp/APKBUILD b/user/libxdmcp/APKBUILD
new file mode 100644
index 000000000..3c7c41fe7
--- /dev/null
+++ b/user/libxdmcp/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxdmcp
+pkgver=1.1.2
+pkgrel=5
+pkgdesc="X11 Display Manager Control Protocol library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=
+makedepends="xorgproto-dev libbsd-dev util-macros xmlto"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libXdmcp-$pkgver.tar.bz2"
+builddir="$srcdir/libXdmcp-$pkgver"
+
+# secfixes:
+# 1.1.2-r3:
+# - CVE-2017-2625
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="f96005934b8bc752059106f8caf7df0574f5ef3c7a83bd797497b56ca556a7ff4dc1d28195e421259e82ea027b5c738094add3ec107a22544c9070725d8d46bb libXdmcp-1.1.2.tar.bz2"