From d3c2109866b68c35363775ee642fdb5edd7ded3b Mon Sep 17 00:00:00 2001 From: avsm Date: Thu, 15 Jan 2004 14:15:21 +0000 Subject: [PATCH] initial import of p5-File-Sync-0.009 provides a perl interface to the family of sync() syscalls --- devel/p5-File-Sync/Makefile | 22 ++++++++++++++++++++++ devel/p5-File-Sync/distinfo | 3 +++ devel/p5-File-Sync/pkg/DESCR | 11 +++++++++++ devel/p5-File-Sync/pkg/PLIST | 13 +++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 devel/p5-File-Sync/Makefile create mode 100644 devel/p5-File-Sync/distinfo create mode 100644 devel/p5-File-Sync/pkg/DESCR create mode 100644 devel/p5-File-Sync/pkg/PLIST diff --git a/devel/p5-File-Sync/Makefile b/devel/p5-File-Sync/Makefile new file mode 100644 index 00000000000..c38325a1437 --- /dev/null +++ b/devel/p5-File-Sync/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/01/15 14:15:21 avsm Exp $ + +COMMENT= "perl interface to the sync() system functions" + +V= 0.09 +DISTNAME= File-Sync-${V} +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/} + +MAINTAINER= Anil Madhavapeddy + +# same as perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= perl + +.include diff --git a/devel/p5-File-Sync/distinfo b/devel/p5-File-Sync/distinfo new file mode 100644 index 00000000000..b76ada4e1b2 --- /dev/null +++ b/devel/p5-File-Sync/distinfo @@ -0,0 +1,3 @@ +MD5 (File-Sync-0.09.tar.gz) = 4f5aca0ccff4bf28ca1d039e5ed01fa2 +RMD160 (File-Sync-0.09.tar.gz) = 86b7d1ac8d98c3d459b5c95887e7fc6921d44a71 +SHA1 (File-Sync-0.09.tar.gz) = a6fa11f6e4808340c092f905370571fa288e7a70 diff --git a/devel/p5-File-Sync/pkg/DESCR b/devel/p5-File-Sync/pkg/DESCR new file mode 100644 index 00000000000..a4a8e81e250 --- /dev/null +++ b/devel/p5-File-Sync/pkg/DESCR @@ -0,0 +1,11 @@ +The fsync() function takes a Perl file handle as its only argument, +and passes its fileno() to the C function fsync(). It returns undef +on failure, or true on success. + +The fsync_fd() function is used internally by fsync(); it takes a +file descriptor as its only argument. + +The sync() function is identical to the C function sync(). + +This module does not export any methods by default, but fsync() is +made available as a method of the FileHandle and IO::Handle classes. diff --git a/devel/p5-File-Sync/pkg/PLIST b/devel/p5-File-Sync/pkg/PLIST new file mode 100644 index 00000000000..828a3059ac3 --- /dev/null +++ b/devel/p5-File-Sync/pkg/PLIST @@ -0,0 +1,13 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/01/15 14:15:21 avsm Exp $ +${P5ARCH}/File/Sync.pm +@comment ${P5ARCH}/auto/File/Sync/.packlist +${P5ARCH}/auto/File/Sync/Sync.bs +${P5ARCH}/auto/File/Sync/Sync.so +${P5ARCH}/auto/File/Sync/autosplit.ix +man/man3p/File::Sync.3p +@dirrm man/man3p +@dirrm ${P5ARCH}/auto/File/Sync +@dirrm ${P5ARCH}/auto/File +@dirrm ${P5ARCH}/auto +@dirrm ${P5ARCH}/File +@dirrm ${P5ARCH}