Re: Help with copytree code

2008-07-13 Thread Beech Rintoul
On Saturday 12 July 2008, Beech Rintoul said:
> On Saturday 12 July 2008, Stanislav Sedov said:
> > On Sun, 6 Jul 2008 13:26:21 -0800
> >
> > Beech Rintoul <[EMAIL PROTECTED]> mentioned:
> > > I'd just like to thank stas@ and everyone who replied with
> > > suggestions, code etc. I believe that I now have something
> > > workable and it's been submitted to portmgr for review and
> > > possible inclusion in bsd.port.mk along with some new features
> > > of my own. Hopefully, this will fix a long standing problem
> > > with copytree_*.
> >
> > Have you filled the PR so we could review/comment?
>
> No, portmgr (Pav) has it and is reviewing. I'll chat with him and
> see if he wants me to file a pr. Meanwhile I'll be happy to send it
> to anyone who wants it. The FreeBSD server will just strip it off
> and I'm moving webservers today so I can't post it for a while.
>
> Beech

OK, if anyone wishes to test this code I posted it here:

http://www.alaskaparadise.com/freebsd/copytree.diff

Comments or suggestions are welcome :-)

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with copytree code

2008-07-12 Thread Beech Rintoul
On Saturday 12 July 2008, Stanislav Sedov said:
> On Sun, 6 Jul 2008 13:26:21 -0800
>
> Beech Rintoul <[EMAIL PROTECTED]> mentioned:
> > I'd just like to thank stas@ and everyone who replied with
> > suggestions, code etc. I believe that I now have something
> > workable and it's been submitted to portmgr for review and
> > possible inclusion in bsd.port.mk along with some new features of
> > my own. Hopefully, this will fix a long standing problem with
> > copytree_*.
>
> Have you filled the PR so we could review/comment?

No, portmgr (Pav) has it and is reviewing. I'll chat with him and see 
if he wants me to file a pr. Meanwhile I'll be happy to send it to 
anyone who wants it. The FreeBSD server will just strip it off and 
I'm moving webservers today so I can't post it for a while.

Beech

-- 
-------
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with copytree code

2008-07-06 Thread Beech Rintoul
On Sunday 18 May 2008, Beech Rintoul said:
> On Sunday 18 May 2008, Beech Rintoul said:
> > This copytree code is from bsd.port.mk, and I've been asked to
> > try and find a fix. This is very handy for installing a whole
> > tree (like a web app) keeping everything intact. It wasn't
> > designed to copy to a populated directory so it affects
> > everything in that dir, not just what's being installed. We need
> > to keep it's
> > functionality, but a fix is more than I can come up with. So I
> > thought I'd ask you code gurus to help. If this can be fixed many
> > will thank you!
> >
> > I attached it so it won't get line wrapped.
> >
> > Thanks,
> >
> > Beech
>
> Looks like it got stripped off, so I posted it here:
>
> http://www.alaskaparadise.com/freebsd/copytree_code

I'd just like to thank stas@ and everyone who replied with 
suggestions, code etc. I believe that I now have something workable 
and it's been submitted to portmgr for review and possible inclusion 
in bsd.port.mk along with some new features of my own. Hopefully, 
this will fix a long standing problem with copytree_*.

Once again thanks all :-)

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with copytree code

2008-05-19 Thread Beech Rintoul
On Sunday 18 May 2008, Beech Rintoul said:
> This copytree code is from bsd.port.mk, and I've been asked to try
> and find a fix. This is very handy for installing a whole tree
> (like a web app) keeping everything intact. It wasn't designed to
> copy to a populated directory so it affects everything in that dir,
> not just what's being installed. We need to keep it's
> functionality, but a fix is more than I can come up with. So I
> thought I'd ask you code gurus to help. If this can be fixed many
> will thank you!
>
> I attached it so it won't get line wrapped.
>
> Thanks,
>
> Beech

Looks like it got stripped off, so I posted it here:

http://www.alaskaparadise.com/freebsd/copytree_code

-- 
-------
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help with copytree code

2008-05-19 Thread Beech Rintoul
This copytree code is from bsd.port.mk, and I've been asked to try and 
find a fix. This is very handy for installing a whole tree (like a 
web app) keeping everything intact. It wasn't designed to copy to a 
populated directory so it affects everything in that dir, not just 
what's being installed. We need to keep it's functionality, but a fix 
is more than I can come up with. So I thought I'd ask you code gurus 
to help. If this can be fixed many will thank you!

I attached it so it won't get line wrapped.

Thanks,

Beech
-- 
-------
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: questions on development(7)

2007-11-09 Thread Beech Rintoul
On Thursday 08 November 2007, Aryeh M. Friedman said:
> First of all I am posting to both -current and -hackers because
> -hackers seems to be very low volume.

Please do not cross post. It is considered bad form and generates 
thousands of unnecessary emails. 

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


if exists statement

2006-12-18 Thread Beech Rintoul
I'm trying to write an if exists for a port makefile.

I tried:

.if exists= ${PREFIX}/etc/rc.d
exit
else
${MKDIR} ${PREFIX}/etc/rc.d
.endif

but it doesn't work.

Can someone give me the right syntax?

TIA

Beech
-- 
-------
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpmiAqUaalSv.pgp
Description: PGP signature


Re: Configure error

2006-12-15 Thread Beech Rintoul
On Friday 15 December 2006 18:14, Nikos Ntarmos wrote:
> Hi there.
>
> On Fri, Dec 15, 2006 at 05:16:12PM -0900, Beech Rintoul wrote:
> > I googled the problem and found that autoconf by default doesn't look
> > in usr/local/include even if it's in the path. So, my question is what
> > to put in the makefile or what to patch in the sources to make
> > autoconf pick up that header?
>
> I was just bitten by the same problem while trying to make a new port.
> Adding:
>
> USE_AUTOTOOLS=aclocal:19 automake:19 autoheader:259 autoconf:259
> LDFLAGS+= -L${LOCALBASE}/lib
> CFLAGS+=  -I${LOCALBASE}/include
> CONFIGURE_ENV=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
>
> pre-configure:
>   @(cd ${CONFIGURE_WRKSRC} && \
>   ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
>
> in the Makefile did the trick for me. This is without GNU_CONFIGURE=yes.

Thanks, that's more than I needed but it did point me in the right direction. 
I just needed to add the paths inside the option:

.if !defined(WITHOUT_WRAP)
MODULES:=${MODULES}:mod_wrap2
INCLUDEDIRS:=${INCLUDEDIRS}:${WORKDIR}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
.endif

Beech

-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
-------












-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpjhqcKqSmTY.pgp
Description: PGP signature


Configure error

2006-12-15 Thread Beech Rintoul
I'm the port maintainer for ftp/proftpd. I'm struggling with getting an 
upgrade out. The problem I'm having is they added a new option which requires 
libiconv. Autoconf looks for iconv.h, can't find it in /usr/local/include and 
the build errors out when it can't link. I googled the problem and found that 
autoconf by default doesn't look in usr/local/include even if it's in the 
path. So, my question is what to put in the makefile or what to patch in the 
sources to make autoconf pick up that header? Any help would be appreciated.

Beech
-- 
-------
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---












-- 
-------
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpTyjQ5cR1ct.pgp
Description: PGP signature


Error Code 70

2001-05-21 Thread Beech Rintoul

I'm trying to do an install and I keep getting an error 70. Can someone 
please tell me what that is?


TIA

Beech

-- 
---
 Beech Rintoul - IT Manager - Instructor - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -












To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message