pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/gnuls Update to 6.9 and sync patches with sysutil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d71292ce97b7
branches:  trunk
changeset: 531122:d71292ce97b7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Jul 20 12:41:29 2007 +0000

description:
Update to 6.9 and sync patches with sysutils/coreutils following the update

diffstat:

 misc/gnuls/Makefile         |  16 +++++++-
 misc/gnuls/distinfo         |  16 ++++-----
 misc/gnuls/patches/patch-aa |  16 ++++----
 misc/gnuls/patches/patch-ab |  14 ++++----
 misc/gnuls/patches/patch-ac |  78 ++++++++++++++++++++++++++++++++++++++++----
 misc/gnuls/patches/patch-ad |  12 ------
 misc/gnuls/patches/patch-ae |  13 -------
 7 files changed, 105 insertions(+), 60 deletions(-)

diffs (232 lines):

diff -r be028666d70d -r d71292ce97b7 misc/gnuls/Makefile
--- a/misc/gnuls/Makefile       Fri Jul 20 12:24:00 2007 +0000
+++ b/misc/gnuls/Makefile       Fri Jul 20 12:41:29 2007 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2007/01/07 09:14:00 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2007/07/20 12:41:29 tnn Exp $
 #
 
-DISTNAME=      coreutils-5.2.1
+DISTNAME=      coreutils-6.9
 PKGNAME=       ${DISTNAME:S/coreutils/gnuls/}
-PKGREVISION=   2
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GNU:=coreutils/}
 EXTRACT_SUFX=  .tar.bz2
@@ -21,6 +20,17 @@
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Interix"
+CONFIGURE_ENV+=                ac_list_mounted_fs=found
+.endif
+
+.if ${OPSYS} != "Linux"
+CONFIGURE_ENV+=                gt_cv_func_gnugettext3_libintl=yes
+.endif
+CONFIGURE_ENV+=                MKDIR_P=${MKDIR:Q}
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/src/dircolors \
                ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}dircolors
diff -r be028666d70d -r d71292ce97b7 misc/gnuls/distinfo
--- a/misc/gnuls/distinfo       Fri Jul 20 12:24:00 2007 +0000
+++ b/misc/gnuls/distinfo       Fri Jul 20 12:41:29 2007 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.5 2006/01/03 18:02:14 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/07/20 12:41:29 tnn Exp $
 
-SHA1 (coreutils-5.2.1.tar.bz2) = 1028755ae0fa9be840576e4837004cf5a9981c45
-RMD160 (coreutils-5.2.1.tar.bz2) = a72bdb360371c026e77281ae0d543bdcce55a4e6
-Size (coreutils-5.2.1.tar.bz2) = 4270776 bytes
-SHA1 (patch-aa) = 0c671db84fbd6807d186d93898a7398a7bb8c338
-SHA1 (patch-ab) = 98623f76654772ac433ae6af12bbeaf8f4518599
-SHA1 (patch-ac) = 4c067b00acb5546f4de5cb8bf524e97932cd9e88
-SHA1 (patch-ad) = ca9125509ded4d31934eff7c7772717d983ee9e3
-SHA1 (patch-ae) = dfa6030d09550133ae83c7d2b316f6ab0431810f
+SHA1 (coreutils-6.9.tar.bz2) = 10310a78c4e1d9f742f3815ac28e9bf1086a5885
+RMD160 (coreutils-6.9.tar.bz2) = c6ae65204b2e9c234a1140f39a8be1ee5cdcaab7
+Size (coreutils-6.9.tar.bz2) = 5384378 bytes
+SHA1 (patch-aa) = f1c25c1ca167fbd83680d4ea1dc45771f6800fdb
+SHA1 (patch-ab) = ec3f8be38adbf9bdd14d7ec8c64440b09c66a718
+SHA1 (patch-ac) = 676fd4eaeedf8f94ac6d1894fd16491ce8412cb0
diff -r be028666d70d -r d71292ce97b7 misc/gnuls/patches/patch-aa
--- a/misc/gnuls/patches/patch-aa       Fri Jul 20 12:24:00 2007 +0000
+++ b/misc/gnuls/patches/patch-aa       Fri Jul 20 12:41:29 2007 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.5 2004/05/19 16:55:25 jmmv Exp $
+$NetBSD: patch-aa,v 1.6 2007/07/20 12:41:29 tnn Exp $
 
