On Thu, Jul 28, 2011 at 05:37:58PM +0100, Mikolaj Kucharski wrote:
> I think it should have additional conflict marker with
> ossp-uuid-<=1.6.2. I've also changed uuid conflict marker to cover any
> version of uuid package to match it with packaging list of ossp-uuid
> package (see conflict markers in devel/uuid/pkg/PLIST-main).
> 
> Patch was *not* tested, but I believe is correct.
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/e2fsprogs/Makefile,v
> retrieving revision 1.21
> diff -u -r1.21 Makefile
> --- Makefile  6 Jul 2011 07:21:24 -0000       1.21
> +++ Makefile  28 Jul 2011 16:23:43 -0000
> @@ -4,7 +4,7 @@
>  COMMENT=             utilities to manipulate ext2 filesystems
>  
>  DISTNAME=            e2fsprogs-1.41.4
> -REVISION =           5
> +REVISION=            6
>  CATEGORIES=          sysutils devel
>  SHARED_LIBS=         blkid           0.0 \
>                       e2p             3.0 \
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/sysutils/e2fsprogs/pkg/PLIST,v
> retrieving revision 1.8
> diff -u -r1.8 PLIST
> --- pkg/PLIST 6 Jul 2011 07:21:24 -0000       1.8
> +++ pkg/PLIST 28 Jul 2011 16:23:43 -0000
> @@ -1,6 +1,7 @@
>  @comment $OpenBSD: PLIST,v 1.8 2011/07/06 07:21:24 jasper Exp $
>  @conflict e2fs-uuid-*
> -@conflict uuid-1.6.2
> +@conflict uuid-*
> +@conflict ossp-uuid-<=1.6.2
>  @pkgpath sysutils/e2fsprogs,-main
>  @pkgpath sysutils/e2fsprogs,-uuid
>  @bin bin/chattr

Even if it's already committed, it doesn't work as expected:

        pkg_add ossp-uuid             
        Can't install ossp-uuid-1.6.2p1 because of conflicts 
(e2fsprogs-1.41.4p6)

@conflict ossp-uuid-<1.6.2p1 seems to work better.

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/e2fsprogs/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile    29 Jul 2011 08:00:58 -0000      1.22
+++ Makefile    31 Jul 2011 14:26:09 -0000
@@ -4,7 +4,7 @@
 COMMENT=               utilities to manipulate ext2 filesystems
 
 DISTNAME=              e2fsprogs-1.41.4
-REVISION=              6
+REVISION=              7
 CATEGORIES=            sysutils devel
 SHARED_LIBS=           blkid           0.0 \
                        e2p             3.0 \
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/e2fsprogs/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- pkg/PLIST   29 Jul 2011 08:00:58 -0000      1.9
+++ pkg/PLIST   31 Jul 2011 14:26:09 -0000
@@ -1,7 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.9 2011/07/29 08:00:58 jasper Exp $
 @conflict e2fs-uuid-*
 @conflict uuid-*
-@conflict ossp-uuid-<=1.6.2
+@conflict ossp-uuid-<1.6.2p1
 @pkgpath sysutils/e2fsprogs,-main
 @pkgpath sysutils/e2fsprogs,-uuid
 @bin bin/chattr

Reply via email to