pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/syncdir Update to 1.1. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ba9ea24ebcd
branches:  trunk
changeset: 374872:3ba9ea24ebcd
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Mar 01 17:49:46 2022 +0000

description:
Update to 1.1. From the changelog:

- Adjust the open() wrapper from (O_WRONLY | O_RDWR) to O_CREAT.
  syncdir only needs to take action when a file is created (or removed,
  but that doesn't happen at open time). It doesn't matter what the
  write status of the open mode is. As such, the old behavior was a bug
  that just happened to work most of the time.
- Relicense from gnu-gpl-v2 to unlicense.

diffstat:

 devel/syncdir/Makefile |  13 +++++++++----
 devel/syncdir/distinfo |   8 ++++----
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (52 lines):

diff -r a15a98534d73 -r 3ba9ea24ebcd devel/syncdir/Makefile
--- a/devel/syncdir/Makefile    Tue Mar 01 16:07:18 2022 +0000
+++ b/devel/syncdir/Makefile    Tue Mar 01 17:49:46 2022 +0000
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.18 2020/01/26 17:31:05 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2022/03/01 17:49:46 schmonz Exp $
 #
 
-DISTNAME=              syncdir-1.0
-PKGREVISION=           4
+DISTNAME=              syncdir-1.1
 CATEGORIES=            devel
 MASTER_SITES=          ${HOMEPAGE}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://untroubled.org/syncdir/
 COMMENT=               Synchronous open, link, rename, and unlink
-LICENSE=               gnu-gpl-v2
+LICENSE=               unlicense
 
 USE_LIBTOOL=           yes
 
@@ -23,4 +22,10 @@
 
 INSTALLATION_DIRS=     lib
 
+SUBST_CLASSES+=                space
+SUBST_STAGE.space=     post-extract
+SUBST_FILES.space=     syncdir.c
+SUBST_SED.space=       -e 's|if(SYS_RENAME(oldpath|if (SYS_RENAME(oldpath|'
+SUBST_SED.space+=      -e 's|if(fdirsyncfn(newpath|if (fdirsyncfn(newpath|'
+
 .include "../../mk/bsd.pkg.mk"
diff -r a15a98534d73 -r 3ba9ea24ebcd devel/syncdir/distinfo
--- a/devel/syncdir/distinfo    Tue Mar 01 16:07:18 2022 +0000
+++ b/devel/syncdir/distinfo    Tue Mar 01 17:49:46 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:19:58 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/03/01 17:49:46 schmonz Exp $
 
 BLAKE2s (syncdir-1.0-libtoolize-20181112-dlsym-20181203.1.patch) = dc7a07b4d18e20453d166907ca1ff6b6dbb3fc3a78436375a369db93e1e9fb9d
 SHA512 (syncdir-1.0-libtoolize-20181112-dlsym-20181203.1.patch) = b90c00f498d02aef5343adef3cb42458eadfcc20b888c27fbc0aae1bf55ec5d5b599c8e9e0e140ddf84d9659ac7eb73a668394d571c7a509779c0a74ed300895
@@ -6,6 +6,6 @@
 BLAKE2s (syncdir-1.0-libtoolize-20181112.patch) = decf61b0a9865e2fb97398c7d54271586cc9b4c79c72ff28c143bde784b30b00
 SHA512 (syncdir-1.0-libtoolize-20181112.patch) = 67881906547d4928e939e5b35ecb8a26b07affd4946522473639aa7c346279bfbb27680a7c500ad3030cd4f5fb840e1c452f9e825f9bd5ee4f8e85ced335b408
 Size (syncdir-1.0-libtoolize-20181112.patch) = 2163 bytes
-BLAKE2s (syncdir-1.0.tar.gz) = 3cc772f60c665877f88821854a39308cadc77e3d3deaa773c691c0047a64371b
-SHA512 (syncdir-1.0.tar.gz) = 0b5262e23e43f34be7bc31ed6baf7624a115a509e459504651b184a0856c7918671db4be1b8e14552f275c49c5c6bbc00d786c57f1d96548a491048674f58317
-Size (syncdir-1.0.tar.gz) = 8878 bytes
+BLAKE2s (syncdir-1.1.tar.gz) = 6f750e8ddf303be5508bbfe8e03784ce5a2e1e9ace4e01a68bb09078058d0021
+SHA512 (syncdir-1.1.tar.gz) = 6dcf7a31c96a76d5709c31a22dbedef42f6ff689260cd67308a5055017aedd29fd955a6bef47aea86187d16df14563d907bd2b5a7a9cac6b679827c1183f75f0
+Size (syncdir-1.1.tar.gz) = 2757 bytes



Home | Main Index | Thread Index | Old Index