Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 23:42:22 -0800 (PST)
From:      Douglas William Thrift <douglas@douglasthrift.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/154020: New port: sysutils/hardlink Replace file copies using hardlinks
Message-ID:  <201101150742.p0F7gMjM082633@slowhand.douglasthrift.net>
Resent-Message-ID: <201101150750.p0F7o8Kg073371@freefall.freebsd.org>

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

>Number:         154020
>Category:       ports
>Synopsis:       New port: sysutils/hardlink Replace file copies using hardlinks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 15 07:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 8.0-RELEASE-p4-jc2 amd64
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 8.0-RELEASE-p4-jc2 FreeBSD 8.0-RELEASE-p4-jc2 #1: Tue Jul 20 15:11:39 PDT 2010 user@jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64
>Description:
Hardlink is a tool which detects multiple copies of the same file and replaces
them with hardlinks.

WWW: http://jak-linux.org/projects/hardlink/
>How-To-Repeat:
>Fix:
--- hardlink.shar begins here ---
#!/bin/sh
# This is a shell archive
echo x hardlink
mkdir -p hardlink > /dev/null 2>&1
echo x hardlink/Makefile
sed 's/^X//' > hardlink/Makefile << 'SHAR_END'
X# New ports collection makefile for:	hardlink
X# Date created:				14 January 2011
X# Whom:					Douglas Thrift
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hardlink
XPORTVERSION=	0.1.1
XCATEGORIES=	sysutils python
XMASTER_SITES=	http://jak-linux.org/projects/hardlink/ \
X		http://apt.douglasthrift.net/files/${PORTNAME}/ \
X		http://code.douglasthrift.net/files/${PORTNAME}/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	douglas@douglasthrift.net
XCOMMENT=	Replace file copies using hardlinks
X
XLICENSE=	MIT
X
XMAN1=		hardlink.1
XNO_BUILD=	yes
XPLIST_FILES=	bin/hardlink
XUSE_PYTHON=	2.5+
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/hardlink.py
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/hardlink.py ${PREFIX}/bin/hardlink
X	${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${PREFIX}/man/man1/hardlink.1
X
X.include <bsd.port.mk>
SHAR_END
echo x hardlink/distinfo
sed 's/^X//' > hardlink/distinfo << 'SHAR_END'
XSHA256 (hardlink_0.1.1.tar.gz) = b6ecd4fee72b66054ed941e23177e46537abefd4cc71d9c05b1b587d766f8273
XSIZE (hardlink_0.1.1.tar.gz) = 6306
SHAR_END
echo x hardlink/pkg-descr
sed 's/^X//' > hardlink/pkg-descr << 'SHAR_END'
XHardlink is a tool which detects multiple copies of the same file and replaces
Xthem with hardlinks.
X
XWWW: http://jak-linux.org/projects/hardlink/
SHAR_END
exit
--- hardlink.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?201101150742.p0F7gMjM082633>