pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/unidiff Unidiff now retains more infromation fou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d90ac114a61e
branches:  trunk
changeset: 381900:d90ac114a61e
user:      nat <nat%pkgsrc.org@localhost>
date:      Fri Jul 15 02:51:20 2022 +0000

description:
Unidiff now retains more infromation found in diffs.

Lines containing '@@ -1,2 3,4 @@ This line of text' are now handled correctly.

The original sources were at version 1.1 so update the VERSION accordingly.

Clarification form the author of unidff as to it's license.

Sources are now hosted at https://github.com/AceHusky12


Ok Wayne Davison, the inventor of the unified diff and the author of unidiff.

diffstat:

 devel/unidiff/Makefile               |  28 +++++++++++++---------------
 devel/unidiff/distinfo               |   9 ++++-----
 devel/unidiff/patches/patch-Makefile |  14 --------------
 3 files changed, 17 insertions(+), 34 deletions(-)

diffs (69 lines):

diff -r be89d61a06ad -r d90ac114a61e devel/unidiff/Makefile
--- a/devel/unidiff/Makefile    Fri Jul 15 00:55:37 2022 +0000
+++ b/devel/unidiff/Makefile    Fri Jul 15 02:51:20 2022 +0000
@@ -1,20 +1,18 @@
-# $NetBSD: Makefile,v 1.19 2021/01/27 09:30:05 wiz Exp $
-
-DISTNAME=      part01
-PKGNAME=       unidiff-1.0
-PKGREVISION=   2
-CATEGORIES=    devel
-MASTER_SITES=  #
-EXTRACT_SUFX=  .gz
+# $NetBSD: Makefile,v 1.20 2022/07/15 02:51:20 nat Exp $
+#
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      #
-COMMENT=       Converts between uni-diffs and context diffs
+VERSION=       1.1
+GITHUB_PROJECT= unidiff
+DISTNAME=       ${GITHUB_PROJECT}-${VERSION}
+PKGNAME=        ${GITHUB_PROJECT}-${VERSION}
+CATEGORIES=    devel
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=AceHusky12/}
+EXTRACT_SUFX=  .zip
 
-BUILD_DEPENDS+=        gsharutils>=4.2.1:../../archivers/gsharutils
-
-WRKSRC=                ${WRKDIR}
-EXTRACT_CMD=   ${GZCAT} $$extract_file | ${PREFIX}/bin/gunshar
+MAINTAINER=    nat%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/AceHusky12/unidiff
+COMMENT=       Converts between uni-diffs and context diffs
+LICENSE=       public-domain
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
diff -r be89d61a06ad -r d90ac114a61e devel/unidiff/distinfo
--- a/devel/unidiff/distinfo    Fri Jul 15 00:55:37 2022 +0000
+++ b/devel/unidiff/distinfo    Fri Jul 15 02:51:20 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:20:06 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/07/15 02:51:20 nat Exp $
 
-BLAKE2s (part01.gz) = 478e46bea4cb8942e09f5f72bafd29d827e5d6613d65f0053f0648a8ae45f9e1
-SHA512 (part01.gz) = 30d7cea52eec74777bc5c184065d68e6c233547b7be0135ed73298ad0e2abab749d38427fae3012f455231efbed030186a0f0e3bda396a60eea926ee9e6063bd
-Size (part01.gz) = 6794 bytes
-SHA1 (patch-Makefile) = 907faf2f6109ff5595befabcfacda89f3c489aa3
+BLAKE2s (unidiff-1.1.zip) = 55b10e58778242c10e94a193fc3a386b3c488ef050770f300ac017f2fdd7bfdf
+SHA512 (unidiff-1.1.zip) = 395fc527fb77a468f6fef4dbbfe4bca0e0764de56b612ed407a00f1548853292626cacfb4173bf82f9da5ee193d510d0592b9d81136e282d5fb53a695abf2d11
+Size (unidiff-1.1.zip) = 14412 bytes
diff -r be89d61a06ad -r d90ac114a61e devel/unidiff/patches/patch-Makefile
--- a/devel/unidiff/patches/patch-Makefile      Fri Jul 15 00:55:37 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2021/09/27 18:47:19 kim Exp $
-
---- Makefile.orig      2021-09-27 21:38:47.847167800 +0300
-+++ Makefile   2021-09-27 21:43:47.354945733 +0300
-@@ -6,7 +6,7 @@
- all: unify unipatch
- 
- unify: unify.c
--      $(CC) $(CFLAGS) -o unify unify.c
-+      $(CC) $(CFLAGS) $(LDFLAGS) -o unify unify.c
- 
- unipatch: unipatch.c
--      $(CC) $(CFLAGS) -o unipatch unipatch.c
-+      $(CC) $(CFLAGS) $(LDFLAGS) -o unipatch unipatch.c



Home | Main Index | Thread Index | Old Index