- (cd ${DESTDIR}/etc; \
- pwd_mkdb -p master.passwd; \
- mv master.passwd.pag passwd.pag; \
- mv master.passwd.dir passwd.dir; \
- mv master.passwd.orig passwd)
+ #
+ # This is broken, it always does /etc. It IGNORES the $DESTDIR for
+ # where to write the spwd.db pwd.db files.
+ #(cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd)
+ #
+ # Work around for above problem.
+ install -c -o root -g wheel -m 644 pwd.db ${DESTDIR}/etc
+ install -c -o root -g wheel -m 600 spwd.db ${DESTDIR}/etc