Subject: Re: pkg/33494: net/vsftpd doesn't build on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 05/16/2006 14:55:02
The following reply was made to PR pkg/33494; it has been noted by GNATS.
From: joerg@britannica.bec.de
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/33494: net/vsftpd doesn't build on Solaris
Date: Tue, 16 May 2006 16:52:05 +0200
On Tue, May 16, 2006 at 02:30:01PM +0000, dreamind@dreamind.de wrote:
> diff -uraN ../net/vsftpd/Makefile vsftpd/Makefile
> --- ../net/vsftpd/Makefile 2006-04-23 20:11:49.809006262 +0200
> +++ vsftpd/Makefile 2006-05-16 16:05:59.206507877 +0200
> @@ -1,8 +1,10 @@
> # $NetBSD: Makefile,v 1.22 2006/04/23 00:12:41 jlam Exp $
> #
> +#
> +.include "../../mk/bsd.prefs.mk"
This should go down after the initial variable chunk at the very least.
>
> DISTNAME= vsftpd-2.0.4
> -PKGREVISION= 1
> +PKGREVISION= 2
This is not necessary, since the package didn't work before?
> CATEGORIES= net
> MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
>
> @@ -35,6 +37,9 @@
> SUBST_FILES.paths= vsftpd.8 vsftpd.conf.5 vsftpd.conf
> SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
> SUBST_STAGE.paths= post-patch
> +.if (${OPSYS} == "SunOS")
> +BUILD_MAKE_FLAGS+= LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib:/usr/lib -lcrypto -lwrap -lrt -lssl -lpam"
This is certainly not the correct solution. Can you explain exactly how
it is failing?
> +.endif
>
> .include "options.mk"
>
> diff -uraN ../net/vsftpd/patches/patch-ag vsftpd/patches/patch-ag
I can't comment on the patch itself. Does a variable like timezone or
localtime exist perhaps?
Joerg