pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/bsdgrep-devel After discussion with grant, re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fcd0be0cda74
branches: trunk
changeset: 460514:fcd0be0cda74
user: cjep <cjep%pkgsrc.org@localhost>
date: Sun Aug 31 09:37:51 2003 +0000
description:
After discussion with grant, reimport bgrep as bsdgrep-devel.
diffstat:
textproc/bsdgrep-devel/DESCR | 2 +
textproc/bsdgrep-devel/Makefile | 20 +++++++++++++++
textproc/bsdgrep-devel/PLIST | 9 +++++++
textproc/bsdgrep-devel/distinfo | 9 +++++++
textproc/bsdgrep-devel/patches/patch-aa | 42 +++++++++++++++++++++++++++++++++
textproc/bsdgrep-devel/patches/patch-ab | 16 ++++++++++++
textproc/bsdgrep-devel/patches/patch-ac | 12 +++++++++
textproc/bsdgrep-devel/patches/patch-ad | 12 +++++++++
textproc/bsdgrep-devel/patches/patch-ae | 20 +++++++++++++++
9 files changed, 142 insertions(+), 0 deletions(-)
diffs (178 lines):
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/DESCR Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,2 @@
+This is a BSD-licensed grep(1) replacement. It is currently being
+developed in NetBSD's othersrc module.
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/Makefile Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+#
+
+DISTNAME= bgrep-20030825
+PKGNAME= bsdgrep-devel-20030825
+WRKSRC= ${WRKDIR}/nbgrep-20030825
+CATEGORIES= sysutils textproc
+MASTER_SITES= http://www.fawlty.net/software/
+
+MAINTAINER= cjep%netbsd.org@localhost
+HOMEPAGE= # none
+COMMENT= BSD version of grep as in NetBSD othersrc
+
+CONFLICTS+= bsdgrep-*
+#ONLY_FOR_PLATFORM= NetBSD-1.6*-*
+
+post-patch:
+ @${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/PLIST Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+bin/bgrep
+bin/ebgrep
+bin/fbgrep
+bin/zbgrep
+man/man1/bgrep.1
+man/man1/ebgrep.1
+man/man1/fbgrep.1
+man/man1/zbgrep.1
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/distinfo Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+SHA1 (bgrep-20030825.tar.gz) = 847f81eb1530fb7372c91607270f5b77de661518
+Size (bgrep-20030825.tar.gz) = 12921 bytes
+SHA1 (patch-aa) = c147bb05387e01b6f7e0ec8a918b09e77da2103c
+SHA1 (patch-ab) = c7fa54dedb0925d342549cbc56197bf2d8e4e47b
+SHA1 (patch-ac) = e5b3d3a2bc069f123a7f568f72ded291f3ac49ea
+SHA1 (patch-ad) = 8080d6fa8f5faa40055ad1f067c1669d682956d2
+SHA1 (patch-ae) = 360972fb9c9a759cce1ad726ad14647b8b140a4e
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/patches/patch-aa Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- Makefile.orig 2003-07-20 14:45:41.000000000 +0100
++++ Makefile
+@@ -2,16 +2,18 @@
+
+-PROG= grep
++PROG= bgrep
+ SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
+
+-LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
+- ${BINDIR}/grep ${BINDIR}/fgrep \
+- ${BINDIR}/grep ${BINDIR}/zgrep \
+- ${BINDIR}/grep ${BINDIR}/zegrep \
+- ${BINDIR}/grep ${BINDIR}/zfgrep
+-
+-MLINKS= grep.1 egrep.1 \
+- grep.1 fgrep.1 \
+- grep.1 zgrep.1 \
+- grep.1 zegrep.1 \
+- grep.1 zfgrep.1
++PREFIX?= /usr/local
++
++LINKS= ${BINDIR}/bgrep ${BINDIR}/ebgrep \
++ ${BINDIR}/bgrep ${BINDIR}/fbgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zbgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zebgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zfbgrep
++
++MLINKS= bgrep.1 ebgrep.1 \
++ bgrep.1 fbgrep.1 \
++ bgrep.1 zbgrep.1 \
++ bgrep.1 zebgrep.1 \
++ bgrep.1 zfbgrep.1
+
+@@ -19,2 +21,6 @@ LDADD= -lz
+
++MANDIR=${PREFIX}/man
++BINDIR=${PREFIX}/bin
++MKCATPAGES=no
++
+ WARNS=2
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/patches/patch-ab Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- file.c.orig Wed Aug 27 12:59:52 2003
++++ file.c Wed Aug 27 13:00:09 2003
+@@ -34,10 +34,10 @@
+
+ #include <sys/param.h>
+
++#include <zlib.h>
+ #include <err.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <zlib.h>
+
+ #include "grep.h"
+
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/patches/patch-ac Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- grep.c.orig Wed Aug 27 13:00:48 2003
++++ grep.c Wed Aug 27 13:01:03 2003
+@@ -37,6 +37,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
++#include <zlib.h>
+ #include <err.h>
+ #include <errno.h>
+ #include <getopt.h>
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/patches/patch-ad Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- mmfile.c.orig Wed Aug 27 13:01:21 2003
++++ mmfile.c Wed Aug 27 13:01:42 2003
+@@ -36,6 +36,7 @@
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+
++#include <zlib.h>
+ #include <err.h>
+ #include <fcntl.h>
+ #include <stdlib.h>
diff -r 4ee017265112 -r fcd0be0cda74 textproc/bsdgrep-devel/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bsdgrep-devel/patches/patch-ae Sun Aug 31 09:37:51 2003 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- util.c.orig Wed Aug 27 13:01:54 2003
++++ util.c Wed Aug 27 13:02:02 2003
+@@ -36,6 +36,7 @@
+ #include <sys/stat.h>
+
+ #include <ctype.h>
++#include <zlib.h>
+ #include <err.h>
+ #include <errno.h>
+ #include <fts.h>
+@@ -44,7 +45,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+-#include <zlib.h>
+
+ #include "grep.h"
+
Home |
Main Index |
Thread Index |
Old Index