---- Makefile.in.orig   2004-03-11 09:57:59.000000000 +0100
+--- Makefile.in.orig   2007-03-22 22:20:26.000000000 +0100
 +++ Makefile.in
-@@ -284,7 +284,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
+@@ -520,7 +520,7 @@ sysconfdir = @sysconfdir@
  target_alias = @target_alias@
--SUBDIRS = lib src doc man m4 po tests
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = lib src doc man po tests
 +SUBDIRS = lib src
  EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
-   .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
-   .x-sc_space_tab .x-sc_sun_os_names \
+   .gitignore \
+   .hgignore \
diff -r be028666d70d -r d71292ce97b7 misc/gnuls/patches/patch-ab
--- a/misc/gnuls/patches/patch-ab       Fri Jul 20 12:24:00 2007 +0000
+++ b/misc/gnuls/patches/patch-ab       Fri Jul 20 12:41:29 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2004/05/19 16:55:25 jmmv Exp $
+$NetBSD: patch-ab,v 1.3 2007/07/20 12:41:29 tnn Exp $
 
---- src/Makefile.in.orig       2004-03-11 09:59:23.000000000 +0100
+--- src/Makefile.in.orig       2007-03-22 22:23:20.000000000 +0100
 +++ src/Makefile.in
-@@ -41,7 +41,8 @@ host_triplet = @host@
+@@ -36,7 +36,8 @@ host_triplet = @host@
  EXTRA_PROGRAMS = chroot$(EXEEXT) df$(EXEEXT) hostid$(EXEEXT) \
        nice$(EXEEXT) pinky$(EXEEXT) stty$(EXEEXT) su$(EXEEXT) \
        uname$(EXEEXT) uptime$(EXEEXT) users$(EXEEXT) who$(EXEEXT)
@@ -12,10 +12,10 @@
        cp$(EXEEXT) dd$(EXEEXT) dircolors$(EXEEXT) du$(EXEEXT) \
        ginstall$(EXEEXT) link$(EXEEXT) ln$(EXEEXT) dir$(EXEEXT) \
        vdir$(EXEEXT) ls$(EXEEXT) mkdir$(EXEEXT) mkfifo$(EXEEXT) \
-@@ -899,7 +900,8 @@ wheel_size = 5
- # Tell automake to exempt then from that installcheck test.
- AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = false test
- MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+@@ -1126,7 +1127,8 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+ # otherwise we may get into trouble with distinct strings that the
+ # current locale considers to be equal.
+ ASSORT = LC_ALL=C sort
 -all_programs = \
 +all_programs = $(bin_PROGRAMS)
 +no_all_programs = \
diff -r be028666d70d -r d71292ce97b7 misc/gnuls/patches/patch-ac
--- a/misc/gnuls/patches/patch-ac       Fri Jul 20 12:24:00 2007 +0000
+++ b/misc/gnuls/patches/patch-ac       Fri Jul 20 12:41:29 2007 +0000
@@ -1,16 +1,78 @@
-$NetBSD: patch-ac,v 1.2 2005/09/08 22:37:54 abs Exp $
+$NetBSD: patch-ac,v 1.3 2007/07/20 12:41:29 tnn Exp $
 
---- lib/mountlist.c.orig       2004-01-26 09:58:12.000000000 +0100
-+++ lib/mountlist.c    2004-05-18 20:56:57.000000000 +0200
-@@ -173,6 +173,11 @@
+--- lib/mountlist.c.orig       2007-01-26 23:16:55.000000000 +0100
++++ lib/mountlist.c
+@@ -174,6 +174,11 @@
  
  #if MOUNTED_GETMNTINFO
  
