Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2011 23:26:58 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Sahil Tandon <sahil@tandon.net>
Cc:        "ports@FreeBSD.org" <ports@FreeBSD.org>, "ohauer@FreeBSD.org" <ohauer@FreeBSD.org>, Miroslav Lachman <000.fbsd@quip.cz>, Sahil Tandon <sahil@FreeBSD.org>
Subject:   Re: USERS/GROUPS in bsd.port.mk [was: FreeBSD Port: postfix-2.8.4, 1]
Message-ID:  <20110908212658.GJ31003@azathoth.lan>
In-Reply-To: <239A3DFB-E98E-4481-A74E-3B0C6891935C@tandon.net>
References:  <4E368625.7010805@quip.cz> <4E370ADA.9060902@FreeBSD.org> <4E371284.5010806@quip.cz> <4E371B3B.7070806@FreeBSD.org> <4E3722DE.6050206@gmx.de> <20110802010139.GA981@magic.hamla.org> <4E37F71D.7070502@quip.cz> <4E68A89B.6040701@quip.cz> <239A3DFB-E98E-4481-A74E-3B0C6891935C@tandon.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--nywXBoy70X0GaB8B
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 08, 2011 at 01:19:26PM -0400, Sahil Tandon wrote:
> On Sep 8, 2011, at 7:35 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote:
>=20
> > Miroslav Lachman wrote:
> >> Sahil Tandon wrote:
> >>> On Tue, 2011-08-02 at 00:04:14 +0200, olli hauer wrote:
> >>>=20
> >>>> No, you don't hit the limitation. It seems you really found a bug in
> >>>> the Framework!
> >>>>=20
> >>>> From the Framework code in bsd.port.mk existing groups should honore=
d.
> >>>=20
> >>> Along those lines, what about using groupmod instead of usermod?
> >>> Perhaps due to my ignorance, it seems more straightforward and does n=
ot
> >>> require much sed-fu; I've attached a (probably incomplete) patch to
> >>> illustrate my thinking. I understand what I am suggesting could
> >>> introduce other problems, so please do not construe it as an as-is
> >>> suggestion, but rather something to stoke discussion.
> >>=20
> >> I tested your patch and it works for me.
> >>=20
> >> # pkg_version -vIL =3D | grep postfix
> >> postfix-2.7.2,1 < needs updating (index has 2.8.4,1)
> >>=20
> >> # id postfix
> >> uid=3D125(postfix) gid=3D125(postfix)
> >> groups=3D125(postfix),6(mail),3125(maildirs)
> >>=20
> >> # patch < ~/bsd.port.mk.diff
> >>=20
> >> # portmaster postfix-2.7.2,1
> >>=20
> >> =3D=3D=3D>>> The following actions were performed:
> >> Upgrade of mysql-client-5.1.53 to mysql-client-5.1.58
> >> Upgrade of libtool-2.2.10 to libtool-2.4
> >> Upgrade of cyrus-sasl-2.1.23_1 to cyrus-sasl-2.1.23_3
> >> Upgrade of postfix-2.7.2,1 to postfix-2.8.4,1
> >>=20
> >> # id postfix
> >> uid=3D125(postfix) gid=3D125(postfix)
> >> groups=3D125(postfix),6(mail),3125(maildirs)
> >>=20
> >> It was tested on really old testing system...
> >>=20
> >> Thank you for your time and working solution.
> >=20
> > Will the fix be committed to the ports tree? I upgraded Postfix on anot=
her machines yesterday and get the same error as reported month ago - upgra=
de removed postfix from manualy created group.
> >=20
> > Should I send PR for this?
>=20
> I am very sorry to hear that.  I already filed a PR after you sent your r=
eport to this mailing list, and followed up with portmgr@ earlier this week=
=2E  I believe they are doing an -exp run before committing the change.  I =
will ping them again if there is no progress in the next few days.  Sorry a=
gain for the inconvenience._______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

The exp-run is running right now, some news about this in the next couple of
days

regards,
Bapt

--nywXBoy70X0GaB8B
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk5pMyIACgkQ8kTtMUmk6Ey7zACfUKpXjTPqHEFi3BT1xuMTso5C
+y8AnjFZY99MRN1ZQJe9lE89uibcceBn
=8D1S
-----END PGP SIGNATURE-----

--nywXBoy70X0GaB8B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110908212658.GJ31003>