# 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: # # fuser # fuser/pkg-plist # fuser/pkg-descr # fuser/distinfo # fuser/Makefile # fuser/pkg-message # echo c - fuser mkdir -p fuser > /dev/null 2>&1 echo x - fuser/pkg-plist sed 's/^X//' >fuser/pkg-plist << 'END-of-fuser/pkg-plist' Xbin/fuser END-of-fuser/pkg-plist echo x - fuser/pkg-descr sed 's/^X//' >fuser/pkg-descr << 'END-of-fuser/pkg-descr' XThe fuser utility shall write to stdout the process IDs of processes that Xhave one or more named files open. For block and character special Xdevices, all processes using files on that device are listed. A file is Xconsidered open by a process if it was explicitly opened, is the working Xdirectory, root directory, jail root directory, active executable text, Xkernel trace file for that process or controlling tty of the process. X XThe fuser(1) utility is defined in IEEE Std 1003.1-2004 standard, but Xdoesn't included in standard FreeBSD distribution. X XWWW: http://mbsd.msk.ru/fuser.html END-of-fuser/pkg-descr echo x - fuser/distinfo sed 's/^X//' >fuser/distinfo << 'END-of-fuser/distinfo' XMD5 (fuser-1142334561.tar.bz2) = 0075bfa1c20a29e0f5196c8784a2e6fa XSHA256 (fuser-1142334561.tar.bz2) = 2edf0d189a77a55c84d58545de2cd446401ed42d2f06dd043db3c61f2087e5a2 XSIZE (fuser-1142334561.tar.bz2) = 11008 END-of-fuser/distinfo echo x - fuser/Makefile sed 's/^X//' >fuser/Makefile << 'END-of-fuser/Makefile' X# Ports collection makefile for: fuser X# Date created: 14 Marth 2006 X# Whom: Stanislav Sedov X# X# $FreeBSD$ X# X XPORTNAME= fuser XPORTVERSION= 1142334561 XCATEGORIES= sysutils XMASTER_SITES= http://mbsd.msk.ru/dist/ X XMAINTAINER= ssedov@mbsd.msk.ru XCOMMENT= POSIX fuser utility for FreeBSD X XWRKSRC= ${WRKDIR}/fuser XUSE_BZIP2= yes X XMAN1= fuser.1 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/fuser ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/fuser.1 ${PREFIX}/man/man1 X X @${CAT} ${PKGMESSAGE} X X.include END-of-fuser/Makefile echo x - fuser/pkg-message sed 's/^X//' >fuser/pkg-message << 'END-of-fuser/pkg-message' X============================================================================= X XSince fuser requires root privilegies to access /dev/mem file, ordinary Xusers can't use it. If you want to give non-priveleged users access to this Xutility you must set setuid bit on fuser executable: X X# chmod +s /usr/local/bin/fuser X X============================================================================= END-of-fuser/pkg-message exit