pkgsrc-WIP-changes archive

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

lcov-current: Rename to lcov-git



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Wed Sep 21 21:09:11 2016 +0200
Changeset:	ef9fb2a285fa0fe35c7dd3f14187bda8e0ef5276

Modified Files:
	Makefile
Added Files:
	lcov-git/DESCR
	lcov-git/Makefile
	lcov-git/PLIST
	lcov-git/distinfo
	lcov-git/patches/patch-bin_copy__dates.sh
	lcov-git/patches/patch-bin_get__changes.sh
	lcov-git/patches/patch-bin_get__version.sh
	lcov-git/patches/patch-bin_install.sh
Removed Files:
	lcov-current/DESCR
	lcov-current/Makefile
	lcov-current/PLIST
	lcov-current/distinfo
	lcov-current/patches/patch-bin_copy__dates.sh
	lcov-current/patches/patch-bin_get__changes.sh
	lcov-current/patches/patch-bin_get__version.sh
	lcov-current/patches/patch-bin_install.sh

Log Message:
lcov-current: Rename to lcov-git

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ef9fb2a285fa0fe35c7dd3f14187bda8e0ef5276

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                       |  2 +-
 lcov-current/DESCR                             | 16 ---------
 lcov-current/Makefile                          | 37 -------------------
 lcov-current/PLIST                             | 13 -------
 lcov-current/distinfo                          |  6 ----
 lcov-current/patches/patch-bin_copy__dates.sh  | 12 -------
 lcov-current/patches/patch-bin_get__changes.sh | 12 -------
 lcov-current/patches/patch-bin_get__version.sh | 43 ----------------------
 lcov-current/patches/patch-bin_install.sh      | 49 --------------------------
 lcov-git/DESCR                                 | 16 +++++++++
 lcov-git/Makefile                              | 37 +++++++++++++++++++
 lcov-git/PLIST                                 | 13 +++++++
 lcov-git/distinfo                              |  6 ++++
 lcov-git/patches/patch-bin_copy__dates.sh      | 12 +++++++
 lcov-git/patches/patch-bin_get__changes.sh     | 12 +++++++
 lcov-git/patches/patch-bin_get__version.sh     | 43 ++++++++++++++++++++++
 lcov-git/patches/patch-bin_install.sh          | 49 ++++++++++++++++++++++++++
 17 files changed, 189 insertions(+), 189 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index e234f4b..2a6e59b 100644
--- a/Makefile
+++ b/Makefile
@@ -1517,7 +1517,7 @@ SUBDIR+=	lbt
 SUBDIR+=	lcalc
 SUBDIR+=	lcdproc
 SUBDIR+=	lci
-SUBDIR+=	lcov-current
+SUBDIR+=	lcov-git
 SUBDIR+=	lcrack
 SUBDIR+=	ldapbrowser
 SUBDIR+=	ldapdns
