pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Complete move of id-utils to its new home, idutils.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc3872ba7a1b
branches:  trunk
changeset: 517160:dc3872ba7a1b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 05 19:54:26 2006 +0000

description:
Complete move of id-utils to its new home, idutils.

diffstat:

 devel/Makefile                  |   4 +-
 devel/id-utils/DESCR            |  16 ---------
 devel/id-utils/Makefile         |  33 -------------------
 devel/id-utils/PLIST            |  17 ----------
 devel/id-utils/distinfo         |  16 ---------
 devel/id-utils/patches/patch-aa |  21 ------------
 devel/id-utils/patches/patch-ab |  13 -------
 devel/id-utils/patches/patch-ac |  19 -----------
 devel/id-utils/patches/patch-ad |  22 -------------
 devel/id-utils/patches/patch-ah |  46 ---------------------------
 devel/id-utils/patches/patch-ai |  40 ------------------------
 devel/id-utils/patches/patch-aj |  68 -----------------------------------------
 devel/id-utils/patches/patch-ak |  53 -------------------------------
 13 files changed, 2 insertions(+), 366 deletions(-)

diffs (truncated from 431 to 300 lines):

diff -r 340d54c26e1f -r dc3872ba7a1b devel/Makefile
--- a/devel/Makefile    Sat Aug 05 19:53:26 2006 +0000
+++ b/devel/Makefile    Sat Aug 05 19:54:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.773 2006/08/03 18:54:22 jmmv Exp $
+# $NetBSD: Makefile,v 1.774 2006/08/05 19:54:26 wiz Exp $
 #
 
 COMMENT=       Development utilities
@@ -199,8 +199,8 @@
 SUBDIR+=       ht
 SUBDIR+=       hugs-HUnit
 SUBDIR+=       hugs-unix
-SUBDIR+=       id-utils
 SUBDIR+=       idiff
