some configuration files aren't getting the contents prefixed...

Index: rsync-2.6.8-r2.ebuild
===================================================================
--- rsync-2.6.8-r2.ebuild       (revision 1770)
+++ rsync-2.6.8-r2.ebuild       (working copy)
@@ -63,9 +63,15 @@
               dodoc NEWS OLDNEWS README TODO tech_report.tex
               insinto /etc
               doins "${FILESDIR}"/rsyncd.conf
+
+               #patch for PREFIX
+               sed -e "s:pid file = /var/run/rsyncd.pid:pid file =
${EPREFIX}/var/run/rsyncd.pid:" -i ${EPREFIX}/etc/rsyncd.conf
+
               if use xinetd ; then
                       insinto /etc/xinetd.d
                       newins "${FILESDIR}"/rsyncd.xinetd rsyncd
+                       #patch for PREFIX
+                       sed -e "s: /usr/bin/rsync:
${EPREFIX}/usr/bin/rsync" -i ${EPREFIX}/etc/xinetd/rsyncd
               fi
       else
               rm -r "${D}"/usr/share
--
[EMAIL PROTECTED] mailing list

Reply via email to