From owner-svn-ports-all@FreeBSD.ORG Thu Jun 4 11:53:50 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6AB47E6; Thu, 4 Jun 2015 11:53:50 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B0301E04; Thu, 4 Jun 2015 11:53:50 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wibdt2 with SMTP id dt2so46444145wib.1; Thu, 04 Jun 2015 04:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wIUsqxDH69UeFClMyHRG2gQqisFtQ/IB59AKqd1ulHw=; b=s4gz411lDh2+358Vz03Tn+ALXuYHm0zuQ3q7Z7wTgiNaOA5EueNZnR/yaRA6BwmhDm 6NC4ubuNqGzmr5u+HLw4AM9Ej7dCv91f9ydBtolA5GdxoPZTHOfTrTKAu+qBxpIRF7cd yp2gLb2Yn9G2VCnTisiKdf70tnqicl3ArSphZqu047oEtmsPKjm6ZpYoAErJej4J38+O yIV2CnVwv9e3kOw2SIE9RxFyPw+3AZO6NarGzmuTg5KMeaiL1oMpzet02CDQdhdL3Zxr YL2pzwPLQ72en4PRhKLq9glAjk5l0pSaZrz1v1CGK21QVXJYTNZHMTmdXrPMsSRecd89 J0WA== X-Received: by 10.194.89.70 with SMTP id bm6mr67030549wjb.146.1433418828872; Thu, 04 Jun 2015 04:53:48 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id yz3sm5427737wjc.19.2015.06.04.04.53.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 04:53:48 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 4 Jun 2015 13:53:46 +0200 From: Baptiste Daroussin To: marino@freebsd.org Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r388045 - head/mail/sendmail Message-ID: <20150604115345.GB4753@ivaldir.etoilebsd.net> References: <201505302354.t4UNspIF017886@svn.freebsd.org> <556FE9D1.3090306@marino.st> <55700BDB.4060904@marino.st> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: <55700BDB.4060904@marino.st> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 11:53:51 -0000 --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 04, 2015 at 10:27:07AM +0200, John Marino wrote: > 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 > >> =20 > >> Add USES=3Duidfix to get the definition of GID > >> Overwrite via MAKE_ARGS the owner and groups enforced by upstream Ma= kefile > >> 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 > >> > >=20 > > This is failing on DragonFly now: > >=20 > > 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 > >=20 > > Stop. > > make[2]: stopped in > > /wrkdirs/mail/sendmail/work/sendmail-8.15.1/obj.DragonFly.4.1-DEVELOPME= NT.x86_64/sendmail > > Making install in: > > /wrkdirs/mail/sendmail/work/sendmail-8.15.1/editmap > > Configuration: pfx=3D, os=3DDragonFly, rel=3D4.1-DEVELOPMENT, rbase=3D4, > > rroot=3D4.1-DEVELOPMENT, arch=3Dx86_64, sfx=3D, variant=3Doptimized > > Making in > > /wrkdirs/mail/sendmail/work/sendmail-8.15.1/obj.DragonFly.4.1-DEVELOPME= NT.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 > >=20 > >=20 >=20 > Bapt, > On *** FREEBSD 9.2 *** >=20 > # cd /usr/ports/mail/sendmail > # make -V MAKE_ARGS > UBINOWN=3D0 UBINGRP=3D SBINOWN=3D0 SBINGRP=3D GBINOWN=3D0 GBINGRP=3D M= ANOWN=3D0 > MANGRP=3D LIBMODE=3D0644 UBINMODE=3D0755 GBINMODE=3D2755 > OPENSSL_CFLAGS=3D"-DNO_IDEA" DESTDIR=3D/work/mail/sendmail/work/stage >=20 > note: UBINGRP, SBINGRP, GBINGRP, MANGRP >=20 > 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. >=20 > John >=20 Fixed regards, Bapt --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlVwPEkACgkQ8kTtMUmk6EzHOgCfXcwSaiEfiutC8neNFGR7Dmg2 3CEAoJ8lyFGgS10op7i5lbvJDo0NtyMD =QHop -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH--