pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/syncdir



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Mar  1 17:49:46 UTC 2022

Modified Files:
        pkgsrc/devel/syncdir: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/syncdir/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/syncdir/distinfo

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

Modified files:

Index: pkgsrc/devel/syncdir/Makefile
diff -u pkgsrc/devel/syncdir/Makefile:1.18 pkgsrc/devel/syncdir/Makefile:1.19
--- pkgsrc/devel/syncdir/Makefile:1.18  Sun Jan 26 17:31:05 2020
+++ pkgsrc/devel/syncdir/Makefile       Tue Mar  1 17:49:46 2022
@@ -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 @@ SITES.${DLSYM_PATCH}=        https://schmonz.co
 
 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"

Index: pkgsrc/devel/syncdir/distinfo
diff -u pkgsrc/devel/syncdir/distinfo:1.13 pkgsrc/devel/syncdir/distinfo:1.14
--- pkgsrc/devel/syncdir/distinfo:1.13  Tue Oct 26 10:19:58 2021
+++ pkgsrc/devel/syncdir/distinfo       Tue Mar  1 17:49:46 2022
@@ -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 @@ Size (syncdir-1.0-libtoolize-20181112-dl
 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