Here is an update for File::Sync, 0.09 is 19 years old!

What's new upstream [0]: 

- support for fdatasync()
- stop clobbering IO::Handle::fsync

Port-wise it's a simple update with a bit of cleanup.

Testing:

- 'make test' passes (macppc and amd64, it's a XS module)
- The only consumer is net/p5-Net-FTPServer and it still has a
  test failure because of an OOM error [1], despite sthen's
  attempt to prevent this [2].

Comments/feedback are welcome!

Charlène.


[0] https://metacpan.org/source/BRIANSKI/File-Sync-0.11/Changes
[1] http://0x0.st/zTNm.tgz
[2] https://marc.info/?l=openbsd-ports-cvs&m=154980348820951&w=2


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-File-Sync/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile    1 May 2019 16:04:26 -0000       1.17
+++ Makefile    5 May 2019 21:49:56 -0000
@@ -2,15 +2,15 @@
 
 COMMENT=       perl interface to the sync() system functions
 
-MODULES=       cpan
-V=             0.09
-DISTNAME=      File-Sync-${V}
-REVISION=      6
+DISTNAME=      File-Sync-0.11
+
 CATEGORIES=    devel
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += c perl
+WANTLIB+=      c perl
+
+MODULES=       cpan
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-File-Sync/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo    18 Jan 2015 03:13:27 -0000      1.4
+++ distinfo    5 May 2019 21:49:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (File-Sync-0.09.tar.gz) = Pb4eVo/mHj7En6Qu6pcGXQeYLNkk8Ly2dgO6wL6tRqM=
-SIZE (File-Sync-0.09.tar.gz) = 4074
+SHA256 (File-Sync-0.11.tar.gz) = eGaYIl5ctD6PBht4z6weDn1I03ADT/3FGCVSB3QcCyo=
+SIZE (File-Sync-0.11.tar.gz) = 5842

Reply via email to