Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2003 22:21:00 +0200 (CEST)
From:      Lars Bungum <Lars.Bungum@copyleft.no>
To:        freebsd-ports@freebsd.org
Subject:   Trying to patch rsync port.
Message-ID:  <20030829221932.Q55451-100000@unity.copyleft.no>

next in thread | raw e-mail | index | archive | help
Cheers!

I'm having problems with mknod errors coming from rsync.  After searching
the internet, I found a patch to 2.5.5 that solves the problem.  Although
the port seems upgraded to 2.5.6 in the meantime, I'd like to try this
patch to see if I can get it to work. The problem is that I don't really
know what I'm doing.

The patch can be found here:
http://lists.samba.org/pipermail/rsync/2002-June/007608.html

What I tried to do, was to paste it into a file /tmp/rsyncmknod.patch
and putting this line into the Makefile

EXTRA_PATCHES=  /tmp/rsyncmknod.patch

..but I didn't get this to work.  It asked me for a filename as I was
trying to make.

And afer I compiled successfully wihtout the patch make install failed
on this error (make -dA install)
--
===>  Checking if net/rsync already installed
already_installed=`/usr/sbin/pkg_info -q -O net/rsync 2> /dev/null`;  if
[ -n "${already_installed}" ]; then  for p in ${already_installed}; do
prfx=`/usr/sbin/pkg_info -q -p ${p} 2> /dev/null | /usr/bin/head -n 1 |
/usr/bin/sed -ne '1s|^@cwd ||p'`;  if [ "x/usr/local" = "x${prfx}" ];
then  df=`/usr/sbin/pkg_info -q -f ${p} 2> /dev/null | /usr/bin/grep -v
"^@" | /usr/bin/comm -12 - /usr/ports/net/rsync/work/.PLIST.mktmp`;  if
[ -n "${df}" ]; then  found_package=${p};  break;  fi;  fi;  done;  fi;
*** Error code 1
---

..seems that pkg_info -O is not a legal option on my system.  I don't
know if these issues are related.  Thanks for help!


-- 
Mvh.
Lars Bungum                                               <lb@cl.no>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030829221932.Q55451-100000>