Date: Fri, 29 Jul 2005 17:22:40 +0400 From: "Eygene A. Ryabinkin" <freebsd@rea.mbslab.kiae.ru> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/84221: Wrong permissions on /etc/opiekeys Message-ID: <20050729132240.GE812@rea.mbslab.kiae.ru> In-Reply-To: <200507281300.j6SD0Oce030737@freefall.freebsd.org> References: <20050728125522.1C67FBB60@rea.mbslab.kiae.ru> <200507281300.j6SD0Oce030737@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
And one more fix for /usr/src/lib/libopie/Makefile to help people that are upgrading via make/buildworld to have right permissions on their keyfile. --- Makefile.orig Fri Jul 29 17:10:48 2005 +++ Makefile Fri Jul 29 17:16:00 2005 @@ -7,6 +7,7 @@ SHLIB_MAJOR= 3 KEYFILE?= \"/etc/opiekeys\" +REALKEYFILE= ${KEYFILE:S/\"//g} .PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing @@ -32,5 +33,8 @@ MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 MLINKS= opie.4 skey.4 + +beforeinstall: + test -f $(REALKEYFILE) && chmod 0600 $(REALKEYFILE) || true .include <bsd.lib.mk> -- rea
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729132240.GE812>