-+# if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)
++# if defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)
 +# define statfs                               statvfs
-+# define HAVE_F_FSTYPENAME_IN_STATFS  1
++# define HAVE_F_FSTYPENAME_IN_STATFS  1
 +# endif
 +
- # if ! HAVE_F_FSTYPENAME_IN_STATFS
+ # if ! HAVE_STRUCT_STATFS_F_FSTYPENAME
  static char *
- fstype_to_string (short t)
+ fstype_to_string (short int t)
+@@ -296,6 +301,10 @@ fstype_to_string (int t)
+ }
+ #endif /* MOUNTED_VMOUNT */
+ 
++#ifdef __INTERIX
++# include <dirent.h>
++# include <sys/statvfs.h>
++#endif
+ 
+ #if defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2
+ 
+@@ -859,6 +868,50 @@ read_file_system_list (bool need_fs_type
+   }
+ #endif /* MOUNTED_VMOUNT. */
+ 
++#ifdef __INTERIX              /* Interix. */
++  {
++    DIR *devfs = opendir ("/dev/fs");
++    struct dirent *de;
++    struct statvfs svfs;
++    char fsname[] = "/dev/fs/#"; /* writable */
++
++    if (devfs == NULL)
++      return NULL;
++
++    while ((de = readdir (devfs)) != NULL)
++      {
++      if (strlen (de->d_name) != 1)
++        {
++          /* "Drive letters" should all be exactly one character long. */
++          continue;
++        }
++
++      fsname[8] = de->d_name[0];
++
++      if (statvfs (fsname, &svfs) != 0)
++        {
++          /* Could be an offline network fs or empty removable; don't fail. */
++          continue;
++        }
++
++      me = xmalloc (sizeof *me);
++
++      me->me_devname = xstrdup (svfs.f_mntfromname);
++      me->me_mountdir = xstrdup (svfs.f_mntonname);
++      me->me_type = xstrdup (svfs.f_fstypename);
++      me->me_dev = (dev_t)svfs.f_fsid;
++      me->me_dummy = (svfs.f_type == ST_FSTYPE_OFS ? 1 : 0);
++      me->me_remote = ((svfs.f_type == ST_FSTYPE_SAMBA
++                        || svfs.f_type == ST_FSTYPE_NFS) ? 1 : 0);
++      me->me_type_malloced = 1;
++
++      /* Add to the linked list. */
++      *mtail = me;
++      mtail = &me->me_next;
++      }
++  }
++#endif
++
+   *mtail = NULL;
+   return mount_list;
+ 
diff -r be028666d70d -r d71292ce97b7 misc/gnuls/patches/patch-ad
--- a/misc/gnuls/patches/patch-ad       Fri Jul 20 12:24:00 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2006/01/03 18:02:15 joerg Exp $
-
---- configure.orig     2006-01-03 17:51:06.000000000 +0000
-+++ configure
-@@ -39680,6 +39680,7 @@ done
- 
- 
-   fp_headers='
-+#     include <stdio.h>
- #     if HAVE_STDIO_EXT_H
- #      include <stdio_ext.h>
- #     endif
diff -r be028666d70d -r d71292ce97b7 misc/gnuls/patches/patch-ae
--- a/misc/gnuls/patches/patch-ae       Fri Jul 20 12:24:00 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2006/01/03 18:02:15 joerg Exp $
-
---- src/ls.c.orig      2006-01-03 17:15:34.000000000 +0000
-+++ src/ls.c
-@@ -2528,7 +2528,7 @@ gobble_file (const char *name, enum file
-   else
-     {
-       f->filetype = type;
--#if HAVE_STRUCT_DIRENT_D_TYPE
-+#if HAVE_STRUCT_DIRENT_D_TYPE && defined(DTTOIF)
-       f->stat.st_mode = DTTOIF (type);
- #endif
-       blocks = 0;



Home | Main Index | Thread Index | Old Index