ports/82455: new port: sysutils/highlnk
Emanuel Haupt
ehaupt at critical.ch
Mon Jun 20 21:50:19 UTC 2005
>Number: 82455
>Category: ports
>Synopsis: new port: sysutils/highlnk
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 20 21:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Fri Jun 10 23:25:47 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386
>Description:
new port: sysutils/highlnk
HighLnk is a high-performance hardlinking tool, which takes the contents of the
current directory, and hard-links files with different content to the target
directory. Files with same content will also be hard-linked but in a way that
storage space is saved. This is useful if you have many files on a read-only
partition, or if you plan to put many files on a CD/DVD, but the whole tree is
just too big to fit on the media.
>How-To-Repeat:
>Fix:
--- highlnk.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:
#
# highlnk
# highlnk/Makefile
# highlnk/pkg-descr
# highlnk/distinfo
#
echo c - highlnk
mkdir -p highlnk > /dev/null 2>&1
echo x - highlnk/Makefile
sed 's/^X//' >highlnk/Makefile << 'END-of-highlnk/Makefile'
X# New ports collection makefile for: highlnk
X# Date created: 20 Jun 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= highlnk
XDISTVERSION= 0.2
XCATEGORIES= sysutils
XMASTER_SITES= http://www.perli.net/projekte/highlnk/
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= A tool to save disk space on hard disks by using hardlinks
X
XUSE_REINPLACE= yes
X
XPLIST_FILES= bin/highlnk
X
XMAN1= highlnk.1
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|linux/limits.h|sys/syslimits.h|' \
X ${WRKSRC}/finder.c \
X ${WRKSRC}/highlnk.c
X @${REINPLACE_CMD} -e 's|^FLAGS.*|FLAGS = ${CFLAGS}|' \
X ${WRKSRC}/Makefile
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
XPLIST_DIRS+= %%DOCSDIR%%
XPLIST_FILES+= %%PORTDOCS%%%%DOCSDIR%%/README
X.endif
X
X.include <bsd.port.mk>
END-of-highlnk/Makefile
echo x - highlnk/pkg-descr
sed 's/^X//' >highlnk/pkg-descr << 'END-of-highlnk/pkg-descr'
XHighLnk is a high-performance hardlinking tool, which takes the contents of the
Xcurrent directory, and hard-links files with different content to the target
Xdirectory. Files with same content will also be hard-linked but in a way that
Xstorage space is saved. This is useful if you have many files on a read-only
Xpartition, or if you plan to put many files on a CD/DVD, but the whole tree is
Xjust too big to fit on the media.
X
XWWW: http://www.thpinfo.com/highlnk/
X
X- ehaupt
Xehaupt at critical.ch
END-of-highlnk/pkg-descr
echo x - highlnk/distinfo
sed 's/^X//' >highlnk/distinfo << 'END-of-highlnk/distinfo'
XMD5 (highlnk-0.2.tar.gz) = 8a3364e84eac8c3f908a82951d9437b7
XSIZE (highlnk-0.2.tar.gz) = 14533
END-of-highlnk/distinfo
exit
--- highlnk.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list