summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67386ba0c17..ee7d2d33f10 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
-# Generated by mksrcinfo v8
-# Sat May 27 14:50:38 UTC 2017
pkgbase = prosody-mod-auth-external-hg
- pkgdesc = Authenticate Prosody users using a custom binary/script
+ pkgdesc = Authenticate Prosody users using a custom binary/script (DEPRECATED UPSTREAM)
pkgver = tip
- pkgrel = 1
+ pkgrel = 2
url = https://modules.prosody.im/mod_auth_external.html
arch = any
license = MIT
makedepends = mercurial
- depends = prosody>=0.8
- depends = lua51-lpty
+ depends = prosody
+ depends = lua52-lpty
source = hg+https://hg.prosody.im/prosody-modules/
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0547be71d24..76927f799b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=prosody-mod-auth-external-hg
pkgver=tip
-pkgrel=1
-pkgdesc="Authenticate Prosody users using a custom binary/script"
+pkgrel=2
+pkgdesc="Authenticate Prosody users using a custom binary/script (DEPRECATED UPSTREAM)"
arch=('any')
url="https://modules.prosody.im/mod_auth_external.html"
license=('MIT')
-depends=('prosody>=0.8' 'lua51-lpty')
+depends=('prosody' 'lua52-lpty')
makedepends=('mercurial')
source=("hg+https://hg.prosody.im/prosody-modules/")
sha1sums=('SKIP')
@@ -18,8 +18,8 @@ pkgver() {
}
package() {
- cd "${srcdir}/prosody-modules/mod_auth_external"
+ cd "${srcdir}/prosody-modules/mod_auth_external_insecure"
mkdir -p "${pkgdir}/usr/lib/prosody/modules/" "${pkgdir}/usr/share/doc/${pkgname}"
- cp mod_auth_external.lua "${pkgdir}/usr/lib/prosody/modules/"
+ cp mod_auth_external_insecure.lua "${pkgdir}/usr/lib/prosody/modules/mod_auth_external.lua"
cp -r examples README.markdown "${pkgdir}/usr/share/doc/${pkgname}/"
}