pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
opendoas: Attempt to use install instead of hand-cp
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Tue Nov 3 08:20:20 2020 -0500
Changeset: 88c26fd730768792ecb928adc73d2197066ea088
Modified Files:
opendoas/distinfo
Added Files:
opendoas/patches/patch-bsd.prog.mk
Log Message:
opendoas: Attempt to use install instead of hand-cp
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=88c26fd730768792ecb928adc73d2197066ea088
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
opendoas/distinfo | 1 +
opendoas/patches/patch-bsd.prog.mk | 13 +++++++++++++
2 files changed, 14 insertions(+)
diffs:
diff --git a/opendoas/distinfo b/opendoas/distinfo
index 8b1ca7604a..18efe7351c 100644
--- a/opendoas/distinfo
+++ b/opendoas/distinfo
@@ -4,6 +4,7 @@ SHA1 (OpenDoas-6.6.1-84ccfe0b9ac591199d0464ede10a4130c8a3482d.tar.gz) = ca667704
RMD160 (OpenDoas-6.6.1-84ccfe0b9ac591199d0464ede10a4130c8a3482d.tar.gz) = e428e96df32d3d680dc755b80047e64098902476
SHA512 (OpenDoas-6.6.1-84ccfe0b9ac591199d0464ede10a4130c8a3482d.tar.gz) = 34c3755bebf43c4142e35683e59b2fa12cf4fdc028f3350ed22b1dc95a86e293fa8a1c22a69d956949b4a4c38f080017cacc19bdb0abdf646809e57a057fb3ff
Size (OpenDoas-6.6.1-84ccfe0b9ac591199d0464ede10a4130c8a3482d.tar.gz) = 30797 bytes
+SHA1 (patch-bsd.prog.mk) = 4faa75c003ffb331a0f4d30661f05634e9f119cc
SHA1 (patch-configure) = e144a8009b96a00da0320cffc477f36c32c1cfc1
SHA1 (patch-doas.c) = de7bc8c1312cb186f44fe3f071a34e87dea0f478
SHA1 (patch-pam.c) = 8bdee3b3dbc48d53a5f7c54ff3e22a1954c1bd2a
diff --git a/opendoas/patches/patch-bsd.prog.mk b/opendoas/patches/patch-bsd.prog.mk
new file mode 100644
index 0000000000..2330b5315b
--- /dev/null
+++ b/opendoas/patches/patch-bsd.prog.mk
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- bsd.prog.mk.orig 2020-11-02 13:01:52.000000000 +0000
++++ bsd.prog.mk
+@@ -23,7 +23,7 @@ install: ${PROG} ${PAM_DOAS} ${MAN}
+ [ -n "${PAM_DOAS}" ] && mkdir -p -m 0755 ${DESTDIR}${PAMDIR} || true
+ mkdir -p -m 0755 ${DESTDIR}${MANDIR}/man1
+ mkdir -p -m 0755 ${DESTDIR}${MANDIR}/man5
+- cp -f ${PROG} ${DESTDIR}${BINDIR}
++ install -o ${BINOWN} -g 0 -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}
+ chown ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/${PROG}
+ chmod ${BINMODE} ${DESTDIR}${BINDIR}/${PROG}
+ [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${DESTDIR}${PAMDIR}/doas || true
Home |
Main Index |
Thread Index |
Old Index