SPECS: poldek.spec - does not require sed
Elan Ruusamäe
glen at delfi.ee
Wed Jun 20 12:21:59 CEST 2007
On Wednesday 20 June 2007, Jakub Bogusz wrote:
> On Wed, Jun 20, 2007 at 02:20:31AM +0200, glen wrote:
> > Author: glen Date: Wed Jun 20 00:20:31 2007 GMT
> > Module: SPECS Tag: HEAD
> > ---- Log message:
> > - does not require sed
>
> IIRC it was for vfjuggle and other scripts...
then should also depend on smbclient :) ?
$ ql poldek|xargs grep sed
/etc/poldek/poldek.conf:# Comma separated list of hosts or domains which will not be accessed via proxy.
/usr/lib64/poldek/vfcompr:# File (de)compression helper script. Used by vfile library when external
/usr/lib64/poldek/vfcompr: echo "$src already decompressed"
/usr/lib64/poldek/vfjuggle: CDID=`echo $URI | sed 's@/.*@@'`
/usr/lib64/poldek/vfjuggle: URI=`echo $URI | sed 's@[^/]*/@@'`
/usr/lib64/poldek/vfsmb:# requires: basename, grep, sed, smbclient
/usr/lib64/poldek/vfsmb: passwd=$(echo $src|sed 's|^smb://[^:]\+:\([^@]\+\)@.*|\1|')
/usr/lib64/poldek/vfsmb: user=$(echo $src|sed 's|^smb://\([^:]\+\):[^@]\+ at .*|\1|')
/usr/lib64/poldek/vfsmb: user=$(echo $src|sed 's|^smb://\([^@]\+\)@.*|\1|')
/usr/lib64/poldek/vfsmb: src=$(echo $src|sed 's|^smb://[^@]\+@|smb://|')
/usr/lib64/poldek/vfsmb:service=$(echo $src|sed 's|^smb://\([^/]\+/[^/]\+\)/|//\1|')
/usr/lib64/poldek/vfsmb:file=$(echo $src|sed 's|^smb://[^/]\+/[^/]\+/||')
are those vf* used by default?
if not we could leave comments inside poldek.conf that you need foo and bar when enabling these config options?
--
glen
More information about the pld-devel-en
mailing list