svn commit: r388045 - head/mail/sendmail

John Marino freebsd.contact at marino.st
Thu Jun 4 08:27:11 UTC 2015


On 6/4/2015 08:01, John Marino wrote:
> On 5/31/2015 01:54, Baptiste Daroussin wrote:
>> Author: bapt
>> Date: Sat May 30 23:54:51 2015
>> New Revision: 388045
>> URL: https://svnweb.freebsd.org/changeset/ports/388045
>>
>> Log:
>>   Allow packaging as regular user
>>   
>>   Add USES=uidfix to get the definition of GID
>>   Overwrite via MAKE_ARGS the owner and groups enforced by upstream Makefile
>>   Ownership remains unchanged in the final package given the ownership is now set
>>   by plist
>>   Change modes when installing to allow stripping in post-install as a regular
>>   user
>>   Replace INSTALL_SCRIPT by INSTALL_LIB which takes care of stripping the binaries
>>   when installing
>>
>> Modified:
>>   head/mail/sendmail/Makefile
>>
> 
> This is failing on DragonFly now:
> 
> if [ ! -d /wrkdirs/mail/sendmail/work/stage/usr/local/share/sendmail ];
> then mkdir -p
> /wrkdirs/mail/sendmail/work/stage/usr/local/share/sendmail; else :; fi
> install -c -o 0 -g  -m 444 helpfile
> /wrkdirs/mail/sendmail/work/stage/usr/local/share/sendmail/helpfile
> install: unknown group -m
> *** Error code 67
> 
> Stop.
> make[2]: stopped in
> /wrkdirs/mail/sendmail/work/sendmail-8.15.1/obj.DragonFly.4.1-DEVELOPMENT.x86_64/sendmail
> Making install in:
> /wrkdirs/mail/sendmail/work/sendmail-8.15.1/editmap
> Configuration: pfx=, os=DragonFly, rel=4.1-DEVELOPMENT, rbase=4,
> rroot=4.1-DEVELOPMENT, arch=x86_64, sfx=, variant=optimized
> Making in
> /wrkdirs/mail/sendmail/work/sendmail-8.15.1/obj.DragonFly.4.1-DEVELOPMENT.x86_64/editmap
> install -c -o 0 -g  -m 0755 editmap
> /wrkdirs/mail/sendmail/work/stage/usr/local/sbin
> install: unknown group -m
> *** Error code 67
> 
> 

Bapt,
On *** FREEBSD 9.2 ***

# cd /usr/ports/mail/sendmail
# make -V MAKE_ARGS
UBINOWN=0 UBINGRP=  SBINOWN=0 SBINGRP=  GBINOWN=0 GBINGRP=  MANOWN=0
MANGRP=  LIBMODE=0644 UBINMODE=0755  GBINMODE=2755
OPENSSL_CFLAGS="-DNO_IDEA" DESTDIR=/work/mail/sendmail/work/stage

note: UBINGRP, SBINGRP, GBINGRP, MANGRP

I don't know if $GID is undefined on all FreeBSD releases, or just 9.2
but this doesn't look like a DragonFly-specific issue to me.

John









More information about the svn-ports-all mailing list