ports/131023: [NEW PORT] devel/rubygem-lockfile: A ruby library for creating NFS safe lockfiles

Dennis Herrmann adox at mcx2.org
Mon Jan 26 18:50:06 UTC 2009


>Number:         131023
>Category:       ports
>Synopsis:       [NEW PORT] devel/rubygem-lockfile: A ruby library for creating NFS safe lockfiles
>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:   Mon Jan 26 18:50:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dennis Herrmann
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD dhn.homeunix.com 7.1-STABLE FreeBSD 7.1-STABLE #4: Sat Jan 10 13:45:30 CET 2009
>Description:
rlock creates NFS safe lockfiles. it can optionally run a program while
holding the lock, ensuring lockfile removal on program exit. if a program
is specified to be run rlock will spawn a background thread to kept the
lockfile 'fresh' by touching it at a regular interval. in this way a lease
is maintained on the lockfile and other processes attempting to obtain the
lock can determine that it is in use.

WWW:	http://www.codeforpeople.com/lib/ruby/lockfile/

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

--- rubygem-lockfile-1.4.3.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:
#
#	rubygem-lockfile
#	rubygem-lockfile/pkg-descr
#	rubygem-lockfile/Makefile
#	rubygem-lockfile/distinfo
#
echo c - rubygem-lockfile
mkdir -p rubygem-lockfile > /dev/null 2>&1
echo x - rubygem-lockfile/pkg-descr
sed 's/^X//' >rubygem-lockfile/pkg-descr << 'f16133aaae85b676f29668c173d83cea'
Xrlock creates NFS safe lockfiles. it can optionally run a program while
Xholding the lock, ensuring lockfile removal on program exit. if a program
Xis specified to be run rlock will spawn a background thread to kept the
Xlockfile 'fresh' by touching it at a regular interval. in this way a lease
Xis maintained on the lockfile and other processes attempting to obtain the
Xlock can determine that it is in use.
X
XWWW:	http://www.codeforpeople.com/lib/ruby/lockfile/
f16133aaae85b676f29668c173d83cea
echo x - rubygem-lockfile/Makefile
sed 's/^X//' >rubygem-lockfile/Makefile << 'c33ffd18af68ef83ae1782cd737fc4ef'
X# New ports collection makefile for:	rubygem-lockfile
X# Date created:		2009-01-25
X# Whom:			Dennis Herrmann <adox at mcx2.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lockfile
XPORTVERSION=	1.4.3
XCATEGORIES=	devel rubygems
XMASTER_SITES=	RF/codeforpeople
X
XMAINTAINER=	adox at mcx2.org
XCOMMENT=	A ruby library for creating NFS safe lockfiles
X
XUSE_RUBY=	yes
XUSE_RUBYGEMS=	yes
XUSE_RAKE=	yes
X
Xpost-install:
X	@${ECHO} bin/rlock >> ${TMPPLIST}
X	@${ECHO} bin/rlock-${PORTVERSION} >> ${TMPPLIST}
X	@${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
X	@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
X	@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
X	@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
X	@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR}, at dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
X	@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR}, at dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
X
X.include <bsd.port.mk>
c33ffd18af68ef83ae1782cd737fc4ef
echo x - rubygem-lockfile/distinfo
sed 's/^X//' >rubygem-lockfile/distinfo << '49760264333919bed4ee7b9554b1c863'
XMD5 (rubygem/lockfile-1.4.3.gem) = 53a63206bbaefb7106db5a74a5adf148
XSHA256 (rubygem/lockfile-1.4.3.gem) = 63a9afc59c5084ebc46745d1f22e909c53d292d10c3e5f50d7bde891fbf6ab33
XSIZE (rubygem/lockfile-1.4.3.gem) = 19456
49760264333919bed4ee7b9554b1c863
exit
--- rubygem-lockfile-1.4.3.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list