+SUBDIR+=       idutils
 SUBDIR+=       intel2gas
 SUBDIR+=       isect
 SUBDIR+=       its4
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/DESCR
--- a/devel/id-utils/DESCR      Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-`mkid' is a simple, fast, high-capacity, language-independent
-identifier database tool.  Actually, the term `identifier' is too
-limiting--`mkid' stores tokens, be they program identifiers of any
-form, literal numbers, or words of human-readable text.  Database
-queries can be issued from the command-line, or from within emacs,
-serving as an augmented tags facility.
-
-`mkid' was originally written by Greg McGary <gkm%gnu.ai.mit.edu@localhost>
-and posted to comp.sources.unix in September 1987.  It was then
-maintained and enhanced by a loose knit group of programmers on the
-Internet led by Tom Horsley <Tom.Horsley%mail.hcsc.com@localhost>.  Tom released
-`mkid2' on comp.sources.unix in March, 1991.  Since then, Greg McGary
-has resumed maintenance and is releasing an improved version 3 under GPL.
-
-Version 3 is an interim release.  Version 4 will follow in the coming
-months and include a cscope clone plus other improvements.
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/Makefile
--- a/devel/id-utils/Makefile   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-# $NetBSD: Makefile,v 1.47 2006/08/04 19:23:39 christos Exp $
-
-DISTNAME=      idutils-4.1
-#PKGREVISION=  0
-CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_GNU:=idutils/}
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.gnu.org/software/idutils/idutils.html
-COMMENT=       Classic Berkeley gid/lid tools for looking up variables in code
-
-CONFLICTS=     sh-utils>=2.0nb2 coreutils-[0-9]*
-
-USE_PKGLOCALEDIR=      yes
-USE_TOOLS+=            msgfmt
-
-GNU_CONFIGURE=         yes
-CONFIGURE_ENV+=                ac_cv_path_EMACS=no
-INFO_FILES=            # PLIST
-MAKE_ENV+=             BSD_SETENV=${SETENV:Q}
-
-# Don't byte-compile the .el file.
-MAKE_FLAGS+=           elc_SCRIPTS=
-
-LISPDIR=               ${PREFIX}/share/emacs/site-lisp
-REQD_DIRS=             ${LISPDIR}
-
-.include "../../devel/gettext-lib/buildlink3.mk"
-
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${LISPDIR}
-
-.include "../../mk/bsd.pkg.mk"
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/PLIST
--- a/devel/id-utils/PLIST      Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-@comment $NetBSD: PLIST,v 1.8 2006/08/04 19:23:39 christos Exp $
-bin/aid
-bin/defid
-bin/eid
-bin/fid
-bin/fnid
-bin/gid
-bin/lid
-bin/mkid
-bin/xtokid
-info/idutils.info
-share/emacs/site-lisp/idutils.el
-share/id-lang.map
-share/locale/de/LC_MESSAGES/idutils.mo
-share/locale/fr/LC_MESSAGES/idutils.mo
-share/locale/nl/LC_MESSAGES/idutils.mo
-share/locale/pl/LC_MESSAGES/idutils.mo
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/distinfo
--- a/devel/id-utils/distinfo   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.16 2006/08/04 19:23:39 christos Exp $
-
-SHA1 (idutils-4.1.tar.gz) = 3ce5524b2962fc785d44a3ee73d32ebf975d70d1
-RMD160 (idutils-4.1.tar.gz) = 7ddadd6a97e2a096916f9ac20ccffff14cc2a330
-Size (idutils-4.1.tar.gz) = 696756 bytes
-SHA1 (patch-aa) = f957a2af9470e41c1b423b9c753456e68a46405c
-SHA1 (patch-ab) = 96a1ec3d8c49da9538342450df41c7cd17c0d21c
-SHA1 (patch-ac) = 714cc320a02235c7d49b0ea37be60cff36f6a07b
-SHA1 (patch-ad) = 05f6be0337f599736627d5bf372529e36ca22246
-SHA1 (patch-ae) = cdf05fd02278065908bdc16b599b881f6b1112ea
-SHA1 (patch-af) = 223ae437d90f98499b8095254fcca1d2651c11a1
-SHA1 (patch-ag) = d1e3dfcaa905041b12f458b3fc186ebf2fa633a1
-SHA1 (patch-ah) = d60a3738ed5b9b9db01c557b2c6e4922b913a2e7
-SHA1 (patch-ai) = ebf6092918830c95308a4a1b9145314c5fecbd58
-SHA1 (patch-aj) = 6435ee17529ab3782b340f51c7e43390aaae662d
-SHA1 (patch-ak) = c5f56cabfe54bd653874c58d55b1c198526707fb
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/patches/patch-aa
--- a/devel/id-utils/patches/patch-aa   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2006/08/04 19:23:39 christos Exp $
-
---- libidu/fnprint.c.orig      2005-12-27 00:21:33.000000000 -0500
-+++ libidu/fnprint.c   2006-08-03 12:58:44.026747335 -0400
-@@ -19,7 +19,6 @@
- #include <config.h>
- #include <stdio.h>
- #include <stdlib.h>
--#include <alloca.h>
- #include <unistd.h>
- #include <string.h>
- #include <pathmax.h>
-@@ -82,7 +81,7 @@
-   struct file_link const *arg;
-   struct file_link const *dlink;
-   int brace_is_open = 0;
--  char *file_name = alloca (sizeof(char) * PATH_MAX);
-+  char file_name[sizeof(char) * PATH_MAX];
- 
-   while (*flinkv)
-     {
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/patches/patch-ab
--- a/devel/id-utils/patches/patch-ab   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2006/08/04 19:23:39 christos Exp $
-
---- libidu/idfile.h.orig       2005-11-01 04:18:33.000000000 -0500
-+++ libidu/idfile.h    2006-08-03 13:00:35.159831999 -0400
-@@ -147,7 +147,7 @@
- 
- #define token_string(buf) (buf)
- extern unsigned int token_flags (char const *buf);
--extern unsigned short token_count (char const *buf);
-+extern unsigned int token_count (char const *buf);
- extern unsigned char const *token_hits_addr (char const *buf);
- 
- #define MAYBE_RETURN_PREFIX_MATCH(arg, str, val) do { \
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/patches/patch-ac
--- a/devel/id-utils/patches/patch-ac   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ac,v 1.5 2006/08/04 19:23:39 christos Exp $
-
---- libidu/idread.c.orig       2005-12-27 00:23:18.000000000 -0500
-+++ libidu/idread.c    2006-08-03 12:27:38.779542243 -0400
-@@ -211,12 +211,12 @@
- #define TOK_COUNT_ADDR(buf) ((unsigned char const *)(TOK_FLAGS_ADDR (buf) + 1))
- #define TOK_HITS_ADDR(buf) ((unsigned char const *)(TOK_COUNT_ADDR (buf) + 2))
- 
--unsigned short
-+unsigned int
- token_count (char const *buf)
- {
-   unsigned char const *flags = (unsigned char const *)&buf[strlen (buf) + 1];
-   unsigned char const *addr = flags + 1;
--  unsigned short count = *addr;
-+  unsigned int count = *addr;
-   if (*flags & TOK_SHORT_COUNT)
-     count += (*++addr << 8);
-   return count;
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/patches/patch-ad
--- a/devel/id-utils/patches/patch-ad   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2006/08/04 19:23:39 christos Exp $
-
---- libidu/scanners.c.orig     2006-02-15 01:29:03.000000000 -0500
-+++ libidu/scanners.c  2006-08-03 15:57:57.169635912 -0400
-@@ -77,11 +77,16 @@
- {
-   { "C", parse_args_c, get_token_c, help_me_c },
-   { "C++", parse_args_c, get_token_c, help_me_cpp },
-+  { "cpp", parse_args_c, get_token_c, help_me_cpp },
-+  { "cc", parse_args_c, get_token_c, help_me_cpp },
-   { "Java", parse_args_c, get_token_c, help_me_java },
-   { "asm", parse_args_asm, get_token_asm, help_me_asm },
-+  { "S", parse_args_asm, get_token_asm, help_me_asm },
-+  { "s", parse_args_asm, get_token_asm, help_me_asm },
-   { "text", parse_args_text, get_token_text, help_me_text },
-   { "perl", parse_args_perl, get_token_perl, help_me_perl },
--  { "lisp", parse_args_lisp, get_token_lisp, help_me_lisp }
-+  { "lisp", parse_args_lisp, get_token_lisp, help_me_lisp },
-+  { "make", parse_args_text, get_token_text, help_me_text },
- };
- struct language const *languages_N = &languages_0[cardinalityof (languages_0)];
- 
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/patches/patch-ah
--- a/devel/id-utils/patches/patch-ah   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-$NetBSD: patch-ah,v 1.3 2006/08/04 19:23:39 christos Exp $
-
---- src/Makefile.in.orig       2006-03-11 19:34:50.000000000 -0500
-+++ src/Makefile.in    2006-08-03 12:58:23.622869604 -0400
-@@ -92,28 +92,28 @@
- PROGRAMS = $(bin_PROGRAMS)
- fid_SOURCES = fid.c
- fid_OBJECTS = fid.$(OBJEXT)
--fid_LDADD = $(LDADD)
-+fid_LDADD = $(DEPLIBS)
- am__DEPENDENCIES_1 =
- fid_DEPENDENCIES = ../libidu/libidu.a ../lib/libgnu.a \
-       $(am__DEPENDENCIES_1) ../lib/libgnu.a
- fnid_SOURCES = fnid.c
- fnid_OBJECTS = fnid.$(OBJEXT)
--fnid_LDADD = $(LDADD)
-+fnid_LDADD = $(DEPLIBS)
- fnid_DEPENDENCIES = ../libidu/libidu.a ../lib/libgnu.a \
-       $(am__DEPENDENCIES_1) ../lib/libgnu.a
- lid_SOURCES = lid.c
- lid_OBJECTS = lid.$(OBJEXT)
--lid_LDADD = $(LDADD)
-+lid_LDADD = $(DEPLIBS)
- lid_DEPENDENCIES = ../libidu/libidu.a ../lib/libgnu.a \
-       $(am__DEPENDENCIES_1) ../lib/libgnu.a
- mkid_SOURCES = mkid.c
- mkid_OBJECTS = mkid.$(OBJEXT)
--mkid_LDADD = $(LDADD)
-+mkid_LDADD = $(DEPLIBS)
- mkid_DEPENDENCIES = ../libidu/libidu.a ../lib/libgnu.a \
-       $(am__DEPENDENCIES_1) ../lib/libgnu.a
- xtokid_SOURCES = xtokid.c
- xtokid_OBJECTS = xtokid.$(OBJEXT)
--xtokid_LDADD = $(LDADD)
-+xtokid_LDADD = $(DEPLIBS)
- xtokid_DEPENDENCIES = ../libidu/libidu.a ../lib/libgnu.a \
-       $(am__DEPENDENCIES_1) ../lib/libgnu.a
- dist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
-@@ -263,6 +263,7 @@
-               -DLANGUAGE_MAP_FILE=\"$(datadir)/id-lang.map\"
- 
- LDADD = ../libidu/libidu.a ../lib/libgnu.a $(LIBINTL) ../lib/libgnu.a 
-+DEPLIBS = ../libidu/libidu.a ../lib/libgnu.a
- all: all-am
- 
- .SUFFIXES:
diff -r 340d54c26e1f -r dc3872ba7a1b devel/id-utils/patches/patch-ai
--- a/devel/id-utils/patches/patch-ai   Sat Aug 05 19:53:26 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2006/08/04 19:23:39 christos Exp $
-
---- src/fid.c.orig     2006-03-05 05:24:21.000000000 -0500
-+++ src/fid.c  2006-08-03 12:49:29.089070087 -0400
-@@ -23,7 +23,6 @@
- #include <unistd.h>
- #include <stdlib.h>
- #include <errno.h>
--#include <alloca.h>
- #include <error.h>
- #include <pathmax.h>
- #include <xalloc.h>
-@@ -211,7 +210,7 @@
-   struct file_link **members;
-   struct file_link **end = &members_0[idh.idh_files];
-   struct file_link *fn_flink = 0;
--  char *file_name_buf = alloca (PATH_MAX);
-+  char file_name_buf[PATH_MAX];
-   int has_slash = (strchr (file_name, '/') != 0);
-   int file_name_length = strlen (file_name);
-   int idx = -1;
---- src/fnid.c.orig    2006-03-05 05:24:29.000000000 -0500
-+++ src/fnid.c 2006-08-03 12:45:08.051454285 -0400
-@@ -24,7 +24,6 @@
- #include <errno.h>
- #include <stdlib.h>
- #include <errno.h>
--#include <alloca.h>
- #include <xalloc.h>
- #include <pathmax.h>
- #include <error.h>
-@@ -167,7 +166,7 @@
-     char **patv_0 = xmalloc (sizeof(char *) * (argc * 2));
-     char **patv_N;
-     char **patv = patv_0;
--    char *file_name = alloca (PATH_MAX);
-+    char file_name[PATH_MAX];
- 



Home | Main Index | Thread Index | Old Index