diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 22:29:06 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 22:29:06 -0500 |
commit | 4d7d539bf55e4fe32b317c0d281b22c1bd11b02a (patch) | |
tree | 7ae6d062dc7f2cd97228fdeaf007a6adfb5901a2 | |
parent | c45643530df7ec569b429d51573fd0912b4772eb (diff) | |
download | packages-4d7d539bf55e4fe32b317c0d281b22c1bd11b02a.tar.gz packages-4d7d539bf55e4fe32b317c0d281b22c1bd11b02a.tar.bz2 packages-4d7d539bf55e4fe32b317c0d281b22c1bd11b02a.tar.xz packages-4d7d539bf55e4fe32b317c0d281b22c1bd11b02a.zip |
user/libxfont2: pull in, take, fix
-rw-r--r-- | user/libxfont2/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/user/libxfont2/APKBUILD b/user/libxfont2/APKBUILD new file mode 100644 index 000000000..fc2836f2b --- /dev/null +++ b/user/libxfont2/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libxfont2 +pkgver=2.0.3 +pkgrel=1 +pkgdesc="X11 font library from X.Org" +url="https://www.X.Org/" +arch="all" +license="MIT AND X11 AND BSD-4-Clause" +depends="" +makedepends="freetype-dev libfontenc-dev util-macros xorgproto-dev xtrans + zlib-dev" +subpackages="$pkgname-dev" +source="https://www.X.Org/pub/individual/lib/libXfont2-$pkgver.tar.bz2" +builddir="$srcdir/libXfont2-$pkgver" + +# secfixes: +# 2.0.3-r0: +# - CVE-2017-16611 + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static \ + --without-fop + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="648b664e2aa58cbc7366a1b05873aa06bd4a38060f64085783043388244af8ceced77b29a22c3ac8b6d34cd226e093bbbcc785ea1748ea65720fe7ea05b4b44b libXfont2-2.0.3.tar.bz2" |