summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2017-02-01 22:37:24 +0100
committerNicolas Iooss2017-02-01 22:37:24 +0100
commit990b3432866baf7128fa471c928e3fff6795bdb8 (patch)
treef31a77324457f71a35f3dc3f2017d84b27264196
parentfee853125ac732fddb59a84da46bd2c273361374 (diff)
downloadaur-990b3432866baf7128fa471c928e3fff6795bdb8.tar.gz
ustr-selinux: use Fedora package
www.and.org is no longer available but ustr tarball is still available in Fedora packages (cf. https://github.com/archlinuxhardened/selinux/issues/4#issuecomment-276704257)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98b0a276de92..c5ea8587a85e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,7 +9,7 @@ pkgbase = ustr-selinux
depends = glibc
provides = ustr=1.0.4-4
conflicts = ustr
- source = http://www.and.org/ustr/1.0.4/ustr-1.0.4.tar.bz2
+ source = http://pkgs.fedoraproject.org/repo/pkgs/ustr/ustr-1.0.4.tar.bz2/93147d9f0c9765d4cd0f04f7e44bdfce/ustr-1.0.4.tar.bz2
source = 0001-Fix-the-prototype-of-ustrp_utf8_valid.patch
source = 0002-Mark-inline-functions-as-static-to-fix-build-with-GC.patch
md5sums = 93147d9f0c9765d4cd0f04f7e44bdfce
diff --git a/PKGBUILD b/PKGBUILD
index 3bcc6b0cbe62..61ea365cad77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,8 @@ license=('GPL')
depends=('glibc')
conflicts=("${pkgname/-selinux}")
provides=("${pkgname/-selinux}=${pkgver}-${pkgrel}")
-source=(http://www.and.org/ustr/$pkgver/ustr-$pkgver.tar.bz2
+# http://www.and.org/ustr/$pkgver/ustr-$pkgver.tar.bz2 is no longer available
+source=(http://pkgs.fedoraproject.org/repo/pkgs/ustr/ustr-$pkgver.tar.bz2/93147d9f0c9765d4cd0f04f7e44bdfce/ustr-$pkgver.tar.bz2
0001-Fix-the-prototype-of-ustrp_utf8_valid.patch
0002-Mark-inline-functions-as-static-to-fix-build-with-GC.patch)
md5sums=('93147d9f0c9765d4cd0f04f7e44bdfce'