diff --git a/lcov-current/DESCR b/lcov-current/DESCR
deleted file mode 100644
index 1b3ca5e..0000000
--- a/lcov-current/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-LCOV is an extension of GCOV, a GNU tool which provides information
-about what parts of a program are actually executed (i.e. "covered")
-while running a particular test case. The extension consists of
-a set of Perl scripts which build on the textual GCOV output
-to implement the following enhanced functionality:
-
-  * HTML based output: coverage rates are additionally
-    indicated using bar graphs and specific colors.
-
-  * Support for large projects: overview pages allow quick
-    browsing of coverage data by providing three levels of
-    detail: directory view, file view and source code view.
-
-LCOV was initially designed to support Linux kernel
-coverage measurements, but works as well for coverage
-measurements on standard user space applications.
diff --git a/lcov-current/Makefile b/lcov-current/Makefile
deleted file mode 100644
index 5f6f083..0000000
--- a/lcov-current/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	lcov-${LCOV_FULL}
-LCOV_VERSION=	1
-LCOV_RELEASE=	12
-LCOV_FULL=	${LCOV_VERSION}.${LCOV_RELEASE}
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GITHUB:=linux-test-project/}
-
-GIT_REPOSITORIES=	lcov
-GIT_REPO.lcov=		https://github.com/linux-test-project/lcov.git
-WRKSRC=			${WRKDIR}/lcov
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/linux-test-project/lcov/
-COMMENT=	Extension of GCOV
-LICENSE=	gnu-gpl-v2
-
-EGDIR=		${PREFIX}/share/examples/lcov
-CONF_FILES+=	${EGDIR}/lcovrc ${PKG_SYSCONFDIR}/lcovrc
-
-MAKE_FLAGS+=	PREFIX=${PREFIX}
-MAKE_FLAGS+=	CFG_DIR=${EGDIR}
-MAKE_FLAGS+=	MAN_DIR=${PREFIX}/${PKGMANDIR}
-MAKE_FLAGS+=	VERSION=${LCOV_VERSION}
-MAKE_FLAGS+=	RELEASE=${LCOV_RELEASE}
-MAKE_FLAGS+=	FULL=${LCOV_FULL}
-
-REPLACE_PERL+=	bin/gendesc
-REPLACE_PERL+=	bin/genhtml
-REPLACE_PERL+=	bin/geninfo
-REPLACE_PERL+=	bin/genpng
-REPLACE_PERL+=	bin/lcov
-REPLACE_PERL+=	bin/updateversion.pl
-
-.include "../../wip/mk/git-package.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/lcov-current/PLIST b/lcov-current/PLIST
deleted file mode 100644
index 466121f..0000000
--- a/lcov-current/PLIST
+++ /dev/null
@@ -1,13 +0,0 @@
-@comment $NetBSD$
-bin/gendesc
-bin/genhtml
-bin/geninfo
-bin/genpng
-bin/lcov
-man/man1/gendesc.1
-man/man1/genhtml.1
-man/man1/geninfo.1
-man/man1/genpng.1
-man/man1/lcov.1
-man/man5/lcovrc.5
-share/examples/lcov/lcovrc
diff --git a/lcov-current/distinfo b/lcov-current/distinfo
deleted file mode 100644
index 21e19f5..0000000
--- a/lcov-current/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD$
-
-SHA1 (patch-bin_copy__dates.sh) = 8e7e04bda15321e5393d893fdcc2fcf68a5fbeb5
-SHA1 (patch-bin_get__changes.sh) = 86ce47d35cfea167eb3c73b4457c409a8dbbe198
-SHA1 (patch-bin_get__version.sh) = 4eb4ab689df37f1fcf0aa26a744a3baed5905975
-SHA1 (patch-bin_install.sh) = bcfc8504ad875aa92c504439d2cacdaa31d259b0
diff --git a/lcov-current/patches/patch-bin_copy__dates.sh b/lcov-current/patches/patch-bin_copy__dates.sh
deleted file mode 100644
index cc49781..0000000
--- a/lcov-current/patches/patch-bin_copy__dates.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
-Get rid of Bash
-
---- bin/copy_dates.sh.orig	2016-09-14 18:39:15.000000000 +0000
-+++ bin/copy_dates.sh
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # Usage: copy_dates.sh SOURCE TARGET
- #
diff --git a/lcov-current/patches/patch-bin_get__changes.sh b/lcov-current/patches/patch-bin_get__changes.sh
deleted file mode 100644
index 7abcfa7..0000000
--- a/lcov-current/patches/patch-bin_get__changes.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
-Get rid of Bash
-
---- bin/get_changes.sh.orig	2016-09-14 18:39:15.000000000 +0000
-+++ bin/get_changes.sh
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # Usage: get_changes.sh
- #
diff --git a/lcov-current/patches/patch-bin_get__version.sh b/lcov-current/patches/patch-bin_get__version.sh
deleted file mode 100644
index 2c9e679..0000000
--- a/lcov-current/patches/patch-bin_get__version.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD$
-
-Get rid of Bash
-
---- bin/get_version.sh.orig	2016-09-14 18:39:15.000000000 +0000
-+++ bin/get_version.sh
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # Usage: get_version.sh --version|--release|--full
- #
-@@ -11,16 +11,16 @@ GITVER=$(cd $TOOLDIR ; git describe --ta
- if [ -z "$GITVER" ] ; then
- 	# Get version information from file
- 	if [ -e "$TOOLDIR/../.version" ] ; then
--		source "$TOOLDIR/../.version"
-+		. "$TOOLDIR/../.version"
- 	fi
- else
- 	# Get version information from git
--	FULL=${GITVER:1}
-+	FULL=${GITVER#?}
- 	VERSION=${GITVER%%-*}
--	VERSION=${VERSION:1}
-+	VERSION=${VERSION#?}
- 	if [ "${GITVER#*-}" != "$GITVER" ] ; then
- 		RELEASE=${GITVER#*-}
--		RELEASE=${RELEASE/-/.}
-+		RELEASE=$(echo $RELEASE | tr - .)
- 	fi
- fi
- 
-@@ -29,6 +29,6 @@ fi
- [ -z "$RELEASE" ] && RELEASE="1"
- [ -z "$FULL" ]    && FULL="$VERSION"
- 
--[ "$1" == "--version" ] && echo -n "$VERSION"
--[ "$1" == "--release" ] && echo -n "$RELEASE"
--[ "$1" == "--full"    ] && echo -n "$FULL"
-+[ "$1" = "--version" ] && echo -n "$VERSION"
-+[ "$1" = "--release" ] && echo -n "$RELEASE"
-+[ "$1" = "--full"    ] && echo -n "$FULL"
diff --git a/lcov-current/patches/patch-bin_install.sh b/lcov-current/patches/patch-bin_install.sh
deleted file mode 100644
index 4e8fa02..0000000
--- a/lcov-current/patches/patch-bin_install.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-$NetBSD$
-
-Get rid of Bash
-Try to use install(1) in a more portable way
-
---- bin/install.sh.orig	2016-09-14 18:39:15.000000000 +0000
-+++ bin/install.sh
-@@ -1,11 +1,11 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # install.sh [--uninstall] sourcefile targetfile [install options]
- #
- 
- 
- # Check for uninstall option
--if test "x$1" == "x--uninstall" ; then
-+if test "x$1" = "x--uninstall" ; then
-   UNINSTALL=true
-   SOURCE=$2
-   TARGET=$3
-@@ -30,11 +30,12 @@ fi
- 
- do_install()
- {
--  local SOURCE=$1
--  local TARGET=$2
--  local PARAMS=$3
-+  local SOURCE="$1"
-+  local TARGET="$2"
-+  local PARAMS="$3"
- 
--  install -p -D $PARAMS $SOURCE $TARGET
-+  install -d "${TARGET%/*}"
-+  install -p $PARAMS "$SOURCE" "$TARGET"
- }
- 
- 
-@@ -44,8 +45,8 @@ do_install()
- 
- do_uninstall()
- {
--  local SOURCE=$1
--  local TARGET=$2
-+  local SOURCE="$1"
-+  local TARGET="$2"
- 
-   # Does target exist?
-   if test -r $TARGET ; then
diff --git a/lcov-git/DESCR b/lcov-git/DESCR
new file mode 100644
index 0000000..1b3ca5e
--- /dev/null
+++ b/lcov-git/DESCR
@@ -0,0 +1,16 @@
+LCOV is an extension of GCOV, a GNU tool which provides information
+about what parts of a program are actually executed (i.e. "covered")
+while running a particular test case. The extension consists of
+a set of Perl scripts which build on the textual GCOV output
+to implement the following enhanced functionality:
+
+  * HTML based output: coverage rates are additionally
+    indicated using bar graphs and specific colors.
+
+  * Support for large projects: overview pages allow quick
+    browsing of coverage data by providing three levels of
+    detail: directory view, file view and source code view.
+
+LCOV was initially designed to support Linux kernel
+coverage measurements, but works as well for coverage
+measurements on standard user space applications.
diff --git a/lcov-git/Makefile b/lcov-git/Makefile
new file mode 100644
index 0000000..5f6f083
--- /dev/null
+++ b/lcov-git/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME=	lcov-${LCOV_FULL}
+LCOV_VERSION=	1
+LCOV_RELEASE=	12
+LCOV_FULL=	${LCOV_VERSION}.${LCOV_RELEASE}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=linux-test-project/}
+
+GIT_REPOSITORIES=	lcov
+GIT_REPO.lcov=		https://github.com/linux-test-project/lcov.git
+WRKSRC=			${WRKDIR}/lcov
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/linux-test-project/lcov/
+COMMENT=	Extension of GCOV
+LICENSE=	gnu-gpl-v2
+
+EGDIR=		${PREFIX}/share/examples/lcov
+CONF_FILES+=	${EGDIR}/lcovrc ${PKG_SYSCONFDIR}/lcovrc
+
+MAKE_FLAGS+=	PREFIX=${PREFIX}
+MAKE_FLAGS+=	CFG_DIR=${EGDIR}
+MAKE_FLAGS+=	MAN_DIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=	VERSION=${LCOV_VERSION}
+MAKE_FLAGS+=	RELEASE=${LCOV_RELEASE}
+MAKE_FLAGS+=	FULL=${LCOV_FULL}
+
+REPLACE_PERL+=	bin/gendesc
+REPLACE_PERL+=	bin/genhtml
+REPLACE_PERL+=	bin/geninfo
+REPLACE_PERL+=	bin/genpng
+REPLACE_PERL+=	bin/lcov
+REPLACE_PERL+=	bin/updateversion.pl
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lcov-git/PLIST b/lcov-git/PLIST
new file mode 100644
index 0000000..466121f
--- /dev/null
+++ b/lcov-git/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+bin/gendesc
+bin/genhtml
+bin/geninfo
+bin/genpng
+bin/lcov
+man/man1/gendesc.1
+man/man1/genhtml.1
+man/man1/geninfo.1
+man/man1/genpng.1
+man/man1/lcov.1
+man/man5/lcovrc.5
+share/examples/lcov/lcovrc
diff --git a/lcov-git/distinfo b/lcov-git/distinfo
new file mode 100644
index 0000000..21e19f5
--- /dev/null
+++ b/lcov-git/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (patch-bin_copy__dates.sh) = 8e7e04bda15321e5393d893fdcc2fcf68a5fbeb5
+SHA1 (patch-bin_get__changes.sh) = 86ce47d35cfea167eb3c73b4457c409a8dbbe198
+SHA1 (patch-bin_get__version.sh) = 4eb4ab689df37f1fcf0aa26a744a3baed5905975
+SHA1 (patch-bin_install.sh) = bcfc8504ad875aa92c504439d2cacdaa31d259b0
diff --git a/lcov-git/patches/patch-bin_copy__dates.sh b/lcov-git/patches/patch-bin_copy__dates.sh
new file mode 100644
index 0000000..cc49781
--- /dev/null
+++ b/lcov-git/patches/patch-bin_copy__dates.sh
@@ -0,0 +1,12 @@
+$NetBSD$
+
+Get rid of Bash
+
+--- bin/copy_dates.sh.orig	2016-09-14 18:39:15.000000000 +0000
++++ bin/copy_dates.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Usage: copy_dates.sh SOURCE TARGET
+ #
diff --git a/lcov-git/patches/patch-bin_get__changes.sh b/lcov-git/patches/patch-bin_get__changes.sh
new file mode 100644
index 0000000..7abcfa7
--- /dev/null
+++ b/lcov-git/patches/patch-bin_get__changes.sh
@@ -0,0 +1,12 @@
+$NetBSD$
+
+Get rid of Bash
+
+--- bin/get_changes.sh.orig	2016-09-14 18:39:15.000000000 +0000
++++ bin/get_changes.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Usage: get_changes.sh
+ #
diff --git a/lcov-git/patches/patch-bin_get__version.sh b/lcov-git/patches/patch-bin_get__version.sh
new file mode 100644
index 0000000..2c9e679
--- /dev/null
+++ b/lcov-git/patches/patch-bin_get__version.sh
@@ -0,0 +1,43 @@
+$NetBSD$
+
+Get rid of Bash
+
+--- bin/get_version.sh.orig	2016-09-14 18:39:15.000000000 +0000
++++ bin/get_version.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Usage: get_version.sh --version|--release|--full
+ #
+@@ -11,16 +11,16 @@ GITVER=$(cd $TOOLDIR ; git describe --ta
+ if [ -z "$GITVER" ] ; then
+ 	# Get version information from file
+ 	if [ -e "$TOOLDIR/../.version" ] ; then
+-		source "$TOOLDIR/../.version"
++		. "$TOOLDIR/../.version"
+ 	fi
+ else
+ 	# Get version information from git
+-	FULL=${GITVER:1}
++	FULL=${GITVER#?}
+ 	VERSION=${GITVER%%-*}
+-	VERSION=${VERSION:1}
++	VERSION=${VERSION#?}
+ 	if [ "${GITVER#*-}" != "$GITVER" ] ; then
+ 		RELEASE=${GITVER#*-}
+-		RELEASE=${RELEASE/-/.}
++		RELEASE=$(echo $RELEASE | tr - .)
+ 	fi
+ fi
+ 
+@@ -29,6 +29,6 @@ fi
+ [ -z "$RELEASE" ] && RELEASE="1"
+ [ -z "$FULL" ]    && FULL="$VERSION"
+ 
+-[ "$1" == "--version" ] && echo -n "$VERSION"
+-[ "$1" == "--release" ] && echo -n "$RELEASE"
+-[ "$1" == "--full"    ] && echo -n "$FULL"
++[ "$1" = "--version" ] && echo -n "$VERSION"
++[ "$1" = "--release" ] && echo -n "$RELEASE"
++[ "$1" = "--full"    ] && echo -n "$FULL"
diff --git a/lcov-git/patches/patch-bin_install.sh b/lcov-git/patches/patch-bin_install.sh
new file mode 100644
index 0000000..4e8fa02
--- /dev/null
+++ b/lcov-git/patches/patch-bin_install.sh
@@ -0,0 +1,49 @@
+$NetBSD$
+
+Get rid of Bash
+Try to use install(1) in a more portable way
+
+--- bin/install.sh.orig	2016-09-14 18:39:15.000000000 +0000
++++ bin/install.sh
+@@ -1,11 +1,11 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # install.sh [--uninstall] sourcefile targetfile [install options]
+ #
+ 
+ 
+ # Check for uninstall option
+-if test "x$1" == "x--uninstall" ; then
++if test "x$1" = "x--uninstall" ; then
+   UNINSTALL=true
+   SOURCE=$2
+   TARGET=$3
+@@ -30,11 +30,12 @@ fi
+ 
+ do_install()
+ {
+-  local SOURCE=$1
+-  local TARGET=$2
+-  local PARAMS=$3
++  local SOURCE="$1"
++  local TARGET="$2"
++  local PARAMS="$3"
+ 
+-  install -p -D $PARAMS $SOURCE $TARGET
++  install -d "${TARGET%/*}"
++  install -p $PARAMS "$SOURCE" "$TARGET"
+ }
+ 
+ 
+@@ -44,8 +45,8 @@ do_install()
+ 
+ do_uninstall()
+ {
+-  local SOURCE=$1
+-  local TARGET=$2
++  local SOURCE="$1"
++  local TARGET="$2"
+ 
+   # Does target exist?
+   if test -r $TARGET ; then


Home | Main Index | Thread Index | Old Index