[csw-devel] SF.net SVN: gar:[7347] csw/mgar/pkg/ncdu/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Nov 19 00:04:18 CET 2009


Revision: 7347
          http://gar.svn.sourceforge.net/gar/?rev=7347&view=rev
Author:   skayser
Date:     2009-11-18 23:04:18 +0000 (Wed, 18 Nov 2009)

Log Message:
-----------
ncdu: version bump to 1.6

Modified Paths:
--------------
    csw/mgar/pkg/ncdu/trunk/Makefile
    csw/mgar/pkg/ncdu/trunk/checksums
    csw/mgar/pkg/ncdu/trunk/files/changelog.CSW

Removed Paths:
-------------
    csw/mgar/pkg/ncdu/trunk/files/gar-base.diff

Modified: csw/mgar/pkg/ncdu/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ncdu/trunk/Makefile	2009-11-18 22:03:37 UTC (rev 7346)
+++ csw/mgar/pkg/ncdu/trunk/Makefile	2009-11-18 23:04:18 UTC (rev 7347)
@@ -1,42 +1,34 @@
 GARNAME = ncdu
-GARVERSION = 1.5
+GARVERSION = 1.6
 CATEGORIES = utils
 
 DESCRIPTION = Ncurses version of the famous old 'du' unix
 define BLURB
-As the name already suggests, ncdu is an ncurses version of the famous old 'du'
-unix command. It provides a fast and easy interface to your harddrive. Where is
-your disk space going? Why is your home directory that large? ncdu can answer
-those questions for you in just a matter of seconds!
+  As the name already suggests, ncdu is an ncurses version of the famous
+  old 'du' unix command. It provides a fast and easy interface to your
+  harddrive. Where is your disk space going? Why is your home directory
+  that large? ncdu can answer those questions for you in just a matter of
+  seconds!
 endef
 
 SPKG_SOURCEURL = http://dev.yorhel.nl/ncdu/
-MASTER_SITES = http://dev.yorhel.nl/download/
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+MASTER_SITES   = http://dev.yorhel.nl/download/
+DISTFILES      = $(GARNAME)-$(GARVERSION).tar.gz
+UFILES_REGEX   = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
 REQUIRED_PKGS = CSWncurses
 
+# ncdu doesn't come with a test suite
 TEST_SCRIPTS = 
 
 EXTRA_INC = /opt/csw/include/ncursesw
 
 CONFIGURE_ARGS = $(DIRPATHS)
 
-# - Autoconf check and replacement for non-POSIX dirfd()
-# See http://sf.net/tracker/?func=detail&aid=2789779&group_id=200175&atid=972449
-# - Fix for non-void return in src/delete.c:void delete_process()
-# See http://sf.net/tracker/?func=detail&aid=2789781&group_id=200175&atid=972449
-PATCHFILES=gar-base.diff
-
 include gar/category.mk
 
-pre-configure-modulated:
-	@cd $(WORKSRC) && autoconf
-	@$(MAKECOOKIE)
-
 post-install-modulated: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
 post-install-modulated:
-	@ginstall -d $(DOCDEST)
-	@cp $(FILEDIR)/changelog.CSW $(DOCDEST)
+	ginstall -d $(DOCDEST)
+	cp $(FILEDIR)/changelog.CSW $(DOCDEST)
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/ncdu/trunk/checksums
===================================================================
--- csw/mgar/pkg/ncdu/trunk/checksums	2009-11-18 22:03:37 UTC (rev 7346)
+++ csw/mgar/pkg/ncdu/trunk/checksums	2009-11-18 23:04:18 UTC (rev 7347)
@@ -1,2 +1 @@
-6596993c949abab8e579c401dbe50089  download/gar-base.diff
-90a69cc3b2e9f0324eb14e6ce1df0f22  download/ncdu-1.5.tar.gz
+95d29cf64af2d8cf4b5005e6e3d60384  ncdu-1.6.tar.gz

Modified: csw/mgar/pkg/ncdu/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/ncdu/trunk/files/changelog.CSW	2009-11-18 22:03:37 UTC (rev 7346)
+++ csw/mgar/pkg/ncdu/trunk/files/changelog.CSW	2009-11-18 23:04:18 UTC (rev 7347)
@@ -1,3 +1,9 @@
+ncdu (1.6,REV=2009.11.19)
+
+  * Updated to 1.6.
+
+ -- Sebastian Kayser <skayser at opencsw.org>  Thu, 19 Nov 2009 00:02:30 +0100
+
 ncdu (1.5,REV=2009.05.10)
 
   * Updated to 1.5 (Closes: #3565).

Deleted: csw/mgar/pkg/ncdu/trunk/files/gar-base.diff
===================================================================
--- csw/mgar/pkg/ncdu/trunk/files/gar-base.diff	2009-11-18 22:03:37 UTC (rev 7346)
+++ csw/mgar/pkg/ncdu/trunk/files/gar-base.diff	2009-11-18 23:04:18 UTC (rev 7347)
@@ -1,43 +0,0 @@
-diff --speed-large-files --minimal -Nru ncdu-1.5.orig/src/delete.c ncdu-1.5/src/delete.c
---- ncdu-1.5.orig/src/delete.c	2009-05-02 10:42:17.000000000 +0200
-+++ ncdu-1.5/src/delete.c	2009-05-10 18:57:49.873038400 +0200
-@@ -213,8 +213,10 @@
-   /* confirm */
-   seloption = 1;
-   while(state == DS_CONFIRM && !noconfirm)
--    if(input_handle(0))
--      return browse_init(root);
-+    if(input_handle(0)) {
-+      browse_init(root);
-+      return;
-+    }
- 
-   /* chdir */
-   if(path_chdir(getpath(root->parent)) < 0) {
-diff -ur ncdu-1.5.orig/configure.in ncdu-1.5/configure.in
---- ncdu-1.5.orig/configure.in	2009-05-10 19:38:59.182413272 +0200
-+++ ncdu-1.5/configure.in	2009-05-02 13:09:18.000000000 +0200
-@@ -27,6 +27,9 @@
-   [getcwd gettimeofday memset fnmatch chdir rmdir unlink lstat getcwd],[],
-   AC_MSG_ERROR([required function missing]))
- 
-+# dirfd is a glibc extension and available on Solaris
-+AC_CHECK_FUNCS([dirfd])
-+
- AC_OUTPUT([Makefile src/Makefile doc/Makefile])
- 
- echo ""
-diff -ur ncdu-1.5.orig/src/path.h ncdu-1.5/src/path.h
---- ncdu-1.5.orig/src/path.h	2009-05-10 19:38:59.209594590 +0200
-+++ ncdu-1.5/src/path.h	2009-05-02 10:42:17.000000000 +0200
-@@ -44,4 +44,10 @@
- /* works exactly the same as chdir() */
- extern int   path_chdir(const char *);
- 
-+#ifndef HAVE_DIRFD 
-+#if defined(__sun__) || defined(__sun)
-+#define dirfd(a) ((a)->dd_fd)
-+#endif
-+#endif
-+
- #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list