openbsd-ports/net/djbdns/patches/patch-rights
camield 860b3c127c - the name 'dnscache' has been changed to 'djbdns'
- permit_* = Yes, package reasonably conforms to http://cr.yp.to/djbdns/dist.html
- add RCS id to PLIST
- add ${HOMEPAGE} to MESSAGE
- add note to SECURITY: There is a $500 reward for the first person
  to publish a security hole in djbdns.
2000-07-13 08:56:19 +00:00

31 lines
1.0 KiB
Plaintext

$OpenBSD: patch-rights,v 1.1.1.1 2000/07/13 08:56:20 camield Exp $
This port wants to change the rights on PREFIX/ and PREFIX/bin to 02755.
Usually PREFIX is /usr/local. The rights on /usr/local and /usr/local/bin
should be 0755 according to /etc/mtree/4.4BSD.dist.
Also, use /usr/local/share instead of /usr/local/etc.
--- hier.c.orig Sat Feb 26 03:03:17 2000
+++ hier.c Tue Feb 29 08:22:33 2000
@@ -2,13 +2,13 @@
void hier()
{
- h(auto_home,-1,-1,02755);
- d(auto_home,"etc",-1,-1,02755);
- d(auto_home,"etc/dnscache",-1,-1,02755);
- d(auto_home,"bin",-1,-1,02755);
+ h(auto_home,-1,-1,0755);
+ d(auto_home,"share",-1,-1,0755);
+ d(auto_home,"share/dnscache",-1,-1,0755);
+ d(auto_home,"bin",-1,-1,0755);
- c(auto_home,"etc/dnscache","VERSION",-1,-1,0644);
- c(auto_home,"etc/dnscache","@",-1,-1,0644);
+ c(auto_home,"share/dnscache","VERSION",-1,-1,0644);
+ c(auto_home,"share/dnscache","@",-1,-1,0644);
c(auto_home,"bin","dnscache-conf",-1,-1,0755);
c(auto_home,"bin","tinydns-conf",-1,-1,0755);