pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/etckeeper



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Jun 29 17:19:13 UTC 2017

Modified Files:
        pkgsrc/sysutils/etckeeper: Makefile distinfo
        pkgsrc/sysutils/etckeeper/patches: patch-commit.d_50vcs-commit

Log Message:
Revert patch to "be silent if there's nothing to commit." Upstream
recommends using `etckeeper unclean` to determine if there are any
changes in need of committing, which works with every VCS that
etckeeper supports. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/etckeeper/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/etckeeper/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/sysutils/etckeeper/patches/patch-commit.d_50vcs-commit

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

Modified files:

Index: pkgsrc/sysutils/etckeeper/Makefile
diff -u pkgsrc/sysutils/etckeeper/Makefile:1.9 pkgsrc/sysutils/etckeeper/Makefile:1.10
--- pkgsrc/sysutils/etckeeper/Makefile:1.9      Sat Jun 17 14:25:11 2017
+++ pkgsrc/sysutils/etckeeper/Makefile  Thu Jun 29 17:19:13 2017
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2017/06/17 14:25:11 schmonz Exp $
+# $NetBSD: Makefile,v 1.10 2017/06/29 17:19:13 schmonz Exp $
 #
 
 DISTNAME=      etckeeper_1.18.5.orig
 PKGNAME=       ${DISTNAME:S/_/-/:S/.orig$/.1/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/e/etckeeper/}
 

Index: pkgsrc/sysutils/etckeeper/distinfo
diff -u pkgsrc/sysutils/etckeeper/distinfo:1.5 pkgsrc/sysutils/etckeeper/distinfo:1.6
--- pkgsrc/sysutils/etckeeper/distinfo:1.5      Sat Jun 17 14:10:59 2017
+++ pkgsrc/sysutils/etckeeper/distinfo  Thu Jun 29 17:19:13 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2017/06/17 14:10:59 schmonz Exp $
+$NetBSD: distinfo,v 1.6 2017/06/29 17:19:13 schmonz Exp $
 
 SHA1 (etckeeper_1.18.5-1.diff.gz) = c43743cdfc6aa6543d95b7f19337d545d9cbe040
 RMD160 (etckeeper_1.18.5-1.diff.gz) = d7708dd7b2879e53ddd98896c7567d00da685286
@@ -9,7 +9,7 @@ RMD160 (etckeeper_1.18.5.orig.tar.gz) = 
 SHA512 (etckeeper_1.18.5.orig.tar.gz) = bfdd5ffb6ae72ebc5ea8254404280ea1c89de44cfb4c888bc40d1a8504887d198b967f46f1d3952a5a22b0f5969a8f3291e4fc1c37bbd488e4b25682d41364cd
 Size (etckeeper_1.18.5.orig.tar.gz) = 67166 bytes
 SHA1 (patch-bash__completion) = 95936127f98a76b4b7b66ddc170ba6c1e1e4c0d9
-SHA1 (patch-commit.d_50vcs-commit) = 86b150cb5e72aed9f8bb7886c699ea895e770f36
+SHA1 (patch-commit.d_50vcs-commit) = 2776cf73cc1211b4beaf14ce05aeb96ff422a19a
 SHA1 (patch-debian_cron.daily) = b702508cbb4dd42a3ae9f4a0b4be3a763edaf131
 SHA1 (patch-etckeeper) = 07a6b61b6c79096065953d22087c32ea5d776f2c
 SHA1 (patch-etckeeper.8) = 7e72a7889e0478463eb2b304d2cadb44cd97aa52

Index: pkgsrc/sysutils/etckeeper/patches/patch-commit.d_50vcs-commit
diff -u pkgsrc/sysutils/etckeeper/patches/patch-commit.d_50vcs-commit:1.2 pkgsrc/sysutils/etckeeper/patches/patch-commit.d_50vcs-commit:1.3
--- pkgsrc/sysutils/etckeeper/patches/patch-commit.d_50vcs-commit:1.2   Sat Jun 17 14:10:59 2017
+++ pkgsrc/sysutils/etckeeper/patches/patch-commit.d_50vcs-commit       Thu Jun 29 17:19:13 2017
@@ -1,7 +1,7 @@
-$NetBSD: patch-commit.d_50vcs-commit,v 1.2 2017/06/17 14:10:59 schmonz Exp $
+$NetBSD: patch-commit.d_50vcs-commit,v 1.3 2017/06/29 17:19:13 schmonz Exp $
 
-Test more carefully for a possibly missing binary, and be silent if
-there's nothing to commit. From Nathan Arthur in private mail.
+Test more carefully for a possibly missing binary. From Nathan Arthur in
+private mail.
 
 --- commit.d/50vcs-commit.orig 2016-07-17 23:01:39.000000000 +0000
 +++ commit.d/50vcs-commit
@@ -20,20 +20,3 @@ there's nothing to commit. From Nathan A
  fi
  
  ORIG_USER=$USER
-@@ -85,10 +87,12 @@ if [ "$VCS" = git ] && [ -d .git ]; then
-                       export GIT_COMMITTER_EMAIL
-               fi
-       fi
--      if [ -n "$logfile" ]; then
--              git commit $GIT_COMMIT_OPTIONS -F "$logfile"
--      else
--              git commit $GIT_COMMIT_OPTIONS
-+      if ! git diff --cached --quiet; then
-+              if [ -n "$logfile" ]; then
-+                      git commit $GIT_COMMIT_OPTIONS -F "$logfile"
-+              else
-+                      git commit $GIT_COMMIT_OPTIONS
-+              fi
-       fi
- elif [ "$VCS" = hg ] && [ -d .hg ]; then
-       if [ -n "$USER" ]; then



Home | Main Index | Thread Index | Old Index