From owner-svn-ports-head@freebsd.org Sun Nov 18 21:42:33 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16AB01123E5B; Sun, 18 Nov 2018 21:42:33 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE48D7284F; Sun, 18 Nov 2018 21:42:32 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from mail-vk1-f179.google.com (mail-vk1-f179.google.com [209.85.221.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: bofh) by smtp.freebsd.org (Postfix) with ESMTPSA id 7DBE2AA82; Sun, 18 Nov 2018 21:42:32 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: by mail-vk1-f179.google.com with SMTP id y14so6376384vkd.1; Sun, 18 Nov 2018 13:42:32 -0800 (PST) X-Gm-Message-State: AGRZ1gIsvwKcD552gQOl49484t9fpTZwMpbzL6TIfq8sAgM/KiBAHdrb jKOpN+kIjlwoeGJntgxwC/Rn4e2FoTuN2MD8MUM= X-Google-Smtp-Source: AJdET5elrI6Cw8YeHzEdiYChApDJWpGpOeHyHEG9zGof2aRjVPl21te3ikKg34eeh0KVpcxbI3KSH3WgqPyir1YrzUE= X-Received: by 2002:a1f:2145:: with SMTP id h66mr8097521vkh.65.1542577351899; Sun, 18 Nov 2018 13:42:31 -0800 (PST) MIME-Version: 1.0 References: <201811182108.wAIL80n6030392@repo.freebsd.org> <1542576977.2386261.1581155040.7C79847F@webmail.messagingengine.com> In-Reply-To: <1542576977.2386261.1581155040.7C79847F@webmail.messagingengine.com> From: Muhammad Moinur Rahman Date: Mon, 19 Nov 2018 03:42:20 +0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r485274 - head/net/nbd-server To: tobik@freebsd.org Cc: Muhammad Moinur Rahman , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-Rspamd-Queue-Id: AE48D7284F X-Spamd-Result: default: False [-0.07 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.10)[-0.100,0]; NEURAL_SPAM_MEDIUM(0.03)[0.027,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 21:42:33 -0000 On Mon, Nov 19, 2018 at 3:36 AM Tobias Kortkamp 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