Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2018 03:42:20 +0600
From:      Muhammad Moinur Rahman <bofh@freebsd.org>
To:        tobik@freebsd.org
Cc:        Muhammad Moinur Rahman <bofh@freebsd.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r485274 - head/net/nbd-server
Message-ID:  <CAKGCEjJB48_oYLxc32GEwXK2owz2L4fZXypYu9%2BL73=ZGFnRYA@mail.gmail.com>
In-Reply-To: <1542576977.2386261.1581155040.7C79847F@webmail.messagingengine.com>
References:  <201811182108.wAIL80n6030392@repo.freebsd.org> <1542576977.2386261.1581155040.7C79847F@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 19, 2018 at 3:36 AM Tobias Kortkamp <tobik@freebsd.org> wrote:

> On Sun, Nov 18, 2018, at 22:08, Muhammad Moinur Rahman wrote:
> > Author: bofh
> > Date: Sun Nov 18 21:08:00 2018
> > New Revision: 485274
> > URL: https://svnweb.freebsd.org/changeset/ports/485274
> >
> > Log:
> >   net/nbd-server: Update 3.5=>3.18
> >
> >   - Add LICENSE_FILE
> >   - Add OPTION GNUTLS
> >   - Add USES=gnome
> >   - Pet portlint
> >
> >   PR:         230977
> >   Submitted by:       ndowens@yahoo.com
> >   Reported by:        wouter@grep.be
>
> It fails to build:
>
> nbd-server.c:607:17: warning: implicit declaration of function 'atoll' is
> invalid in C99 [-Wimplicit-function-declaration]
>                                 es = (off_t)atoll(optarg);
>                                             ^
> nbd-server.c:711:9: error: use of undeclared identifier 'DT_UNKNOWN'
>                         case DT_UNKNOWN:
>                              ^
> nbd-server.c:722:9: error: use of undeclared identifier 'DT_REG'
>                         case DT_REG:
>                              ^
> nbd-server.c:3426:5: warning: implicit declaration of function 'daemon' is
> invalid in C99 [-Wimplicit-function-declaration]
>         if(daemon(0,0)<0) {
>            ^
> nbd-server.c:3473:3: warning: implicit declaration of function 'setgroups'
> is invalid in C99 [-Wimplicit-function-declaration]
>                 setgroups(0, NULL);
>                 ^
>
> > Modified:
> >   head/net/nbd-server/Makefile
> >   head/net/nbd-server/distinfo
> >
> > Modified: head/net/nbd-server/Makefile
> >
> ==============================================================================
> > --- head/net/nbd-server/Makefile      Sun Nov 18 20:44:30 2018
> (r485273)
> > +++ head/net/nbd-server/Makefile      Sun Nov 18 21:08:00 2018
> (r485274)
> > @@ -2,8 +2,7 @@
> >  # $FreeBSD$
> >
> >  PORTNAME=    nbd
> > -PORTVERSION= 3.5
> > -PORTREVISION=        1
> > +PORTVERSION= 3.18
> >  PORTEPOCH=   1
> >  CATEGORIES=  net
> >  MASTER_SITES=        SF
> > @@ -13,17 +12,25 @@ MAINTAINER=       bofh@FreeBSD.org
> >  COMMENT=     Server for the Linux network block device (nbd)
> >
> >  LICENSE=     GPLv2
> > +LICENSE_FILE=        ${WRKSRC}/COPYING
> >
> > -USES=                pkgconfig tar:bzip2
> > +USES=                gnome pkgconfig
> >  USE_GNOME=   glib20
> > +
> >  GNU_CONFIGURE=       yes
> >  CONFIGURE_ARGS=      --enable-lfs --enable-syslog
> >  TEST_TARGET= check
> >
> > +OPTIONS_DEFINE=      GNUTLS
> > +GNUTLS_CONFIGURE_WITH=       gnutls
> > +GNUTLS_BUILD_DEPENDS=        gnutls>0:security/gnutls
> > +GNUTLS_RUN_DEPENDS=  gnutls>0:security/gnutls
>
> Did you mean
>
> GNUTLS_LIB_DEPENDS=     libgnutls.so:security/gnutls
>
> ?
>
Noops. Add missing patch files. Fixed @r485279



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKGCEjJB48_oYLxc32GEwXK2owz2L4fZXypYu9%2BL73=ZGFnRYA>