1

[alpine-aports] [PATCH] testing/prosody-mod-auth-ldap: New aport

Marian Buschsieweke
Details
Message ID
<20170817173149.25059-1-marian.buschsieweke@ovgu.de>
Sender timestamp
1502991109
DKIM signature
missing
Download raw message
Patch: +22 -0
A Prosody authentication plugin which uses LDAP as the backend
https://modules.prosody.im/mod_auth_ldap.html
---
 testing/prosody-mod-auth-ldap/APKBUILD | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 testing/prosody-mod-auth-ldap/APKBUILD

diff --git a/testing/prosody-mod-auth-ldap/APKBUILD b/testing/prosody-mod-auth-ldap/APKBUILD
new file mode 100644
index 0000000000..fd0cb3f232
--- /dev/null
+++ b/testing/prosody-mod-auth-ldap/APKBUILD
@@ -0,0 +1,22 @@
+# Contributor: Marian <marian.buschsieweke@ovgu.de>
+# Maintainer: Marian <marian.buschsieweke@ovgu.de>
+pkgname=prosody-mod-auth-ldap
+_prosody_mod_name=auth_ldap
+pkgver=20170817
+pkgrel=0
+pkgdesc="A Prosody authentication plugin which uses LDAP as the backend"
+url="https://modules.prosody.im/mod_auth_ldap.html"
+arch="noarch"
+
+license="MIT"
+depends="prosody lua5.1-ldap"
+makedepends=""
+subpackages=""
+source="https://hg.prosody.im/prosody-modules/raw-file/tip/mod_${_prosody_mod_name}/mod_${_prosody_mod_name}.lua"
+options="!check"
+
+package() {
+	cd "$srcdir"
+	install -Dm644 "mod_${_prosody_mod_name}.lua" "${pkgdir}/usr/lib/prosody/modules/mod_${_prosody_mod_name}.lua"
+}
+sha512sums="4be27f11fd202e2dd7e8af193eec44d7131ac40bcb32d3d91981f49ac6b2a05b15570d3f7234b5fed0048542b8539627604a0ec9df1055b4c6a3a2f2faef5b66  mod_auth_ldap.lua"
-- 
2.14.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

Re: [alpine-aports] testing/prosody-mod-auth-ldap: New aport

Timo Teras
Details
Message ID
<20170828110626.0861f0f6@vostro.util.wtbts.net>
In-Reply-To
<20170817173149.25059-1-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1503907586
DKIM signature
missing
Download raw message
Hi,

On Thu, 17 Aug 2017 19:31:49 +0200
Marian Buschsieweke <marian.buschsieweke@ovgu.de> wrote:

> A Prosody authentication plugin which uses LDAP as the backend
> https://modules.prosody.im/mod_auth_ldap.html
> ---
>  testing/prosody-mod-auth-ldap/APKBUILD | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 testing/prosody-mod-auth-ldap/APKBUILD
> 
> diff --git a/testing/prosody-mod-auth-ldap/APKBUILD
> b/testing/prosody-mod-auth-ldap/APKBUILD new file mode 100644
> index 0000000000..fd0cb3f232
> --- /dev/null
> +++ b/testing/prosody-mod-auth-ldap/APKBUILD
> @@ -0,0 +1,22 @@
> +# Contributor: Marian <marian.buschsieweke@ovgu.de>
> +# Maintainer: Marian <marian.buschsieweke@ovgu.de>
> +pkgname=prosody-mod-auth-ldap
> +_prosody_mod_name=auth_ldap
> +pkgver=20170817
> +pkgrel=0
> +pkgdesc="A Prosody authentication plugin which uses LDAP as the
> backend" +url="https://modules.prosody.im/mod_auth_ldap.html"
> +arch="noarch"
> +
> +license="MIT"
> +depends="prosody lua5.1-ldap"
> +makedepends=""
> +subpackages=""
> +source="https://hg.prosody.im/prosody-modules/raw-file/tip/mod_${_prosody_mod_name}/mod_${_prosody_mod_name}.lua"

This refers to 'tip' which basically means 'latest version'. Please use
versioned links, as otherwise the checksums don't match and we cannot
produce consistent builds.

Same applies for the other prosody modules commits.

Thinking more, I'm wondering would it make sense to have one source
package 'prososdy-modules' that packages all the modules and is split
to these different modules then...

I'm marking all the prosody modules as 'changes requested'.

Also one of the modules was incorporated to prosody 0.10. Would it make
sense to first upgrade prosody (or is it still unreleased/unstable
version?).

Timo


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---