HI!
Anything special with installing the man-page of pw-argon2?
It fails in openSUSE Build Service:
[ 112s] mkdir -p `grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/share/man/man5 [ 112s] /usr/bin/install -m 644 slapd-pw-argon2.5 `grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/share/man/man5 [ 112s] /usr/bin/install: cannot create regular file '/usr/share/man/man5/slapd-pw-argon2.5': Permission denied [ 112s] make: *** [Makefile:70: install-man] Error 1 [ 112s] make: *** Waiting for unfinished jobs....
Ciao, Michael.
On Wed, Apr 29, 2020 at 02:38:01AM +0200, Michael Ströder wrote:
Anything special with installing the man-page of pw-argon2?
It fails in openSUSE Build Service:
[ 112s] mkdir -p `grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/share/man/man5 [ 112s] /usr/bin/install -m 644 slapd-pw-argon2.5 `grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/share/man/man5 [ 112s] /usr/bin/install: cannot create regular file '/usr/share/man/man5/slapd-pw-argon2.5': Permission denied [ 112s] make: *** [Makefile:70: install-man] Error 1 [ 112s] make: *** Waiting for unfinished jobs....
Works for me:
https://buildd.debian.org/status/fetch.php?pkg=openldap&arch=amd64&v...
/usr/bin/install -m 644 slapd-pw-argon2.5 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5
Perhaps you need to set DESTDIR?
On 4/29/20 2:48 AM, Ryan Tandy wrote:
On Wed, Apr 29, 2020 at 02:38:01AM +0200, Michael Ströder wrote:
Anything special with installing the man-page of pw-argon2?
It fails in openSUSE Build Service:
[ 112s] mkdir -p `grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/share/man/man5 [ 112s] /usr/bin/install -m 644 slapd-pw-argon2.5 `grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/share/man/man5 [ 112s] /usr/bin/install: cannot create regular file '/usr/share/man/man5/slapd-pw-argon2.5': Permission denied [ 112s] make: *** [Makefile:70: install-man] Error 1 [ 112s] make: *** Waiting for unfinished jobs....
Works for me:
https://buildd.debian.org/status/fetch.php?pkg=openldap&arch=amd64&v...
/usr/bin/install -m 644 slapd-pw-argon2.5 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5
Perhaps you need to set DESTDIR?
DESTDIR is set and it works for all other contrib overlays. Hmm, but it seems to me passwd/argon2 is the only contrib overlay actually installing a man page.
See details herein:
https://build.opensuse.org/package/show/home:stroeder:iam/openldap2
Ciao, Michael.
On Wed, Apr 29, 2020 at 03:57:10AM +0200, Michael Ströder wrote:
DESTDIR is set and it works for all other contrib overlays. Hmm, but it seems to me passwd/argon2 is the only contrib overlay actually installing a man page.
Thanks for reporting. Filed now as ITS#9248.
Judging from your existing make invocations I guess you want to set mandir= or man5dir= for this one.
In 2.5 there are man pages for more contrib modules.
On 4/29/20 4:17 AM, Ryan Tandy wrote:
On Wed, Apr 29, 2020 at 03:57:10AM +0200, Michael Ströder wrote:
DESTDIR is set and it works for all other contrib overlays. Hmm, but it seems to me passwd/argon2 is the only contrib overlay actually installing a man page.
Thanks for reporting. Filed now as ITS#9248.
Ah, I see.
Judging from your existing make invocations I guess you want to set mandir= or man5dir= for this one.
Yeah, setting mandir= fixed it.
Many thanks for your help.
Ciao, Michael.
FWIW, the pw-argon2 module does not build on CentOS 6, it needs a newer libsodium than the one available in EPEL 6 (that one does not implement argon2 yet).
CentOS 7 is fine.
Geert
Le 29/04/2020 à 11:03, Geert Hendrickx a écrit :
FWIW, the pw-argon2 module does not build on CentOS 6, it needs a newer libsodium than the one available in EPEL 6 (that one does not implement argon2 yet).
CentOS 7 is fine.
I confirm, this will be included in LTB packages for CentOS 7 and CentOS 8.
openldap-technical@openldap.org