Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 08:23:06 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/100256: [NEW PORT] devel/p5-IPC-Mmap: Provides a minimal mmap() interface for both POSIX and Win32
Message-ID:  <20060714002306.DCEE0695@netnews.NCTU.edu.tw>
Resent-Message-ID: <200607140030.k6E0UKB6029780@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100256
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-IPC-Mmap: Provides a minimal mmap() interface for both POSIX and Win32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 14 00:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Tinderbox log:

  http://tb.gslin.org/logs/4.11-FreeBSD-Perl58/p5-IPC-Mmap-0.11.log
  http://tb.gslin.org/logs/5.5-FreeBSD/p5-IPC-Mmap-0.11.log
  http://tb.gslin.org/logs/6-STABLE/p5-IPC-Mmap-0.11.log

Provides an object-oriented interface to either the POSIX mmap() or
Win32 equivalent APIs to memory map a file into a process's address
space for general memory access. IPC::Mmap provides only a minimal
interface without the additional overhead of tie'd variables or
locking enforced in other modules (e.g., Sys::Mmap, Win32::MMF); hence,
the application is responsible for performing read()'s and write()'s
on the IPC::Mmap object, and calling any needed lock() and unlock()
methods, as required by concurrent processes.

Memory mapped files provide an alternate shared memory mechanism for
multiple processes. The technique maps the OS's file system buffers
for a given file into each mmap()'ing process's virtual memory space,
thereby permitting each process to essentially share the same physical
memory. Refer to the excellent "Advanced Programming in the UNIX
Environment", Stevens et al., Addison-Wesley Publisher for a detailed
reference on the POSIX implementation. IPC::Mmap provides OS-agnostic
wrappers for both the POSIX and Win32 memory mapped file capabilities.

Author:	Dean Arnold mailto:darnold@presicient.com
WWW:	http://search.cpan.org/dist/IPC-Mmap/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-IPC-Mmap-0.11.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-IPC-Mmap
#	p5-IPC-Mmap/pkg-descr
#	p5-IPC-Mmap/Makefile
#	p5-IPC-Mmap/pkg-plist
#	p5-IPC-Mmap/distinfo
#
echo c - p5-IPC-Mmap
mkdir -p p5-IPC-Mmap > /dev/null 2>&1
echo x - p5-IPC-Mmap/pkg-descr
sed 's/^X//' >p5-IPC-Mmap/pkg-descr << 'END-of-p5-IPC-Mmap/pkg-descr'
XProvides an object-oriented interface to either the POSIX mmap() or
XWin32 equivalent APIs to memory map a file into a process's address
Xspace for general memory access. IPC::Mmap provides only a minimal
Xinterface without the additional overhead of tie'd variables or
Xlocking enforced in other modules (e.g., Sys::Mmap, Win32::MMF); hence,
Xthe application is responsible for performing read()'s and write()'s
Xon the IPC::Mmap object, and calling any needed lock() and unlock()
Xmethods, as required by concurrent processes.
X
XMemory mapped files provide an alternate shared memory mechanism for
Xmultiple processes. The technique maps the OS's file system buffers
Xfor a given file into each mmap()'ing process's virtual memory space,
Xthereby permitting each process to essentially share the same physical
Xmemory. Refer to the excellent "Advanced Programming in the UNIX
XEnvironment", Stevens et al., Addison-Wesley Publisher for a detailed
Xreference on the POSIX implementation. IPC::Mmap provides OS-agnostic
Xwrappers for both the POSIX and Win32 memory mapped file capabilities.
X
XAuthor:	Dean Arnold mailto:darnold@presicient.com
XWWW:	http://search.cpan.org/dist/IPC-Mmap/
END-of-p5-IPC-Mmap/pkg-descr
echo x - p5-IPC-Mmap/Makefile
sed 's/^X//' >p5-IPC-Mmap/Makefile << 'END-of-p5-IPC-Mmap/Makefile'
X# New ports collection makefile for:	p5-IPC-Mmap
X# Date created:		2006-07-14
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	IPC-Mmap
XPORTVERSION=	0.11
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	IPC
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Provides a minimal mmap() interface for both POSIX and Win32
X
XPERL_CONFIGURE=	yes
X
XMAN3=		IPC::Mmap.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500800
XIGNORE=		requires perl 5.8.0 or later. Install lang/perl5.8 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-IPC-Mmap/Makefile
echo x - p5-IPC-Mmap/pkg-plist
sed 's/^X//' >p5-IPC-Mmap/pkg-plist << 'END-of-p5-IPC-Mmap/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap/Mmap.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap/Mmap.so
X%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap/POSIX.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap/Win32.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IPC
END-of-p5-IPC-Mmap/pkg-plist
echo x - p5-IPC-Mmap/distinfo
sed 's/^X//' >p5-IPC-Mmap/distinfo << 'END-of-p5-IPC-Mmap/distinfo'
XMD5 (IPC-Mmap-0.11.tar.gz) = 8d63fa396234d6989e9506b13ccb269b
XSHA256 (IPC-Mmap-0.11.tar.gz) = ede1b97e75571da13c6ec7f414a92d8f8797aa47744212cd677219a11b63da8f
XSIZE (IPC-Mmap-0.11.tar.gz) = 18298
END-of-p5-IPC-Mmap/distinfo
exit
--- p5-IPC-Mmap-0.11.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060714002306.DCEE0695>