Add new port: hidesvn.
Hidesvn is a small script that starts new processes with a library preloaded that hides .svn directories from readdir(). This is very useful when grepping the FreeBSD source tree. Reviewed by: garga
This commit is contained in:
parent
ea1fd5e593
commit
ca01b2c143
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229584
4 changed files with 41 additions and 0 deletions
|
@ -325,6 +325,7 @@
|
|||
SUBDIR += healthd
|
||||
SUBDIR += heartbeat
|
||||
SUBDIR += heirloom
|
||||
SUBDIR += hidesvn
|
||||
SUBDIR += highlnk
|
||||
SUBDIR += hilite
|
||||
SUBDIR += hourglass
|
||||
|
|
31
sysutils/hidesvn/Makefile
Normal file
31
sysutils/hidesvn/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# New ports collection makefile for: hidesvn
|
||||
# Date created: 6 March 2009
|
||||
# Whom: Ed Schouten <ed@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hidesvn
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://80386.nl/projects/${PORTNAME}/distfiles/
|
||||
|
||||
MAINTAINER= ed@FreeBSD.org
|
||||
COMMENT= Utility that uses LD_PRELOAD to hide .svn directories
|
||||
|
||||
MAKEFILE= BSDmakefile
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} lib/lib${PORTNAME}.so
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/${PORTNAME}.sh
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib${PORTNAME}.so ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/hidesvn/distinfo
Normal file
3
sysutils/hidesvn/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (hidesvn-1.0.tar.gz) = 325d5808a42bff4120944205134fee49
|
||||
SHA256 (hidesvn-1.0.tar.gz) = e6bdeebae59ecf81f445346c5937514f983654c4c5c1a14b8b297cfda37ea4ad
|
||||
SIZE (hidesvn-1.0.tar.gz) = 2392
|
6
sysutils/hidesvn/pkg-descr
Normal file
6
sysutils/hidesvn/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
hidesvn uses LD_PRELOAD to change readdir() and readdir_r() to hide .svn
|
||||
entries from directories. This is useful when using tools like find(1)
|
||||
and grep(1) to search through large source trees, like the FreeBSD SVN
|
||||
repository.
|
||||
|
||||
WWW: http://80386.nl/projects/hidesvn/
|
Loading…
Reference in a new issue