Re: confusion about sudo version

2011-10-30 Thread Chris Rees
On 30 Oct 2011 15:21, "Matthias Andree"  wrote:
>
> Am 30.10.2011 15:14, schrieb Chris Rees:
> > On 30 Oct 2011 09:48, "Barbara"  wrote:
> >>
> >>
> >> $ pkg_info -Ix sudo
> >> sudo-1.8.3  Allow others to run commands as root
> >> $ grep DISTVERSION /usr/ports/security/sudo/Makefile
> >> DISTVERSION=1.8.3p1
> >> $ pkg_version -I | grep sudo
> >> sudo>
> >>
> >
> > Yeah, unfortunately p1 has the same trouble as r1; it makes the version
> > appear less.
>
> Can we have a commit hook on pcvs that prevents commits if it makes the
> version go backwards?  We have a-posteriori checking in place, but that
> is too late.
>

It hardly ever happens though...

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: confusion about sudo version

2011-10-30 Thread Matthias Andree
Am 30.10.2011 15:14, schrieb Chris Rees:
> On 30 Oct 2011 09:48, "Barbara"  wrote:
>>
>>
>> $ pkg_info -Ix sudo
>> sudo-1.8.3  Allow others to run commands as root
>> $ grep DISTVERSION /usr/ports/security/sudo/Makefile
>> DISTVERSION=1.8.3p1
>> $ pkg_version -I | grep sudo
>> sudo>
>>
> 
> Yeah, unfortunately p1 has the same trouble as r1; it makes the version
> appear less.

Can we have a commit hook on pcvs that prevents commits if it makes the
version go backwards?  We have a-posteriori checking in place, but that
is too late.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: confusion about sudo version

2011-10-30 Thread Chris Rees
On 30 Oct 2011 14:14, "Chris Rees"  wrote:
>
>
> On 30 Oct 2011 09:48, "Barbara"  wrote:
> >
> >
> > $ pkg_info -Ix sudo
> > sudo-1.8.3  Allow others to run commands as root
> > $ grep DISTVERSION /usr/ports/security/sudo/Makefile
> > DISTVERSION=1.8.3p1
> > $ pkg_version -I | grep sudo
> > sudo>
> >
>
> Yeah, unfortunately p1 has the same trouble as r1; it makes the version
appear less.
>
> Perhaps as a temporary fix we could set PORTVERSION to 1.8.3.1?
>
> Portepoch would be a little strong for this case wouldn't it?
>

Wesley has fixed this a slightly different way:

http://FreeBSD.org/cgi/cvsweb.cgi/ports/security/sudo/Makefile.diff?&r1=1.136&r2=1.137&f=h

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: confusion about sudo version

2011-10-30 Thread Chris Rees
On 30 Oct 2011 09:48, "Barbara"  wrote:
>
>
> $ pkg_info -Ix sudo
> sudo-1.8.3  Allow others to run commands as root
> $ grep DISTVERSION /usr/ports/security/sudo/Makefile
> DISTVERSION=1.8.3p1
> $ pkg_version -I | grep sudo
> sudo>
>

Yeah, unfortunately p1 has the same trouble as r1; it makes the version
appear less.

Perhaps as a temporary fix we could set PORTVERSION to 1.8.3.1?

Portepoch would be a little strong for this case wouldn't it?

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"