pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/rpm2pkg Drop @dirrm related logic. Bump version.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07594c774bc7
branches:  trunk
changeset: 394746:07594c774bc7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 14 22:44:34 2009 +0000

description:
Drop @dirrm related logic. Bump version.

diffstat:

 pkgtools/rpm2pkg/Makefile        |   4 ++--
 pkgtools/rpm2pkg/files/rpm2pkg.c |  11 +----------
 2 files changed, 3 insertions(+), 12 deletions(-)

diffs (44 lines):

diff -r f5889f79e4ca -r 07594c774bc7 pkgtools/rpm2pkg/Makefile
--- a/pkgtools/rpm2pkg/Makefile Sun Jun 14 22:42:57 2009 +0000
+++ b/pkgtools/rpm2pkg/Makefile Sun Jun 14 22:44:34 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2009/05/19 08:59:29 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2009/06/14 22:44:34 joerg Exp $
 
-DISTNAME=      rpm2pkg-2.2
+DISTNAME=      rpm2pkg-2.3
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r f5889f79e4ca -r 07594c774bc7 pkgtools/rpm2pkg/files/rpm2pkg.c
--- a/pkgtools/rpm2pkg/files/rpm2pkg.c  Sun Jun 14 22:42:57 2009 +0000
+++ b/pkgtools/rpm2pkg/files/rpm2pkg.c  Sun Jun 14 22:44:34 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpm2pkg.c,v 1.7 2009/04/23 21:38:02 tron Exp $ */
+/*     $NetBSD: rpm2pkg.c,v 1.8 2009/06/14 22:44:34 joerg Exp $        */
 
 /*-
  * Copyright (c) 2004-2009 The NetBSD Foundation, Inc.
@@ -354,13 +354,6 @@
 }
 
 static void
-PListEntryRemoveDir(PListEntry *Node, FILE *Out)
-
-{
-       (void)fprintf(Out, "@dirrm %s\n", Node->pe_Name);
-}
-
-static void
 ProcessPList(PListEntry *Tree, PListEntryFunc Func, int Order, FILE *Out)
 
 {
@@ -954,8 +947,6 @@
                    PListFile);
                ProcessPList(Links, PListEntryLink, PLIST_ORDER_FORWARD,
                    PListFile);
-               ProcessPList(Dirs, PListEntryRemoveDir, PLIST_ORDER_BACKWARD,
-                   PListFile);
                (void)fclose(PListFile);
        }
 



Home | Main Index | Thread Index | Old Index