From owner-freebsd-ports@freebsd.org Sun Aug 12 11:16:37 2018 Return-Path: Delivered-To: freebsd-ports@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 2EC25106CA3A; Sun, 12 Aug 2018 11:16:37 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB58E8330E; Sun, 12 Aug 2018 11:16:36 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4031520F02; Sun, 12 Aug 2018 07:16:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 12 Aug 2018 07:16:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=wBLZDDtC5sQj/4V2w5Vqq5ZXfirwjWhaqbzpvvNtJH8=; b=NHBmEptG 0gIgsbdfjEtlhsHDrwaIe8/Z7LzqqUsHoWHJBZ5zk5s5Ll9GaF6KI2z0REdksjvd keRLzs9IcBUiSUzAwd1S0npx+WqQiZXJn4Spfuju+rzbGEk7ni61JCnEs7CJX1db ETB8LfAAzoi/uHxD/IhC3pPI7ux81kvkqdRpTGnMsR8T+VMsISMSr6xm7KfFd0Xy 16HI+5Xo9l23NgFQGwiwy8Ecb5+WpKcyZEEWrJvl/8ldNeeTKOy8/OMA1JOJcjkQ SM1H7dB5tuym6IZggliN1fJlumeYECIVQO4V859SXu5y0e1Hm28y5sO++gyIexWc v3xdpzW8LGvMbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=wBLZDDtC5sQj/4V2w5Vqq5ZXfirwj WhaqbzpvvNtJH8=; b=aopIPTHSSQKQqT3vWbKbLE6NDYFRr9y1xwwH57rIcdUt5 VlF3hmT+J3JmuWcQJm1sNOSCNLJ1h3VxX+jPwscQ7fbKjmnamyS3/BWGOwW9QN6v aZYRsklhpnQuZrHE9oQsLrl6pMIeB/ZF3zw+snReY2JQR/gOwPTmbLWpsvGtu08a gxgHtpnbDAa/wgE3JgJMnmAAQbDQoRNrMN23HqjQITquijh6lX6bjqGEoe8ULu+T M8B954EmniMi0APWIDn39+c5xIUcBXSp/E7Y8GWtgo9UBl6vj+AiVeFMcWTB0HYn z4BpT+lCnqRnEisv2IpOJo0bIPWgKJnzn/zmS587g== X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 816F01025C; Sun, 12 Aug 2018 07:16:35 -0400 (EDT) To: freebsd-questions@freebsd.org Cc: freebsd-ports@freebsd.org From: tech-lists Subject: upgrading from php56 to php72 via ports Organization: none Message-ID: <2042d5ad-b58a-b1e3-614a-122e246ee91c@zyxst.net> Date: Sun, 12 Aug 2018 12:16:34 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 11:16:37 -0000 Hello lists, Is there an approved method of upgrading php56 to php72? This system uses source builds, ie the ports tree, so I guess flavours isn't available. Context is freebsd 11.2 amd64. Portupgrade is installed. thanks, -- J. From owner-freebsd-ports@freebsd.org Sun Aug 12 21:53:57 2018 Return-Path: Delivered-To: freebsd-ports@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 8B0BA107DB99 for ; Sun, 12 Aug 2018 21:53:57 +0000 (UTC) (envelope-from cs@innolan.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 221587B713 for ; Sun, 12 Aug 2018 21:53:57 +0000 (UTC) (envelope-from cs@innolan.net) Received: by mailman.ysv.freebsd.org (Postfix) id DAE8F107DB98; Sun, 12 Aug 2018 21:53:56 +0000 (UTC) Delivered-To: ports@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 C9AB0107DB97 for ; Sun, 12 Aug 2018 21:53:56 +0000 (UTC) (envelope-from cs@innolan.net) Received: from mx1.innolan.net (ranger.innolan.net [104.236.52.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77DDE7B712 for ; Sun, 12 Aug 2018 21:53:56 +0000 (UTC) (envelope-from cs@innolan.net) Received: from deimos.innolan.net (unknown [192.168.222.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "reloc.innolan.net", Issuer "innolan.net" (not verified)) by mx1.innolan.net (Postfix) with ESMTPS id 690ED112523 for ; Sun, 12 Aug 2018 21:52:50 +0000 (UTC) Received: from himalia.innolan.net (unknown [192.168.222.130]) by deimos.innolan.net (Postfix) with ESMTP id 4FC7D79AA for ; Sun, 12 Aug 2018 21:52:46 +0000 (UTC) Received: from [192.168.10.30] (unknown [192.168.10.30]) by himalia.innolan.net (Postfix) with ESMTP id 3F7F2160C for ; Sun, 12 Aug 2018 21:52:46 +0000 (UTC) To: "ports@FreeBSD.org" From: Carsten Larsen Subject: Porting python applications and meeting dependency requirements Message-ID: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net> Date: Sun, 12 Aug 2018 23:52:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 21:53:57 -0000 Hi @ports I am not so familiar with porting python applications. There seems to be some caveats, dependencies being one of them. Question is: Would it be difficult to make a port of The Onion Box? Source is on Github: https://github.com/ralphwetzel/theonionbox Regard Carsten From owner-freebsd-ports@freebsd.org Mon Aug 13 02:04:11 2018 Return-Path: Delivered-To: freebsd-ports@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 CBA361061ABE for ; Mon, 13 Aug 2018 02:04:11 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 532DB843EA for ; Mon, 13 Aug 2018 02:04:11 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 17F571061AB6; Mon, 13 Aug 2018 02:04:11 +0000 (UTC) Delivered-To: ports@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 EA4C51061AB5 for ; Mon, 13 Aug 2018 02:04:10 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A260843E6 for ; Mon, 13 Aug 2018 02:04:10 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pg1-x52b.google.com with SMTP id n7-v6so6816776pgq.4 for ; Sun, 12 Aug 2018 19:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:openpgp:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FAKE4Kn2XSkoTOwwQTdDWjVo8u7vVgGdr4FTCMYid6g=; b=GgTHvzTM2LHTEgvSg1pWB8D/KTF20ygEOSVVHx7uhzje8S8BGmZBaV7lEZdAmJrhxz qMh+mKhYRuk4PyyRkqY947ruNwTzTHz8uCSgS6nVudGdJK+lHymq5dWfnfLOE+xklzSn SGWUeYR/xQIOKav0AIajokBLWoVnu8YQoJBd5MfaSAay2+X9xqpt3C+5g+ssRtU8pM5e ROcJbcZOUyT1yeqecANR1H5bkv+sP3yDdUTrnWLk45Xve/uzfKqx881vOYaUwXRItxXv pV0UHPEo5qCiIyBzCwAtM2Ff4IhLlafyGDSNbFAvlv21zT+NKhc/GHvfXeLKBQZGtkt3 PApA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :openpgp:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=FAKE4Kn2XSkoTOwwQTdDWjVo8u7vVgGdr4FTCMYid6g=; b=DJoVfQUk4XmQrdCXwAg5xu2KR6WGZB+P5N4k77prr+wkIYPTA0INruEuUv34Z/t2Fv 5EhMENvNHcPPG5d1OAL6CBL4Lm/d5ThinJsELbXf0rJNoXqSOX9KeSGPetNNdIliFM4v YIK6dx9ZwxVQVGe3+dxfUo9JnFfT69HQjGXtvImzIDTNwSW0svHlhWWC65Oe+KXh5LPb BuEaHfQZMsYQiIdoikYLmk+TeG5QIvoYGfnL/6hlqZQ5XEGEzZnw5cmfg1sU/CP8sV51 /aZnrfUehz+1QAJ3m5Ghxem7yggjQc0jXl/aJF20ZGhGFJfAzniK6SerrGaV+fBnoLJS UaYA== X-Gm-Message-State: AOUpUlH+12WAZT/XVHETilRKw2l+VyJzCOYto3n5BrWf8/5SMoysPa5E l/rlNcHCmQEyMYZHqutfdrHl2lYv X-Google-Smtp-Source: AA+uWPzJDiQex0itAdu0U9lHF7t1CbNEzXxjqv0YI2fgmyN85zeSLzd2ACIIPmmUhv4HpoDTOSGDZA== X-Received: by 2002:a63:e718:: with SMTP id b24-v6mr15351635pgi.224.1534125849356; Sun, 12 Aug 2018 19:04:09 -0700 (PDT) Received: from [192.168.1.107] ([103.107.240.136]) by smtp.gmail.com with ESMTPSA id t30-v6sm24586249pgm.81.2018.08.12.19.04.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Aug 2018 19:04:08 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Porting python applications and meeting dependency requirements To: Carsten Larsen , "ports@FreeBSD.org" References: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net> From: Kubilay Kocak Openpgp: preference=signencrypt Message-ID: Date: Mon, 13 Aug 2018 12:04:04 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 02:04:12 -0000 On 13/08/2018 7:52 am, Carsten Larsen wrote: > Hi @ports > > I am not so familiar with porting python applications. There seems to be > some caveats, dependencies being one of them. Question is: Would it be > difficult to make a port of The Onion Box? Source is on Github: > https://github.com/ralphwetzel/theonionbox It's also registered in PyPI: https://pypi.org/project/theonionbox/ with its source distribution ('sdist') uploaded there. Porting python packages is relatively straight forward, particular those that use standard Python ecosystem mechanisms (distutils/setuptools, etc). This looks fairly straightforward at a quick glance to port. Dependencies are listed in setup.py:install_requires [1] which correspond to RUN_DEPENDS If some of the dependencies aren't in ports, they'll need porting first. Some Python specific porting guidelines to help: https://wiki.freebsd.org/Python/PortsPolicy #freebsd-ports or #freebsd-python @ freenode IRC if you have any questions or need help. [1] https://github.com/ralphwetzel/theonionbox/blob/master/setup.py#L375 > Regard > Carsten ./koobs From owner-freebsd-ports@freebsd.org Mon Aug 13 06:49:05 2018 Return-Path: Delivered-To: freebsd-ports@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 C95761067FAF for ; Mon, 13 Aug 2018 06:49:05 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9F48D095 for ; Mon, 13 Aug 2018 06:49:05 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w7D6n342044288 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 12 Aug 2018 23:49:03 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132] claimed to be yv.noip.me Subject: Re: Porting python applications and meeting dependency requirements To: freebsd-ports@freebsd.org References: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net> From: Yuri Message-ID: <03676609-bdf2-7106-127f-b124817ecf01@rawbw.com> Date: Sun, 12 Aug 2018 23:49:02 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 06:49:06 -0000 On 8/12/18 2:52 PM, Carsten Larsen wrote: > > I am not so familiar with porting python applications. There seems to > be some caveats, dependencies being one of them. Question is: Would it > be difficult to make a port of The Onion Box? Source is on Github: > https://github.com/ralphwetzel/theonionbox I added the port for theonionbox: https://www.freshports.org/security/theonionbox/ Regards, Yuri From owner-freebsd-ports@freebsd.org Mon Aug 13 13:16:30 2018 Return-Path: Delivered-To: freebsd-ports@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 0277310726A6 for ; Mon, 13 Aug 2018 13:16:30 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7D029790A7 for ; Mon, 13 Aug 2018 13:16:29 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: by mailman.ysv.freebsd.org (Postfix) id 41B1A10726A5; Mon, 13 Aug 2018 13:16:29 +0000 (UTC) Delivered-To: ports@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 1FA3B10726A4 for ; Mon, 13 Aug 2018 13:16:29 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bhuna.collabora.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CAF1790A4; Mon, 13 Aug 2018 13:16:28 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 56A05263981 Subject: Re: has a framework change broken sysutils/google-compute-engine-oslogin? To: Julian Elischer , Jan Beich , ports FreeBSD , =?UTF-8?Q?Fernando_Apestegu=c3=ada?= References: <46136fa7-c325-d1fb-9592-9533d6263cbd@freebsd.org> <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org> <5df77493-f59f-2666-994a-fce2031c22ee@freebsd.org> <20180808180408.GA67568@xombo.localdomain> From: Helen Koike Openpgp: preference=signencrypt Autocrypt: addr=helen.koike@collabora.com; keydata= xsFNBFmOMD4BEADb2nC8Oeyvklh+ataw2u/3mrl+hIHL4WSWtii4VxCapl9+zILuxFDrxw1p XgF3cfx7g9taWBrmLE9VEPwJA6MxaVnQuDL3GXxTxO/gqnOFgT3jT+skAt6qMvoWnhgurMGH wRaA3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+rCj3IWJdBQJZjjDJ AhsMBQkCxLJmAAoJEMB+rCj3IWJdY34QAMVy70677f9vXJsYVndP1xmnMYqnI5CEViQ3GP9W k8I2q8nUN3NHyjWe5Ro/UKlj03REymVdtSq7xBRAINQmfgVELvOBEJY6cO8JAujPl4EiJ0kL Y7D0+WfRrMvs/pR9jG7h3e3oG080ezRIkh9amGi1rj/uG39vpBc5avNpvOqqdwyCIyAQuG/Z 00CcD92WMQH3LmZkHJ0A5amZmVp/2NhWFIXnzMGCG+pnenYkYTs+nPwpEeF9aURlT3RQ6MEX te5bno0pQAZmJGlfxzPeId4BXGIlyCBGa8AYVcAH4byD/Lj1CWMuF/n+PQOloCMTUQsWuHJG WAFfICCspjVwzVDZMr3W3dKesrufYdXM0yVlXc39Zvx2sI94tMPaaFGvk758TQohg28OlPFD AxxgkCTrLa8OeJxNJFAz4cmmCWiZbm3SSYLzVFkNozQujL8c3y2U5yM3Tq7RmU9Djxh4s10p OoTFbIyky1af/kDLOBTNMXSNJ95+CDyH4g6rHhYJcjUribIgChGr7eLiSdQCpoyjcOe6n7ua NDLkOLQPocgjJb/AE46aMq67SVffqOTtLZZNPrSKnw/RVt7kbpRrcz5a45oX1x2kwYBBa//G cNC+diAifR6fnbn0lFc5oop99E0SCa0F4V/PYh6myRcqYH8huntTFLvBSYnG/tBYAeu1 Message-ID: <11ebf847-4b06-e53c-9ff1-7fcb0e9590c3@collabora.com> Date: Mon, 13 Aug 2018 10:16:18 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180808180408.GA67568@xombo.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 13:16:30 -0000 Hi all, On 08/08/2018 03:04 PM, Dmitri Goutnik wrote: > On 18-08-09 01:16:51, Julian Elischer wrote: >> On 8/8/18 6:30 pm, Jan Beich wrote: >>> Julian Elischer writes: >>> >>>> g++ -O2 -pipe -DPANZURA_DEV -DPZ_LONGNAMES -fstack-protector -isystem >>>> /usr/local/include -fno-strict-aliasing -isystem /usr/local/include >>>> -fPIC -c pam_module/pam_oslogin_login.cc -o >>>> pam_module/pam_oslogin_login.o >>>> g++ -fstack-protector -I/usr/local/include/json-c -o >>>> google_authorized_keys authorized_keys/authorized_keys.cc >>>> utils/oslogin_utils.cc -lcurl -ljson-c >>>> g++ -fstack-protector -Wall -Wstrict-prototypes -fPIC -shared >>>> -Wl,-soname,libnss_cache_oslogin.so.2 -o >>>> libnss_cache_google-compute-engine-oslogin-1.3.0.so >>>> libnss_cache_oslogin/nss_cache_oslogin.o >>>> libnss_cache_oslogin/compat/getpwent_r.o >>>> utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or >>>> directory >>>> utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or >>>> directory >>> - GCC 4.2.1 (patched) from base system is not a supported configuration >>> on i386/amd64/aarch64/armv6/armv7 >>> - C*FLAGS aren't consistently respected, see >>> https://wiki.freebsd.org/WarnerLosh/UsrLocal#Include_paths >>> https://www.freebsd.org/doc/en/books/porters-handbook/dads-cflags.html >>> >>> $ g++7 -v -xc++ - >>> [...] >>> ignoring nonexistent directory "/usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/include-fixed" >>> ignoring nonexistent directory "/usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/../../../../../x86_64-portbld-freebsd12.0/include" >>> #include "..." search starts here: >>> #include <...> search starts here: >>> /usr/local/lib/gcc7/include/c++/ >>> /usr/local/lib/gcc7/include/c++//x86_64-portbld-freebsd12.0 >>> /usr/local/lib/gcc7/include/c++//backward >>> /usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/include >>> /usr/local/include <-- HERE is why pkg-fallout@ is silent >> Sorry you are out of my area of knowledge.. >> All I know is that the port no longer compiles under amd64. >> though It did some months back. >> How it selects the compiler to use I have no clue.. >> I got my pkg using make.conf but that is not a sustainable answer. >> >>> /usr/include >>> End of search list. >>> >> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > Hi Julian, > > As Jan said, port's Makefile is broken in a sense that not all of its binary > targets respect CXXFLAGS. I took a stab at unbreaking the build, see > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230466 Sorry to take so long to reply. Thanks a lot for the patch. > > BTW, it compiles fine on 112a and 104i with base clang, not sure why original > Makefile had USE_GCC. > Because of my lack of experience. I couldn't reproduce the error with USE_GCC though https://paste.ee/p/FXNiv Maybe it is something in my environment (g++6 maybe). Thank you all Helen From owner-freebsd-ports@freebsd.org Mon Aug 13 17:52:56 2018 Return-Path: Delivered-To: freebsd-ports@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 51D8B1078F33 for ; Mon, 13 Aug 2018 17:52:56 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id B17B383E33 for ; Mon, 13 Aug 2018 17:52:55 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-lf1-x12f.google.com with SMTP id l16-v6so11856604lfc.13 for ; Mon, 13 Aug 2018 10:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y4/M6ekWLBlsc7kMemxQytn4XYBcU18GflNlNMeirx8=; b=OFiD96X/srbJB6kPSjmOU7X6uITLSN50eyutbFcMXhbZcT3dhE5ZpPDjbIN51dp4oE Q9sDktob/wmkjKVgSm/EuGefAT1HQwogxP2GeTGGeE7E290B3nhG7mlxJ6NjzW5pLkIh LH1CCdthvmR2gq+iMRSS3Li0AFpVhu2kU6F+SDPoF3d3yCQgXHE8PcJdBjc+pwHStOJe bLqVxbsLVnApfSKKfq20tV9hn9pPL1m49yMqTzTvQNuuGNPTieHZZE/dV46yu+Ny7sOU m82NNgg9xgY2zMEzCjAINSSa5xQ6tYNs8bU+WTNLwTJl/xaMTNoQv4Hd7qi4F3JZIXUf 9PcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y4/M6ekWLBlsc7kMemxQytn4XYBcU18GflNlNMeirx8=; b=Vy4lEHEdrMgYHhrdiSYf4bu91/NTz7yV2RoYOxOCfmNXvqKu546Pd1CjYs4YonIiHx txco5lVK4u3w9C7nM0n49UO2s3LwJcZ9H3Gpb1p5bskQWGaM8DyLX4yU86G+ax5IOSVo Y3Ac+4ckTKR1+W9ZCmhyJZgEenUKRF+L8fR2iKH6vnugl0NkmMdj+p3xIEsJpP/dPUGd Ak4GFCtlBGdZaVTI5pXwFu3LfdbQYmS67tblZj2drqC/drHs4CvSxrAzmUp+2+gjYN4P QB3JuMcguqdJq2jGPUsLQd5kLgBBxkAIbgBIvLJdHdwIFCtvMNERV1tpi6JVZPDSchs4 /h0A== X-Gm-Message-State: AOUpUlHYrHNYCz4U0djIWE50yRjJpc7FDXCikJQS/APMd8kX2Hw4m0y5 rPOZeQ2y2lgHU2926qzs09wEg8xNzobvE3G2BBI= X-Google-Smtp-Source: AA+uWPysE+hUog+fZRb4mZCMuT+mnM5nFqCIkvAgM6ILrEkFb7trJACfWLk+AComI0UMp7P9gj+591CNwmfJIBIZKaw= X-Received: by 2002:a19:3b11:: with SMTP id i17-v6mr11218517lfa.146.1534182774347; Mon, 13 Aug 2018 10:52:54 -0700 (PDT) MIME-Version: 1.0 References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> In-Reply-To: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Mon, 13 Aug 2018 17:52:35 +0200 Message-ID: Subject: Re: net-mgmt/ocsinventory-ng To: kurt.buff@gmail.com Cc: Andrea Venturoli , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 17:52:56 -0000 On Sat, Aug 11, 2018 at 1:15 AM Kurt Buff wrote: > > I used it about 6-8 years ago, and it was pretty good then, but we > moved on to commercial alternatives as a management decision. > > No idea if it's gotten better or worse since. > > Kurt > > On Fri, Aug 10, 2018 at 5:59 AM, Andrea Venturoli wrote: > > Hello. > > > > Is anyone using this software on FreeBSD? > > The port is at 2.1.2, while 2.5 is out, so I guess it's unmantained. > > > > Is someone working on this? Would you give this one a try? https://people.freebsd.org/~fernape/patches/ocsinventory.svndiff It builds on {10.4,11.1}{amd64,i386} and 12i386. Didn't test in other combinations. It's a bit difficult for me to test it at the moment. > > > > Do you have any alternative to suggest? > > > > I'm mainly interested in some inventoring the networks of my customers > > (mainly PCs and Macs, with hardware data, serial numbers and installed > > software); I've used OCS in the past and it's more or less what I'm looking > > for. > > The simpler, the better; GUI is not a requirement, as long as it stores data > > in some sort of DB. Synchronous commands would be a big bonus. > > > > bye & Thanks > > av. > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" From owner-freebsd-ports@freebsd.org Mon Aug 13 19:16:32 2018 Return-Path: Delivered-To: freebsd-ports@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 205DF107ABF7 for ; Mon, 13 Aug 2018 19:16:32 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB29F884E8 for ; Mon, 13 Aug 2018 19:16:31 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fpIKQ-000Ley-1I; Mon, 13 Aug 2018 21:16:34 +0200 Date: Mon, 13 Aug 2018 21:16:34 +0200 From: Kurt Jaeger To: Andrea Venturoli Cc: freebsd-ports@freebsd.org Subject: Re: net-mgmt/ocsinventory-ng Message-ID: <20180813191633.GL2118@home.opsec.eu> References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 19:16:32 -0000 Hi! > Is anyone using this software on FreeBSD? > The port is at 2.1.2, while 2.5 is out, so I guess it's unmantained. > > Is someone working on this? There's https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227550 and I added the link to Fernando's patch to that PR. And: It does not like php7 ? Is that because php7 is untested or is there a reason behind the limit on php5 ? -- pi@FreeBSD.org +49 171 3101372 2 years to go ! From owner-freebsd-ports@freebsd.org Mon Aug 13 19:28:07 2018 Return-Path: Delivered-To: freebsd-ports@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 85022107B237 for ; Mon, 13 Aug 2018 19:28:07 +0000 (UTC) (envelope-from cs@innolan.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 247C688C7E for ; Mon, 13 Aug 2018 19:28:07 +0000 (UTC) (envelope-from cs@innolan.net) Received: by mailman.ysv.freebsd.org (Postfix) id D93BF107B236; Mon, 13 Aug 2018 19:28:06 +0000 (UTC) Delivered-To: ports@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 C7A77107B235 for ; Mon, 13 Aug 2018 19:28:06 +0000 (UTC) (envelope-from cs@innolan.net) Received: from mx1.innolan.net (ranger.innolan.net [104.236.52.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B62688C7D for ; Mon, 13 Aug 2018 19:28:06 +0000 (UTC) (envelope-from cs@innolan.net) Received: from deimos.innolan.net (unknown [192.168.222.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "reloc.innolan.net", Issuer "innolan.net" (not verified)) by mx1.innolan.net (Postfix) with ESMTPS id 1EE56112523 for ; Mon, 13 Aug 2018 19:27:35 +0000 (UTC) Received: from himalia.innolan.net (unknown [192.168.222.130]) by deimos.innolan.net (Postfix) with ESMTP id 8DA117E07 for ; Mon, 13 Aug 2018 19:27:31 +0000 (UTC) Received: from [192.168.10.30] (unknown [192.168.10.30]) by himalia.innolan.net (Postfix) with ESMTP id 37EF41A48 for ; Mon, 13 Aug 2018 19:27:31 +0000 (UTC) Subject: Re: Porting python applications and meeting dependency requirements To: "ports@FreeBSD.org" References: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net> <03676609-bdf2-7106-127f-b124817ecf01@rawbw.com> From: Carsten Larsen Message-ID: Date: Mon, 13 Aug 2018 21:27:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <03676609-bdf2-7106-127f-b124817ecf01@rawbw.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 19:28:07 -0000 Thank you! I am already testing. There are some quirks with the rc.d script, which I will try to fix with a pull request upstream. Regards Carsten Den 13-08-2018 kl. 08:49 skrev Yuri: > On 8/12/18 2:52 PM, Carsten Larsen wrote: >> >> I am not so familiar with porting python applications. There seems to >> be some caveats, dependencies being one of them. Question is: Would it >> be difficult to make a port of The Onion Box? Source is on Github: >> https://github.com/ralphwetzel/theonionbox > > > I added the port for theonionbox: > https://www.freshports.org/security/theonionbox/ > > > Regards, > > Yuri > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" From owner-freebsd-ports@freebsd.org Mon Aug 13 21:01:36 2018 Return-Path: Delivered-To: freebsd-ports@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 79977107D9D4 for ; Mon, 13 Aug 2018 21:01:36 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id EBE238D35F; Mon, 13 Aug 2018 21:01:35 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-lf1-x12d.google.com with SMTP id a134-v6so12250949lfe.6; Mon, 13 Aug 2018 14:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OVextbJKTH/b3EF9+3pFK0E0tAeHvDG3golcmHG+dic=; b=tvyyB/znlSl8SAlnldEgDF57TrWaaVPZMteTRevmq1UCuy90Mz6D7nc3wVEZfLODoV sPBJ0xEISFJKr6mi5PkJhSS3TLLt2W3jnRSfo5dckU7C8eROLsCDgap0GxBBTLKV56d+ Ny/sjs4xYjDlZZsaRSPcXXmbbK39yZeKSSmPRSagi9GnaEsX6hzkaepv0AiMJsZ9L4vq IroUHb9dF6oSqnqlDla2WzdECzUlRnlGUAvAeUunot2sMIfT5cFuzO8OIZxN3QNTPKiT iWhhKSof5WvSh8vIgXFHniRy6wD2BF0tYPywN0WLAsz4fOU09NYYJ50vGx0CFA0l4zjR dVOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OVextbJKTH/b3EF9+3pFK0E0tAeHvDG3golcmHG+dic=; b=ACQncuWN0i9r431AIMOViA58zGg5RGuzITRBmECM5tedgi4nvfiESDW6lz1JAMO2QL rU8OTylfpA8a1pZo+xMcllxG5Zm8T0PTHg+2ibMMtwa3DwZCQS0LzZXbjInfcZk3FONK JA9UAHez8IGOcWBznsU6KwmeTfWPee7vi1WvFCvLK91SKNuxn0u5yZ3N3EpicNO1dUma 5q+souNTTDC2iQR89yK9gzVpeU7Gn5Xj+24slcSZtZOjZ4rWQI9Ml7KsrBGKWr1iB631 hnSMGpU4B96O6kET01DaRT9irg4IDTTwPl1kBR9sKPjoeDJNhPxJOv9jaiydCwxY54V6 4d9g== X-Gm-Message-State: AOUpUlHNXN19sp2cAwOKSm2kv75JkWjShM7LIBE2KND4dWk3Hnrkz3p9 tIex6BQqBZ+XBXvEE9p0baZa7U0tb7G5IX0DJteaD874 X-Google-Smtp-Source: AA+uWPwnWXe7xKoAVmR/vHnuNzTjyG760vFS1kRwPVU0lawEwB3AZPfKNeFaG0pn2WT1iSHQqaMggUJ65icrRQe+YF4= X-Received: by 2002:a19:5309:: with SMTP id h9-v6mr11755132lfb.86.1534194094144; Mon, 13 Aug 2018 14:01:34 -0700 (PDT) MIME-Version: 1.0 References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> <20180813191633.GL2118@home.opsec.eu> In-Reply-To: <20180813191633.GL2118@home.opsec.eu> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Mon, 13 Aug 2018 21:01:15 +0200 Message-ID: Subject: Re: net-mgmt/ocsinventory-ng To: Kurt Jaeger Cc: Andrea Venturoli , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 21:01:36 -0000 On Mon, Aug 13, 2018 at 9:18 PM Kurt Jaeger wrote: > > Hi! > > > Is anyone using this software on FreeBSD? > > The port is at 2.1.2, while 2.5 is out, so I guess it's unmantained. > > > > Is someone working on this? > > There's > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227550 > > and I added the link to Fernando's patch to that PR. Thanks, I wasn't aware of that. > > And: It does not like php7 ? Is that because php7 is untested or > is there a reason behind the limit on php5 ? I don't know. The upstream project mentions as dependency: "PHP 4.3.2 or higher, with ZIP support enabled." but I didn't test php7 Also note that ocs reports is now an independent project and hence, not include in the update for ocsinventory-ng. > > -- > pi@FreeBSD.org +49 171 3101372 2 years to go ! > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" From owner-freebsd-ports@freebsd.org Mon Aug 13 22:28:25 2018 Return-Path: Delivered-To: freebsd-ports@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 62C1B107F80C for ; Mon, 13 Aug 2018 22:28:25 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bhuna.collabora.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8D19700C3 for ; Mon, 13 Aug 2018 22:28:24 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 9BA0727D774 To: freebsd-ports@freebsd.org From: Helen Koike Subject: workflow question: how do you maintain the port in sync with upstream? Openpgp: preference=signencrypt Autocrypt: addr=helen.koike@collabora.com; keydata= xsFNBFmOMD4BEADb2nC8Oeyvklh+ataw2u/3mrl+hIHL4WSWt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/hykKLa5xtnG6uGUGSO1lnwxUAR17eGWqNwGXYCHpAP zboVPGxw4aUcR80AEQEAAcLBfAQYAQoAJhYhBKh9ADrOsi1cSAdZPMB+rCj3IWJdBQJZjjDJ AhsMBQkCxLJmAAoJEMB+rCj3IWJdY34QAMVy70677f9vXJsYVndP1xmnMYqnI5CEViQ3GP9W k8I2q8nUN3NHyjWe5Ro/UKlj03REymVdtSq7xBRAINQmfgVELvOBEJY6cO8JAujPl4EiJ0kL Y7D0+WfRrMvs/pR9jG7h3e3oG080ezRIkh9amGi1rj/uG39vpBc5avNpvOqqdwyCIyAQuG/Z 00CcD92WMQH3LmZkHJ0A5amZmVp/2NhWFIXnzMGCG+pnenYkYTs+nPwpEeF9aURlT3RQ6MEX te5bno0pQAZmJGlfxzPeId4BXGIlyCBGa8AYVcAH4byD/Lj1CWMuF/n+PQOloCMTUQsWuHJG WAFfICCspjVwzVDZMr3W3dKesrufYdXM0yVlXc39Zvx2sI94tMPaaFGvk758TQohg28OlPFD AxxgkCTrLa8OeJxNJFAz4cmmCWiZbm3SSYLzVFkNozQujL8c3y2U5yM3Tq7RmU9Djxh4s10p OoTFbIyky1af/kDLOBTNMXSNJ95+CDyH4g6rHhYJcjUribIgChGr7eLiSdQCpoyjcOe6n7ua NDLkOLQPocgjJb/AE46aMq67SVffqOTtLZZNPrSKnw/RVt7kbpRrcz5a45oX1x2kwYBBa//G cNC+diAifR6fnbn0lFc5oop99E0SCa0F4V/PYh6myRcqYH8huntTFLvBSYnG/tBYAeu1 Message-ID: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> Date: Mon, 13 Aug 2018 19:28:14 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 22:28:25 -0000 Hello, I am new to the community, I am maintaining two packages and I would like to check with you if there is a better workflow to do this. The upstream project of the port I am maintaining is held in github, and I also have patches in the /usr/ports/sysutils/myport/file/ folder. So I keep a fork of the upstream project with a branch containing a commit with the patches from the /usr/ports/sysutils/myport/file/. Every time I need to update the port to a newer version, I do a git pull in this branch, then I run a script [1] to re-generate the patches in the /usr/ports/sysutils/myport/file/ This script basically generates a file.orig of all modified files in git, then copy the modified file to WORK_DIR, then run make makepatch. for file in ${CHANGES}; do mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} done make makepatch I would like to know if there is a better way to do this (some tool that I am not aware of?). [1] https://github.com/helen-fornazier/bsd-update-patches/blob/master/freebsd-gce-update.sh Thanks Helen From owner-freebsd-ports@freebsd.org Mon Aug 13 23:00:44 2018 Return-Path: Delivered-To: freebsd-ports@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 ECC7B105551E for ; Mon, 13 Aug 2018 23:00:43 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 8464671221 for ; Mon, 13 Aug 2018 23:00:43 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x232.google.com with SMTP id v71-v6so16920116itb.3 for ; Mon, 13 Aug 2018 16:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qky3c+hnKSxNxEbcEKY2OZpCfWqJAp//qb7qgrpWjeE=; b=YYdyUp+9H+MmP1eANe7QqdyRAvfy2AdrWoe+KbpMg4gRPFsU+gu1ZLzG0WRqIWMli1 JzdljyjStVHAoJr8oQBHLaTeLhzcM1vKvqu+dhEIxTJX9py4r8QsOoo9JtiMbTeKwAoJ iFemB67AHb/1E7IJDJG9nyCOS98rGcMR84aeSm1tkAxJwaieisQCZJYYkeO/qWFfna9M EsNoPtv8DG0a+YpnHad9z4EVRlRa17qUbgxyWNEPvwQdpjNZzBAOP18cTm0+nDDQJlDC HuA3ObEJ6T4oqyzIUEumf0ui/DDuYhbN7TMh1jL3gjJSovMbSdfNIyVgEKjXYZxVAZiZ ldEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qky3c+hnKSxNxEbcEKY2OZpCfWqJAp//qb7qgrpWjeE=; b=mFdOJdBV0NhAKXuPiSVDop/ReGiNLCwpzzt3RJTQ0DqSIvE35orw0DRS0UH9GLUjLM FKibOecAcHpiatt6926fE4tJynjgUQEp0KRyftZgK0qezHDuBNGvBS4kxhX+eIG4x28C c9ocvc08FlnY5S7fClPWOvSexAN66/HFKNGgXGOjZToCfMbvDMhZ40nbd9fSNPqO7fyp s5Q3ZkbJyK2LG/6X1kpsTJE5hnbaRRsQyZPkg6tjZeuq1PPLlGwDGEckqAVHI7uA0ukr tIij7ydTAB/RURnRWOOpapHGDHxJRME8+lIThlD/cLiGts+5Nr5uPv8tVoZLEI+j9T+o w5Gw== X-Gm-Message-State: AOUpUlEPVFAR4gstRchLWCxA2YoFiCiB6CSoNqOavLQqC71RRje991el LEVqw9T2MAZtqSUq6fzMdUpCX+A4kW8bdCNNS5sxvA== X-Google-Smtp-Source: AA+uWPz3q/stVrMhY6/tHTq6Dj0DkFmmy/V0GfXP6SuuXJX/i0aGIPzWLY9iwSFB0LKxwX+m3PRjvKkicm8Tci7WiCY= X-Received: by 2002:a02:8d43:: with SMTP id o3-v6mr16748697jal.133.1534201242995; Mon, 13 Aug 2018 16:00:42 -0700 (PDT) MIME-Version: 1.0 References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> In-Reply-To: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> From: blubee blubeeme Date: Tue, 14 Aug 2018 07:00:51 +0800 Message-ID: Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: Helen Koike Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 23:00:44 -0000 On Tue, Aug 14, 2018, 06:30 Helen Koike wrote: > Hello, > > I am new to the community, I am maintaining two packages and I would > like to check with you if there is a better workflow to do this. > > The upstream project of the port I am maintaining is held in github, and > I also have patches in the /usr/ports/sysutils/myport/file/ folder. > > So I keep a fork of the upstream project with a branch containing a > commit with the patches from the /usr/ports/sysutils/myport/file/. > > Every time I need to update the port to a newer version, I do a git pull > in this branch, then I run a script [1] to re-generate the patches in > the /usr/ports/sysutils/myport/file/ > > This script basically generates a file.orig of all modified files in > git, then copy the modified file to WORK_DIR, then run make makepatch. > > > for file in ${CHANGES}; do > mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > done > make makepatch > > > I would like to know if there is a better way to do this (some tool that > I am not aware of?). > > [1] > > https://github.com/helen-fornazier/bsd-update-patches/blob/master/freebsd-gce-update.sh > > Thanks > Helen > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Submit your patches upstream, once they get accepted your work on FreeBSD is greatly simplified. Best, Owen > From owner-freebsd-ports@freebsd.org Tue Aug 14 00:26:33 2018 Return-Path: Delivered-To: freebsd-ports@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 90E3A105A2AC for ; Tue, 14 Aug 2018 00:26:33 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bhuna.collabora.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18FBA73BF4 for ; Tue, 14 Aug 2018 00:26:33 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id E0570263B41 Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: blubee blubeeme Cc: freebsd-ports@freebsd.org References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> From: Helen Koike Openpgp: preference=signencrypt Autocrypt: addr=helen.koike@collabora.com; keydata= xsFNBFmOMD4BEADb2nC8Oeyvklh+ataw2u/3mrl+hIHL4WSWtii4VxCapl9+zILuxFDrxw1p XgF3cfx7g9taWBrmLE9VEPwJA6MxaVnQuDL3GXxTxO/gqnOFgT3jT+skAt6qMvoWnhgurMGH wRaA3dO4cFrDlLsZIdDywTYcy7V2bou81ItR5Ed6c5UVX7uTTzeiD/tUi8oIf0XN4takyFuV Rf09nOhi24bn9fFN5xWHJooFaFf/k2Y+5UTkofANUp8nn4jhBUrIr6glOtmE0VT4pZMMLT63 hyRB+/s7b1zkOofUGW5LxUg+wqJXZcOAvjocqSq3VVHc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h3e3oG080ezRIkh9amGi1rj/uG39vpBc5avNpvOqqdwyCIyAQuG/Z 00CcD92WMQH3LmZkHJ0A5amZmVp/2NhWFIXnzMGCG+pnenYkYTs+nPwpEeF9aURlT3RQ6MEX te5bno0pQAZmJGlfxzPeId4BXGIlyCBGa8AYVcAH4byD/Lj1CWMuF/n+PQOloCMTUQsWuHJG WAFfICCspjVwzVDZMr3W3dKesrufYdXM0yVlXc39Zvx2sI94tMPaaFGvk758TQohg28OlPFD AxxgkCTrLa8OeJxNJFAz4cmmCWiZbm3SSYLzVFkNozQujL8c3y2U5yM3Tq7RmU9Djxh4s10p OoTFbIyky1af/kDLOBTNMXSNJ95+CDyH4g6rHhYJcjUribIgChGr7eLiSdQCpoyjcOe6n7ua NDLkOLQPocgjJb/AE46aMq67SVffqOTtLZZNPrSKnw/RVt7kbpRrcz5a45oX1x2kwYBBa//G cNC+diAifR6fnbn0lFc5oop99E0SCa0F4V/PYh6myRcqYH8huntTFLvBSYnG/tBYAeu1 Message-ID: <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> Date: Mon, 13 Aug 2018 21:26:18 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 00:26:33 -0000 On 08/13/2018 08:00 PM, blubee blubeeme wrote: > > > On Tue, Aug 14, 2018, 06:30 Helen Koike > wrote: > > Hello, > > I am new to the community, I am maintaining two packages and I would > like to check with you if there is a better workflow to do this. > > The upstream project of the port I am maintaining is held in github, and > I also have patches in the /usr/ports/sysutils/myport/file/ folder. > > So I keep a fork of the upstream project with a branch containing a > commit with the patches from the /usr/ports/sysutils/myport/file/. > > Every time I need to update the port to a newer version, I do a git pull > in this branch, then I run a script [1] to re-generate the patches in > the /usr/ports/sysutils/myport/file/ > > This script basically generates a file.orig of all modified files in > git, then copy the modified file to WORK_DIR, then run make makepatch. > > > for file in ${CHANGES}; do >         mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig >         cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > done > make makepatch > > > I would like to know if there is a better way to do this (some tool that > I am not aware of?). > > [1] > https://github.com/helen-fornazier/bsd-update-patches/blob/master/freebsd-gce-update.sh > > Thanks > Helen > > _______________________________________________ > freebsd-ports@freebsd.org mailing > list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org > " > > Submit your patches upstream, once they get accepted your work on > FreeBSD is greatly simplified.  > > Best,  > Owen > I am doing that, but there are some changes that I couldn't include in upstream yet. Helen From owner-freebsd-ports@freebsd.org Tue Aug 14 00:50:01 2018 Return-Path: Delivered-To: freebsd-ports@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 50566105AEDA for ; Tue, 14 Aug 2018 00:50:01 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id DAA0474A4D for ; Tue, 14 Aug 2018 00:50:00 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x236.google.com with SMTP id 139-v6so17273212itf.0 for ; Mon, 13 Aug 2018 17:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QGRs1liu906zFx5AsnbMkf4pWQ+/Epuu6qUd79WZZkA=; b=dCBavjzaKdyKyBm8O4kl6XmSKGafOMVQUivlWueNcoyVQJqWwSgiUZ8BY46tjXI6ZH oouBCdkAB4VTruw0HSDscw2QtMbBp8zcOU+LZGae8LmhZHtIJVbc+yyeZxcUqxEZag66 7KI9maqtioZCyjI9aWX9+rPxGj0Yd6My8+Jl24+KHmgLdpqawyg6azEQmwdABGY6xsLr oKUMBAUvSzWc54pE4oRitCuU3DZrzprJ1+pL474q9oCy7A4uBqn9vpINLPZtcXYkNaFN iIDLifIkdg+YWqEbhi5oLccrO3pe594w+1QYzXyy9yrOJd66J3pEJ4T1bWIm3X+rxVsJ PbDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QGRs1liu906zFx5AsnbMkf4pWQ+/Epuu6qUd79WZZkA=; b=s4luo4Z8ORiIH9iwCMbdzv8H8VbauWYl889UpSuQARKyryTZ+z9IT72aKGbrKuePip sJ/BuikZgDMix/gt+uTlfpGAHJ5ItcchbrhCQjrYNEWiFUjPKiEpotRnPP1tFxMAx3+D 25/VXpmJfqejxXnPgZz6IJ7HhN3CjlBxEyqM2tfOzosBcHrUpp3a6+/X7SFteyVUZfux WtasqfHAfSB5mFpjKPlIZlfBcfQmeuaoo/qIBHqycHpftODOdLbKtA0uS+rZmNRbXvYL Dpmi8O7CMZT/X+hhYSyyUDikujuZommdy4cJGIa8mSw1gUOFRBoQUa2y7IeoTZ4lDUdW ovKQ== X-Gm-Message-State: AOUpUlFSYxbBev9zYoj0TLhHbeR5hV43p5OaU4Qe2IbFGvVt5sruXN2M mQXheMEiRlC8zpZcnf7JRi+XSKpjIjC3Vh1y7jg= X-Google-Smtp-Source: AA+uWPz5xrcy/GaMAafRRmBQQdCR3obyLnBVgNqUUoqKRB2l62UJzQ8f118p3ECW9+O/23HEGDMEDFYcxFOhi3aWx3g= X-Received: by 2002:a24:60d:: with SMTP id 13-v6mr13245423itv.1.1534207800317; Mon, 13 Aug 2018 17:50:00 -0700 (PDT) MIME-Version: 1.0 References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> In-Reply-To: <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> From: blubee blubeeme Date: Tue, 14 Aug 2018 08:50:08 +0800 Message-ID: Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: Helen Koike Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 00:50:01 -0000 On Tue, Aug 14, 2018, 08:26 Helen Koike wrote: > > > On 08/13/2018 08:00 PM, blubee blubeeme wrote: > > > > > > On Tue, Aug 14, 2018, 06:30 Helen Koike > > wrote: > > > > Hello, > > > > I am new to the community, I am maintaining two packages and I would > > like to check with you if there is a better workflow to do this. > > > > The upstream project of the port I am maintaining is held in github, > and > > I also have patches in the /usr/ports/sysutils/myport/file/ folder. > > > > So I keep a fork of the upstream project with a branch containing a > > commit with the patches from the /usr/ports/sysutils/myport/file/. > > > > Every time I need to update the port to a newer version, I do a git > pull > > in this branch, then I run a script [1] to re-generate the patches in > > the /usr/ports/sysutils/myport/file/ > > > > This script basically generates a file.orig of all modified files in > > git, then copy the modified file to WORK_DIR, then run make > makepatch. > > > > > > for file in ${CHANGES}; do > > mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > > cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > > done > > make makepatch > > > > > > I would like to know if there is a better way to do this (some tool > that > > I am not aware of?). > > > > [1] > > > https://github.com/helen-fornazier/bsd-update-patches/blob/master/freebsd-gce-update.sh > > > > Thanks > > Helen > > > > _______________________________________________ > > freebsd-ports@freebsd.org mailing > > list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to > > "freebsd-ports-unsubscribe@freebsd.org > > " > > > > Submit your patches upstream, once they get accepted your work on > > FreeBSD is greatly simplified. > > > > Best, > > Owen > > > > I am doing that, but there are some changes that I couldn't include in > upstream yet. > > Helen > Can you give an example of types of changes can't be upstream yet and their reasoning why not? Best, Owen > From owner-freebsd-ports@freebsd.org Tue Aug 14 02:29:36 2018 Return-Path: Delivered-To: freebsd-ports@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 384A21065C3A for ; Tue, 14 Aug 2018 02:29:36 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B3E1079849 for ; Tue, 14 Aug 2018 02:29:35 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 784F31065C36; Tue, 14 Aug 2018 02:29:35 +0000 (UTC) Delivered-To: ports@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 5667A1065C34 for ; Tue, 14 Aug 2018 02:29:35 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0222679846; Tue, 14 Aug 2018 02:29:34 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (106-69-226-241.dyn.iinet.net.au [106.69.226.241]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w7E2TI5N011641 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 13 Aug 2018 19:29:22 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: has a framework change broken sysutils/google-compute-engine-oslogin? To: Helen Koike , Jan Beich , ports FreeBSD , =?UTF-8?Q?Fernando_Apestegu=c3=ada?= References: <46136fa7-c325-d1fb-9592-9533d6263cbd@freebsd.org> <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org> <5df77493-f59f-2666-994a-fce2031c22ee@freebsd.org> <20180808180408.GA67568@xombo.localdomain> <11ebf847-4b06-e53c-9ff1-7fcb0e9590c3@collabora.com> From: Julian Elischer Message-ID: Date: Tue, 14 Aug 2018 10:28:06 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <11ebf847-4b06-e53c-9ff1-7fcb0e9590c3@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 02:29:36 -0000 On 13/8/18 9:16 pm, Helen Koike wrote: > Hi all, > > On 08/08/2018 03:04 PM, Dmitri Goutnik wrote: >> On 18-08-09 01:16:51, Julian Elischer wrote: >>> On 8/8/18 6:30 pm, Jan Beich wrote: >>>> Julian Elischer writes: >>>> >>>>> g++ -O2 -pipe -DPANZURA_DEV -DPZ_LONGNAMES -fstack-protector -isystem >>>>> /usr/local/include -fno-strict-aliasing -isystem /usr/local/include >>>>> -fPIC -c pam_module/pam_oslogin_login.cc -o >>>>> pam_module/pam_oslogin_login.o >>>>> g++ -fstack-protector -I/usr/local/include/json-c -o >>>>> google_authorized_keys authorized_keys/authorized_keys.cc >>>>> utils/oslogin_utils.cc -lcurl -ljson-c >>>>> g++ -fstack-protector -Wall -Wstrict-prototypes -fPIC -shared >>>>> -Wl,-soname,libnss_cache_oslogin.so.2 -o >>>>> libnss_cache_google-compute-engine-oslogin-1.3.0.so >>>>> libnss_cache_oslogin/nss_cache_oslogin.o >>>>> libnss_cache_oslogin/compat/getpwent_r.o >>>>> utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or >>>>> directory >>>>> utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or >>>>> directory >>>> - GCC 4.2.1 (patched) from base system is not a supported configuration >>>> on i386/amd64/aarch64/armv6/armv7 >>>> - C*FLAGS aren't consistently respected, see >>>> https://wiki.freebsd.org/WarnerLosh/UsrLocal#Include_paths >>>> https://www.freebsd.org/doc/en/books/porters-handbook/dads-cflags.html >>>> >>>> $ g++7 -v -xc++ - >>>> [...] >>>> ignoring nonexistent directory "/usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/include-fixed" >>>> ignoring nonexistent directory "/usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/../../../../../x86_64-portbld-freebsd12.0/include" >>>> #include "..." search starts here: >>>> #include <...> search starts here: >>>> /usr/local/lib/gcc7/include/c++/ >>>> /usr/local/lib/gcc7/include/c++//x86_64-portbld-freebsd12.0 >>>> /usr/local/lib/gcc7/include/c++//backward >>>> /usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/include >>>> /usr/local/include <-- HERE is why pkg-fallout@ is silent >>> Sorry you are out of my area of knowledge.. >>> All I know is that the port no longer compiles under amd64. >>> though It did some months back. >>> How it selects the compiler to use I have no clue.. >>> I got my pkg using make.conf but that is not a sustainable answer. >>> >>>> /usr/include >>>> End of search list. >>>> >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> Hi Julian, >> >> As Jan said, port's Makefile is broken in a sense that not all of its binary >> targets respect CXXFLAGS. I took a stab at unbreaking the build, see >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230466 > Sorry to take so long to reply. Thanks a lot for the patch. > >> BTW, it compiles fine on 112a and 104i with base clang, not sure why original >> Makefile had USE_GCC. Ok so thanks to everyone.  It's been educational. Will the change in the bug be checked in? Every few months I recompile all the packages we need at $JOB and each time the hope is that we can get all the way through, tough there is nearly always one that falls over in some new way.. (we install a couple of hundred packages. this time it was sysutils/google-compute-engine-oslogin (and a couple of others..) Hopefully the fixes that go in this time will give me (false) hope of a clean run next time  :-) >> > Because of my lack of experience. Ah but you did do the port, for which I thank you!. > > > I couldn't reproduce the error with USE_GCC though https://paste.ee/p/FXNiv > Maybe it is something in my environment (g++6 maybe). > > Thank you all > Helen > From owner-freebsd-ports@freebsd.org Tue Aug 14 03:06:10 2018 Return-Path: Delivered-To: freebsd-ports@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 9A75B10677DE for ; Tue, 14 Aug 2018 03:06:10 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw1-xc2e.google.com (mail-yw1-xc2e.google.com [IPv6:2607:f8b0:4864:20::c2e]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BFD17B1F0 for ; Tue, 14 Aug 2018 03:06:09 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw1-xc2e.google.com with SMTP id q129-v6so15200015ywg.8 for ; Mon, 13 Aug 2018 20:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LCnzJtVxxexB2MkZ51FHJxAUe1CjFd4GSZ/brTEcqyM=; b=cY9DqG4qOh835CZe6COkRZDw/5trSJi78Hz6Mb3EV8y47LHs83JecIjbknpkXCQMtE UICB8zHi/2GiLJk/Nb4Elgu0h3eJ9T1K6boWgOg6w2I3ElzhO/TBSaXA9oD35RqUnS5d QqVrVttoCBeza2JSLrPAL1ENlTWk3KupfK0taQ2VEMq0ntLiQDccRJPFw5/sI8vEhRtX 4BwQBklfLWE/ke32D0n3FGEb5EfBYCnA+XhhnIwvLhCrGfKHwojcbNdb9yEVrLOqTrWG T9pJeoTYNELOLnL5CPfQ37FM18njisGJadjoYreVqnlAg8dqY37HF822MDgswhB2W+YS j+Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LCnzJtVxxexB2MkZ51FHJxAUe1CjFd4GSZ/brTEcqyM=; b=XLnqhSkWghhSJdNC0Msokp6M8X0KtYVztJloHS0MqT/bodG2EcB/VJVaOpb1p+cVA6 tcgaaX0FJwG4jHA6AZYStFG45fptKDLnSesdiXhvbvEKfJJpo/T6FHr1Rb/S7p1/LlXd FmuwAsVLN/9U3Sqw4v8XN4XU3WNk4i4ASxsnlRFcMVJuC/382/gKWVJ8zG2TQmhGIh0q HL7JgGgebMDoHD4sDMmxzENTMrDfNpA4NNbUpgV/x6TRQT08xQsw36qAjlRfbcoRwQYm QVjwrJbjWaSDnWf1nQ0/bIUC5pVL0/sLWAz0mu13QdvsRmgjkG0gryQUX6DFiNFw3OXC q0rA== X-Gm-Message-State: AOUpUlGbDgwlQMcBKFV8QbU90msjAJs3q6kxno8iML6fymeC1/2emTos jPP345Qnuuum11aUuFA8E7bEu7FnajHtBRAX3MHgQg== X-Google-Smtp-Source: AA+uWPwbVNXcOVJ/QkArhj/40HseMoD4/nWSOeJOlWKobwAt2wS4TJs/TYro4X6eMDxV4CMfEA5NR3lkp2wlIRg68ys= X-Received: by 2002:a25:ab8f:: with SMTP id v15-v6mr10447149ybi.408.1534215969090; Mon, 13 Aug 2018 20:06:09 -0700 (PDT) MIME-Version: 1.0 References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> In-Reply-To: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> From: Adam Weinberger Date: Mon, 13 Aug 2018 21:05:53 -0600 Message-ID: Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: helen.koike@collabora.com Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 03:06:10 -0000 On Mon, Aug 13, 2018 at 4:28 PM Helen Koike wrote: > > Hello, > > I am new to the community, I am maintaining two packages and I would > like to check with you if there is a better workflow to do this. > > The upstream project of the port I am maintaining is held in github, and > I also have patches in the /usr/ports/sysutils/myport/file/ folder. > > So I keep a fork of the upstream project with a branch containing a > commit with the patches from the /usr/ports/sysutils/myport/file/. > > Every time I need to update the port to a newer version, I do a git pull > in this branch, then I run a script [1] to re-generate the patches in > the /usr/ports/sysutils/myport/file/ > > This script basically generates a file.orig of all modified files in > git, then copy the modified file to WORK_DIR, then run make makepatch. > > > for file in ${CHANGES}; do > mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > done > make makepatch > > > I would like to know if there is a better way to do this (some tool that > I am not aware of?). IIUC, the process you're describing seems to be rebasing your changes and then generating diffs. You might have an easier time if you just do that: rebase, and then generate a diff (see the last point here). Your script automates some of the routine Makefile changes, and while there are some tools in ports-mgmt/ that can automate that, we don't generally recommend them. It's common for Makefiles to have a maintainer-update: target that keeps the repetitive update tasks in the Makefile (which also helps the next person to maintain the port). Also, where many files are modified on a continually-changing basis, it's acceptable (though less systemically desirable) to put all your patches into one file. The benefit is that you can generate that one file with a single git diff, and it makes PR submission far, far simpler. Do any of those help? # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org From owner-freebsd-ports@freebsd.org Tue Aug 14 12:19:11 2018 Return-Path: Delivered-To: freebsd-ports@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 2BA2B1076A4C for ; Tue, 14 Aug 2018 12:19:11 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C10358CA14 for ; Tue, 14 Aug 2018 12:19:10 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) Received: by mailman.ysv.freebsd.org (Postfix) id 84BD91076A4B; Tue, 14 Aug 2018 12:19:10 +0000 (UTC) Delivered-To: ports@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 62D361076A4A for ; Tue, 14 Aug 2018 12:19:10 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) Received: from mx22.glattnet.ch (mx22.glattnet.ch [IPv6:2a00:a680:120::22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E497C8CA13 for ; Tue, 14 Aug 2018 12:19:09 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) X-Halon-VSP: End: -------------------- X-Halon-Time: : 0.601546312 s X-Halon-Notes: : ALL_TRUSTED,HTML_MESSAGE X-Halon-RPD: : 0 X-Halon-SA: : -1 X-Halon-ID: 3d7278e8-9fbc-11e8-a763-005056b09978 X-Halon-VSP: Start: DATA_Outbound Received: from GW3051 (unknown [192.168.2.51]) by mx22.glattnet.ch (Halon) with ESMTPSA id 3d7278e8-9fbc-11e8-a763-005056b09978; Tue, 14 Aug 2018 14:19:07 +0200 (CEST) From: "Philippe Maechler" To: Subject: net-mgmt/docsis Update from 0.9.6 to 0.9.8 Date: Tue, 14 Aug 2018 14:19:06 +0200 Message-ID: <000001d433c8$ff540840$fdfc18c0$@glattnet.ch> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdQzyPyuiHfKhtlcRIyXVb1aJSYMqg== Content-Language: de-ch Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 12:19:11 -0000 Hello FreeBSD Port Team The docsis Port moved from sf.net to github. Meanwhile they released the version 0.9.8 in october 2015 Can someone from the port-team update this port to reflect the changes? The current version of the port 0.9.6 is marked as IGNORE. I'm not sure if this is still correct. I installed the port on an AMD64 machine and everything works fine so far. The cablemodems and the emta part are quit happy with the config file generated Best regards Philippe From owner-freebsd-ports@freebsd.org Tue Aug 14 12:48:06 2018 Return-Path: Delivered-To: freebsd-ports@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 0AE7C10774B8 for ; Tue, 14 Aug 2018 12:48:06 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C34018D760 for ; Tue, 14 Aug 2018 12:48:05 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 87A2510774B0; Tue, 14 Aug 2018 12:48:05 +0000 (UTC) Delivered-To: ports@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 70A3F10774AE for ; Tue, 14 Aug 2018 12:48:05 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08CC38D74E for ; Tue, 14 Aug 2018 12:48:05 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org (portscout.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 43C0F17E58 for ; Tue, 14 Aug 2018 12:48:04 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org ([127.0.1.123]) by portscout.ysv.freebsd.org (8.15.2/8.15.2) with ESMTP id w7ECm47s032915 for ; Tue, 14 Aug 2018 12:48:04 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id w7ECm4lf032911; Tue, 14 Aug 2018 12:48:04 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201808141248.w7ECm4lf032911@portscout.ysv.freebsd.org> X-Authentication-Warning: portscout.ysv.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Tue, 14 Aug 2018 12:48:04 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 12:48:06 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ multimedia/audacious-gtk3 | 3.9 | audacious-3.10-gtk3 ------------------------------------------------+-----------------+------------ multimedia/audacious-plugins-gtk3 | 3.9 | audacious-plugins-3.10-gtk3 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-ports@freebsd.org Tue Aug 14 12:56:38 2018 Return-Path: Delivered-To: freebsd-ports@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 7879A10779DE for ; Tue, 14 Aug 2018 12:56:38 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bhuna.collabora.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0EF2E8DC8F for ; Tue, 14 Aug 2018 12:56:37 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 87855263AA2 Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: blubee blubeeme Cc: freebsd-ports@freebsd.org References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> From: Helen Koike Openpgp: preference=signencrypt Autocrypt: addr=helen.koike@collabora.com; keydata= xsFNBFmOMD4BEADb2nC8Oeyvklh+ataw2u/3mrl+hIHL4WSWtii4VxCapl9+zILuxFDrxw1p XgF3cfx7g9taWBrmLE9VEPwJA6MxaVnQuDL3GXxTxO/gqnOFgT3jT+skAt6qMvoWnhgurMGH wRaA3dO4cFrDlLsZIdDywTYcy7V2bou81ItR5Ed6c5UVX7uTTzeiD/tUi8oIf0XN4takyFuV Rf09nOhi24bn9fFN5xWHJooFaFf/k2Y+5UTkofANUp8nn4jhBUrIr6glOtmE0VT4pZMMLT63 hyRB+/s7b1zkOofUGW5LxUg+wqJXZcOAvjocqSq3VVHcgyxdm+Nv0g9Hdqo8bQHC2KBK86VK vB+R7tfv7NxVhG1sTW3CQ4gZb0ZugIWS32Mnr+V+0pxci7QpV3jrtVp5W2GA5HlXkOyC6C7H Ao7YhogtvFehnlUdG8NrkC3HhCTF8+nb08yGMVI4mMZ9v/KoIXKC6vT0Ykz434ed9Oc9pDow VUqaKi3ey96QczfE4NI029bmtCY4b5fucaB/aVqWYRH98Jh8oIQVwbt+pY7cL5PxS7dQ/Zuz 6yheqDsUGLev1O3E4R8RZ8jPcfCermL0txvoXXIA56t4ZjuHVcWEe2ERhLHFGq5Zw7KC6u12 kJoiZ6WDBYo4Dp+Gd7a81/WsA33Po0j3tk/8BWoiJCr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HhYJcjUribIgChGr7eLiSdQCpoyjcOe6n7ua NDLkOLQPocgjJb/AE46aMq67SVffqOTtLZZNPrSKnw/RVt7kbpRrcz5a45oX1x2kwYBBa//G cNC+diAifR6fnbn0lFc5oop99E0SCa0F4V/PYh6myRcqYH8huntTFLvBSYnG/tBYAeu1 Message-ID: Date: Tue, 14 Aug 2018 09:56:24 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 12:56:38 -0000 On 08/13/2018 09:50 PM, blubee blubeeme wrote: > > > On Tue, Aug 14, 2018, 08:26 Helen Koike > wrote: > > > > On 08/13/2018 08:00 PM, blubee blubeeme wrote: > > > > > > On Tue, Aug 14, 2018, 06:30 Helen Koike > > >> wrote: > > > >     Hello, > > > >     I am new to the community, I am maintaining two packages and I > would > >     like to check with you if there is a better workflow to do this. > > > >     The upstream project of the port I am maintaining is held in > github, and > >     I also have patches in the /usr/ports/sysutils/myport/file/ > folder. > > > >     So I keep a fork of the upstream project with a branch > containing a > >     commit with the patches from the /usr/ports/sysutils/myport/file/. > > > >     Every time I need to update the port to a newer version, I do > a git pull > >     in this branch, then I run a script [1] to re-generate the > patches in > >     the /usr/ports/sysutils/myport/file/ > > > >     This script basically generates a file.orig of all modified > files in > >     git, then copy the modified file to WORK_DIR, then run make > makepatch. > > > > > >     for file in ${CHANGES}; do > >             mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > >             cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > >     done > >     make makepatch > > > > > >     I would like to know if there is a better way to do this (some > tool that > >     I am not aware of?). > > > >     [1] > >    >  https://github.com/helen-fornazier/bsd-update-patches/blob/master/freebsd-gce-update.sh > > > >     Thanks > >     Helen > > > >     _______________________________________________ > >     freebsd-ports@freebsd.org > > mailing > >     list > >     https://lists.freebsd.org/mailman/listinfo/freebsd-ports > >     To unsubscribe, send any mail to > >     "freebsd-ports-unsubscribe@freebsd.org > > >      >" > > > > Submit your patches upstream, once they get accepted your work on > > FreeBSD is greatly simplified.  > > > > Best,  > > Owen > > > > I am doing that, but there are some changes that I couldn't include in > upstream yet. > > Helen > > Can you give an example of types of changes can't be upstream yet and > their reasoning why not?  > > Best,  > Owen > Sure, e.g. "service -e" vs "service --status-all", there is also sed vs gsed (but it just came to mind that I could add this replacement inside the Makefile) [1] https://github.com/freebsd/freebsd-ports/blob/master/sysutils/google-compute-engine-oslogin/files/patch-bin_google__oslogin__control#L54 Please, let me know if there is a better way to solve this, meanwhile I am keeping this patch in the port and I always need to rebase my changes. And as a general case, I sometimes implement a fix only for FreeBSD e.g. [2], then I think in the better way to include in the upstream code e.g. [3] while keeping portability with Linux, and sometimes it takes a while for the patch to be merged in upstream, so meanwhile I need to rebase the patch in every update of the ports. [2] https://github.com/freebsd/freebsd-ports/blob/master/sysutils/py-google-compute-engine/files/patch-google__compute__engine_networking_ip__forwarding_ip__forwarding__utils.py [3] https://github.com/GoogleCloudPlatform/compute-image-packages/pull/622 Thanks Helen From owner-freebsd-ports@freebsd.org Tue Aug 14 14:21:14 2018 Return-Path: Delivered-To: freebsd-ports@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 D679E10799EA for ; Tue, 14 Aug 2018 14:21:13 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bhuna.collabora.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6286D717E6 for ; Tue, 14 Aug 2018 14:21:13 +0000 (UTC) (envelope-from helen.koike@collabora.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 233D827E15E Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: Adam Weinberger Cc: freebsd-ports@freebsd.org References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> From: Helen Koike Openpgp: preference=signencrypt Autocrypt: addr=helen.koike@collabora.com; keydata= xsFNBFmOMD4BEADb2nC8Oeyvklh+ataw2u/3mrl+hIHL4WSWtii4VxCapl9+zILuxFDrxw1p XgF3cfx7g9taWBrmLE9VEPwJA6MxaVnQuDL3GXxTxO/gqnOFgT3jT+skAt6qMvoWnhgurMGH wRaA3dO4cFrDlLsZIdDywTYcy7V2bou81ItR5Ed6c5UVX7uTTzeiD/tUi8oIf0XN4takyFuV Rf09nOhi24bn9fFN5xWHJooFaFf/k2Y+5UTkofANUp8nn4jhBUrIr6glOtmE0VT4pZMMLT63 hyRB+/s7b1zkOofUGW5LxUg+wqJXZcOAvjocqSq3VVHcgyxdm+Nv0g9Hdqo8bQHC2KBK86VK vB+R7tfv7NxVhG1sTW3CQ4gZb0ZugIWS32Mnr+V+0pxci7QpV3jrtVp5W2GA5HlXkOyC6C7H Ao7YhogtvFehnlUdG8NrkC3HhCTF8+nb08yGMVI4mMZ9v/KoIXKC6vT0Ykz434ed9Oc9pDow VUqaKi3ey96QczfE4NI029bmtCY4b5fucaB/aVqWYRH98Jh8oIQVwbt+pY7cL5PxS7dQ/Zuz 6yheqDsUGLev1O3E4R8RZ8jPcfCermL0txvoXXIA56t4ZjuHVcWEe2ERhLHFGq5Zw7KC6u12 kJoiZ6WDBYo4Dp+Gd7a81/WsA33Po0j3tk/8BWoiJCrjXzhtRwARAQABzR5IZWxlbiBLb2lr ZSA8aGVsZ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OLQPocgjJb/AE46aMq67SVffqOTtLZZNPrSKnw/RVt7kbpRrcz5a45oX1x2kwYBBa//G cNC+diAifR6fnbn0lFc5oop99E0SCa0F4V/PYh6myRcqYH8huntTFLvBSYnG/tBYAeu1 Message-ID: Date: Tue, 14 Aug 2018 11:20:59 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 14:21:14 -0000 On 08/14/2018 12:05 AM, Adam Weinberger wrote: > On Mon, Aug 13, 2018 at 4:28 PM Helen Koike wrote: >> >> Hello, >> >> I am new to the community, I am maintaining two packages and I would >> like to check with you if there is a better workflow to do this. >> >> The upstream project of the port I am maintaining is held in github, and >> I also have patches in the /usr/ports/sysutils/myport/file/ folder. >> >> So I keep a fork of the upstream project with a branch containing a >> commit with the patches from the /usr/ports/sysutils/myport/file/. >> >> Every time I need to update the port to a newer version, I do a git pull >> in this branch, then I run a script [1] to re-generate the patches in >> the /usr/ports/sysutils/myport/file/ >> >> This script basically generates a file.orig of all modified files in >> git, then copy the modified file to WORK_DIR, then run make makepatch. >> >> >> for file in ${CHANGES}; do >> mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig >> cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} >> done >> make makepatch >> >> >> I would like to know if there is a better way to do this (some tool that >> I am not aware of?). > > IIUC, the process you're describing seems to be rebasing your changes > and then generating diffs. You might have an easier time if you just > do that: rebase, and then generate a diff (see the last point here)> > Your script automates some of the routine Makefile changes, and while > there are some tools in ports-mgmt/ that can automate that, we don't > generally recommend them. > > It's common for Makefiles to have a maintainer-update: target that > keeps the repetitive update tasks in the Makefile (which also helps > the next person to maintain the port). I didn't know about this target, I'll take a look. Thanks. > > Also, where many files are modified on a continually-changing basis, > it's acceptable (though less systemically desirable) to put all your > patches into one file. The benefit is that you can generate that one > file with a single git diff, and it makes PR submission far, far > simpler. Is there a way to easily transform a git patch to the FreeBSD file/*.patch format? Because I use make makepatch, and it will generate several patches anyway. Once I used "diff -Nur", but it doesn't seem to be the same exact format as the one generated by make makepatch. > > Do any of those help? > > # Adam > > Thanks Helen From owner-freebsd-ports@freebsd.org Tue Aug 14 14:27:21 2018 Return-Path: Delivered-To: freebsd-ports@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 5A4B01079C76 for ; Tue, 14 Aug 2018 14:27:21 +0000 (UTC) (envelope-from mat@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 1180571C42; Tue, 14 Aug 2018 14:27:21 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from ogg.in.absolight.net (ogg.in.absolight.net [IPv6:2a01:678:ab:50::42:42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 8B798BD33; Tue, 14 Aug 2018 14:27:20 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Tue, 14 Aug 2018 16:27:19 +0200 From: Mathieu Arnold To: Helen Koike Cc: freebsd-ports@freebsd.org Subject: Re: workflow question: how do you maintain the port in sync with upstream? Message-ID: <20180814142707.ueg3d5ygiumi6j2i@ogg.in.absolight.net> References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k65v7pzmgpypfzcv" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180622 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 14:27:21 -0000 --k65v7pzmgpypfzcv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 14, 2018 at 11:20:59AM -0300, Helen Koike wrote: >=20 >=20 > On 08/14/2018 12:05 AM, Adam Weinberger wrote: > > On Mon, Aug 13, 2018 at 4:28 PM Helen Koike = wrote: > >> > >> Hello, > >> > >> I am new to the community, I am maintaining two packages and I would > >> like to check with you if there is a better workflow to do this. > >> > >> The upstream project of the port I am maintaining is held in github, a= nd > >> I also have patches in the /usr/ports/sysutils/myport/file/ folder. > >> > >> So I keep a fork of the upstream project with a branch containing a > >> commit with the patches from the /usr/ports/sysutils/myport/file/. > >> > >> Every time I need to update the port to a newer version, I do a git pu= ll > >> in this branch, then I run a script [1] to re-generate the patches in > >> the /usr/ports/sysutils/myport/file/ > >> > >> This script basically generates a file.orig of all modified files in > >> git, then copy the modified file to WORK_DIR, then run make makepatch. > >> > >> > >> for file in ${CHANGES}; do > >> mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > >> cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > >> done > >> make makepatch > >> > >> > >> I would like to know if there is a better way to do this (some tool th= at > >> I am not aware of?). > >=20 > > IIUC, the process you're describing seems to be rebasing your changes > > and then generating diffs. You might have an easier time if you just > > do that: rebase, and then generate a diff (see the last point here)> > > Your script automates some of the routine Makefile changes, and while > > there are some tools in ports-mgmt/ that can automate that, we don't > > generally recommend them. > >=20 > > It's common for Makefiles to have a maintainer-update: target that > > keeps the repetitive update tasks in the Makefile (which also helps > > the next person to maintain the port). >=20 > I didn't know about this target, I'll take a look. Thanks. >=20 > >=20 > > Also, where many files are modified on a continually-changing basis, > > it's acceptable (though less systemically desirable) to put all your > > patches into one file. The benefit is that you can generate that one > > file with a single git diff, and it makes PR submission far, far > > simpler. >=20 > Is there a way to easily transform a git patch to the FreeBSD > file/*.patch format? Because I use make makepatch, and it will generate > several patches anyway. > Once I used "diff -Nur", but it doesn't seem to be the same exact format > as the one generated by make makepatch. make makepatch generates cleaned-up patches. So there is no single command to generate them. There may be other ways to do what you do. You said you maintain your local "patch" on github, so instead of adding the commits to PATCHDIR, you could use PATCH_SITES and PATCHFILES, to see an example, you could have a look at audio/rubberband You could also point the port to your fork with the local commits and use that, it would alleviate the need of patches. --=20 Mathieu Arnold --k65v7pzmgpypfzcv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlty5sdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkibPQ/5AY5o5pA4jyV5x03FATenUH/PkA5tVp0WRemvBQ68rBSXVB6JLoA7qBUq HDB+4w2PNorPHXjL1zTAF0Bq7EO95FGsB4hxx82jbMS4CXvt47sZF4WxAHaci1mh cvs+YPWrd4FIfqCxvuXBSV/zgQD6FfyesYR/g0ZPSiv1dbFfTMdg6ZwMM/UtyTBS qRirfvIZXM/2WmNAxc68a7wmAOS5xE1DH2wEI7FfqSx99BzgRDox5YdZpXt9j6oU zKL7LGdsmnagZpdtZQ+pSSWrwPjiZJ53JGBgu9TSDgpCCRq737kBubvUT45WBwoB uKMP1F1AkGjNHe7aGEfA0+qdbz432/jQaJBVup9Jf7UbJ1aewdQk4d2UQ7d+knIe ExWucW8K8cDv/ljaqqkxL+l4fUOgPg4Wu2D0Yog/fghYt4IWGwOoLHMAosr23//l zJ5AXDqgLSwa2hHy/dj60Db3QU4YhOJU6+Cm2/qOcTeYlcHYZE8jGtecidEN7ygP 161eEwTAZr3vARNlLp0M3hHQ1fHvQQCGleBpEjv7noK2J3+FvrKnwmaeOROrupJ1 bODguRKPRwQA65NvOmv52h0xrWB2sPt3lATQSTE7iZHZebeRnxLLoNQPU0B+pC52 Kui3EgnO2NY0jYMSr/lEYtgma48ZU5C9m+xEN+jJ+q7G0w4IpKo= =Gp15 -----END PGP SIGNATURE----- --k65v7pzmgpypfzcv-- From owner-freebsd-ports@freebsd.org Tue Aug 14 14:41:56 2018 Return-Path: Delivered-To: freebsd-ports@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 26C60107A01D for ; Tue, 14 Aug 2018 14:41:56 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id AEBF57250D for ; Tue, 14 Aug 2018 14:41:55 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x243.google.com with SMTP id x5-v6so1746333iop.13 for ; Tue, 14 Aug 2018 07:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c18k6/+aqL4ecTCrsXN+vuBvjuNtAN6TRQEDWrbFqAQ=; b=ZrOQY6CLIFCWbm9cKfSE9DoF/2+3Ovz4OgR+SGjpPdfLVEkUMBY1g5gBmPxN7oWVa7 n36xU2FTthZ7QiolsEfrDolI/fCUuB6lPo6fdGLQ1GD51wFgUBiPjBc878+69PJN+QwK we1FI7DhNca7WwwJYvreS5q/bA8Ij9LofPqGfVTw3EsXwA9x80Grr4ary++tD/HaCq+S 5ZMQgTcXHujA6Cz9QYpNQ8afBWyTVIz1mpNfUUFYRYGRth687/fzFeNsvvZzAtyiewfx qBMDqO3KE/GFcofPkLbxmqz3ddxYaw5Su/UmoKbfa+CSS+3QH1y+YO6itcsINJtjsvWe mRgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c18k6/+aqL4ecTCrsXN+vuBvjuNtAN6TRQEDWrbFqAQ=; b=Rc4SP+k4shvObPd0SJHhTyVHKwzJkEt9j83joEKksOpEPwswCuZ1/cMD6UDmvnPSWf qynnyPNLhtnBid6LRGcoXwnxAavqjfeM9GQ9hi9mLWLoufkI/3KjL86bJ3B0lW6J2xqU 0LRVLjOtNfmGkJYbJ+05Lz8blwqM8/ECa7LcxBmxJztQlF/2OitNF4wtspk0+V3INL2Y 4PLlCqJAeQKEURpQcpAsWfqjWN19DzPFX41dUTQrtd3NwHP1kpFQaKTQNwdxf8fNyp0W g/qLIbuicLa5V/12d5UiwYye3B10hXsiHWc7b+6IblRZiMyMxX9Cgd6CcvRJClzipMv5 UF2Q== X-Gm-Message-State: AOUpUlFir7HwhSSgrpRXc+lN9mLwSNbhamm2nVbYkRxK2BZ2Is2w/w0f kJSl5sLaKWUsfdiJGqyIej/i+s3/U6PnQPdT6sk= X-Google-Smtp-Source: AA+uWPyT/tgU1Uzl5MbBKOZjT6ne+85H39ViVLcsaapElE/12va4jlxXy1mE/FtVZjM23vF/n+b5Cakdjf1ZGdEZYOI= X-Received: by 2002:a6b:b546:: with SMTP id e67-v6mr18752519iof.179.1534257715029; Tue, 14 Aug 2018 07:41:55 -0700 (PDT) MIME-Version: 1.0 References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> In-Reply-To: From: blubee blubeeme Date: Tue, 14 Aug 2018 22:41:43 +0800 Message-ID: Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: Helen Koike Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 14:41:56 -0000 On Tue, Aug 14, 2018 at 8:56 PM Helen Koike wrote: > > > On 08/13/2018 09:50 PM, blubee blubeeme wrote: > > > > > > On Tue, Aug 14, 2018, 08:26 Helen Koike > > wrote: > > > > > > > > On 08/13/2018 08:00 PM, blubee blubeeme wrote: > > > > > > > > > On Tue, Aug 14, 2018, 06:30 Helen Koike > > > > > >> wrote: > > > > > > Hello, > > > > > > I am new to the community, I am maintaining two packages and I > > would > > > like to check with you if there is a better workflow to do > this. > > > > > > The upstream project of the port I am maintaining is held in > > github, and > > > I also have patches in the /usr/ports/sysutils/myport/file/ > > folder. > > > > > > So I keep a fork of the upstream project with a branch > > containing a > > > commit with the patches from the > /usr/ports/sysutils/myport/file/. > > > > > > Every time I need to update the port to a newer version, I do > > a git pull > > > in this branch, then I run a script [1] to re-generate the > > patches in > > > the /usr/ports/sysutils/myport/file/ > This one is fairly straight forward, you can simply replace that string with a regex command; This is an example of running a replace command for strings after the patch phase of the build; post-patch: @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README > > > > > > This script basically generates a file.orig of all modified > > files in > > > git, then copy the modified file to WORK_DIR, then run make > > makepatch. > > > > > > > > > for file in ${CHANGES}; do > > > mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > > > cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > > > done > > > make makepatch > Depending on how drastic the changes are, you can use the above command to simply replace strings; There's also binary alias, that allows to replace sed with gsed: https://www.freebsd.org/doc/en/books/porters-handbook/binary-alias.html Speaking of which, FreeBSD has access to all the GNU tools such as; gmake [gnu make] gsed [gnu sed] if it's only a few commands you can use binary alias. If the project needs GNU tools, then FreeBSD also provides a way to automatically run the required scripts check section 6.5.3 configure Scripts: https://www.freebsd.org/doc/en/books/porters-handbook/building.html > > > > > > > > > I would like to know if there is a better way to do this (some > > tool that > > > I am not aware of?). > > > > > > [1] > > > > > > https://github.com/helen-fornazier/bsd-update-patches/blob/master/freebsd-gce-update.sh > > > > > > Thanks > > > Helen > > > > > > _______________________________________________ > > > freebsd-ports@freebsd.org > > > > mailing > > > list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to > > > "freebsd-ports-unsubscribe@freebsd.org > > > > > > >" > > > > > > Submit your patches upstream, once they get accepted your work on > > > FreeBSD is greatly simplified. > > > > > > Best, > > > Owen > > > > > > > I am doing that, but there are some changes that I couldn't include > in > > upstream yet. > > > > Helen > > > > Can you give an example of types of changes can't be upstream yet and > > their reasoning why not? > > > > Best, > > Owen > > > > Sure, e.g. "service -e" vs "service --status-all", there is also sed vs > gsed (but it just came to mind that I could add this replacement inside > the Makefile) > > [1] > > https://github.com/freebsd/freebsd-ports/blob/master/sysutils/google-compute-engine-oslogin/files/patch-bin_google__oslogin__control#L54 > > Please, let me know if there is a better way to solve this, meanwhile I > am keeping this patch in the port and I always need to rebase my changes. > > And as a general case, I sometimes implement a fix only for FreeBSD e.g. > [2], then I think in the better way to include in the upstream code e.g. This is subjective; If you can use native FreeBSD facilities and get that upstreamed great, if it works and you don't have to maintain a bunch of patches, is it reasonable to use your time maintain diffs on something that's not broken? [3] while keeping portability with Linux, and sometimes it takes a while > for the patch to be merged in upstream, so meanwhile I need to rebase > the patch in every update of the ports. > This is just a waiting game, sure it might take a while to get the changes committed upstream but the temporary maintenance is a lot simpler than trying to keep that going forever, you'll most likely get burnt out. > > [2] > > https://github.com/freebsd/freebsd-ports/blob/master/sysutils/py-google-compute-engine/files/patch-google__compute__engine_networking_ip__forwarding_ip__forwarding__utils.py > > [3] https://github.com/GoogleCloudPlatform/compute-image-packages/pull/622 > > Thanks > Helen > A lot of the above is explained in the porters handbook under the slow porting section: https://www.freebsd.org/doc/en/books/porters-handbook/slow-porting.html Best, Owen From owner-freebsd-ports@freebsd.org Tue Aug 14 14:45:56 2018 Return-Path: Delivered-To: freebsd-ports@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 450B4107A2F8 for ; Tue, 14 Aug 2018 14:45:56 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id CB36272832 for ; Tue, 14 Aug 2018 14:45:55 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x243.google.com with SMTP id w11-v6so18464523iob.2 for ; Tue, 14 Aug 2018 07:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B+QI9xAHAStSMajNVbaWHTOfdTxi9Fqjq0XuIXXxon4=; b=Wj851yR8L6VLqeSE+iuiVrfqLEypeDk+wW6RwzRDU4Qt180DVuJQbqynV878UcUKGH JPVroqK/oY/sWzb42sa/JhgplQc0vAh1wsv+XrJ0XDbB5VQKPpqBWFmuTBpN51tU8T14 WljJ+hrsfqF3Wp1qZIv68hcXtNmHr0PrGVRVBrjknwEaPWNRKJiKjUG9hb0cd9qgSDN1 o/fCDkTc2WSq1kTM+PgI0r3F7SC/lLsl2jhWbnFVdg4X5whK6sEBDW/NZyYLOjdtUecR /+pU0cVVAfJXZhLYTMThpEe132pt+XgEo5zXu5jqdgpEB9z7l0rV4XHT8dlBVKWDYRQi aOCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B+QI9xAHAStSMajNVbaWHTOfdTxi9Fqjq0XuIXXxon4=; b=McCtBfMJWguNLTrYfsqbOCc7nELwoYR7CTl7dAQk6BmIfPJSzR+6jOtwsK5uZKAakR lBVKHe12P5E9I86/rmAilGlFmH1uQlDeD5Wto7fW8NJ8GQ/tSgLHqunNX+cD0QFZm0bi lApV6WVowfKWyac3jmkMFd7WmBzZSkz/WJnIAOjZ2QyT2BRE33jECbALIqHYb3imCgdk NeOpSFoTZKN8khPaf7G8tYZ0oP28H7gdYda+esQcg/YyowLEcXvzTyF5/kN9ySnug+Bh QcjfW/4n29/zowk9OSx+u08zmb1Es869w80YqCtKo+uAQ0BBwNeCj73cfwoHSs4YwSXH esNw== X-Gm-Message-State: AOUpUlFzOROHbKHipdjDxAsmKKrVDJTJGRr2IK8slF2a4R2w3lvrO1/X m0gwpKx2tHG1FAPrRaJfzeguc5BkE6jTMUNRbak= X-Google-Smtp-Source: AA+uWPx5tLT21SYB8mvEPNG+9Hy2ocVmPwp97J2TlT9HPSfPs+aT8bCYV0qXdmmBCsTV7XhY58PdrslJMH7PMCTpr0o= X-Received: by 2002:a6b:2c82:: with SMTP id s124-v6mr17923834ios.136.1534257955332; Tue, 14 Aug 2018 07:45:55 -0700 (PDT) MIME-Version: 1.0 References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> In-Reply-To: From: blubee blubeeme Date: Tue, 14 Aug 2018 22:45:44 +0800 Message-ID: Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: Helen Koike Cc: Adam Weinberger , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 14:45:56 -0000 On Tue, Aug 14, 2018 at 10:23 PM Helen Koike wrote: > > > On 08/14/2018 12:05 AM, Adam Weinberger wrote: > > On Mon, Aug 13, 2018 at 4:28 PM Helen Koike > wrote: > >> > >> Hello, > >> > >> I am new to the community, I am maintaining two packages and I would > >> like to check with you if there is a better workflow to do this. > >> > >> The upstream project of the port I am maintaining is held in github, and > >> I also have patches in the /usr/ports/sysutils/myport/file/ folder. > >> > >> So I keep a fork of the upstream project with a branch containing a > >> commit with the patches from the /usr/ports/sysutils/myport/file/. > >> > >> Every time I need to update the port to a newer version, I do a git pull > >> in this branch, then I run a script [1] to re-generate the patches in > >> the /usr/ports/sysutils/myport/file/ > >> > >> This script basically generates a file.orig of all modified files in > >> git, then copy the modified file to WORK_DIR, then run make makepatch. > >> > >> > >> for file in ${CHANGES}; do > >> mv ${WORK_DIR}/${file} ${WORK_DIR}/${file}.orig > >> cp ${PROJECT_PATH}/${file} ${WORK_DIR}/${file} > >> done > >> make makepatch > >> > >> > >> I would like to know if there is a better way to do this (some tool that > >> I am not aware of?). > > > > IIUC, the process you're describing seems to be rebasing your changes > > and then generating diffs. You might have an easier time if you just > > do that: rebase, and then generate a diff (see the last point here)> > > Your script automates some of the routine Makefile changes, and while > > there are some tools in ports-mgmt/ that can automate that, we don't > > generally recommend them. > > > > It's common for Makefiles to have a maintainer-update: target that > > keeps the repetitive update tasks in the Makefile (which also helps > > the next person to maintain the port). > > I didn't know about this target, I'll take a look. Thanks. > > > > > Also, where many files are modified on a continually-changing basis, > > it's acceptable (though less systemically desirable) to put all your > > patches into one file. The benefit is that you can generate that one > > file with a single git diff, and it makes PR submission far, far > > simpler. > > Is there a way to easily transform a git patch to the FreeBSD > file/*.patch format? Because I use make makepatch, and it will generate > several patches anyway. > Once I used "diff -Nur", but it doesn't seem to be the same exact format > as the one generated by make makepatch. > FreeBSD patching explained a bit here: https://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html I am not too sure on the particulars of git diffs but FreeBSD uses a unified diff; The part that will cause your makefile to fail is if the filepath at the top of each patch file is incorrect. section 4.4.2. Manual Patch Generation in the above link gives a good overview of how to manually generate patch files. I am pretty sure there has to be tools that can automate transforming whatever style patch git uses to a unified patch file. > > > > > Do any of those help? > > > > # Adam > > > > > > Thanks > Helen > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Best, Owen From owner-freebsd-ports@freebsd.org Tue Aug 14 15:33:41 2018 Return-Path: Delivered-To: freebsd-ports@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 0379B107BAAE for ; Tue, 14 Aug 2018 15:33:41 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 AC406751A0; Tue, 14 Aug 2018 15:33:40 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from ogg.in.absolight.net (ogg.in.absolight.net [IPv6:2a01:678:ab:50::42:42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 02762C449; Tue, 14 Aug 2018 15:33:39 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Tue, 14 Aug 2018 17:33:38 +0200 From: Mathieu Arnold To: blubee blubeeme Cc: Helen Koike , FreeBSD Ports Subject: Re: workflow question: how do you maintain the port in sync with upstream? Message-ID: <20180814153338.bujxg3a5uswj3y5n@ogg.in.absolight.net> References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7npqrc57l3pg3vqf" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180622 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 15:33:41 -0000 --7npqrc57l3pg3vqf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 14, 2018 at 10:41:43PM +0800, blubee blubeeme wrote: > This one is fairly straight forward, you can simply replace that string > with a regex command; > This is an example of running a replace command for strings after the pat= ch > phase of the build; >=20 > post-patch: > @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README Patching files in post-patch using sed SHOULD only be used to replace dynamic content, never static content. --=20 Mathieu Arnold --7npqrc57l3pg3vqf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlty9lFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkhnJg/+Ouv1YwX93TAXZ75VNtbhhZaN2tD5GFu3aVfYjlEJpGA3ZKCiXAmX/aDt zqOBSPluVTe+Fw0ULPvRc2hMxKbFFECVlQSBl/reSMhKvUk98gnmR1uSUujHle7I ktKPUCBCO4xDIZEpTVB3ExbrDYjbLkGDm6OwzLVv76RDXOuKbv+ccD/iyrqu8uXY WllIp79+TbVsgxQt678yU3+BJ7DoTC+5nsrnHccwxGBC8/+ewI8NqjeXO0hFN2Kw D1rniBPJgW/Qsn9rYYuYzjfg+qDM8gJqCWWM/mVlrWV98F4+k0ENHdvlRtZOh7EO 4pLWI2kJmy2WD3So+XQgjysxlzcpW5Xn8mC9baBIpJJYoOi3A4D5pJ/nx7cIndFF HQKejdOZMgo5ubXr7lG/dzz+iYzn/SfPQ8haD2ngg2xp4psQkT5LQFBwP0GLrYoy k250QjRdELVNDTyYj0N9FMWHQLobpaeplnQiu7Q8zuGg8zJlLtB4hxDiIGzIu90F BFJbXCbldyEkh4wxZV9byIURS7Xjmxl93amnfG4Ls7CbGyEw+S+feQ5rQzrDoxQc /W/R9eYSPUH3C3iaBNfwPDBb8ocHfXvAgQlt1+YHbo1BMJ0tuvdi+duMTmF7OhoG 9Wnj6d18wXtcVVW+pIDGmtpPhL75WczYAsUG51nG+c4SBB4orWg= =uON1 -----END PGP SIGNATURE----- --7npqrc57l3pg3vqf-- From owner-freebsd-ports@freebsd.org Tue Aug 14 16:09:13 2018 Return-Path: Delivered-To: freebsd-ports@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 0FF65107CA13 for ; Tue, 14 Aug 2018 16:09:13 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 955DA76F04; Tue, 14 Aug 2018 16:09:12 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x229.google.com with SMTP id g141-v6so20448924ita.4; Tue, 14 Aug 2018 09:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yR2q8GELML+14KYarYHnbcyPmwI4TiG9R5ynOdLqLF0=; b=J7BSsffuIn9+Jz9VSMy4kl9MX23PIg1qze8uCiLkNJdrIfo5DVf3HOU/tLL4OuFCV0 T4JolbNhMNzph5YGxh7yAPcJRX39spttgkcbl/YrrtyslXsfM/xzPIfM+h9EMdb8L8N6 YaGVYS+MbFL0hsia/UG8g0KMGPJAWXpQpifQhTwBkSnUF8idIyS01fzma2JMYzmP9Pc7 R/ZbjnDEXex+6yMnLPp8wJG+sjrt3XgT3sAdt5uYhrE53wxAM26jByhTlHntPO0YYsRJ ZEORH8FIhvyjY7fgsosxt54n96YlzpChlfNN0BDFVo+6XSyS0nyb6WxP0LNCv9Me69yF jI7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yR2q8GELML+14KYarYHnbcyPmwI4TiG9R5ynOdLqLF0=; b=djytZPcXHvIVhebZmR44DNHTq0NsCyoGYEKWhGgqRx2POa1D1oCI0H0BW4FnN6mHhH yQUHGUNoSKurChRRUrBLDbG7Qszl3dq/iWroigI4RTQOQmO1V3qjMsxXBmnDD7FmW9rc JwwATAPyfhbk6LEdxOeB8yYWhgSt+66V+4S8V4F9gUiiLv5tDTa008NuOlGFa2PXlRvF ayUVyV6oFawDZotIxqnXLCg5DMWpYPbtN9zHdMC+kQSHWd//Lr3uhO5j8a8m4Xb0yk1I DzyYQdyJyM7sAHCaKLzcyRAMsbtHZToki/J2NhKu+vmJT84gm+rqJjQ4lV1/jNUE1bwY BNUQ== X-Gm-Message-State: AOUpUlErqa1/zE4fZRDtEvY8LGdvNSdu9Gwtsm4yVhCSv4SDyMIcF5iH C7k35q8vpJBPISx76v1hKATwoUJm9B32Ydo+Nsxqmw== X-Google-Smtp-Source: AA+uWPyu56+bYV2NDoTj/SEd4pPjdCO2d4bdC6nWpxuOYIQaXiL2CJGc+k85Ucyue0UpF+iwrotTeACVvmgVgQRTBbU= X-Received: by 2002:a24:60d:: with SMTP id 13-v6mr15510991itv.1.1534262951699; Tue, 14 Aug 2018 09:09:11 -0700 (PDT) MIME-Version: 1.0 References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> <20180814153338.bujxg3a5uswj3y5n@ogg.in.absolight.net> In-Reply-To: <20180814153338.bujxg3a5uswj3y5n@ogg.in.absolight.net> From: blubee blubeeme Date: Wed, 15 Aug 2018 00:09:00 +0800 Message-ID: Subject: Re: workflow question: how do you maintain the port in sync with upstream? To: Mathieu Arnold Cc: Helen Koike , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 16:09:13 -0000 On Tue, Aug 14, 2018 at 11:33 PM Mathieu Arnold wrote: > On Tue, Aug 14, 2018 at 10:41:43PM +0800, blubee blubeeme wrote: > > This one is fairly straight forward, you can simply replace that string > > with a regex command; > > This is an example of running a replace command for strings after the > patch > > phase of the build; > > > > post-patch: > > @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README > > Patching files in post-patch using sed SHOULD only be used to replace > dynamic content, never static content. > This is missing the point of the email since you can call that command in any stage of the port build process. Maybe we could append this info to the porters handbook. > > -- > Mathieu Arnold > From owner-freebsd-ports@freebsd.org Tue Aug 14 17:22:17 2018 Return-Path: Delivered-To: freebsd-ports@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 75290107ED88 for ; Tue, 14 Aug 2018 17:22:17 +0000 (UTC) (envelope-from rde@tavi.co.uk) Received: from kipling.tavi.co.uk (kipling.tavi.co.uk [81.187.145.130]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9367C296 for ; Tue, 14 Aug 2018 17:22:16 +0000 (UTC) (envelope-from rde@tavi.co.uk) Received: from kipling.tavi.co.uk (localhost [127.0.0.1]) by kipling.tavi.co.uk (Postfix) with ESMTP id E5792892C3 for ; Tue, 14 Aug 2018 18:22:06 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=tavi.co.uk; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=85qlk0Z Y9cZ7FhVPch2Lun6hJ2E=; b=iyJQ57hiIWbwBonS6AM8WiE13ZMfhrGcqy9nYJ8 PfjvfflQu4vpTElDG58eV5LOspOoZQV1ADW799pbkFjQLJCI1OkMJO8CNuCX3cui whsYEVu3fB22P+yYSb12SGmUXSmKdqY4VU1W6XcrM41G+rYCFFwrFg02CJHcAzLK nUBY= Received: from raksha.tavi.co.uk (raksha.tavi.co.uk [81.187.145.139]) (Authenticated sender: rde@tavi.co.uk) by kipling.tavi.co.uk (Postfix) with ESMTPA id 88E85892C0 for ; Tue, 14 Aug 2018 18:22:06 +0100 (BST) Date: Tue, 14 Aug 2018 18:21:49 +0100 From: Bob Eager To: freebsd-ports@freebsd.org Subject: Re: workflow question: how do you maintain the port in sync with upstream? Message-ID: <20180814182149.2e391be5@raksha.tavi.co.uk> In-Reply-To: <20180814153338.bujxg3a5uswj3y5n@ogg.in.absolight.net> References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> <20180814153338.bujxg3a5uswj3y5n@ogg.in.absolight.net> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; i386-portbld-freebsd11.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUwXjFLc0vD0cS7y7zw9PDZ4tkWSRaVrZZ+m39qi2tXfVj////7+/utwK4IPggAOAAJUUA7AAABKklEQVQ4jWPYjQMwDFYJp0NKEKCNJmEf9h8CsimXiL2e33s3/e7F7K2Cs3f3dCMkQkMKj4YuCY3K3iR+e7fMaiSjvkX0/5cFGrWpe2uLzOpaExUVqMS/8PX/Re5ey960OLBTZpFA8+IlSBKPQ92zNyUUBsosN58uIY0k8f+/ONCoYytkVuhWzVwNkYiYbqk5M3NmOVBi41YZ8RsGF7shEtFb5KJ3r969CyixM7OTPeFUxG2IxLO8/9/SvqXlc+/x3h295YzLlj2nIRJQj//nRvc5TEIal8RsXBLVuCQwIgoq/u80DomP6HEOk/iOS+IJLonZOCT+ReOQ+Lkbh0QKLonbOCR+7MYhsRqHBJrVcIl/1TgklqKLQyQ+tGKIgyQOqXpjig94diZRAgAXmDX6jyWafAAAAABJRU5ErkJggg====== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 17:22:17 -0000 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMjU2DQoNCk9uIFR1 ZSwgMTQgQXVnIDIwMTggMTc6MzM6MzggKzAyMDANCk1hdGhpZXUgQXJub2xkIDxtYXRARnJlZUJT RC5vcmc+IHdyb3RlOg0KDQo+IE9uIFR1ZSwgQX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QlJDcnFmZ3hZTXd3DQpkYzZPbnR1U25YWjFyNnphQk5LVmkwd21uRmgy UTFvT2FneDVJcnRKL3lzRFhndDFvTmhOcnRXZllqT1F5R3VMDQpBYWp5VHpiK05BYTBZK0ZWSXB0 TFlVbWNlenJIQ1V1WlFVcWFMQUtsZzcyQy9Pdm5RWXh5UCtrekhrenRnaUgvDQp6VmtnVytqWmVM UCt2bVNqcW10RklIWkM2VnpDMFNnNTNkWkpsTGZJYkc0cW15eU9nRVQxbURQOWM1V2ZSM3ZxDQow RTZzUXhzTHJUczhSekxueDYxVFlEMWZQMGVTUFE9PQ0KPXlLc3ENCi0tLS0tRU5EIFBHUCBTSUdO QVRVUkUtLS0tLQ0K From owner-freebsd-ports@freebsd.org Tue Aug 14 17:54:01 2018 Return-Path: Delivered-To: freebsd-ports@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 66044107FF39 for ; Tue, 14 Aug 2018 17:54:01 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 193977F05E for ; Tue, 14 Aug 2018 17:54:00 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin2.int.langille.org (clavin2.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 526A81648B for ; Tue, 14 Aug 2018 17:53:54 +0000 (UTC) From: Dan Langille Content-Type: multipart/signed; boundary="Apple-Mail=_56DB7603-AF96-4313-8B29-118F7E007B6C"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: getting PKGNAME from CONFLICTS Message-Id: Date: Tue, 14 Aug 2018 13:53:30 -0400 To: FreeBSD Ports X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 17:54:01 -0000 --Apple-Mail=_56DB7603-AF96-4313-8B29-118F7E007B6C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I am in the process of adding FreshPorts support for CONFLICTS[1]. I reference www/p5-CGI only because it had a recent commit and it = contains a CONFLICTS directive. At https://dev.freshports.org/www/p5-CGI/ you can see: CONFLICTS: p5-CGI.pm-[1-3]* My goal is to allow a link to the search page or to the page for that = port. The CONFLICTS field is a 'A list of package name patterns'[2] I interpret this to mean the values returned by make -V PKGNAME and the = documentation[3] indicates this is correct. Thus, the CONFLICTS matches https://dev.freshports.org/www/p5-CGI.pm [4] To extract the PKGNAME values from the CONFLICTS I will need to remove = everything after the trailing dash. Can someone do me up a regex for that please? regex is a weak point for = me. Or point me into the Mk infrastructure to locate an existing = solution. Thank you. refs: [1] - https://github.com/FreshPorts/freshports/issues/84 [2] - = https://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk?view=3Dmarkup#l436 [3] - = https://www.freebsd.org/doc/en/books/porters-handbook/conflicts.html [4] - = https://dev.freshports.org/search.php?stype=3Dpackage&method=3Dprefix&quer= y=3Dp5-CGI.pm&num=3D10&orderby=3Dcategory&orderbyupdown=3Dasc&search=3DSea= rch&format=3Dhtml&branch=3Dhead -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_56DB7603-AF96-4313-8B29-118F7E007B6C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQGTBAEBCgB9FiEEzqcJ4oeyf8sgTIEBIU09XU2nXtMFAltzFxpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldENF QTcwOUUyODdCMjdGQ0IyMDRDODEwMTIxNEQzRDVENERBNzVFRDMACgkQIU09XU2n XtMc1wgAoCO8AfCKK56eppsP9phs69t99GanDQNTvQk0XT0T3/LlXad73VE3s7no CWx0jX/lAkRUZzGV3Tt6NxaJZjEImBeH6ZlfhEDjB316lsH9U3QhC3jZ2oe7GcOc GEm/MRLZSkoBZXoIH2BTH7tkcK3JQyFHWxup54arkmFiidURODAQXf0BGPj+OB6Z SiaJ67Uo/jThF2bSpGbaaIw0YqnXR5m2O01Nfnmk6NeKIOF4WajrRA2e6Zxabphl M7+ocH8fOYx2N2wVQ2RANsur5T6W81UB8WKGDm+RE+csi4CBHn4myIpXdF9dVngt 0OL9JZfC25V3IbAYEKu5ahb05j6pHg== =Lng7 -----END PGP SIGNATURE----- --Apple-Mail=_56DB7603-AF96-4313-8B29-118F7E007B6C-- From owner-freebsd-ports@freebsd.org Tue Aug 14 19:05:28 2018 Return-Path: Delivered-To: freebsd-ports@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 661C51081DEB for ; Tue, 14 Aug 2018 19:05:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-20.consmr.mail.gq1.yahoo.com (sonic305-20.consmr.mail.gq1.yahoo.com [98.137.64.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E361D82B86 for ; Tue, 14 Aug 2018 19:05:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Ye1ks1EVM1nNjqwldKLR7DFOdsAFAt5eigdj2SZl3dd7Tlsgu02yb5Oyv0qyjzh 9C7JdQ3TpYgZ_y_rVGwU8IvIln72G2c9wKE9J5KrkBRU7DltKSYTtz.h7kRXkLPybMseznjRc7ri TokyelRnu0VjKX4icZhouliPCf_t6XCbKw6WIW9B9s1Rwb8jiSho0XX0L.2G9WHaJQPeBf3qNSWv GKJcgRwYsIX1Rmctvfmsid5wK7HJCc05RUELhoyDcfYuZYNKP1i2QRkcoI7TH48WM3qZOstABjPD gcCu9FxXddoGB_oTAjv0FOqHEEu7aB5f9uzWl9nxCRaxLh9JBN_ULXesaV_D7cJACI1A6fBQlhNE e_QP2N9pKdf8y31FOMGDakMuaIWZmKZoscNlwN.bFO2yBNRHd4NsVEImqJzt0t9kvhDhPTOtb0WO dqnEr04ZO7EJ7kEVHP94.PaDyZXK9ynbgvJSgzREWWhmBoLiWIhqYpeg8TROBIKZ00_OatzzfEwu HvPVkYx8QcY82DvLU836X8TJDlcJyJiFFW0tNUWswJ7wfx27H2co6n.w1WaRDAGYQJ9pncHx_Xci mF16pPVgsSjddDuqCkcOlbOIa.TegDii7taS8qseadJZynS3hyhRsjz.uTGSCd4PRuLTQK_APbT2 MMmCuO9ee_o405C_QKXBotz.X6ySi6YhZGKSgptALAniogdHHHXLXnMtQIKg3KDNYJazJnl_3z24 lB1qQ8XGp8HrjZIVq2_ZOyyJNH85uHMQ2.wB9StozkQNgzcY38a3rpKu85GgTCadfiTB.Lgu.vO2 yzxBiQsnYdbPyQKyZqTCBujfBd5_Tukb3Fu.JRsn_MhDtSgctW1mbKTgLJTaQGhU69aPCWC4IPQp _ctVr4oWBb0TjSHCzK9DdpeBMj6PloZEbeYAyhQXVE2qoehF7s2tpflHRuDgPfTzeYSHhZtgnuAC fSUi1Y3DNB32Bemt3lGTKPBn19YYC_RU8t6pei71AdYvT.w6fy4THtBxgQI2DUh9KPJDCoCe9t02 f_aVQUPSrEyAF Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Tue, 14 Aug 2018 19:05:21 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp417.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8ba844306540c8c833c18390e3344c59; Tue, 14 Aug 2018 18:55:13 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: getting PKGNAME from CONFLICTS Message-Id: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> Date: Tue, 14 Aug 2018 11:55:12 -0700 To: dan@angille.org, FreeBSD Ports X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 19:05:28 -0000 Dan Langille dan at langille.org wrote on Tue Aug 14 17:54:01 UTC 2018 : > . . . > At https://dev.freshports.org/www/p5-CGI/ you can see: >=20 > CONFLICTS: p5-CGI.pm-[1-3]* > . . . > To extract the PKGNAME values from the CONFLICTS I will need to remove = everything after the trailing dash. > . . . p5- vs. p5-CGI.pm- vs. p5-CGI.pm-[1- It looks to me like "trailing dash" probably has a complicated definition where some "-"(s) may exist that are to be ignored after the one of interest. In the example I'm guessing that the middle "-" is intended (so "p5-CGI.pm-"). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ports@freebsd.org Tue Aug 14 19:13:28 2018 Return-Path: Delivered-To: freebsd-ports@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 D21A110550F4 for ; Tue, 14 Aug 2018 19:13:28 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw1-xc2a.google.com (mail-yw1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 75F8183250 for ; Tue, 14 Aug 2018 19:13:28 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw1-xc2a.google.com with SMTP id y203-v6so17025680ywd.9 for ; Tue, 14 Aug 2018 12:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TRlJprCAyDDwJ3JJXHD8TfOpk/qj4vi45URDxlkQD9U=; b=oet76dHZYl5sFJLxZ8CDo0/gYpdXpF0NLqWn0hr9AhDpNpk9JfNjYH6Ns2BL2oEqAm zf8KeJjLOKXR3UZk9bXzvuElf0N07ApBqwrdSlO1QEmoZnjYFI5pdJErzCeyHJN17qIp WhoAHtROQvSTjH2619lKxSAUX/i558a360z5+5KI0zwL1tC6BrO9Pm2hyNdnuvh5cK/t 1DwbWkgHCkyU4ExfK5W4t4UFeqCn58SCVI+VgYo+bSzk3ZhXprTxfqIv3TrXxPWSiwdH UhXhVQzIDGszADGRP6CVjZBGmA6d1dR74rlJYunMozHoSAJH02QNTOG0jDcxQWfOrFfY jdsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TRlJprCAyDDwJ3JJXHD8TfOpk/qj4vi45URDxlkQD9U=; b=XrS8Foo8p5B52mjL6jmF+EeNdNzRJlqIuCqTIfzTHeGo3qgD9UBb6dk7rEMS6Pb4YC 1xJe6rR0eyfGw75mDLJioj56RlM/c9H6oZMgcCQtxseETg+F3z9j2vYcMc3EYhMYYDyg EpPJs+MALFNUemrlNidHnuUXLkgm7goz16RrTlHrxt0NDn62jHfv8Knrl2MVH+irrjBG eecyskTcFHskDFQ5TT9FmKxub/+K8KJGzxNdeR6TD3xM2bm7xtBtlKeQX2VjLyvqueQI BW8QhgsSVzty0sP23tHRbRD9mCPeBNc+TMOWh9ZidHgClmck3IIiiGt4fe2jvFaPwF8h tmhg== X-Gm-Message-State: AOUpUlFME1U94lUkBwBCHECbc2utkpShkBhgf+uSdHspFV1o3cKCxUrt e/NfYzBGJCKY9yGFexOZLA5OivGmElIqiojSSo+gRLugiII= X-Google-Smtp-Source: AA+uWPz6oXiSe8A1DyAdWYuhrBxgQvPTqHrFv2KooVFaQEzQ1rt8Fn5jiiSApLSMFTW151bggNFwAuGJos9OmRFRV5s= X-Received: by 2002:a25:61cd:: with SMTP id v196-v6mr12364441ybb.246.1534274007727; Tue, 14 Aug 2018 12:13:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Tue, 14 Aug 2018 13:13:12 -0600 Message-ID: Subject: Re: getting PKGNAME from CONFLICTS To: dan@langille.org Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 19:13:29 -0000 On Tue, Aug 14, 2018 at 11:54 AM Dan Langille wrote: > > I am in the process of adding FreshPorts support for CONFLICTS[1]. > > I reference www/p5-CGI only because it had a recent commit and it contains a CONFLICTS directive. > > At https://dev.freshports.org/www/p5-CGI/ you can see: > > CONFLICTS: p5-CGI.pm-[1-3]* > > My goal is to allow a link to the search page or to the page for that port. > > The CONFLICTS field is a 'A list of package name patterns'[2] > > I interpret this to mean the values returned by make -V PKGNAME and the documentation[3] indicates this is correct. > > Thus, the CONFLICTS matches https://dev.freshports.org/www/p5-CGI.pm [4] > > To extract the PKGNAME values from the CONFLICTS I will need to remove everything after the trailing dash. > > Can someone do me up a regex for that please? regex is a weak point for me. Or point me into the Mk infrastructure to locate an existing solution. Hi Dan, I suspect that the best you can get is to make some assumptions about what versions look like. This will catch most, but not all: /^(.*?)-[-_\.,0-9ab]+$/ That should put PKGNAME in $1. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org From owner-freebsd-ports@freebsd.org Tue Aug 14 19:16:00 2018 Return-Path: Delivered-To: freebsd-ports@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 D1DAD105522F for ; Tue, 14 Aug 2018 19:16:00 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw1-xc31.google.com (mail-yw1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 563B4833D2 for ; Tue, 14 Aug 2018 19:16:00 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw1-xc31.google.com with SMTP id r3-v6so17054131ywc.5 for ; Tue, 14 Aug 2018 12:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zKMowSHbxhQT7v2/saeyYnWFU+ZsP3CWRFAfQhwVukQ=; b=Tqdc4p91c2b6PiJhj4RD1csLGZBjsf5jiU2djpjJS56bmrC1OryksYGQ9oqm8pqpDE wQXWRTtXRjG67TvFd/89KZHBU4MtMfBtCEQ48h3CRiUtgSrUqdrPouzBuH4u8nz53Em1 olVWZahOG2IaSf0+rXvAo1hAwWJ97yFCJRjdRdREOyttcKoHX8wV2JXnrntP3yaH5HIG Eh+EqoDaJLjjMs2N4z1X9FYdon97RClo3wgTHaRs59TCVcd6Zd1iOWW7wd4sdmQwLx8R jNvYzBLFswU/bB4fiBNC99ysozLmLX/+0sMiAg9xyVMPffcys83jWGasBX0rZVkryBzI E+KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zKMowSHbxhQT7v2/saeyYnWFU+ZsP3CWRFAfQhwVukQ=; b=hQnbb72/7DepHfWHyAZZcfDOqh2NOEGoV3xUm0dKFZ5dXNW5IcFIntKUWZ2rAs4/vq SCr+rVaixvZvKTTidSDR4Fn1pixuJTOUZGYw/FU/Zw+p+oE5beVGUoPUglEFfsgqWU63 DTLTJXk3gQ7Lyd4L/hTpHLyCeFXvxOqiqDxx5WXJF35SYhzIuhJFI/bbtPqDmzL5fIEI ldreJtJqTyrcfRUgw2uyGIzAoeWnvV53E/vnrq6AMFCu03wbARZQ8OyVxSk2bReNUnlq Aiz+bMQIcsx7uSFtTmkyIsjVeljfkNtFwVTKAYak7uQKyEWz/C0LPZ0O92ccSQv/xhqN n4GQ== X-Gm-Message-State: AOUpUlHbW6j5LmCXbTmp9dH0qEbDxTwfc3WSaXA5M+LW2Ay/5txpTvDS HdNLLcitbhhbXO1W66i2xzdzwfQDjsXRUOH8GpTV8LXU9wM= X-Google-Smtp-Source: AA+uWPyWKLNI4jHTPIbZINPRy06Ulq0A9aRvqmlyksb+WRdFSbn6ePqnUeHuZ4fwvbdcZpSPV8pEsoqjwGnQcI5p0u8= X-Received: by 2002:a81:a607:: with SMTP id d7-v6mr13357011ywh.487.1534274159872; Tue, 14 Aug 2018 12:15:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Tue, 14 Aug 2018 13:15:43 -0600 Message-ID: Subject: Re: getting PKGNAME from CONFLICTS To: dan@langille.org Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 19:16:01 -0000 On Tue, Aug 14, 2018 at 1:13 PM Adam Weinberger wrote: > > On Tue, Aug 14, 2018 at 11:54 AM Dan Langille wrote: > > > > I am in the process of adding FreshPorts support for CONFLICTS[1]. > > > > I reference www/p5-CGI only because it had a recent commit and it contains a CONFLICTS directive. > > > > At https://dev.freshports.org/www/p5-CGI/ you can see: > > > > CONFLICTS: p5-CGI.pm-[1-3]* > > > > My goal is to allow a link to the search page or to the page for that port. > > > > The CONFLICTS field is a 'A list of package name patterns'[2] > > > > I interpret this to mean the values returned by make -V PKGNAME and the documentation[3] indicates this is correct. > > > > Thus, the CONFLICTS matches https://dev.freshports.org/www/p5-CGI.pm [4] > > > > To extract the PKGNAME values from the CONFLICTS I will need to remove everything after the trailing dash. > > > > Can someone do me up a regex for that please? regex is a weak point for me. Or point me into the Mk infrastructure to locate an existing solution. > > Hi Dan, > > I suspect that the best you can get is to make some assumptions about > what versions look like. This will catch most, but not all: > > /^(.*?)-[-_\.,0-9ab]+$/ On second thought, 'p' should be in there too. [-_\.,0-9abp]. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org From owner-freebsd-ports@freebsd.org Tue Aug 14 21:03:16 2018 Return-Path: Delivered-To: freebsd-ports@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 D89F410642D6 for ; Tue, 14 Aug 2018 21:03:15 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B8C78900E for ; Tue, 14 Aug 2018 21:03:15 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin2.int.langille.org (clavin2.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 45C4516979 ; Tue, 14 Aug 2018 21:03:14 +0000 (UTC) From: Dan Langille Message-Id: <29956974-76C3-4345-973D-18003128BEA1@langille.org> Content-Type: multipart/signed; boundary="Apple-Mail=_EC67AF10-89E7-4AC0-A769-FBBBC38D9276"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: getting PKGNAME from CONFLICTS Date: Tue, 14 Aug 2018 17:02:59 -0400 In-Reply-To: Cc: freebsd-ports@freebsd.org To: Adam Weinberger References: X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 21:03:16 -0000 --Apple-Mail=_EC67AF10-89E7-4AC0-A769-FBBBC38D9276 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Aug 14, 2018, at 3:15 PM, Adam Weinberger wrote: >=20 > On Tue, Aug 14, 2018 at 1:13 PM Adam Weinberger = wrote: >>=20 >> On Tue, Aug 14, 2018 at 11:54 AM Dan Langille = wrote: >>>=20 >>> I am in the process of adding FreshPorts support for CONFLICTS[1]. >>>=20 >>> I reference www/p5-CGI only because it had a recent commit and it = contains a CONFLICTS directive. >>>=20 >>> At https://dev.freshports.org/www/p5-CGI/ you can see: >>>=20 >>> CONFLICTS: p5-CGI.pm-[1-3]* >>>=20 >>> My goal is to allow a link to the search page or to the page for = that port. >>>=20 >>> The CONFLICTS field is a 'A list of package name patterns'[2] >>>=20 >>> I interpret this to mean the values returned by make -V PKGNAME and = the documentation[3] indicates this is correct. >>>=20 >>> Thus, the CONFLICTS matches https://dev.freshports.org/www/p5-CGI.pm = [4] >>>=20 >>> To extract the PKGNAME values from the CONFLICTS I will need to = remove everything after the trailing dash. >>>=20 >>> Can someone do me up a regex for that please? regex is a weak point = for me. Or point me into the Mk infrastructure to locate an existing = solution. >>=20 >> Hi Dan, >>=20 >> I suspect that the best you can get is to make some assumptions about >> what versions look like. This will catch most, but not all: >>=20 >> /^(.*?)-[-_\.,0-9ab]+$/ >=20 > On second thought, 'p' should be in there too. [-_\.,0-9abp]. I think we are trying to match the regex instead of noticing a regex and = removing it. Am I doing it wrong? $ cat ~/tmp/pkg-name.php p5-CGI.pm-[ [1] =3D> p5-CGI.pm ) It's close, but not quite. Thank you. -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_EC67AF10-89E7-4AC0-A769-FBBBC38D9276 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQGTBAEBCgB9FiEEzqcJ4oeyf8sgTIEBIU09XU2nXtMFAltzQ4RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldENF QTcwOUUyODdCMjdGQ0IyMDRDODEwMTIxNEQzRDVENERBNzVFRDMACgkQIU09XU2n XtObQQf+LEekpEOa7aXX2WedGz+GGvA17kBDHSkpNMiJmZldNPcDTnkV64CtUfIW 5QUcivCp754APrbnNcpAX7Ua6EpqUgu7IdNYmDiTxKujonJ/3dW+fCWsO+xWQez1 lR83AxzygkeqHnQGpjR35YDrIdMqqlPgAQZ7skyK+U1z8HnRlI1dSeFyrzUS74Hp u0K1/fZ4C481dbLdYuzH1wpbrJEwA+jXOcFcqEFG6ZPlmfQRdYLK9ZsejiaAP0FJ 8zyI1jo+3l9F5pTTJ31cHTJYpac7cPI50M3H/BjOJPlhS3wv5oXIDbLtwqZq/rYL vyXXC0j42f8YoYwPgSv873YCDxg+pg== =rtfK -----END PGP SIGNATURE----- --Apple-Mail=_EC67AF10-89E7-4AC0-A769-FBBBC38D9276-- From owner-freebsd-ports@freebsd.org Tue Aug 14 23:35:25 2018 Return-Path: Delivered-To: freebsd-ports@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 9AD761069BC0 for ; Tue, 14 Aug 2018 23:35:25 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin1.langille.org (clavin1.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 533938E026 for ; Tue, 14 Aug 2018 23:35:25 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 83A211261E ; Tue, 14 Aug 2018 23:35:16 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: getting PKGNAME from CONFLICTS From: Dan Langille In-Reply-To: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> Date: Tue, 14 Aug 2018 19:35:15 -0400 Cc: FreeBSD Ports , Dan Langille Content-Transfer-Encoding: quoted-printable Message-Id: <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> References: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 23:35:25 -0000 > On Aug 14, 2018, at 2:55 PM, Mark Millard via freebsd-ports = wrote: >=20 >=20 > Dan Langille dan at langille.org wrote on > Tue Aug 14 17:54:01 UTC 2018 : >=20 >> . . . >> At https://dev.freshports.org/www/p5-CGI/ you can see: >>=20 >> CONFLICTS: p5-CGI.pm-[1-3]* >> . . . >> To extract the PKGNAME values from the CONFLICTS I will need to = remove everything after the trailing dash. >> . . . >=20 > p5- > vs. > p5-CGI.pm- > vs. > p5-CGI.pm-[1- >=20 > It looks to me like "trailing dash" probably has a > complicated definition where some "-"(s) may exist > that are to be ignored after the one of interest. > In the example I'm guessing that the middle > "-" is intended (so "p5-CGI.pm-"). Agreed. The hard part is identifying the regex and deleting it from = consideration. --=20 Dan Langille - BSDCan / PGCon dan@langille.org From owner-freebsd-ports@freebsd.org Wed Aug 15 12:45:36 2018 Return-Path: Delivered-To: freebsd-ports@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 0E3A4108304F for ; Wed, 15 Aug 2018 12:45:36 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A36A88A529 for ; Wed, 15 Aug 2018 12:45:35 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 687671083048; Wed, 15 Aug 2018 12:45:35 +0000 (UTC) Delivered-To: ports@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 575BD1083046 for ; Wed, 15 Aug 2018 12:45:35 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFDDC8A51A for ; Wed, 15 Aug 2018 12:45:34 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org (portscout.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 44F842483E for ; Wed, 15 Aug 2018 12:45:34 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org ([127.0.1.123]) by portscout.ysv.freebsd.org (8.15.2/8.15.2) with ESMTP id w7FCjYq2067854 for ; Wed, 15 Aug 2018 12:45:34 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id w7FCjYXf067849; Wed, 15 Aug 2018 12:45:34 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201808151245.w7FCjYXf067849@portscout.ysv.freebsd.org> X-Authentication-Warning: portscout.ysv.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Wed, 15 Aug 2018 12:45:34 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 12:45:36 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ www/gobuffalo | 0.12.4 | v0.12.6 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-ports@freebsd.org Wed Aug 15 12:46:28 2018 Return-Path: Delivered-To: freebsd-ports@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 E4BE31083163 for ; Wed, 15 Aug 2018 12:46:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 528608A610 for ; Wed, 15 Aug 2018 12:46:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from dhcp-10-240-104-122.cp.wireless.private.cam.ac.uk (global-5-14.nat-1.net.cam.ac.uk [131.111.5.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id EA41D1946 for ; Wed, 15 Aug 2018 12:46:17 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/EA41D1946; dkim=none; dkim-atps=neutral Subject: Re: getting PKGNAME from CONFLICTS To: freebsd-ports@freebsd.org References: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> From: Matthew Seaman Openpgp: preference=signencrypt Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= xsFNBFJIL80BEADi7/VbnnErDU6pjEhI/SzEZ/HbDRkJ5g7HroAtqIRm6nj8ZwOAgZ/2ZnWn 5F+fXTuLsG0FLNtkd17FoVcuCi5e/GPliXI5cmamV7E1Yz4T8UsJ7RQolimyxVexccKd16Tc AA7B9bFlJSKkBUSD0buj7VjT07xWhRzu6Vgi5r0UjLALYJz977uZA0F1aOGOXREDEAOhdcNc kSNjynqAwDA6dCT1Elpi4key1fYjv4jyDF+GU/YXul2Y/rguA8FCkHd9vyym5eAsLQ5mG00V V9fkEHIpH5KorNVnl/ufHXnkZqmHAZVpFDcrshb7aZ/pL45PXyWgLj+e6etelgj3a2bZi0JF cVdXCnBZVP2oIyYblM11ugTbfCwodORU8a5KfPeztMdAtDr4e+32NTrPdPi5rLT+GUsYz+PL 3A3m3u8bdsFp40DlIrBtSByVjqERxcfhphrEB4J8BXHUG7OAtXkZMlW/PGKDwXJq0O6Z5Tcg YHAoEiSWbXiexHgXNJyP+sqnIlhLWhSJGeJ+C83wqI6oYlZUCW00NkPxcIHnQPV/z+5wQVci TMyaWC2YCIHz4Ljs+TnwWMz0E8PNFDfHVbQ0W4PRGV7gRAqxfL+yKufauIEGbEq8rNDbSwL3 bcUCxR4ZDlaUEUwT4J8naf7rjdgiEYHs2Ig3jeK1+ER4FPG1sQARAQABzTBNYXR0aGV3IFNl YW1hbiA8bS5zZWFtYW5AaW5mcmFjYW5pbm9waGlsZS5jby51az7CwZcEEwEKAEECGwMFCwkI BwMFFQoJCAsFFgIDAQACHgECF4ACGQEWIQRyz6whebywJLW1RZADb2ye5/OevwUCWttU4QUJ DFmAlAAKCRADb2ye5/Oevwb5EACipbOazgwl5IbqkQI4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rNbcyinwOEFyGAhFpfF7ESsKedR2Q40LvysT7I5ugS+Hk4Z2nvbd2bOSdC4j8a BWzfqVu2p37d2AnnswfPoLrOyNUZ+ciTEcmEUVR7WWUwQ0H6A6h4C2NeBmLRRjk9CEfzrgM2 DNQqDL1RMYKlVosQ8BeUR9ThztUwDakxnK0ZtZb2rAliKYaaEFbZDePz1xmvjYc7EZq/3OTl GMUDa6BPHHbCvJjiAUc/Q9iaRe3dp69V/rwOM5NiS+tWgp3OtgX0mDWVoQnDjyWVIRU/QagJ HsNJJCc0N48BxgIX3H6M0x6BbA9PKgFtDlK4hLR/hDl5fnWG45TVIxT4ybuPXGW7af9U6bGD gXTBNUCzNUz2p2F2u7W/iK0WTfjovYvVVcptegyu6ttZN49KkQtL Message-ID: <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> Date: Wed, 15 Aug 2018 13:46:16 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f7zgM0mPihkX6dCVYK5fGRr84vWbpY7fl" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 12:46:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --f7zgM0mPihkX6dCVYK5fGRr84vWbpY7fl Content-Type: multipart/mixed; boundary="HrZPaAJqDcl7aA0isGXIZWqxLBv2jqz5H"; protected-headers="v1" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> Subject: Re: getting PKGNAME from CONFLICTS References: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> In-Reply-To: <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> --HrZPaAJqDcl7aA0isGXIZWqxLBv2jqz5H Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 15/08/2018 00:35, Dan Langille wrote: >> On Aug 14, 2018, at 2:55 PM, Mark Millard via freebsd-ports wrote: >> >> >> Dan Langille dan at langille.org wrote on >> Tue Aug 14 17:54:01 UTC 2018 : >> >>> . . . >>> At https://dev.freshports.org/www/p5-CGI/ you can see: >>> >>> CONFLICTS: p5-CGI.pm-[1-3]* >>> . . . >>> To extract the PKGNAME values from the CONFLICTS I will need to remov= e everything after the trailing dash. >>> . . . >> >> p5- >> vs. >> p5-CGI.pm- >> vs. >> p5-CGI.pm-[1- >> >> It looks to me like "trailing dash" probably has a >> complicated definition where some "-"(s) may exist >> that are to be ignored after the one of interest. >> In the example I'm guessing that the middle >> "-" is intended (so "p5-CGI.pm-"). >=20 > Agreed. The hard part is identifying the regex and deleting it from co= nsideration. >=20 If you don't mind spawning a new process, you can just do: % pkg search -qg 'p5-CGI.pm-[1-3]*' p5-CGI.pm-3.63_1,1 This does assume your pkg(8) is configured to use a repository with all possible packages available. The default FreeBSD repositories are a good choice in that regard. Or if you already have a database table with all of the package names and versions, then you'll presumably want to change the glob expression into a regex match (in this case something like '^p5-CGI\.pm-[1-3].*') Unless there's a PG extension that allows using glob(3) to match strings? I can't see one after a pretty cursory search. (sqlite has glob(3) support, which is what the pkg(8) command above is using under the hood.) Cheers, Matthew --HrZPaAJqDcl7aA0isGXIZWqxLBv2jqz5H-- --f7zgM0mPihkX6dCVYK5fGRr84vWbpY7fl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlt0IJlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OeZeQ//beJoobaLTVpYu7a4xrYMgbs50ylJKhzwPv+AADTEc+6wupK5VXrhuEiP aIFuboT3DfbHkbt2CWiYkdsr5x1yfCh+KSlX6hj1fGdSVao9PNXb/NoI0Hy8ecGL Z52C1VbO1o50N7mQ2HhaxG+4l2dUOEhZmWUjF3N+o7EjIiJo9/XDkwIaoqBO3uhZ K/WbjYxJFRUa8VY6bsxsy2KI2JoJvmk57xzk4w0M10UB1lVxpzIhqC3FPl8ofDaK eLhvDFEdDUtEH18Qguo70t/VeKMgIuoDZeVr9hijyltwMQkZ47ZBs/xT+Iv7n2ES 6yI4gW+PRB7874I3CJSM8L3fjaW1CGw8BSPcV5wZrihUo9Q0YC5WBR7b5ETQdl/B 9hYwCKONdDxgcpbHk5BBhMZR5T4iHTud16d+WujHGaY45zmlK7gFM3IoUOWQKWDz Hljhl/zKM3Tlr1a4Aqh3M19wqy6OESBhLlgMZTKH6a4Yuqj4FGhZDfNB1jWeoxwz wFsCYjcOBfJxazGIz05ix1SLM3sbuocFbVxlIBIE68k1lX5RI1B+95totIAFqYPM wsMoTMLkNi8XA3+a3sClb/OvI9l1o35O9uHYMFj/FDKf3Bv75P0TFFy/IeBw19aL IhGjGerxiYEdFvcSQ/Mb36mYglHSMzq4TzDPv5SDq9N1uwX04Ps= =IR4G -----END PGP SIGNATURE----- --f7zgM0mPihkX6dCVYK5fGRr84vWbpY7fl-- From owner-freebsd-ports@freebsd.org Wed Aug 15 13:17:44 2018 Return-Path: Delivered-To: freebsd-ports@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 4826B1084433 for ; Wed, 15 Aug 2018 13:17:44 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E072B8C292 for ; Wed, 15 Aug 2018 13:17:43 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A4FBF1084431; Wed, 15 Aug 2018 13:17:43 +0000 (UTC) Delivered-To: ports@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 93A2B1084430 for ; Wed, 15 Aug 2018 13:17:43 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4C5CD8C290; Wed, 15 Aug 2018 13:17:43 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from localhost (85.161.193.178.dynamic.wline.res.cust.swisscom.ch [178.193.161.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: ehaupt) by smtp.freebsd.org (Postfix) with ESMTPSA id 8781714825; Wed, 15 Aug 2018 13:17:42 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Date: Wed, 15 Aug 2018 15:17:40 +0200 From: Emanuel Haupt To: "Philippe Maechler" Cc: Subject: Re: net-mgmt/docsis Update from 0.9.6 to 0.9.8 Message-Id: <20180815151740.93ee04fa42a5d0849fb33a98@FreeBSD.org> In-Reply-To: <000001d433c8$ff540840$fdfc18c0$@glattnet.ch> References: <000001d433c8$ff540840$fdfc18c0$@glattnet.ch> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 13:17:44 -0000 "Philippe Maechler" wrote: > > Hello FreeBSD Port Team > > > The docsis Port moved from sf.net to github. > > Meanwhile they released the version 0.9.8 in october 2015 > > > > Can someone from the port-team update this port to reflect the > changes? I've updated the port. > > > > The current version of the port 0.9.6 is marked as IGNORE. I'm not > sure if this is still correct. I installed the port on an AMD64 > machine and everything works fine so far. The cablemodems and the > emta part are quit happy with the config file generated Noted. Thanks for reporting. The port is currently without a maintainer. Would you be interested in becoming a maintainer for this port? Emanuel From owner-freebsd-ports@freebsd.org Wed Aug 15 13:17:55 2018 Return-Path: Delivered-To: freebsd-ports@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 593301084445 for ; Wed, 15 Aug 2018 13:17:55 +0000 (UTC) (envelope-from ros@bebik.net) Received: from smtp.osorio.me (smtp.osorio.me [5.196.94.126]) by mx1.freebsd.org (Postfix) with ESMTP id F36608C2A3 for ; Wed, 15 Aug 2018 13:17:54 +0000 (UTC) (envelope-from ros@bebik.net) Received: from [192.168.1.117] (unknown [78.194.61.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id E9A8F4E2DD for ; Wed, 15 Aug 2018 13:17:53 +0000 (UTC) From: Rodrigo Osorio Subject: Re: getting PKGNAME from CONFLICTS To: freebsd-ports@freebsd.org References: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> Message-ID: <106c6045-c2b3-7da6-5ceb-daa778e52286@bebik.net> Date: Wed, 15 Aug 2018 15:17:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 13:17:55 -0000 On 08/15/18 14:46, Matthew Seaman wrote: > On 15/08/2018 00:35, Dan Langille wrote: >>> On Aug 14, 2018, at 2:55 PM, Mark Millard via freebsd-ports wrote: >>> >>> >>> Dan Langille dan at langille.org wrote on >>> Tue Aug 14 17:54:01 UTC 2018 : >>> >>>> . . . >>>> At https://dev.freshports.org/www/p5-CGI/ you can see: >>>> >>>> CONFLICTS: p5-CGI.pm-[1-3]* >>>> . . . >>>> To extract the PKGNAME values from the CONFLICTS I will need to remove everything after the trailing dash. >>>> . . . >>> p5- >>> vs. >>> p5-CGI.pm- >>> vs. >>> p5-CGI.pm-[1- >>> >>> It looks to me like "trailing dash" probably has a >>> complicated definition where some "-"(s) may exist >>> that are to be ignored after the one of interest. >>> In the example I'm guessing that the middle >>> "-" is intended (so "p5-CGI.pm-"). >> Agreed. The hard part is identifying the regex and deleting it from consideration. >> > If you don't mind spawning a new process, you can just do: > > % pkg search -qg 'p5-CGI.pm-[1-3]*' > p5-CGI.pm-3.63_1,1 > > This does assume your pkg(8) is configured to use a repository with all > possible packages available. The default FreeBSD repositories are a > good choice in that regard. > > Or if you already have a database table with all of the package names > and versions, then you'll presumably want to change the glob expression > into a regex match (in this case something like '^p5-CGI\.pm-[1-3].*') > Unless there's a PG extension that allows using glob(3) to match > strings? I can't see one after a pretty cursory search. (sqlite has > glob(3) support, which is what the pkg(8) command above is using under > the hood.) > > Cheers, > > Matthew > Hi, Why do you uses regexp instead of evaluating them with fnmatch ? The function is available (at least) in php, python and ruby. Cheers, - rodrigo From owner-freebsd-ports@freebsd.org Wed Aug 15 15:56:35 2018 Return-Path: Delivered-To: freebsd-ports@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 28DDD1065CE2 for ; Wed, 15 Aug 2018 15:56:35 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF7E19390B for ; Wed, 15 Aug 2018 15:56:34 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin2.int.langille.org (clavin2.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 9CCDC1859 ; Wed, 15 Aug 2018 15:56:33 +0000 (UTC) From: Dan Langille Message-Id: <45804981-C102-4DC5-B35F-1DFA45215964@langille.org> Content-Type: multipart/signed; boundary="Apple-Mail=_36DF765A-226F-4648-B215-2F67935E1963"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: getting PKGNAME from CONFLICTS Date: Wed, 15 Aug 2018 11:56:10 -0400 In-Reply-To: <106c6045-c2b3-7da6-5ceb-daa778e52286@bebik.net> Cc: freebsd-ports@freebsd.org To: Rodrigo Osorio References: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> <106c6045-c2b3-7da6-5ceb-daa778e52286@bebik.net> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 15:56:35 -0000 --Apple-Mail=_36DF765A-226F-4648-B215-2F67935E1963 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Aug 15, 2018, at 9:17 AM, Rodrigo Osorio wrote: >=20 > On 08/15/18 14:46, Matthew Seaman wrote: >> On 15/08/2018 00:35, Dan Langille wrote: >>>> On Aug 14, 2018, at 2:55 PM, Mark Millard via freebsd-ports = wrote: >>>>=20 >>>>=20 >>>> Dan Langille dan at langille.org wrote on >>>> Tue Aug 14 17:54:01 UTC 2018 : >>>>=20 >>>>> . . . >>>>> At https://dev.freshports.org/www/p5-CGI/ you can see: >>>>>=20 >>>>> CONFLICTS: p5-CGI.pm-[1-3]* >>>>> . . . >>>>> To extract the PKGNAME values from the CONFLICTS I will need to = remove everything after the trailing dash. >>>>> . . . >>>> p5- >>>> vs. >>>> p5-CGI.pm- >>>> vs. >>>> p5-CGI.pm-[1- >>>>=20 >>>> It looks to me like "trailing dash" probably has a >>>> complicated definition where some "-"(s) may exist >>>> that are to be ignored after the one of interest. >>>> In the example I'm guessing that the middle >>>> "-" is intended (so "p5-CGI.pm-"). >>> Agreed. The hard part is identifying the regex and deleting it from = consideration. >>>=20 >> If you don't mind spawning a new process, you can just do: >>=20 >> % pkg search -qg 'p5-CGI.pm-[1-3]*' >> p5-CGI.pm-3.63_1,1 >>=20 >> This does assume your pkg(8) is configured to use a repository with = all >> possible packages available. The default FreeBSD repositories are a >> good choice in that regard. >>=20 >> Or if you already have a database table with all of the package names >> and versions, then you'll presumably want to change the glob = expression >> into a regex match (in this case something like = '^p5-CGI\.pm-[1-3].*') >> Unless there's a PG extension that allows using glob(3) to match >> strings? I can't see one after a pretty cursory search. (sqlite has >> glob(3) support, which is what the pkg(8) command above is using = under >> the hood.) >>=20 >> Cheers, >>=20 >> Matthew >>=20 > Hi, >=20 > Why do you uses regexp instead of evaluating them with fnmatch ? > The function is available (at least) in php, python and ruby. I want to extract PKGNAME from CONFLICTS. I was not trying to match anything with the raw CONFLICTS field. With PKGNAME, the application can then search the database. -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_36DF765A-226F-4648-B215-2F67935E1963 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQGTBAEBCgB9FiEEzqcJ4oeyf8sgTIEBIU09XU2nXtMFAlt0TRpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldENF QTcwOUUyODdCMjdGQ0IyMDRDODEwMTIxNEQzRDVENERBNzVFRDMACgkQIU09XU2n XtMpiAf/RhViFeivNIK/LaXGDWEjnJYqpTCnL/WbndzOC1zekOK0Hw4ANkPQfxAc 37GlVVgR5EI3Fhk/avlRIJEVscA50iV6InRYYax8iu6Y7znnlAbydXWsOvYK0/UR JC5/wFSIXtm/nrDy8wfJ7TvX50zPvjUsYZAVtrVhqVjc8ad4Su8yDlECcz/dtM/Y Cen1QBwAaFnL+8hkm2NNEYKPmA/zDG1ay6S2kWhBjDOsuMxe2TaZJ+13fkLbpEhG FbsDTZQcaQ7aoSSCxrlRRVq2L0teKEmTnlUbSBhHonkVVDdvzTB1D7Vc132df2o9 Jl3ANTZzVe9EVE7kMY3vUONZvwgFAw== =5pmD -----END PGP SIGNATURE----- --Apple-Mail=_36DF765A-226F-4648-B215-2F67935E1963-- From owner-freebsd-ports@freebsd.org Wed Aug 15 16:35:11 2018 Return-Path: Delivered-To: freebsd-ports@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 6A5801066D01 for ; Wed, 15 Aug 2018 16:35:11 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C1E495622; Wed, 15 Aug 2018 16:35:11 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin2.int.langille.org (clavin2.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 48ABF19CC ; Wed, 15 Aug 2018 16:35:10 +0000 (UTC) From: Dan Langille Message-Id: <6365BBAB-4A4B-4553-827B-BC8A4BBE88F2@langille.org> Content-Type: multipart/signed; boundary="Apple-Mail=_49273CE5-6CE6-4C4D-962D-075F2A125682"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: getting PKGNAME from CONFLICTS Date: Wed, 15 Aug 2018 12:35:01 -0400 In-Reply-To: <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> Cc: freebsd-ports@freebsd.org To: Matthew Seaman References: <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com> <9823D065-3FCC-4D69-9EB4-9C4CD01C7778@langille.org> <16f81513-5324-001f-d1c7-45536835ef15@FreeBSD.org> X-Mailer: Apple Mail (2.3445.9.1) X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 16:35:11 -0000 --Apple-Mail=_49273CE5-6CE6-4C4D-962D-075F2A125682 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Aug 15, 2018, at 8:46 AM, Matthew Seaman = wrote: >=20 > On 15/08/2018 00:35, Dan Langille wrote: >>> On Aug 14, 2018, at 2:55 PM, Mark Millard via freebsd-ports = wrote: >>>=20 >>>=20 >>> Dan Langille dan at langille.org wrote on >>> Tue Aug 14 17:54:01 UTC 2018 : >>>=20 >>>> . . . >>>> At https://dev.freshports.org/www/p5-CGI/ you can see: >>>>=20 >>>> CONFLICTS: p5-CGI.pm-[1-3]* >>>> . . . >>>> To extract the PKGNAME values from the CONFLICTS I will need to = remove everything after the trailing dash. >>>> . . . >>>=20 >>> p5- >>> vs. >>> p5-CGI.pm- >>> vs. >>> p5-CGI.pm-[1- >>>=20 >>> It looks to me like "trailing dash" probably has a >>> complicated definition where some "-"(s) may exist >>> that are to be ignored after the one of interest. >>> In the example I'm guessing that the middle >>> "-" is intended (so "p5-CGI.pm-"). >>=20 >> Agreed. The hard part is identifying the regex and deleting it from = consideration. >>=20 >=20 > If you don't mind spawning a new process, you can just do: >=20 > % pkg search -qg 'p5-CGI.pm-[1-3]*' > p5-CGI.pm-3.63_1,1 >=20 > This does assume your pkg(8) is configured to use a repository with = all > possible packages available. The default FreeBSD repositories are a > good choice in that regard. They are good, but the FreshPorts database has a collection of PKGNAME values for every port. I want to query those values. > Or if you already have a database table with all of the package names > and versions, then you'll presumably want to change the glob = expression > into a regex match (in this case something like '^p5-CGI\.pm-[1-3].*') freshports.dev=3D# SELECT categoryport(id) FROM ( SELECT distinct P.id FROM ports P JOIN commit_log_ports CLP on P.id =3D CLP.port_id WHERE P.package_name || '-' || CLP.port_version ~ = 'p5-CGI.pm-[1-3].*') TMP; categoryport --------------- www/p5-CGI.pm This queries all ports, all commits on those ports, and the revisions = for each port from that commit. It takes about 2 seconds. This query takes about 1 second: freshports.dev=3D# SELECT distinct categoryport(id) FROM freshports.dev-# (SELECT P.id, P.package_name || '-' || = CLP.port_version AS release freshports.dev(# FROM ports P JOIN commit_log_ports CLP on P.id =3D = CLP.port_id) TMP freshports.dev-# WHERE TMP.release like 'p5-CGI.pm%'; categoryport --------------- www/p5-CGI.pm (1 row) I think this might be the best solution for searching for a distinct = match. Everyone feel free to correct my thinking here: ### Ideally, the result for this query would be static, never changing. But = it can change as ports are added/removed. Assuming FreshPorts runs the above query while processing a commit to = www/p5-CGI, then the data collected *could* be invalidated during the next commit. But this only affects PKGNAME values. Thus, we only have to requery = after a new port is added or when a change occurs to the PKGNAME for a port. ### We can requery in the background as required. > Unless there's a PG extension that allows using glob(3) to match > strings? I can't see one after a pretty cursory search. (sqlite has > glob(3) support, which is what the pkg(8) command above is using under > the hood.) I found this: = https://www.postgresql.org/docs/10/static/functions-matching.html#FUNCTION= S-POSIX-REGEXP = It seems to be pretty close. Thank you. -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_49273CE5-6CE6-4C4D-962D-075F2A125682 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQGTBAEBCgB9FiEEzqcJ4oeyf8sgTIEBIU09XU2nXtMFAlt0VjVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldENF QTcwOUUyODdCMjdGQ0IyMDRDODEwMTIxNEQzRDVENERBNzVFRDMACgkQIU09XU2n XtNmaQf/Zi6pudAYElDqpqiKvl6IYT0un7IaHjufspGGXhynz6gcXMCUXkEmgCU+ iXogCXNqu3Dcgu3VTVV9xcIWJ+6OvxljhI30ZQeCYEECWfw3OvqwaMdGIHfd/FC6 Th8ZGFurFYA33/MS3+9INuC0Ifa0ytIc3andohYkI4xejDq8F7xfh9ArpTT6nGww N4P8whPj0Ub0mFif1rBHGtd1ms1jDM8wDygYZ6qcthXLfxNrmj/iwQ+d07eUTtcs 190+7rwj+m4gCVlScWqjGrzJaVxqvQC5RmJjRL26uYZLYuhw4Nvq0GaT2oOkIibx xS+6LxJGE4h75yH45UlhWx42yM3xfA== =rTRw -----END PGP SIGNATURE----- --Apple-Mail=_49273CE5-6CE6-4C4D-962D-075F2A125682-- From owner-freebsd-ports@freebsd.org Thu Aug 16 02:37:44 2018 Return-Path: Delivered-To: freebsd-ports@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 4C0421079979 for ; Thu, 16 Aug 2018 02:37:44 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D14E889DD8 for ; Thu, 16 Aug 2018 02:37:43 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 95E9A1079978; Thu, 16 Aug 2018 02:37:43 +0000 (UTC) Delivered-To: ports@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 8474B1079977 for ; Thu, 16 Aug 2018 02:37:43 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: from mail-pl0-x22a.google.com (mail-pl0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id E3F0489DD7 for ; Thu, 16 Aug 2018 02:37:42 +0000 (UTC) (envelope-from samy.mahmoudi@gmail.com) Received: by mail-pl0-x22a.google.com with SMTP id x6-v6so1316141plv.10 for ; Wed, 15 Aug 2018 19:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=B1tCS8o7nrOFMyMoN8jjbzUvk5pNcCiKJKkxKrC96H8=; b=kbqGBuDomIGoZ7g49UmGtC61sgdcZactUpP4+siDCUxsZbQnxv7mHRr8NmYUjqIRJS m1yvSwb0KxInvAgerJAaAOvnhalgTqGocCAVyf0awvyCbEY2qwMju4Yi5eCwGp1g9eJL 89u2SeMBzCUXB5StNTJMXi0p2R3Z0sdrRrP2DtgAjJQRBdS7ZoO9DkzAwB9/3LIxQq2p Sx+56mEjAgMFFTtJb6RvJXeYXw50P8vr0YNKgOQIwzNotMN6yGjgBkAOuPMiFJ3sSkGk pFr98Fmh05pgd18bEFJRpOeEGNowBPs+WYL1dXQ+ZBT7cF1NGvvWGg/2FrYiZynU7qIq Z/dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=B1tCS8o7nrOFMyMoN8jjbzUvk5pNcCiKJKkxKrC96H8=; b=sXJAT+OYSzMKYKkTpLWv+8JG47eQqydZsSdWl8CWjaJWspq99mfIsEA5EfFI9ybEE4 g6YqlfTD86RpOVGNnAu6a/5i+KkvVbEC9towqY4Q4TRBY1ciPV3NH49uqvUXZq8Zk3fV Sfa4P5tWOSxd1qmlGPHg/pMsE6n3IH+CzOI95k0+gmn16dKWpWDtMI8MfRic+AEhIgTZ QZwegCV5pp6tchrcYRt2BVw7WhHu563tNtoRj6H4B3BlVHBCHJ2f7j3OCqKezEcCUJ6R wTBUgzV3t/akCl/xZ2Ih/yWOEKsB2e1K65//8YTfHUwwFfuAI29irY+KDEkMaq6ZGXxZ 8seg== X-Gm-Message-State: AOUpUlEqhrB45vVzovdj3c/mknvyRd0jRcYsKi6aBFE2Gu9qibptp+Kd ERhFX7IDRsbzT4Ztc5rJVBmO5kgwA0Akvg/Z3C+qjto9CIs= X-Google-Smtp-Source: AA+uWPwEAG9T1IOHLYNDEFd6skBmbTuhY7tBas9PW1eD4qMydHtYZfnSqUhAI6U7AgpbJpTDyYSjLCnFRJJUV8KSpD0= X-Received: by 2002:a17:902:2908:: with SMTP id g8-v6mr19092750plb.70.1534387061484; Wed, 15 Aug 2018 19:37:41 -0700 (PDT) MIME-Version: 1.0 From: Samy Mahmoudi Date: Thu, 16 Aug 2018 04:37:29 +0200 Message-ID: Subject: [patch] [maintainer timeout, 17 days] bug 230250 - x11fm/rox-filer requires libinotify To: ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 02:37:44 -0000 Dear committer, Could you please commit the patch provided ? As soon as possible, I will submit another patch on top of that one. Best regards, Samy Mahmoudi From owner-freebsd-ports@freebsd.org Thu Aug 16 08:37:55 2018 Return-Path: Delivered-To: freebsd-ports@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 00B5A10823F7 for ; Thu, 16 Aug 2018 08:37:55 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 970FF74620 for ; Thu, 16 Aug 2018 08:37:54 +0000 (UTC) (envelope-from pi@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5C0CA10823F3; Thu, 16 Aug 2018 08:37:54 +0000 (UTC) Delivered-To: ports@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 4AD3E10823F2 for ; Thu, 16 Aug 2018 08:37:54 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D723D74618 for ; Thu, 16 Aug 2018 08:37:53 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fqDmx-0006su-9g; Thu, 16 Aug 2018 10:37:51 +0200 Date: Thu, 16 Aug 2018 10:37:51 +0200 From: Kurt Jaeger To: Samy Mahmoudi Cc: ports@freebsd.org Subject: Re: [patch] [maintainer timeout, 17 days] bug 230250 - x11fm/rox-filer requires libinotify Message-ID: <20180816083751.GN2118@home.opsec.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 08:37:55 -0000 Hi! > Could you please commit the patch provided ? As soon as possible, I will > submit another patch on top of that one. Done. -- pi@FreeBSD.org +49 171 3101372 2 years to go ! From owner-freebsd-ports@freebsd.org Thu Aug 16 12:01:48 2018 Return-Path: Delivered-To: freebsd-ports@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 509CE1087A25 for ; Thu, 16 Aug 2018 12:01:48 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E35287DF3D for ; Thu, 16 Aug 2018 12:01:47 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9D8341087A1A; Thu, 16 Aug 2018 12:01:47 +0000 (UTC) Delivered-To: ports@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 8C6711087A15 for ; Thu, 16 Aug 2018 12:01:47 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E13867DF28 for ; Thu, 16 Aug 2018 12:01:46 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org (portscout.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9B82C10E4F for ; Thu, 16 Aug 2018 12:01:45 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org ([127.0.1.123]) by portscout.ysv.freebsd.org (8.15.2/8.15.2) with ESMTP id w7GC1jNS095364 for ; Thu, 16 Aug 2018 12:01:45 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id w7GC1jOn095351; Thu, 16 Aug 2018 12:01:45 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201808161201.w7GC1jOn095351@portscout.ysv.freebsd.org> X-Authentication-Warning: portscout.ysv.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Thu, 16 Aug 2018 12:01:45 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 12:01:48 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ graphics/partio | 1.1.0.20150221 | v1.5.5 ------------------------------------------------+-----------------+------------ lang/tcc | 0_9_26 | release_0_9_27 ------------------------------------------------+-----------------+------------ mail/clawsker | 1.1.1 | 1.2.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-ports@freebsd.org Thu Aug 16 17:14:55 2018 Return-Path: Delivered-To: freebsd-ports@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 AB26F106F4F6 for ; Thu, 16 Aug 2018 17:14:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-9.consmr.mail.gq1.yahoo.com (sonic308-9.consmr.mail.gq1.yahoo.com [98.137.68.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.fre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_mJ8ym21EE SLX92GkS3jJH8GcvS1HFeLaaJWmxllkOp7XzXJOL79OFg8H80yk.IqCLvMnBEfeOQwxoK9VSu.68 FwUniRg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Thu, 16 Aug 2018 17:14:46 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID cea5871d9cf05597e6064f9609788204; Thu, 16 Aug 2018 17:04:37 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: I've had a poudriere-devel bulk run on a Pine64+ 2GB get a: "Warning: Failed to acquire update_stats lock" Message-Id: <37754344-7C23-491C-B901-0C48AA8B7F75@yahoo.com> Date: Thu, 16 Aug 2018 10:04:35 -0700 To: Bryan Drewery , freebsd-arm , FreeBSD Ports X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 17:14:56 -0000 I've no clue if this is significant or not, so I figured I'd report it in case it is. I've never seen one of these before. See the "[10:59:31]" line below if you care about the warning. . . . [04:59:38] [01] [00:00:00] Building devel/llvm60 | llvm60-6.0.1_2 load: 4.53 cmd: sh 57158 [nanslp] 19949.18r 28.74u 71.38s 0% 1040k [FBSDcortexA53jail-default] [2018-08-15_17h46m18s] [parallel_build:] = Queued: 117 Built: 67 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 50 = Time: 05:32:29 [01]: devel/llvm60 | llvm60-6.0.1_2 = build (00:23:53 / 00:34:35) [05:34:13] Logs: = /usr/local/poudriere/data/logs/bulk/FBSDcortexA53jail-default/2018-08-15_1= 7h46m18s load: 5.72 cmd: sh 46862 [runnable] 0.07r 0.00u 0.00s 0% 0k [FBSDcortexA53jail-default] [2018-08-15_17h46m18s] [parallel_build:] = Queued: 117 Built: 67 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 50 = Time: 10:57:17 [01]: devel/llvm60 | llvm60-6.0.1_2 = build (05:48:41 / 05:59:23) [10:59:01] Logs: = /usr/local/poudriere/data/logs/bulk/FBSDcortexA53jail-default/2018-08-15_1= 7h46m18s [10:59:31] Warning: Failed to acquire update_stats lock load: 4.06 cmd: sh 65361 [piperd] 56707.61r 0.39u 0.65s 0% 408k [FBSDcortexA53jail-default] [2018-08-15_17h46m18s] [parallel_build:] = Queued: 117 Built: 67 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 50 = Time: 15:48:05 [01]: devel/llvm60 | llvm60-6.0.1_2 = build (10:39:29 / 10:50:11) [15:49:49] Logs: = /usr/local/poudriere/data/logs/bulk/FBSDcortexA53jail-default/2018-08-15_1= 7h46m18s If it is significant, I do not know if it points at a poudriere-devel problem or an aarch64 problem or what. Note: This poudreire-devel bulk run is still running and may well be for, say, another 8 hours or some such if it completes normally. Some context details: # uname -apKU FreeBSD pine64 12.0-CURRENT FreeBSD 12.0-CURRENT r337400M arm64 = aarch64 1200076 1200076 # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 476715 Last Changed Rev: 476715 I did the ports-mgmt/poudriere-devel rebuild and pkg update and upgrade sequence based on -r476715 before again using poudreire-devel for the more general bulk build to update based on -r476715 . So the poudriere-devel is based on -r476715 instead of what I'm updating from. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ports@freebsd.org Thu Aug 16 17:28:17 2018 Return-Path: Delivered-To: freebsd-ports@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 60325106FAB3 for ; Thu, 16 Aug 2018 17:28:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-3.consmr.mail.bf2.yahoo.com (sonic303-3.consmr.mail.bf2.yahoo.com [74.6.131.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEDB98ECCA for ; Thu, 16 Aug 2018 17:28:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: zXXSvUYVM1kWxjmxblAMsFlnK2J_QiWe1vJj4MGQDut4XUCLTrJW5_O9XSQpjqj ZzpTUKgnGkLSDhHiAmKF_T8l8_JRTzmcK9fQkTKqTH3VHuI5TkNDu6edDHA0RvQql5bTSxVMFsDh EVBcPox8BrN5tHNoeNEDS09b66YKprklY30uXNwDzpLEr6qN9VfwuHKrC7q.5y1b778L2RGpT1s. agmF5iH4hSB5PPSfeGN.reZyAJrNP_5jlUTe5LSQ0h..tTZF6mvdS0aPlq0ztHOPxWfNCFRcLh3_ ijOc7eiW8gu_8yZUU1_ai9fhRkcxdXHWxBBPTbu3LYx1Ju3Wz_uCMqVj4JqTxyUOSE5i4lARQTgO 4d6Yr599xqI0QlNIPU8.dAToafPGKD6eqh3l4qyiXgNTkWMBQo_cy.OvodysW6_0rXHaicD29RBA yukmWso0uiCIzD7IdFCqlXaOxAdWi4s_XCHXWYLlKxRH9t65DY3p9C0EvWMlRm51MA8nqRc7trgv 8itBPB.MZRKoSLcS5.VUaDnhwTJI83ePurZJxZXtQFQJ4UWlk_KCGejnV29v_bP5K4ZodRKGzeSB mmNiUWXgBzcf_e71gUbJKYy1tqq7SNgsQLP4ncAZ2DBzLbHrfpwAb9fiovc5z_1j3agGPuySuTjE ighrI2b5vflefp8Ck8uEz5t2cCHH7HDaKEH4o2kMKPgr8cTwn10Fy1qduVrekfkqg86o0aeRi6RZ XD7J8BEwZcQlo1lHd1h1gyvzv61r39My6j6J1RArKvl5Schi4Il1uWDYkqUXZbMkkG1Bm8_Fu.qi GAH6gcW._VsP4pMbaKLZ3.tZDIw7LvpofHIYB1r77C.7W19fiHvKYN8sopaYBS4py.vGOyNbZMI0 le5BROKP.zZPQQm5E8Px9z9vkAb3gr_oDc_mXEoylr3_lq79WUF6R6uQKEWJjU0XhChD0ZRbkI_2 amSg_jPZYu7Hsnsml9KAMWw_ZwpaWikv0gLxykwxy0L3p281KVq6TFhRmD2fhNLFhWoHajrFLRta .BWS2wDM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Thu, 16 Aug 2018 17:28:15 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp403.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 079330711ca97b1840e5928973996ab4; Thu, 16 Aug 2018 17:28:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: I've had a poudriere-devel bulk run on a Pine64+ 2GB get a: "Warning: Failed to acquire update_stats lock" Date: Thu, 16 Aug 2018 10:28:08 -0700 References: <37754344-7C23-491C-B901-0C48AA8B7F75@yahoo.com> To: Bryan Drewery , freebsd-arm , FreeBSD Ports In-Reply-To: <37754344-7C23-491C-B901-0C48AA8B7F75@yahoo.com> Message-Id: <257A646B-8CDA-4E82-AA2E-12380D55E34E@yahoo.com> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 17:28:17 -0000 [Some more notes after looking around.] On 2018-Aug-16, at 10:04 AM, Mark Millard wrote: > I've no clue if this is significant or not, so I figured I'd > report it in case it is. I've never seen one of these before. > See the "[10:59:31]" line below if you care about the warning. >=20 > . . . > [04:59:38] [01] [00:00:00] Building devel/llvm60 | llvm60-6.0.1_2 > load: 4.53 cmd: sh 57158 [nanslp] 19949.18r 28.74u 71.38s 0% 1040k > [FBSDcortexA53jail-default] [2018-08-15_17h46m18s] [parallel_build:] = Queued: 117 Built: 67 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 50 = Time: 05:32:29 > [01]: devel/llvm60 | llvm60-6.0.1_2 = build (00:23:53 / 00:34:35) > [05:34:13] Logs: = /usr/local/poudriere/data/logs/bulk/FBSDcortexA53jail-default/2018-08-15_1= 7h46m18s > load: 5.72 cmd: sh 46862 [runnable] 0.07r 0.00u 0.00s 0% 0k > [FBSDcortexA53jail-default] [2018-08-15_17h46m18s] [parallel_build:] = Queued: 117 Built: 67 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 50 = Time: 10:57:17 > [01]: devel/llvm60 | llvm60-6.0.1_2 = build (05:48:41 / 05:59:23) > [10:59:01] Logs: = /usr/local/poudriere/data/logs/bulk/FBSDcortexA53jail-default/2018-08-15_1= 7h46m18s > [10:59:31] Warning: Failed to acquire update_stats lock > load: 4.06 cmd: sh 65361 [piperd] 56707.61r 0.39u 0.65s 0% 408k > [FBSDcortexA53jail-default] [2018-08-15_17h46m18s] [parallel_build:] = Queued: 117 Built: 67 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 50 = Time: 15:48:05 > [01]: devel/llvm60 | llvm60-6.0.1_2 = build (10:39:29 / 10:50:11) > [15:49:49] Logs: = /usr/local/poudriere/data/logs/bulk/FBSDcortexA53jail-default/2018-08-15_1= 7h46m18s >=20 > If it is significant, I do not know if it points at a > poudriere-devel problem or an aarch64 problem or what. >=20 > Note: This poudreire-devel bulk run is still running > and may well be for, say, another 8 hours or some such > if it completes normally. >=20 > Some context details: >=20 > # uname -apKU > FreeBSD pine64 12.0-CURRENT FreeBSD 12.0-CURRENT r337400M arm64 = aarch64 1200076 1200076 >=20 > # svnlite info /usr/ports/ | grep "Re[plv]" > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 476715 > Last Changed Rev: 476715 >=20 > I did the ports-mgmt/poudriere-devel rebuild and > pkg update and upgrade sequence based on -r476715 > before again using poudreire-devel for the more > general bulk build to update based on -r476715 . > So the poudriere-devel is based on -r476715 instead > of what I'm updating from. Some 2016-April material around indicated that csh vfork SAVESIGVEC code was leaking signal masks after spawn. FYI: my root account is set up with a default of /bin/sh . I do not normally use csh or tcsh: # more /etc/master.passwd | grep root root:. . .:/root:/bin/sh (some material replaced with ". . ."). There are poudriere-devel related reports from back then, such as: https://lists.freebsd.org/pipermail/freebsd-pkg/2016-April/001575.html and its continuation at: https://lists.freebsd.org/pipermail/freebsd-pkg/2016-April/001578.html which, in turn, points to the bugzilla report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208132 with the csh detail. Note: The bugzilla was started from other evidence of a problem in 2016-March for a context not involving poudreire-devel. As stands, I've no other evidence of problems. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ports@freebsd.org Fri Aug 17 10:24:57 2018 Return-Path: Delivered-To: freebsd-ports@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 555CE10556D7 for ; Fri, 17 Aug 2018 10:24:57 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA0F176531 for ; Fri, 17 Aug 2018 10:24:56 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w7HAOrsl029468 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 17 Aug 2018 10:24:53 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w7HAOruA029467 for freebsd-ports@freebsd.org; Fri, 17 Aug 2018 10:24:53 GMT (envelope-from as) Date: Fri, 17 Aug 2018 10:24:53 +0000 From: Anton Shterenlikht To: freebsd-ports@freebsd.org Subject: DEFAULT_VERSIONS=gcc=8 results in gfortran7 Message-ID: <20180817102453.GA28396@jail0199.vps.exonetric.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 10:24:57 -0000 I got no replies from fortran@, reposting here. I'm building with synth. jrmarino says this should work, i.e. the problem is not in synth. I have DEFAULT_VERSIONS=gcc=8 in synth make.conf: # cat /usr/local/etc/synth/LiveSystem-make.conf DEVELOPER=yes FFLAGS+= -O2 -pipe -march=bdver2 -mtune=bdver2 FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize FFLAGS+= -g DEFAULT_VERSIONS=gcc=8 However, when building net/mpich, gfortran7 is used: -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PKG_CONFIG=pkgconf F77="gfortran7" FC="gfortran7" Here's the full log: http://cmplx.uk/net___mpich.log Should setting DEFAULT_VERSIONS=gcc=8 in make.conf be sufficient to force the use of gfortran8? Looking at /usr/ports/Mk/Uses/fortran.mk, my answer is yes. Please help Anton From owner-freebsd-ports@freebsd.org Fri Aug 17 10:56:30 2018 Return-Path: Delivered-To: freebsd-ports@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 ADD1A1066405 for ; Fri, 17 Aug 2018 10:56:30 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay107.isp.belgacom.be (mailrelay107.isp.belgacom.be [195.238.20.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EC7477455 for ; Fri, 17 Aug 2018 10:56:29 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3A3PQ67RDUq6dz8hOolPGRUyQJP3N1i/DPJgcQr6?= =?us-ascii?q?AfoPdwSPT7ocbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBV?= =?us-ascii?q?cuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx?= =?us-ascii?q?7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswR?= =?us-ascii?q?XTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3?= =?us-ascii?q?sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qi?= =?us-ascii?q?qp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2?= =?us-ascii?q?pMRshfWSxfDI2hbIUADeQBMulEoIfyvFYOsRmzCRWwCO/z1jNEmHn71rA63e?= =?us-ascii?q?Q7FgHG2RQtEcwLsnTQsd74KqASUeeuzKbWyDXMdfVW2Szg44XPbhAhoPOMXb?= =?us-ascii?q?ZrfMTR00kgCR3Kg0iNp4LrJT+V0f4Ns2eC4udmSOmhhWknqwRrrTiuwMchkp?= =?us-ascii?q?XGhocNylDA+iR12ps1Jd6+RUVmYtCkCINduiKYOodsQ84vQntktDs5x7Ebo5?= =?us-ascii?q?K3YSkHxZchyhXCcfKIaZKI7QjmVOuJJDd4g29qd6ynihap9Eig1vX8Vs6p0F?= =?us-ascii?q?ZWtiZFksfDtnQK1xHL6ciIUP99/kak2TmRzQDT7ftIIVw1larZL54t2KI/lp?= =?us-ascii?q?0UsUTYACD2nV/5jKmNdkk+/eio8evnbq3npp+aKYB0lhnzP6csl8ClAOk1Mx?= =?us-ascii?q?ICU3WY9OihzrHv4Ez0TbZSgv0ziKbZsZTaJcoBpq6+Bg9Yypoj6xe9Dzeiy9?= =?us-ascii?q?kYk2MHI0xbdx2clIjmJkvCIPfiDfewm1isiitkx+jaPr39BZXANnbDkK3/cr?= =?us-ascii?q?lj8EFc0xc8wclH55JTELEBPOnzV1T/tNzCEBA2LRe7w/36B9ln0YMeQ22PUe?= =?us-ascii?q?elN/b7t0OP4KoUI/WBfoITvDf+K+Rts/f1pXQ8gVsNO7Sqi8g5cne9S8iBJw?= =?us-ascii?q?2yZn33j9IIF3xC6hY/TujCpkePXBRoSzC1Ra1qtWJzM56vEYqWHtPlu7eGxi?= =?us-ascii?q?ruW8QOPm0=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BlBwBFqHZb/6i1QldcHAEBAQQBAQo?= =?us-ascii?q?BAYNPY38ojFiLPgEBggwzAYkMhBGDdoZKKoRNAoNFIjcVAQIBAQIBAQIBbBw?= =?us-ascii?q?MQg4BgWQkAYJeAQU6HCMQCw4KCSUPKh4GE4MjggWqNYg7gimJL4IAhCSKVgK?= =?us-ascii?q?ICYU9jTQJhimJLCCCBowyK4pggUmIKiKBUk0wCIMkCY1yglo9MIN3iX4BAQ?= X-IPAS-Result: =?us-ascii?q?A2BlBwBFqHZb/6i1QldcHAEBAQQBAQoBAYNPY38ojFiLP?= =?us-ascii?q?gEBggwzAYkMhBGDdoZKKoRNAoNFIjcVAQIBAQIBAQIBbBwMQg4BgWQkAYJeA?= =?us-ascii?q?QU6HCMQCw4KCSUPKh4GE4MjggWqNYg7gimJL4IAhCSKVgKICYU9jTQJhimJL?= =?us-ascii?q?CCCBowyK4pggUmIKiKBUk0wCIMkCY1yglo9MIN3iX4BAQ?= Received: from 168.181-66-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.66.181.168]) by relay.skynet.be with ESMTP; 17 Aug 2018 12:55:20 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id w7HAtJgd077352; Fri, 17 Aug 2018 12:55:19 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Fri, 17 Aug 2018 12:55:18 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Anton Shterenlikht Cc: freebsd-ports@freebsd.org Subject: Re: DEFAULT_VERSIONS=gcc=8 results in gfortran7 Message-ID: <20180817125518.6059ecba@kalimero.tijl.coosemans.org> In-Reply-To: <20180817102453.GA28396@jail0199.vps.exonetric.net> References: <20180817102453.GA28396@jail0199.vps.exonetric.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 10:56:30 -0000 On Fri, 17 Aug 2018 10:24:53 +0000 Anton Shterenlikht wrote: > I got no replies from fortran@, reposting here. > > I'm building with synth. > jrmarino says this should work, > i.e. the problem is not in synth. > > I have DEFAULT_VERSIONS=gcc=8 in synth make.conf: > > # cat /usr/local/etc/synth/LiveSystem-make.conf > DEVELOPER=yes > FFLAGS+= -O2 -pipe -march=bdver2 -mtune=bdver2 > FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize > FFLAGS+= -g > DEFAULT_VERSIONS=gcc=8 > > However, when building net/mpich, gfortran7 is used: > > -------------------------------------------------- > -- CONFIGURE_ENV > -------------------------------------------------- > PKG_CONFIG=pkgconf > F77="gfortran7" > FC="gfortran7" > > Here's the full log: > > http://cmplx.uk/net___mpich.log > > Should setting DEFAULT_VERSIONS=gcc=8 in make.conf > be sufficient to force the use of gfortran8? > > Looking at /usr/ports/Mk/Uses/fortran.mk, my answer is yes. "make DEFAULT_VERSIONS=gcc=8 -V FC" prints gfortran8 here so it should work. Make sure you don't set DEFAULT_VERSIONS elsewhere and that the make.conf is actually used (insert a .error directive or something and check that it fails). From owner-freebsd-ports@freebsd.org Fri Aug 17 12:12:35 2018 Return-Path: Delivered-To: freebsd-ports@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 F165B106BA68 for ; Fri, 17 Aug 2018 12:12:34 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 852D579B3C; Fri, 17 Aug 2018 12:12:34 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w7HCCXLF038699 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 17 Aug 2018 12:12:33 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w7HCCXRW038698; Fri, 17 Aug 2018 12:12:33 GMT (envelope-from as) Date: Fri, 17 Aug 2018 12:12:33 +0000 From: Anton Shterenlikht To: =?utf-8?Q?T=C4=B3l?= Coosemans Cc: Anton Shterenlikht , freebsd-ports@freebsd.org Subject: Re: DEFAULT_VERSIONS=gcc=8 results in gfortran7 Message-ID: <20180817121233.GA38448@jail0199.vps.exonetric.net> References: <20180817102453.GA28396@jail0199.vps.exonetric.net> <20180817125518.6059ecba@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180817125518.6059ecba@kalimero.tijl.coosemans.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 12:12:35 -0000 On Fri, Aug 17, 2018 at 12:55:18PM +0200, Tijl Coosemans wrote: > > Make sure you don't set DEFAULT_VERSIONS elsewhere Yes, I'm an idiot. I had net/mpich/Makefile.local with DEFAULT_VERSIONS. I checked the ports tree with svn diff, but forgot to check with svn status. All is fine now. Thanks for the hint. Anton From owner-freebsd-ports@freebsd.org Fri Aug 17 12:28:45 2018 Return-Path: Delivered-To: freebsd-ports@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 2751C106C08E for ; Fri, 17 Aug 2018 12:28:45 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BD6917A2AA for ; Fri, 17 Aug 2018 12:28:44 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8232A106C088; Fri, 17 Aug 2018 12:28:44 +0000 (UTC) Delivered-To: ports@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 71032106C084 for ; Fri, 17 Aug 2018 12:28:44 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1181F7A29D for ; Fri, 17 Aug 2018 12:28:44 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org (portscout.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 373331DA84 for ; Fri, 17 Aug 2018 12:28:43 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.ysv.freebsd.org ([127.0.1.123]) by portscout.ysv.freebsd.org (8.15.2/8.15.2) with ESMTP id w7HCShZt058390 for ; Fri, 17 Aug 2018 12:28:43 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id w7HCShKF058389; Fri, 17 Aug 2018 12:28:43 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201808171228.w7HCShKF058389@portscout.ysv.freebsd.org> X-Authentication-Warning: portscout.ysv.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Fri, 17 Aug 2018 12:28:43 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 12:28:45 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/aifad | 2.0.8 | 2.2.1 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-ports@freebsd.org Fri Aug 17 12:29:26 2018 Return-Path: Delivered-To: freebsd-ports@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 379BE106C129 for ; Fri, 17 Aug 2018 12:29:26 +0000 (UTC) (envelope-from brnrd@freebsd.org) Received: from smtp02.qsp.nl (smtp02.qsp.nl [193.254.214.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9BF27A31B for ; Fri, 17 Aug 2018 12:29:25 +0000 (UTC) (envelope-from brnrd@freebsd.org) Received: from smtp02.qsp.nl (localhost [127.0.0.1]) by smtp02.qsp.nl (Postfix) with ESMTP id D887D5C29 for ; Fri, 17 Aug 2018 14:29:16 +0200 (CEST) Received: from mail.brnrd.eu (unknown [193.164.217.85]) by smtp02.qsp.nl (Postfix) with ESMTPSA for ; Fri, 17 Aug 2018 14:29:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=brnrd.eu; h=date:from:to:subject:message-id; s=default; bh=Q/dCYzqYiqd/+LtpJFECU1QeN01fz84Fgg5qavq9VEg=; b=mlZ4LWWjQL1ViutLwP8EyBL/eEP4hwWYX1QrxmiIkuVCFBuxXmgyAejmSmK8lLYRS5j/iBvM8JVjn+dV8AW33All11NrZFq7FQpRLfFXdR+pIKxfhMr/i1/z3c34G9wc/eg7Sh1gTx9nQcTWzh9C4zyxSps3CeTIR3L/qGvs1wyabGce2D/E6Y9jHAH0LSiuTACc5eXAj0R7XymSv9JICCXvpfc8q1dHnEJcgWCn70/q325DTa+8na+4Zm1I8QIMAPyoxKQUxNeMI648nUqwpYxcEeYAlywV0oe6nSTColLZz4z/nCv9pUl1HaWPoxS9C/+lUHwqMq/8TnFWWvi8fg== Received: by brnrd.eu (OpenSMTPD) with ESMTPSA id c986e7f6 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Fri, 17 Aug 2018 14:29:14 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Aug 2018 14:29:14 +0200 From: Bernard Spil To: freebsd-ports@freebsd.org Subject: Moving / renaming OpenSSL ports Message-ID: X-Sender: brnrd@freebsd.org User-Agent: Roundcube Webmail/1.3.7 X-SMTP-Virus-Scanned: clamav at smtp01 X-Spam-Status: No, score=0.6 required=5.0 tests=HK_RANDOM_ENVFROM, UNPARSEABLE_RELAY autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on svfilter01.qsp.nl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 12:29:26 -0000 Hi All, I've received a request to update the security/openssl-devel port to 1.1.1 (see https://bugs.freebsd.org/230679). When 1.1.0 was added to the tree, I recall that I've had discussions about the name of the port (openssl11, openssl-devel). Can't find the thread, but we ended up with security/openssl-devel. This decision is now getting in our way. 1. OpenSSL 1.1.0 is NOT -devel, it is a release that some people actually use 2. There IS a development version 1.1.1 (currently pre8 / beta 6) which people like to use [1] 3. Hopefully we'll update the regular security/openssl port to 1.1.1 soon but what for ports that can't work with OpenSSL 1.1? [2] My current feeling is that we should rename security/openssl-devel to security/openssl110, add the security/openssl111 port and leave the option open to have a security/openssl10 port for those so inclined once security/openssl is updated to 1.1.x branch. Would like to receive more input and views on the matter. Cheers, Bernard. [1]: I maintain a security/openssl-master port for OpenSSL 1.1.1 on https://github.com/Sp1l/openssl-master [2]: I document fall-out, patches and PRs on https://wiki.FreeBSD.org/OpenSSL PS: There's also a security/openssl-unsafe ports for use with ports like sslscan, testssl.sh (category debatable) From owner-freebsd-ports@freebsd.org Sat Aug 18 07:08:51 2018 Return-Path: Delivered-To: freebsd-ports@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 A18281087D5F for ; Sat, 18 Aug 2018 07:08:51 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C22E8546A for ; Sat, 18 Aug 2018 07:08:49 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id w7I78Wkl073174 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 18 Aug 2018 09:08:39 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: net-mgmt/ocsinventory-ng To: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Cc: kurt.buff@gmail.com, FreeBSD Mailing List References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> From: Andrea Venturoli Message-ID: <0c72aa4f-8635-8f8a-8c56-2c621c3ec80d@netfence.it> Date: Sat, 18 Aug 2018 09:08:31 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2018 07:08:51 -0000 On 8/13/18 5:52 PM, Fernando Apesteguía wrote: > Would you give this one a try? > > https://people.freebsd.org/~fernape/patches/ocsinventory.svndiff > > It builds on {10.4,11.1}{amd64,i386} and 12i386. Didn't test in other > combinations. > > It's a bit difficult for me to test it at the moment. Thank you very much. It compiled fine in Poudriere and now I'm trying to install it in a jail on a 11.2/amd64 system. It's missing dependency on p5-Archive-Zip, but I installed this manually. It's also missing p5-Apache2-SOAP and p5-Mojolicious, but these seems to be optional. Also, I think a "good" port should not clobber anything outside ${PREFIX}, but when you run setup.sh it will offer to install several files outside of it. You can of course override this, but I the defaults should be adjusted. Finally the setup.sh script fails with "cp: ocsreports/*: No such file or directory". You mentioned ocsreports is not included? Could you please explain this? Do you mean the port should download a second archive? Do you think a complementary port should exist? bye & Thanks again av. From owner-freebsd-ports@freebsd.org Sat Aug 18 07:58:01 2018 Return-Path: Delivered-To: freebsd-ports@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 C742B1088A18 for ; Sat, 18 Aug 2018 07:58:01 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 504D68689E for ; Sat, 18 Aug 2018 07:58:01 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fqw7H-000Gvr-IS; Sat, 18 Aug 2018 09:57:47 +0200 Date: Sat, 18 Aug 2018 09:57:47 +0200 From: Kurt Jaeger To: Andrea Venturoli Cc: Fernando =?iso-8859-1?Q?Apestegu=EDa?= , kurt.buff@gmail.com, FreeBSD Mailing List Subject: Re: net-mgmt/ocsinventory-ng Message-ID: <20180818075747.GP2118@home.opsec.eu> References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> <0c72aa4f-8635-8f8a-8c56-2c621c3ec80d@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c72aa4f-8635-8f8a-8c56-2c621c3ec80d@netfence.it> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2018 07:58:01 -0000 Hi! > Finally the setup.sh script fails with "cp: ocsreports/*: No such file > or directory". You mentioned ocsreports is not included? Could you > please explain this? Attached to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227550 is the diff for the new port net-mgmt/ocsinventory-ocsreports as https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192559 This is probably a dependency. -- pi@FreeBSD.org +49 171 3101372 2 years to go ! From owner-freebsd-ports@freebsd.org Sat Aug 18 13:26:06 2018 Return-Path: Delivered-To: freebsd-ports@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 C3D7B106D0EE; Sat, 18 Aug 2018 13:26:05 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 53E7491EAA; Sat, 18 Aug 2018 13:26:05 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id s7-v6so14985238itb.4; Sat, 18 Aug 2018 06:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/TadZbk+C82NXSbF2uIJldlDDf7OredmFiuLczT6UNA=; b=WpzTDtFpWdKeZ6w+/iSBsNpMkaDATG1/7k/uHGfXo3eqgVlYEps/zzZri0+Swk9VeF pRQc0if7g9ga6TAXf/dvnj7ZiLjBKsg1Et7ENciCDQ1UHyEH20kMjrJK7ZDBdQQ50Emq Iqc3B4dHGnLvRNeHSSTjvB40kprjYlzvoAMAttQ2Fe4vSs/Np4UHWCCBoRdioUuroRjL yiXRXN4i7fbA+/57FrKorJ7psUoceYThq8Td6JwyVPaYn853+F3W37qDRU4GtXWoiCca QHSJW5YzZquH22r8ZNIf6vFN/5tDBsIS7CG2apgqHczCfMHcHso85rf6HxFN1vi6Qxt8 OGcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/TadZbk+C82NXSbF2uIJldlDDf7OredmFiuLczT6UNA=; b=Y8fkQvwQYXVYEtHX4rw9QlljD7kSOF5BO6Xkf7SLmCpnGaI/lVcbbCw/qThHmMkM2x WTkuak0JYb4ZW6q8FRSFhQPFy8vcZj0LhsXdPVYMKYXMrVhgoUcOrSCPbJXVr3xalIut uiSguydVSdGgH2yuGDshXtywsQIkkX/e9RGAQN8XXTDGOaD5ozMt4uO8o9a1UvsM2CSF vLbxrqrE9BQM1Iw4AGNOHgjGcvR4EL6W8Cauet3XRHoWhCYdVK+9VtMyQ6DavhdC1EOP cktebHTaDj284KC99wWK0hV1t8suubqRxGHxm9+eddoCpW/CMyN1CWDENRQDbzMCmQqm ct1w== X-Gm-Message-State: AOUpUlGZXL0VpzCSW7bEKyCUkBCUyqb+JT+zVxT1IoyaQfW8TwEaJQlY /Uq7Vcp0Xf6nVL4Ng4odROCHk1LQxwp7lxogu/YloQJN X-Google-Smtp-Source: AA+uWPxVUKw5i+09nm+XeY1EEObmn6nM5qxDncHYTDEy+cXjEvd3dsJhFLlmd6pNEvUqtZ07PxLBAweHZ1k6oTqs9CM= X-Received: by 2002:a24:7c4a:: with SMTP id a71-v6mr21105375itd.69.1534598764492; Sat, 18 Aug 2018 06:26:04 -0700 (PDT) MIME-Version: 1.0 From: blubee blubeeme Date: Sat, 18 Aug 2018 21:25:53 +0800 Message-ID: Subject: Executables with [ -def __linux__ ] To: FreeBSD current , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2018 13:26:06 -0000 This is going out to both current and ports in hopes someone can offer some guidance on this issue. I'm porting some code that seems to want to have -def __linux__ when I run the executable with verbose output, take a look below -------------------------------------------------------------- -opt 0 -terse 1 -inform warn -nohpf -nostatic -inform warn -x 19 0x400000 -quad -x 68 0x1 -x 59 4 -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -tp px -x 57 0xfb0000 -x 58 0x78031040 -x 47 0x08 -x 48 4608 -x 49 0x100 -def unix -def __unix -def __unix__ -def linux -def __linux -def __linux__ -def __NO_MATH_INLINES -def __LP64__ -def __x86_64 -def __x86_64__ -def __LONG_MAX__=9223372036854775807L -def __SIZE_TYPE__=unsigned long int -def __PTRDIFF_TYPE__=long int -def __THROW= -def __extension__= -def __amd_64__amd64__ -def __k8 -def __k8__ -def __PGLLVM__ -freeform -vect 48 -y 54 1 -x 70 0x40000000 -y 163 0xc0000000 -x 189 0x10 -stbfile test-276576.stb -modexport test-276576.cmod -modindex test-276576.cmdx -output test-276576.ilm ---------------------------------------------------------------- As you can see from above there's some -def linux, def __linux, etc.. FreeBSD isn't Linux and I'd like to better understand where these things are being set, it's a cmake project and I've grepped through a lot of the sources and can't really find where these flags are coming from. Any tips on finding where they are coming from and fixing them to reflect the correct platform information? Best, Owen