From 0c62ef6f3ea38a949235573bc9b480ac8867f905 Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 17 Apr 2004 22:08:11 +0000 Subject: - Avoid changing permissions of system directories on install - Unmark BROKEN - Portlint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: ports/65575 Submitted by: David Siebörger (maintainer) --- mail/mess822/Makefile | 6 ++---- mail/mess822/files/patch-aa | 42 +++++++++++++++++++++++++++++++----------- 2 files changed, 33 insertions(+), 15 deletions(-) (limited to 'mail/mess822') diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile index a37a09f8c4f..a163ee95fe8 100644 --- a/mail/mess822/Makefile +++ b/mail/mess822/Makefile @@ -18,8 +18,6 @@ COMMENT= RFC 822 mail message parsing library and rewriting utilities RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail -BROKEN= "Changes permissions of system directories" - NO_PACKAGE= Violates djb\'s license USE_REINPLACE= yes @@ -34,9 +32,9 @@ MAN5= rewriting.5 MAN8= ofmipd.8 ofmipname.8 .if exists(${PREFIX}/qmail/bin/qmail-send) -QMAIL_DIR?= ${PREFIX}/qmail +QMAIL_DIR?= ${PREFIX}/qmail .else -QMAIL_DIR?= /var/qmail +QMAIL_DIR?= /var/qmail .endif NO_MTREE= yes diff --git a/mail/mess822/files/patch-aa b/mail/mess822/files/patch-aa index e1c86d5ee3d..a32b04085e2 100644 --- a/mail/mess822/files/patch-aa +++ b/mail/mess822/files/patch-aa @@ -1,10 +1,20 @@ -*** hier.c.orig Sun Feb 4 16:12:16 2001 ---- hier.c Sun Feb 4 16:13:07 2001 +*** hier.c.orig Sat Sep 5 04:33:37 1998 +--- hier.c Thu Apr 15 12:55:16 2004 *************** -*** 12,21 **** - d(auto_home,"man/man3",-1,-1,02755); - d(auto_home,"man/man5",-1,-1,02755); - d(auto_home,"man/man8",-1,-1,02755); +*** 2,21 **** + + void hier() + { +! h(auto_home,-1,-1,02755); + +! d(auto_home,"bin",-1,-1,02755); +! d(auto_home,"lib",-1,-1,02755); +! d(auto_home,"include",-1,-1,02755); +! d(auto_home,"man",-1,-1,02755); +! d(auto_home,"man/man1",-1,-1,02755); +! d(auto_home,"man/man3",-1,-1,02755); +! d(auto_home,"man/man5",-1,-1,02755); +! d(auto_home,"man/man8",-1,-1,02755); ! d(auto_home,"man/cat1",-1,-1,02755); ! d(auto_home,"man/cat3",-1,-1,02755); ! d(auto_home,"man/cat5",-1,-1,02755); @@ -12,11 +22,21 @@ c(auto_home,"lib","mess822.a",-1,-1,0644); c(auto_home,"include","mess822.h",-1,-1,0644); ---- 12,18 ---- - d(auto_home,"man/man3",-1,-1,02755); - d(auto_home,"man/man5",-1,-1,02755); - d(auto_home,"man/man8",-1,-1,02755); -! d(auto_home,"etc",-1,-1,02755); +--- 2,18 ---- + + void hier() + { +! h(auto_home,-1,-1,0755); + +! d(auto_home,"bin",-1,-1,0755); +! d(auto_home,"lib",-1,-1,0755); +! d(auto_home,"include",-1,-1,0755); +! d(auto_home,"man",-1,-1,0755); +! d(auto_home,"man/man1",-1,-1,0755); +! d(auto_home,"man/man3",-1,-1,0755); +! d(auto_home,"man/man5",-1,-1,0755); +! d(auto_home,"man/man8",-1,-1,0755); +! d(auto_home,"etc",-1,-1,0755); c(auto_home,"lib","mess822.a",-1,-1,0644); c(auto_home,"include","mess822.h",-1,-1,0644); -- cgit