Following diff installs the files in /etc/ssl with the correct owner.
Ok?

natano


Index: lib/libcrypto/Makefile
===================================================================
RCS file: /cvs/src/lib/libcrypto/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- lib/libcrypto/Makefile      4 Sep 2016 17:59:26 -0000       1.4
+++ lib/libcrypto/Makefile      11 Sep 2016 11:45:25 -0000
@@ -424,11 +424,11 @@ all beforedepend: ${GENERATED}
 
 
 distribution:
-       ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
+       ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
           ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \
-       ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
+       ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
           ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \
-       ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
+       ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
           ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf
 
 ${PC_FILES}: opensslv.h
Index: usr.sbin/ikectl/Makefile
===================================================================
RCS file: /cvs/src/usr.sbin/ikectl/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- usr.sbin/ikectl/Makefile    1 Mar 2016 13:54:39 -0000       1.6
+++ usr.sbin/ikectl/Makefile    11 Sep 2016 11:45:26 -0000
@@ -16,7 +16,7 @@ CFLAGS+=      -Wshadow -Wpointer-arith -Wcast
 CFLAGS+=       -Wsign-compare
 
 distribution:
-       ${INSTALL} -C -g wheel -m 0644 ${.CURDIR}/ikeca.cnf \
+       ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/ikeca.cnf \
            ${DESTDIR}/etc/ssl/ikeca.cnf
 
 .include <bsd.prog.mk>

Reply via email to