opendoas: Fix packaging on Linux.

This commit is contained in:
Sunil Nimmagadda 2020-11-16 20:25:48 +05:30
parent b70a58951e
commit e27b37db2b
2 changed files with 4 additions and 4 deletions

View File

@ -4,4 +4,4 @@ SHA1 (opendoas-6.8.tar.gz) = 11963ee647b7166972512740bc7f648c8aa1272f
RMD160 (opendoas-6.8.tar.gz) = 56f9c02d81f6ad9925323f1b44d7f7087f1108f0
SHA512 (opendoas-6.8.tar.gz) = 4a57079bba353247e645bc07a5d4e78fd01471d193e83751fd87b72cffa4e152c0f7ea172563f767a7193b14489f57bc066b4fee50842d30b5b7f7ce918434bb
Size (opendoas-6.8.tar.gz) = 32307 bytes
SHA1 (patch-GNUmakefile) = 8159b1677da183c3cceb5b08c6a00a16d790a2e5
SHA1 (patch-GNUmakefile) = d301c0334ce6ac7992d61681e1852a301557d300

View File

@ -3,7 +3,7 @@ $NetBSD$
- Allow build as an unpriviliged user.
- Install configuration files in EGDIR.
--- GNUmakefile.orig 2020-11-16 14:19:01.611367954 +0000
--- GNUmakefile.orig 2020-11-14 15:44:04.000000000 +0000
+++ GNUmakefile
@@ -16,15 +16,9 @@ ${PROG}: ${OBJS}
${CC} ${CFLAGS} $^ -o $@ ${LDFLAGS} ${LDLIBS}
@ -18,8 +18,8 @@ $NetBSD$
- chmod ${BINMODE} ${DESTDIR}${BINDIR}/${PROG}
- [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${DESTDIR}${PAMDIR}/doas || true
- [ -n "${PAM_DOAS}" ] && chmod 0644 ${DESTDIR}${PAMDIR}/doas || true
+ [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${SHAREDIR}/doas || true
+ [ -n "${PAM_DOAS}" ] && chmod 0644 ${SHAREDIR}/doas || true
+ [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${DESTDIR}${SHAREDIR}/doas || true
+ [ -n "${PAM_DOAS}" ] && chmod 0644 ${DESTDIR}${SHAREDIR}/doas || true
cp -f doas.1 ${DESTDIR}${MANDIR}/man1
cp -f doas.conf.5 ${DESTDIR}${MANDIR}/man5