pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48913: "libmilter" and "sendmail" can no longer be built as an unprivileged user



The following reply was made to PR pkg/48913; it has been noted by GNATS.

From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48913: "libmilter" and "sendmail" can no longer be built as an 
unprivileged user
Date: Wed, 18 Jun 2014 17:28:55 +0900

 I think the part of patches/patch-aa is to be reverted.
 
 Thank you,
 ---
 mef%NetBSD.org@localhost
 Makoto Fujiwara, 
 Chiba, Japan, Narita Airport and Disneyland prefecture.
 
 Index: mail/sendmail/Makefile
 ===================================================================
 RCS file: /cvs/cvsroot/pkgsrc/mail/sendmail/Makefile,v
 retrieving revision 1.122
 diff -u -r1.122 Makefile
 --- mail/sendmail/Makefile     15 Jun 2014 21:04:30 -0000      1.122
 +++ mail/sendmail/Makefile     18 Jun 2014 08:24:19 -0000
 @@ -27,6 +27,13 @@
  MAKE_DIRS_PERMS+=     /${VARBASE}/spool/mqueue ${REAL_ROOT_USER} 
${REAL_ROOT_GROUP} 0700
  
  SPECIAL_PERMS+=               libexec/sendmail/sendmail ${REAL_ROOT_USER} 
smmsp 2555
 +SPECIAL_PERMS+=               share/misc/helpfile     bin bin 0444
 +SPECIAL_PERMS+=               sbin/editmap            bin bin 0555
 +SPECIAL_PERMS+=               sbin/mailstats          bin bin 0555
 +SPECIAL_PERMS+=               sbin/makemap            bin bin 0555
 +SPECIAL_PERMS+=               sbin/praliases          bin bin 0555
 +SPECIAL_PERMS+=               libexec/sendmail/smrsh  bin bin 0555
 +SPECIAL_PERMS+=               bin/vacation            bin bin 0555
  
  PKG_GROUPS=           smmsp
  PKG_USERS=            smmsp:smmsp
 Index: mail/sendmail/distinfo
 ===================================================================
 RCS file: /cvs/cvsroot/pkgsrc/mail/sendmail/distinfo,v
 retrieving revision 1.51
 diff -u -r1.51 distinfo
 --- mail/sendmail/distinfo     15 Jun 2014 20:48:49 -0000      1.51
 +++ mail/sendmail/distinfo     18 Jun 2014 08:24:19 -0000
 @@ -3,7 +3,7 @@
  SHA1 (sendmail.8.14.9.tar.gz) = fcf92eb0c119da1593ccda96ee24b4d0b0b21fd7
  RMD160 (sendmail.8.14.9.tar.gz) = da36f900a94c9300521a60bf917ed3e5d6c88d1e
  Size (sendmail.8.14.9.tar.gz) = 2114293 bytes
 -SHA1 (patch-aa) = bd1ab754f7146d002eaf8c0347e114b4049a7776
 +SHA1 (patch-aa) = ab66e158551e11447705eab1695193f6c8421f27
  SHA1 (patch-af) = bd3e26b0e78eadd610713430ae6deac888176442
  SHA1 (patch-ag) = f76de45c7e8d16207670e151265b7edbca4c045c
  SHA1 (patch-ah) = e6be09008b9230ffdd1560aaacbdbb2ee4fb8028
 Index: mail/sendmail/patches/patch-aa
 ===================================================================
 RCS file: /cvs/cvsroot/pkgsrc/mail/sendmail/patches/patch-aa,v
 retrieving revision 1.21
 diff -u -r1.21 patch-aa
 --- mail/sendmail/patches/patch-aa     15 Jun 2014 20:48:50 -0000      1.21
 +++ mail/sendmail/patches/patch-aa     18 Jun 2014 08:24:19 -0000
 @@ -1,8 +1,8 @@
 -$NetBSD: patch-aa,v 1.21 2014/06/15 20:48:50 jnemeth Exp $
 +$NetBSD: patch-aa,v 1.20 2013/03/23 10:06:12 joerg Exp $
  
 ---- devtools/OS/NetBSD.orig   2014-03-06 17:31:29.000000000 +0000
 +--- devtools/OS/NetBSD.orig   2004-06-16 17:50:00.000000000 +0000
  +++ devtools/OS/NetBSD
 -@@ -5,15 +5,11 @@ dnl Place personal settings in devtools/
 +@@ -5,15 +5,16 @@ dnl Place personal settings in devtools/
   
   define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX')
   define(`confLIBS', `-lutil')
 @@ -14,6 +14,11 @@
  -define(`confUBINGRP', `wheel')
  -define(`confMANOWN', `root')
  -define(`confMANGRP', `wheel')
 ++define(`confSBINGRP', `${BSD_BINGRP}')
 ++define(`confUBINOWN', `${BSD_BINOWN}')
 ++define(`confUBINGRP', `${BSD_BINGRP}')
 ++define(`confMANOWN', `${BSD_MANOWN}')
 ++define(`confMANGRP', `${BSD_MANGRP}')
   define(`confMAN1EXT', `0')
   define(`confMAN3EXT', `0')
   define(`confMAN4EXT', `0')
 


Home | Main Index | Thread Index | Old Index