From owner-freebsd-ports@freebsd.org Sun Jun 24 10:29: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 060D61022EB4 for ; Sun, 24 Jun 2018 10:29:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 A179B83474 for ; Sun, 24 Jun 2018 10:29:40 +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 03CFC20F48 for ; Sun, 24 Jun 2018 06:29:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 24 Jun 2018 06:29:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=/pi8VFtIQM8EtHVXvBAI0A0us/Ich XyntIOXVifS7RQ=; b=Ejlqy8ak+/iWyEP6lotST+SHaYcWdMTz8r4RYLvuk4tF8 akceZ3i9uoxXcxQwvSoS7+ByGWXQopHm7Re7cg3rf1vd4rjvo8Mw090UQxda6CYs tBJq8g9oXn8o/npRb85IRZ/FYUUkTUUN/6wh0xFDMFl8tLi/LZamJICo9UTbKVAj mA+yqmAHpkjVL5FCPpKMBWcfaVi99eYIPGU9VgG89UPiEW9c5WLW3lV6o0cokqj8 KWZmO9o9CYaAexj/331SQNpJ5rEKXXjMuhhggD04Jzsol3G9+bQXeOvU9PVcvORB rcPW2SweNHq3bcH5HDQ0Pg08h6OKHUTWL9GT/jaMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=/pi8VF tIQM8EtHVXvBAI0A0us/IchXyntIOXVifS7RQ=; b=dxGuiJmNVY//xaPBCjSK+U QxNM7rBCD8LwTTjXxlgevJlkPB6C+m59pgZB8PWRF45JXCZC6qGyc2fVokiLgAzv bQZvzULGiEgeaCe53Sm6QIOVt95HPgO7nOYVvwS7/fKww/e6kxL1wHdq+1kZ4KHJ 9hhH30ErlXPtDcIV5LLhFvhGWeW960rI92dL6wc+eAzVBx2gziyoZCXz6tpsqkDs +oVmyhAsKslSqz/xCdeH33dAqHC4D8267+Y+9asXs/2skvwE5sbQMgOxf5cUSkxj RDgq0RLk+oTvAbgApGLyC1rM6s6VRyGErYaQq3olquTUfAkZvJZ/McIBJW3CVLMQ == 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 7A1F910255 for ; Sun, 24 Jun 2018 06:29:39 -0400 (EDT) Subject: Re: graphics/ufraw fails to compile on 11-stable To: freebsd-ports@freebsd.org References: <64a1f5f9-1a99-e6bd-5ff4-8f7e233a4267@zyxst.net> <28ec5968-3beb-1c49-d5e8-73a15477cd1b@utanet.at> From: tech-lists Organization: none Message-ID: Date: Sun, 24 Jun 2018 11:29:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <28ec5968-3beb-1c49-d5e8-73a15477cd1b@utanet.at> 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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 10:29:41 -0000 Hello, thanks for trying to help Unfortunately the patches didn't apply. Here's the steps I took: 1. updated ports: Updated to revision 473192. 2. root@testvm:/root# cd /usr/ports/graphics/ufraw/files root@testvm:/usr/ports/graphics/ufraw/files# ls -lah total 16 drwxr-xr-x 2 root wheel 512B Apr 4 04:01 . drwxr-xr-x 4 root wheel 512B Jun 23 12:35 .. -rw-r--r-- 1 root wheel 761B Apr 4 04:01 patch-dcraw.cc -rw-r--r-- 1 root wheel 293B Apr 4 04:01 patch-ufraw__conf.c 3. installed the patches: root@testvm:/usr/ports/graphics/ufraw/files# mv patch-dcraw.cc old.patch-dcraw.cc vi patch-dcraw.cc [paste patch and save] patch-dcraw.cc: new file: 42 lines, 1455 characters. root@testvm:/usr/ports/graphics/ufraw/files# vi patch-ufraw__developer.c [paste patch and save] patch-ufraw__developer.c: new file: 12 lines, 484 characters. root@testvm:/usr/ports/graphics/ufraw/files# root@testvm:/usr/ports/graphics/ufraw# make MAKE_JOBS_UNSAFE=yes ===> License GPLv2 accepted by the user ===> ufraw-0.22_7 depends on file: /usr/local/sbin/pkg - found => sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/sergiomb2/ufraw/tar.gz/6d3259a?dummy=/sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz fetch: https://codeload.github.com/sergiomb2/ufraw/tar.gz/6d3259a?dummy=/sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz: size unknown fetch: https://codeload.github.com/sergiomb2/ufraw/tar.gz/6d3259a?dummy=/sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz: size of remote file is not known sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz 849 kB 1007 kBps 00m01s ===> Fetching all distfiles required by ufraw-0.22_7 for building ===> Extracting for ufraw-0.22_7 => SHA256 Checksum OK for sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz. ===> Patching for ufraw-0.22_7 ===> Applying FreeBSD patches for ufraw-0.22_7 patch: **** malformed patch at line 41: t->tm_year+1900,t->tm_mon+1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); => FreeBSD patch patch-dcraw.cc failed to apply cleanly. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/ufraw *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ufraw root@testvm:/usr/ports/graphics/ufraw# thanks, -- J. From owner-freebsd-ports@freebsd.org Sun Jun 24 11:13: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 E8FD41024C15 for ; Sun, 24 Jun 2018 11:13:55 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from tatiana.utanet.at (tatiana.utanet.at [IPv6:2001:938:1337:25::25:46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C4A384DB1 for ; Sun, 24 Jun 2018 11:13:55 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References:To; bh=L8ysRKdrWQRM6hPrYl2o90OzH1RZNiK5gL/GWuu2ioA=; b=Ybsp8AEuNNrpj5bvp5iAuWiO8sjhItOtJoU2XhgGunTFkUAi60LtjYEQ/3NmPMnSCoAM295txZwujh03qsfF0OMGmEMtznGhysgnY70VYAoGwWOekMmsPLZo9sgawY0IxaZnhUwmXIp0djEqKlAmyYGDRGvR9xd2GOZ3zTJuBYk=; Received: from pam.xoc.tele2net.at ([213.90.36.6]) by tatiana.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1fX2xs-0004Eo-9u for freebsd-ports@freebsd.org; Sun, 24 Jun 2018 13:13:52 +0200 Received: from 194-96-180-58.adsl.highway.telekom.at ([194.96.180.58] helo=[10.0.0.93]) by pam.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1fX2xs-0005Zx-78 for freebsd-ports@freebsd.org; Sun, 24 Jun 2018 13:13:52 +0200 To: freebsd-ports@freebsd.org References: Subject: Re: graphics/ufraw fails to compile on 11-stable From: Walter Schwarzenfeld Message-ID: <29667106-f3df-45bf-e037-f08b2555453a@utanet.at> Date: Sun, 24 Jun 2018 13:13:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-TELE2-Authenticated-As: cf62768e218b4d81d95cc5390f1bd9dfc8b05683 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 11:13:56 -0000 Seems was a paste problem, line 41 started under the "n" of sprint sprintf (th->date, "%04d:%02d:%02d %02d:%02d:%02d", t->tm_year+1900,t->tm_mon+1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); == Btw, this is a bug, so I would suggest make a PR. From owner-freebsd-ports@freebsd.org Sun Jun 24 11:35: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 3851910255B3 for ; Sun, 24 Jun 2018 11:35:21 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from taro.utanet.at (taro.utanet.at [IPv6:2001:938:1337:25::25:45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A758885879 for ; Sun, 24 Jun 2018 11:35:20 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References:To; bh=wBvephjQJox2vzQocrzINaDpwKm8k9oQ79jEGq7wvUM=; b=pw5ioaHyDVc6iPvM1oDDfIFlmOCHJ9DIMYzfVCRoZuk2zyvIScEHJ+jF7zb5A2V4w2Sx287ewe1BTMJUhtMDD/fyN6T8tdlKz6F3Qf+28mxYRFfRSCLt3H/AyAZeP0Xg4CO6jLC0QJl0r66Pt9NSRsul7rBEBWIo7Ka18VS9/O8=; Received: from patricia.xoc.tele2net.at ([213.90.36.9]) by taro.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1fX3Id-0004Ed-9X for freebsd-ports@freebsd.org; Sun, 24 Jun 2018 13:35:19 +0200 Received: from 194-96-180-58.adsl.highway.telekom.at ([194.96.180.58] helo=[10.0.0.93]) by patricia.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1fX3Id-0001sw-6K for freebsd-ports@freebsd.org; Sun, 24 Jun 2018 13:35:19 +0200 To: freebsd-ports@freebsd.org References: <28ec5968-3beb-1c49-d5e8-73a15477cd1b@utanet.at> Subject: Re: graphics/ufraw fails to compile on 11-stable From: Walter Schwarzenfeld Message-ID: Date: Sun, 24 Jun 2018 13:35:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <28ec5968-3beb-1c49-d5e8-73a15477cd1b@utanet.at> Content-Language: en-US X-TELE2-Authenticated-As: cf62768e218b4d81d95cc5390f1bd9dfc8b05683 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 11:35:21 -0000 Here is the PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229271 From owner-freebsd-ports@freebsd.org Sun Jun 24 13:08: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 2CCC410287C9 for ; Sun, 24 Jun 2018 13:08:13 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 A6D06891AF for ; Sun, 24 Jun 2018 13:08:10 +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 A3F7F215F3 for ; Sun, 24 Jun 2018 09:08:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 24 Jun 2018 09:08:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=BROmZGLLW+0+1SXIRkTjkaPW8tnvA YK6rMLEdYPrfZg=; b=LZtS57mV9KA61LK/moZS24UAXEilUBlKC46VXyJaqtcVm wrQp/7CyMABKLWgP2hQqOHhNkKAlDfcQ+fW2Db1M/3tFEk2fj8pRDl3R3WpA7Nhp eLJ/CjlKGtQiGCtfSRvS0mttVgIx7mp8InqhVbau7feZixLlyVT/AL4+aGpyB1KY wGx3H4A8NSVKLZOc9e4c8Gkp+8a2vsmFNKNE5sJWxxuOjyRUisbXgmLUEBg77xXJ bMo2UpC4GTXDUeTZPc06u/brsuiMWv3vXTGjc1aJT5N1hCUPUMAi67XxKdwMS0A4 YSslHiGfqxCSlbG/iqvHGEveRBq8XqPZ+/CuKG/Nw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BROmZG LLW+0+1SXIRkTjkaPW8tnvAYK6rMLEdYPrfZg=; b=NLPDx4SEedraPvORczx4yw qcECs5MaxaPvJPPE5tOZK+CT3524zdd4xtLoA+xukR5iVaQQN9sfEnx7foFfBHjy RC0v51zYWHKpvs6a4JA768VwBTYtJ+VxrmJXkj3wNvyDNbph2RjrBBvQvDGB6NpY lsQ9O/O9Ck/pN2Mit4JgyMslHU+Z76/GWF77tgWIj0p436sfw7JR4aBBdNbj3SbG eg6a5Lin0P0VpohXQzmX+2DfPQ/JLqyuftngmdqihJbRXdB0DmMCiXSGk6SBam00 w8bgKDYEte2kgMcLpd+nQCcXJlLnVqxdShUl39fEzXayh+LJVyg+Ktz2d9SmvyRw == 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 2EC751025C for ; Sun, 24 Jun 2018 09:08:09 -0400 (EDT) Subject: Re: graphics/ufraw fails to compile on 11-stable To: freebsd-ports@freebsd.org References: <28ec5968-3beb-1c49-d5e8-73a15477cd1b@utanet.at> From: tech-lists Organization: none Message-ID: <3cc25e65-6abe-4ed0-1c54-5771f31be033@zyxst.net> Date: Sun, 24 Jun 2018 14:08:08 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: 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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 13:08:13 -0000 On 24/06/2018 12:35, Walter Schwarzenfeld wrote: > Here is the PR > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229271 Awesome. Applied the patch and it all works now. Thank you very much. -- J. From owner-freebsd-ports@freebsd.org Sun Jun 24 14:02:42 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 74E881000A7C for ; Sun, 24 Jun 2018 14:02:42 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 0CE598AEC4 for ; Sun, 24 Jun 2018 14:02:41 +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 C50AB20F20 for ; Sun, 24 Jun 2018 10:02:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 24 Jun 2018 10:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=ifbBvfiv+8C+4FqumXJZ5/nkQzFHHUpP8qOjWG/WJXA=; b=GcmtYI5Q JRykM22bBAkNLLSS9MHPTsJ4tMCXMX5czxvbsHbGB0aV3qxSVwCjL08wQZ7hHNLc z+6H4QP54aLBP2q0njX7QIoBN7QgntYc8KupL5LaXx7teBPxd10pcmgcTp7v09Ed aqFzJLVPyR3c1jaBuI9cIbe759GAJvD0sE+/5C1tKkO6DgH7/fsMPoG2RghqwJX+ AbWWbZw3xJCRAP0DBmEY3k3dEI29jTraZo91/zE2DJox1BmkyUfTj/lcFwl2HcQf cXQmZQp6brrMgMP2L1W4nGNfj/vh99cv1a97Qv/eKLENGcJJJrcFQ+RoEbTk63qK VU0FZ0WJ7TOXnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=ifbBvfiv+8C+4FqumXJZ5/nkQzFHH UpP8qOjWG/WJXA=; b=GlpbMdWuZFolc3FUsEPUx8JebHlCsdoXYyR26rfLtz40R amKL/JslCJg9zGjkCDu9qQB7whce3lVnIQxAoYvOdyHfs/s0gWoSGyg5KFVkHtzh xotgcoqNPAdW+TkOV9MhHQEQUcoPPSDEzSxIFFltls+nrrgsgAN7pS2nP+YBOjY+ 57RBMH/jtghDO8rPD+EV9suk8rSk6qptI7TnGkI2i0vCjEgupLGYulZ8p+Goj9AF uoEidRnnMXsCtjtHdrTS3M8x6m5ZvETtnk0Y5Zj33JJsBzS6mUnmC6yLJPlF1Ehc wbrVze9fazSJColt93IUYz7xDOhyex5Ua8ZEEAudA== 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 203CA1025D for ; Sun, 24 Jun 2018 10:02:41 -0400 (EDT) To: freebsd-ports@freebsd.org From: tech-lists Subject: security/py-certbot ignores --standalone Organization: none Message-ID: <75e3a742-a3b1-9448-0e3f-fd98b1ec4150@zyxst.net> Date: Sun, 24 Jun 2018 15:02:40 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 14:02:42 -0000 Hello, context is 12.0-CURRENT #0 r335317 and ports r473196 on amd64. I haven't got a webserver installed yet, so I install security/py-certbot and run it with the intention of spinning up its standalone server, to create/fetch the certs. But it always wants to verify the domain using the webroot method, no matter if I select standalone from the interactive option or --standalone to run it on one line. Is ports@ the right place to report this? ======================================================================== root@v007:/usr/ports/security/py-certbot# certbot certonly Saving debug log to /var/log/letsencrypt/letsencrypt.log How would you like to authenticate with the ACME CA? ------------------------------------------------------------------------------- 1: Spin up a temporary webserver (standalone) 2: Place files in webroot directory (webroot) ------------------------------------------------------------------------------- Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1 Plugins selected: Authenticator standalone, Installer None Please enter in your domain name(s) (comma and/or space separated) (Enter 'c' to cancel): [REDACTED] Obtaining a new certificate Performing the following challenges: http-01 challenge for [REDACTED] Waiting for verification... Cleaning up challenges Failed authorization procedure. [REDACTED] (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://[REDACTED]/.well-known/acme-challenge/x02YKwY5V0fWT_frDkJjJlUvZ5ErLZ38c41F2BJs-Uo: Connection refused IMPORTANT NOTES: - The following errors were reported by the server: Domain: [REDACTED] Type: connection Detail: Fetching http://[REDACTED]/.well-known/acme-challenge/x02YKwY5V0fWT_frDkJjJlUvZ5ErLZ38c41F2BJs-Uo: Connection refused To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided. ========================================================================= thanks, -- J. From owner-freebsd-ports@freebsd.org Sun Jun 24 14:06:47 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 734781000B86 for ; Sun, 24 Jun 2018 14:06:47 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 0EC588AFAA for ; Sun, 24 Jun 2018 14:06:47 +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 BFD78212AD for ; Sun, 24 Jun 2018 10:06:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 24 Jun 2018 10:06:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=BSFUfnJOyczLQkYBmki/7HZziuweW VUfGo1exuDrIcE=; b=cjYNpVuxPMGxfceQ1TC/KTy6HPQZuaaQwbeRB0i0IdxBs ejQlny0mav88RuCbnEQZaAWDd9jr1MUxxhZpCnt2vThTU2TLP6W+2UfoDxH+Q2FL orw6p6Hjk8SXru6tpBRZcqwbhkFo8kh65rgrDbv9ODwWtsacBfUttZAkCK7Zrqz8 43lRD8qR2voh/i5x56jETfgnKU2FFPXJ0Bu2RApuDuDoaPnDWXaLaDV9u66YcoQD SQaEE5BGj2GOr10dob3i9Jo3xNgx9OYyfEzdd2vb4SA+KeFIXmvJd73VWKWy7oDu M2XRpB84sjE7F/txBIWKrndUG0mhNqieKj7Tgsarg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BSFUfn JOyczLQkYBmki/7HZziuweWVUfGo1exuDrIcE=; b=XRqM57wl0YHAxD/PA9ggqf CarpfGYK0vq0k3NUjPF7N2m8g5HYfxtgFpBkY+wEPHdyYIMmZzAQXTT6Ah9WqEz9 yFyJPX4byvotOikYs6QhuGe0AzrBdWfKL5/aJQRJDqgveGKMu0wRqR6EOjgDwntC mtukXoJnv16/R9rlEwk9fQIPznQ+vnN0LGmSC5Tmwj++Mis2PRqDW+NJEJV3R0H/ +IbtWk1J6bsdUXa53tKyCquzGsEuCg/3cIPOLQ1DZcoSM+Szvj9Yoadq3CeOauZE nhxugFm3PRPJpvhJKcsViFca+KjwgugQhveKRILO8kvTLrcOcE8d96BTFoSQIv1w == 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 3403310261 for ; Sun, 24 Jun 2018 10:06:46 -0400 (EDT) Subject: Re: security/py-certbot ignores --standalone To: freebsd-ports@freebsd.org References: <75e3a742-a3b1-9448-0e3f-fd98b1ec4150@zyxst.net> From: tech-lists Organization: none Message-ID: <3fb388ff-c29c-104a-024d-1cf66e897365@zyxst.net> Date: Sun, 24 Jun 2018 15:06:45 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <75e3a742-a3b1-9448-0e3f-fd98b1ec4150@zyxst.net> 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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 14:06:47 -0000 aaagh please ignore... thought it'd operate on port 443 and not 80 (which was not allowed in pf.conf) sorry for the noise On 24/06/2018 15:02, tech-lists wrote: > Hello, > > context is 12.0-CURRENT #0 r335317 and ports r473196 on amd64. > > I haven't got a webserver installed yet, so I install > security/py-certbot and run it with the intention of spinning up its > standalone server, to create/fetch the certs. But it always wants to > verify the domain using the webroot method, no matter if I select > standalone from the interactive option or --standalone to run it on one > line. > > > Is ports@ the right place to report this? > > ======================================================================== > > root@v007:/usr/ports/security/py-certbot# certbot certonly > Saving debug log to /var/log/letsencrypt/letsencrypt.log > > How would you like to authenticate with the ACME CA? > ------------------------------------------------------------------------------- > > 1: Spin up a temporary webserver (standalone) > 2: Place files in webroot directory (webroot) > ------------------------------------------------------------------------------- > > Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1 > > Plugins selected: Authenticator standalone, Installer None > Please enter in your domain name(s) (comma and/or space separated) > (Enter 'c' > to cancel): [REDACTED] > > Obtaining a new certificate > Performing the following challenges: > http-01 challenge for [REDACTED] > Waiting for verification... > Cleaning up challenges > Failed authorization procedure. [REDACTED] (http-01): > urn:acme:error:connection :: The server could not connect to the client > to verify the domain :: Fetching > http://[REDACTED]/.well-known/acme-challenge/x02YKwY5V0fWT_frDkJjJlUvZ5ErLZ38c41F2BJs-Uo: > Connection refused > > IMPORTANT NOTES: >  - The following errors were reported by the server: > >    Domain: [REDACTED] >    Type:   connection >    Detail: Fetching > > http://[REDACTED]/.well-known/acme-challenge/x02YKwY5V0fWT_frDkJjJlUvZ5ErLZ38c41F2BJs-Uo: > >    Connection refused > >    To fix these errors, please make sure that your domain name was >    entered correctly and the DNS A/AAAA record(s) for that domain >    contain(s) the right IP address. Additionally, please check that >    your computer has a publicly routable IP address and that no >    firewalls are preventing the server from communicating with the >    client. If you're using the webroot plugin, you should also verify >    that you are serving files from the webroot path you provided. > > ========================================================================= > > thanks, -- J. From owner-freebsd-ports@freebsd.org Sun Jun 24 17:46:19 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 51A1C1006884 for ; Sun, 24 Jun 2018 17:46:19 +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 DD26C70D38 for ; Sun, 24 Jun 2018 17:46:18 +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 8EF9256006 for ; Sun, 24 Jun 2018 17:46:17 +0000 (UTC) From: Rodrigo Osorio Subject: Re: graphics/ufraw fails to compile on 11-stable To: freebsd-ports@freebsd.org References: <64a1f5f9-1a99-e6bd-5ff4-8f7e233a4267@zyxst.net> <28ec5968-3beb-1c49-d5e8-73a15477cd1b@utanet.at> Message-ID: <3f04ce15-d6c9-9cc2-38da-a9cf564b86a4@bebik.net> Date: Sun, 24 Jun 2018 19:46:17 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 17:46:19 -0000 On 06/24/18 12:29, tech-lists wrote: > Hello, thanks for trying to help > > Unfortunately the patches didn't apply. Here's the steps I took: > > 1. updated ports: > Updated to revision 473192. > > 2. root@testvm:/root# cd /usr/ports/graphics/ufraw/files > > > root@testvm:/usr/ports/graphics/ufraw/files# ls -lah > total 16 > drwxr-xr-x  2 root  wheel   512B Apr  4 04:01 . > drwxr-xr-x  4 root  wheel   512B Jun 23 12:35 .. > -rw-r--r--  1 root  wheel   761B Apr  4 04:01 patch-dcraw.cc > -rw-r--r--  1 root  wheel   293B Apr  4 04:01 patch-ufraw__conf.c > > 3. installed the patches: > root@testvm:/usr/ports/graphics/ufraw/files# mv patch-dcraw.cc > old.patch-dcraw.cc > > vi patch-dcraw.cc > > [paste patch and save] > > patch-dcraw.cc: new file: 42 lines, 1455 characters. > > root@testvm:/usr/ports/graphics/ufraw/files# vi patch-ufraw__developer.c > > [paste patch and save] > > patch-ufraw__developer.c: new file: 12 lines, 484 characters. > root@testvm:/usr/ports/graphics/ufraw/files# > > root@testvm:/usr/ports/graphics/ufraw# make MAKE_JOBS_UNSAFE=yes > ===>  License GPLv2 accepted by the user > ===>   ufraw-0.22_7 depends on file: /usr/local/sbin/pkg - found > => sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch > https://codeload.github.com/sergiomb2/ufraw/tar.gz/6d3259a?dummy=/sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz > fetch: > https://codeload.github.com/sergiomb2/ufraw/tar.gz/6d3259a?dummy=/sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz: > size unknown > fetch: > https://codeload.github.com/sergiomb2/ufraw/tar.gz/6d3259a?dummy=/sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz: > size of remote file is not known > sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz                849 kB 1007 > kBps 00m01s > ===> Fetching all distfiles required by ufraw-0.22_7 for building > ===>  Extracting for ufraw-0.22_7 > => SHA256 Checksum OK for sergiomb2-ufraw-0.22-6d3259a_GH0.tar.gz. > ===>  Patching for ufraw-0.22_7 > ===>  Applying FreeBSD patches for ufraw-0.22_7 > patch: **** malformed patch at line 41: > t->tm_year+1900,t->tm_mon+1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); > => FreeBSD patch patch-dcraw.cc failed to apply cleanly. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/graphics/ufraw > *** Error code 1 > > Stop. > make: stopped in /usr/ports/graphics/ufraw > root@testvm:/usr/ports/graphics/ufraw# > > thanks, > Hi, I'm working on a resolution for this issue, and sorry for the delay. Cheers, - rodrigo From owner-freebsd-ports@freebsd.org Mon Jun 25 20:14:31 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 1AB95101D7E2 for ; Mon, 25 Jun 2018 20:14:31 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 7A0A08BCCB for ; Mon, 25 Jun 2018 20:14:30 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id BD3BB211084 for ; Mon, 25 Jun 2018 16:13:23 -0400 (EDT) Received: from [192.168.10.23] (D13.Denninger.Net [192.168.10.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 0C6A83A0139 for ; Mon, 25 Jun 2018 15:13:23 -0500 (CDT) To: freebsd-ports@freebsd.org From: Karl Denninger Subject: Request for a second "ffmpeg" optionality in packages (much as with ImageMagick) Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= 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 5S8pynaD Message-ID: Date: Mon, 25 Jun 2018 15:13:22 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms010300010500040806010200" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 20:14:31 -0000 This is a cryptographically signed message in MIME format. --------------ms010300010500040806010200 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Can I ask for this to be set up with a "stripped" version so it's usable for command-line things without having to build the port individually?=C2= =A0 This is specifically interesting for embedded systems devices that aren't AMD64 architecture, where building ports can be an amazingly arduous process. "Ffmpeg" (the package) is set up with the "default" options to include opencv (and by extension X11), which results in an utterly-enormous set of dependencies coming with the package (well north of a gigabyte!) as that package has as a dependency the tesseract graphics port as well.=C2=A0= I brought that into an embedded system and the result was something like *92* ports coming in as dependencies (!) for a grand total of 2 gigabytes of storage. There are other packages (e.g. ImageMagick being a notable one with -noX11) that have two pre-built options sets in the packages -- one with and one without X11, for example, which makes lots of sense when you need command-line functionality but not gigabyte-size libraries you'll never use. May I politely suggest a second target for ffmpeg that omits fontconfig, freetype (which should remove the X11 lib requirement) and opencv (which will get rid of the tesseract dependency)?=C2=A0 That would cut this down= to a much more-reasonable thing to include in an embedded build. Yes, I can build it as a port of course but having it able to be updated after install via package management is quite useful..... Thanks for consideration. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms010300010500040806010200 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature 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 --------------ms010300010500040806010200-- From owner-freebsd-ports@freebsd.org Tue Jun 26 00:08:39 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 1162A10261C7 for ; Tue, 26 Jun 2018 00:08:39 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from taro.utanet.at (taro.utanet.at [IPv6:2001:938:1337:25::25:45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86641739FE for ; Tue, 26 Jun 2018 00:08:38 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References:To; bh=CT+EXWUdWZOw0gQlGOhZ/c8N+3ejS4JW/lHUcoHlqvs=; b=veBlCaQYNEMMjuEJHr9FlAsNx5LwozSrNnv4k0FZyEtXQFjOuHBrJ5DiuPD9i/+5hiOdw5U09ewk6ucZ13ehcySTvuOLl7dgYT0iDOELnw849khvo9AxtucFB2II+bP8q6ncyfhxEmWiKM3IDlcHEiyq4mouFgwMPCzC/JMg76Y=; Received: from patricia.xoc.tele2net.at ([213.90.36.9]) by taro.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1fXbX7-0005Z6-Ma for freebsd-ports@freebsd.org; Tue, 26 Jun 2018 02:08:33 +0200 Received: from 194-96-180-58.adsl.highway.telekom.at ([194.96.180.58] helo=[10.0.0.93]) by patricia.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1fXbX7-0000WG-FL for freebsd-ports@freebsd.org; Tue, 26 Jun 2018 02:08:33 +0200 To: freebsd-ports@freebsd.org References: Subject: Re: Request for a second "ffmpeg" optionality in packages (much as with ImageMagick) From: Walter Schwarzenfeld Message-ID: Date: Tue, 26 Jun 2018 02:08:30 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-TELE2-Authenticated-As: cf62768e218b4d81d95cc5390f1bd9dfc8b05683 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 00:08:39 -0000 I don't understand why? You set all these options to off...... From owner-freebsd-ports@freebsd.org Tue Jun 26 00:21:18 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 3F96110267D6 for ; Tue, 26 Jun 2018 00:21:18 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from taro.utanet.at (taro.utanet.at [IPv6:2001:938:1337:25::25:45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2E0273F1A for ; Tue, 26 Jun 2018 00:21:17 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References:To; bh=IybY/g/h0xPmByy9zy2R86F0z7t1AVJaApi0T37YH6U=; b=nEjFwHQ076wozMiJRbRZoYqKHlrvc51O5Mn43nRIcGlUkxJWeKhcrCufvrp2PY7o+p7sWoLwhcn9wS4aIXDBUqNkVU2Y1Rs2WMXu6yrkCx6bAWP0TSwF8KDi3jmfATzMVROqpMCA2ymIfaTPAOucgKp/omA3rtOCyVfqrSwEkxM=; Received: from pam.xoc.tele2net.at ([213.90.36.6]) by taro.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1fXbjQ-0001Qb-E8 for freebsd-ports@freebsd.org; Tue, 26 Jun 2018 02:21:16 +0200 Received: from 194-96-180-58.adsl.highway.telekom.at ([194.96.180.58] helo=[10.0.0.93]) by pam.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1fXbjQ-0006PL-B9 for freebsd-ports@freebsd.org; Tue, 26 Jun 2018 02:21:16 +0200 To: freebsd-ports@freebsd.org References: Subject: Re: Request for a second "ffmpeg" optionality in packages (much as with ImageMagick) From: Walter Schwarzenfeld Message-ID: <37c58241-afde-6c1b-f306-dadbe8e5217d@utanet.at> Date: Tue, 26 Jun 2018 02:21:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-TELE2-Authenticated-As: cf62768e218b4d81d95cc5390f1bd9dfc8b05683 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 00:21:18 -0000 corr: You can set all these options off. From owner-freebsd-ports@freebsd.org Tue Jun 26 00:31: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 B1BD91026D4A for ; Tue, 26 Jun 2018 00:31:48 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yb0-x22b.google.com (mail-yb0-x22b.google.com [IPv6:2607:f8b0:4002:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59DBC74595 for ; Tue, 26 Jun 2018 00:31:48 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yb0-x22b.google.com with SMTP id s1-v6so1358383ybk.3 for ; Mon, 25 Jun 2018 17:31:48 -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=YUvV6IliayPjP+KpjL2Z0gLmUVgWPEwNwyeEd9nPOGU=; b=MDYWPlXSNUTfDcrcf5ekhxxglSiEgEFOqmNQ2ooo2SFMEH5xtEBNT4aH2AbLr+MqS9 fjbkMmtj25fMFTkOpNXP7GAT3S9evnD4qLJLr7rEfVzJG8R2CBbdQq7SnYx21vNDv6r6 F9sKcZnZFUPOXPnI3ftImoOs+Wx7W/URDAC7D42pmDThZBBSHiVs76ZSaQx4CqyBaPAi faaL+E5kfg5uUgs+f5a5Rl14fLtHtBUe653hYxu/ImfdSQsVXhD97uQthvJKHiJa9ok6 y++ZEXcFH7fT/3Z3Bf9y4BmVgiwIZ4IkgZ9nEWw7/DQOVQaWUqj/943JjGSth18Yiwho VhMg== 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=YUvV6IliayPjP+KpjL2Z0gLmUVgWPEwNwyeEd9nPOGU=; b=JPE71Qn75UvPVsbJ1esNI34j3GNOhvvwwOENAr6NDK1XUPcv2mkqsfFHEEpFvhDI5V CmUUX7I5aQuzOz3a73Y+tA6VXOYEzHEKHeZNQDgXdABIs+kJuYpMcuAyAQMEtbv1Zwg6 jPRNtZA7/Fp8dot+4JsKZ53JtXad94T/1SBJInoRlIhpnV2r8TzLxvlt7KK1DZnAWN1l 0qdriusitbZ/n/Hj01XvPFrXGyJwt8vbpQ+44PCBBpzsu02NaItiC1Y7DPbvLObWN94r JSxTyWE0I9rvFg4adc/hSJEw81xcRim7WgDARVN3nm2HtWIkomd7z/IYAEDIbS4RUa92 DmLg== X-Gm-Message-State: APt69E2/Q5BeoBqXrJ03YNjLpBnMXI1GGq5OcrmcBY7Zmum+hfUkUXWa G2vdW48sKcvTXNIln/UsgpiEgoCnQLWJsFbbpygkDT4I X-Google-Smtp-Source: ADUXVKLF87h3EkdwnmNSREH1ANslu74z1A3ZjwE1MPXpSUzEDMH7oi9XGIaS9A0jSuvrwE8murso56CmCLA1a7lzb6k= X-Received: by 2002:a25:adcd:: with SMTP id d13-v6mr7111110ybe.70.1529973107652; Mon, 25 Jun 2018 17:31:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Mon, 25 Jun 2018 18:31:31 -0600 Message-ID: Subject: Re: Request for a second "ffmpeg" optionality in packages (much as with ImageMagick) To: w.schwarzenfeld@utanet.at Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 00:31:48 -0000 On Mon, Jun 25, 2018 at 6:08 PM Walter Schwarzenfeld wrote: > > I don't understand why? You set all these options to off...... > There's something to be said here for packages that don't try to be everything to everyone. I'd be surprised if OpenCV is a common format for a typical ffmpeg user. It is far more reasonable to ask people who need unusual codec support to build their own ffmpeg, than to ask everybody to install 2GB of dependencies for a relatively common tool. You're right though, Walter, that it goes both ways, and it's also reasonable to ask people who want slim installs to build their own ffmpeg. We've never had a policy regarding dependencitis, and at the end of the day it usually comes down to the set of default options that leads to the fewest unhappy PRs. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org From owner-freebsd-ports@freebsd.org Tue Jun 26 07:16: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 A86511015A90 for ; Tue, 26 Jun 2018 07:16:44 +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 4DB2B837EF; Tue, 26 Jun 2018 07:16:44 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (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 9FD3212172; Tue, 26 Jun 2018 07:16:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Tue, 26 Jun 2018 09:16:40 +0200 From: Mathieu Arnold To: Adam Weinberger Cc: w.schwarzenfeld@utanet.at, freebsd-ports@freebsd.org Subject: Re: Request for a second "ffmpeg" optionality in packages (much as with ImageMagick) Message-ID: <20180626071640.ethqi2qtm6vvmbx6@atuin.in.mat.cc> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u2onohjzrtusma7x" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 07:16:44 -0000 --u2onohjzrtusma7x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 25, 2018 at 06:31:31PM -0600, Adam Weinberger wrote: > On Mon, Jun 25, 2018 at 6:08 PM Walter Schwarzenfeld > wrote: > > > > I don't understand why? You set all these options to off...... > > >=20 > There's something to be said here for packages that don't try to be > everything to everyone. I'd be surprised if OpenCV is a common format > for a typical ffmpeg user. It is far more reasonable to ask people who > need unusual codec support to build their own ffmpeg, than to ask > everybody to install 2GB of dependencies for a relatively common tool. >=20 > You're right though, Walter, that it goes both ways, and it's also > reasonable to ask people who want slim installs to build their own > ffmpeg. >=20 > We've never had a policy regarding dependencitis, and at the end of > the day it usually comes down to the set of default options that leads > to the fewest unhappy PRs. I do not think we have a policy regarding dependencies, but we have about options, the default set should be the one who benefits most people (as in, most people should not have to enable more options by themselves.) The oposite may have been true years ago, but these days, 2GB, while it may feel big by human standard, is quite nothing, hard drives are in the TB, SD cards are also getting there, these days, SD cards up to 32GB are available for less than $10. --=20 Mathieu Arnold --u2onohjzrtusma7x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlsx6FhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkiSYhAArjSPNccydWwJbWyqH5wPQPwb39Eo2bwX0CEsQ3dvLrWtCZtz6zx1bycf vF0/mj162DN0CO3RNV0+O2FiRzTMX1fGvgqRGu3rfWaqbzFGDXFo4JcI+TH7i+6n y+jw3tjGZk5xJsy+7u9qHi6MjvcQI3qrtaOij4RE68BQfEKI4cYP4yCFD2BZ1MFE 1k4iKX3qUsAFxrts5kQN9aH0B/xGvYVuhzTE9BX8GJ6SberVDnzaS7SjL7+txQIj v/B8vD8ATofvWvSmemu9Lo90zm58zPlBtaOneC9Xftip/51bzFNX550Gsi5aGOEL NDoFRQmSGvMF3HXsidnATIp3n9NUAIOjMZsQiVbMgRZ4HtlYPbHAz04OI+TBinfa l03dxrx+7lhjzcW4p/68Bqi+SYui/EIyTyRQO7n8MThzqtEjpHdpgmrZ7cUly4em tqQIy9JvtgtGap/z5wAGSWbFQQpiTL5ijFE5nx+8LcYroy3EgefFoS2k1xOXol7c RbNN0gryIZ2nQuXInQz3BTbdywIbfFzZ8fHULZWkd5CFTxDhyq9WGrl6SNMVfMSc ee56MXoJrZo6wMR7zAhbBYukET9RkGDMYwszXcggcjbmx5EkS0EGF6nfY7Ox6sUm S7LvGkw0zEoLIVN5woMZ2ii5nJ8xW43Y14pAQPXX0Q/HI4O8mMw= =126i -----END PGP SIGNATURE----- --u2onohjzrtusma7x-- From owner-freebsd-ports@freebsd.org Tue Jun 26 08:01: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 670031018443 for ; Tue, 26 Jun 2018 08:01:56 +0000 (UTC) (envelope-from hps@selasky.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 07BEC851AD for ; Tue, 26 Jun 2018 08:01:56 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id BBE8E1018441; Tue, 26 Jun 2018 08:01:55 +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 A7D1A1018440 for ; Tue, 26 Jun 2018 08:01:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 446F5851A9 for ; Tue, 26 Jun 2018 08:01:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D5DB32602C2 for ; Tue, 26 Jun 2018 10:01:52 +0200 (CEST) From: Hans Petter Selasky Subject: head/audio/jack-keyboard To: ports@FreeBSD.org References: Message-ID: <137c915f-8307-a5c3-b203-fe2fe690ad28@selasky.org> Date: Tue, 26 Jun 2018 10:01:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: 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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 08:01:56 -0000 Can someone bump DISTVERSION or approve me to do it in head/audio/jack-keyboard/Makefile to 2.7.2 ? --HPS From owner-freebsd-ports@freebsd.org Tue Jun 26 11:27:59 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 6A8671021BE6 for ; Tue, 26 Jun 2018 11:27:59 +0000 (UTC) (envelope-from SRS0=Ta0Z=JM=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 054B08C7EE for ; Tue, 26 Jun 2018 11:27:58 +0000 (UTC) (envelope-from SRS0=Ta0Z=JM=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A44632840C for ; Tue, 26 Jun 2018 13:27:51 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7F09828411 for ; Tue, 26 Jun 2018 13:27:50 +0200 (CEST) Subject: Re: Should a package restart on upgrade itself From: Miroslav Lachman <000.fbsd@quip.cz> To: freebsd-ports@freebsd.org References: <595296BF.3040906@quip.cz> Message-ID: <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> Date: Tue, 26 Jun 2018 13:27:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <595296BF.3040906@quip.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 11:27:59 -0000 Miroslav Lachman wrote on 2017/06/27 19:32: > Matthias Fechner wrote on 2017/06/27 18:29: >> Dear all, >> >> it is always a pain if pkg upgrade a lot of packages to restart all >> services to make sure update/security fixes are applied to all running >> services. >> >> Is there an option in pkg that it restart services automatically or is >> it OK if I would add a post-install script to the packages (I maintain) >> that will include a "service foo restart"? >> >> What is best practice here? > > Please don't do this. > Some ports did this in the past and this was really a pain during larger > upgrades. It sometimes leave services stopped (hi MySQL). > > The same bad practice is disabling / enabling Apache modules on upgrade. > > pkg upgrade should just do it's work - upgrade packages on disk. But > manipulating config files and restart of services is up to me - the > Administrator (or my tools). > > It would be nice to have some kind of "hooks" in pkg, which can be used > to notify deployment tools that some services should be (re)started, or > do restart in some simpler environment if user allows this (setup hooks > for service restart). > But is must not be done automatically for individual ports / packages > even if maintainer thinks it is Good Idea (tm) Again and again and again... Can we have some written (or do we have?) policy to not stop/start/restart services from some @preunexec / @postexec targets? I really don't like that some packages are still shutting down or trying to restart in the middle of the pkg upgrade process. One example from today upgrade: [87/96] Extracting open-vm-tools-nox11-10.2.5,2: .......... done Stopping vmware_guestd. Waiting for PIDS: 516. Loading vmmemctl kernel module: already loaded. vmware_guestd not running? (check /var/run/vmware_guestd.pid). Starting vmware_guestd. Can committers take care of this bad behaviour and not commit things like this? https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?revision=457485&view=markup @preunexec %%PREFIX%%/bin/vmware-rpctool 'tools.set.version 0' ; service vmware-guestd stop 2>/dev/null || /usr/bin/true @postexec service vmware-kmod restart && service vmware-guestd restart || /usr/bin/true Kind regards Miroslav Lachman From owner-freebsd-ports@freebsd.org Tue Jun 26 11:41: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 11FF01022636 for ; Tue, 26 Jun 2018 11:41:57 +0000 (UTC) (envelope-from franco@lastsummer.de) Received: from host64.shmhost.net (host64.shmhost.net [IPv6:2a01:4f8:a0:51d7::103:2]) (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 A5D0D8D0EE; Tue, 26 Jun 2018 11:41:56 +0000 (UTC) (envelope-from franco@lastsummer.de) Received: from [IPv6:2001:470:25:233:81eb:9a60:d76d:4442] (unknown [IPv6:2001:470:25:233:81eb:9a60:d76d:4442]) by host64.shmhost.net (Postfix) with ESMTPSA id 41FPJq4zhBzBv7g; Tue, 26 Jun 2018 13:41:47 +0200 (CEST) From: Franco Fichtner Message-Id: <98F60CB1-72E9-4110-B5E7-350FE8252DC1@lastsummer.de> Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: Should a package restart on upgrade itself Date: Tue, 26 Jun 2018 13:41:44 +0200 In-Reply-To: <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> Cc: FreeBSD Ports ML , jpaetzel@freebsd.org To: Miroslav Lachman <000.fbsd@quip.cz> References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> X-Mailer: Apple Mail (2.3445.8.2) X-Virus-Scanned: clamav-milter 0.99.4 at host64.shmhost.net X-Virus-Status: Clean Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 11:41:57 -0000 > On 26. Jun 2018, at 1:27 PM, Miroslav Lachman <000.fbsd@quip.cz> = wrote: >=20 > One example from today upgrade: >=20 > [87/96] Extracting open-vm-tools-nox11-10.2.5,2: .......... done > Stopping vmware_guestd. > Waiting for PIDS: 516. > Loading vmmemctl kernel module: already loaded. > vmware_guestd not running? (check /var/run/vmware_guestd.pid). Wasn't this added a year ago? I remember because it broke a production build system. ;) https://github.com/opnsense/tools/commit/6ee7188ebef = CC jpaetzel Cheers, Franco= From owner-freebsd-ports@freebsd.org Tue Jun 26 12:26:58 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 6B44E1024525 for ; Tue, 26 Jun 2018 12:26:58 +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 021FD8E526 for ; Tue, 26 Jun 2018 12:26:58 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B6B1E1024524; Tue, 26 Jun 2018 12:26:57 +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 A47AA1024523 for ; Tue, 26 Jun 2018 12:26:57 +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 4583D8E51F for ; Tue, 26 Jun 2018 12:26:57 +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 589881E5F9 for ; Tue, 26 Jun 2018 12:26:56 +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 w5QCQugm027613 for ; Tue, 26 Jun 2018 12:26:56 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id w5QCQuQB027612; Tue, 26 Jun 2018 12:26:56 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201806261226.w5QCQuQB027612@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, 26 Jun 2018 12:26:56 +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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 12:26:58 -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 ------------------------------------------------+-----------------+------------ math/rpy2 | 2.7.8 | 2.9.4 ------------------------------------------------+-----------------+------------ 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 Jun 26 18:03:02 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 C29C31007682 for ; Tue, 26 Jun 2018 18:03:02 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 6BEE57BC23 for ; Tue, 26 Jun 2018 18:03:02 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E2CBE21C26; Tue, 26 Jun 2018 14:03:01 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute1.internal (MEProxy); Tue, 26 Jun 2018 14:03:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=S8v23c J/2X07QDATyKh2QsNw2lxUTOzZvllMD217G1I=; b=Z/K4W13juxxME8g+aTYis5 NF3nCEa6kyDUvlu6wt++RHSgLdeyZ0G/8uuzW0RMuEbmZ2GnBWoBC5f83BUF5hFM Zdc0a6KCDJxvI8h/4uXyNaGSdBa+4uySPCAiUyIMAM3PT7uIyuNtX1bbjlAq4YN8 DIHpKNbxOnxqPVTjAc8w23OaWn3JigKg/GN59uIGO3cyDw33MmnEoNbTj5Jc8vA9 HQEz+SGC6+wMZv/QnqheNV0SF3sfQuZzOzLpBH7EQGngPLFFvcxjA6/MiusfVmdL V1CqOLOOdp3uC5/gCH82HSmrJC0d19jSCDUlbErMt2MBo3EpZk43VsjUL7NWWK8Q == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 6DBACBA4CF; Tue, 26 Jun 2018 14:03:01 -0400 (EDT) Message-Id: <1530036181.4184901.1421203184.0039ADE4@webmail.messagingengine.com> From: Josh Paetzel To: freebsd-ports@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-0d8ea36c Subject: Re: Should a package restart on upgrade itself Date: Tue, 26 Jun 2018 13:03:01 -0500 References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> In-Reply-To: <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 18:03:03 -0000 On Tue, Jun 26, 2018, at 6:27 AM, Miroslav Lachman wrote: > Miroslav Lachman wrote on 2017/06/27 19:32: > > Matthias Fechner wrote on 2017/06/27 18:29: > >> Dear all, > >> > >> it is always a pain if pkg upgrade a lot of packages to restart all > >> services to make sure update/security fixes are applied to all running > >> services. > >> > >> Is there an option in pkg that it restart services automatically or is > >> it OK if I would add a post-install script to the packages (I maintain) > >> that will include a "service foo restart"? > >> > >> What is best practice here? > > > > Please don't do this. > > Some ports did this in the past and this was really a pain during larger > > upgrades. It sometimes leave services stopped (hi MySQL). > > > > The same bad practice is disabling / enabling Apache modules on upgrade. > > > > pkg upgrade should just do it's work - upgrade packages on disk. But > > manipulating config files and restart of services is up to me - the > > Administrator (or my tools). > > > > It would be nice to have some kind of "hooks" in pkg, which can be used > > to notify deployment tools that some services should be (re)started, or > > do restart in some simpler environment if user allows this (setup hooks > > for service restart). > > But is must not be done automatically for individual ports / packages > > even if maintainer thinks it is Good Idea (tm) > > Again and again and again... > > Can we have some written (or do we have?) policy to not > stop/start/restart services from some @preunexec / @postexec targets? > I really don't like that some packages are still shutting down or trying > to restart in the middle of the pkg upgrade process. > > One example from today upgrade: > > [87/96] Extracting open-vm-tools-nox11-10.2.5,2: .......... done > Stopping vmware_guestd. > Waiting for PIDS: 516. > Loading vmmemctl kernel module: already loaded. > vmware_guestd not running? (check /var/run/vmware_guestd.pid). > Starting vmware_guestd. > > Can committers take care of this bad behaviour and not commit things > like this? > https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?revision=457485&view=markup > > @preunexec %%PREFIX%%/bin/vmware-rpctool 'tools.set.version 0' ; service > vmware-guestd stop 2>/dev/null || /usr/bin/true > @postexec service vmware-kmod restart && service vmware-guestd restart > || /usr/bin/true > > Kind regards > Miroslav Lachman > _______________________________________________ > 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" Here's the diff for the commit you referenced: https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?r1=457023&r2=457485&pathrev=457485 Which part are you objecting to? I don't really have any objections to changing open-vm-tools. I'll note that I inherited it in it's current state with regards to defaults and restarting, an it's probably worth fining out why it does those things before blatantly changing things. It's possible that open-vm-tools is a poor example of what you are talking about based on it providing services for the OS for running on VMWare versus running some application service or daemon , but I will have to think about this before taking a strongly held opinion. -- Thanks, Josh Paetzel From owner-freebsd-ports@freebsd.org Tue Jun 26 18:52: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 1D072101186E for ; Tue, 26 Jun 2018 18:52:36 +0000 (UTC) (envelope-from SRS0=Ta0Z=JM=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 AC0617E3D3; Tue, 26 Jun 2018 18:52:35 +0000 (UTC) (envelope-from SRS0=Ta0Z=JM=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D97602840C; Tue, 26 Jun 2018 20:52:32 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 54FCE28411; Tue, 26 Jun 2018 20:52:18 +0200 (CEST) Subject: Re: Should a package restart on upgrade itself To: Franco Fichtner Cc: FreeBSD Ports ML , jpaetzel@freebsd.org References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <98F60CB1-72E9-4110-B5E7-350FE8252DC1@lastsummer.de> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Tue, 26 Jun 2018 20:52:18 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <98F60CB1-72E9-4110-B5E7-350FE8252DC1@lastsummer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 18:52:36 -0000 Franco Fichtner wrote on 2018/06/26 13:41: > >> On 26. Jun 2018, at 1:27 PM, Miroslav Lachman <000.fbsd@quip.cz >> > wrote: >> >> One example from today upgrade: >> >> [87/96] Extracting open-vm-tools-nox11-10.2.5,2: .......... done >> Stopping vmware_guestd. >> Waiting for PIDS: 516. >> Loading vmmemctl kernel module: already loaded. >> vmware_guestd not running? (check /var/run/vmware_guestd.pid). > > Wasn't this added a year ago?  I remember because it broke a production > build system.  ;) > > https://github.com/opnsense/tools/commit/6ee7188ebef Yes, this one is old and I have seen it many times before but today I have enough energy to post about it :) Miroslav Lachman From owner-freebsd-ports@freebsd.org Tue Jun 26 19:01: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 C64C01011F53 for ; Tue, 26 Jun 2018 19:01:55 +0000 (UTC) (envelope-from SRS0=Ta0Z=JM=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 531E27EA1B for ; Tue, 26 Jun 2018 19:01:55 +0000 (UTC) (envelope-from SRS0=Ta0Z=JM=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 075182840C; Tue, 26 Jun 2018 21:01:49 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2F3D928412; Tue, 26 Jun 2018 21:01:47 +0200 (CEST) Subject: Re: Should a package restart on upgrade itself To: Josh Paetzel , freebsd-ports@freebsd.org References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <1530036181.4184901.1421203184.0039ADE4@webmail.messagingengine.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <4edeee59-779c-46cc-0105-601c554bd7c8@quip.cz> Date: Tue, 26 Jun 2018 21:01:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <1530036181.4184901.1421203184.0039ADE4@webmail.messagingengine.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 19:01:56 -0000 Josh Paetzel wrote on 2018/06/26 20:03: > > > On Tue, Jun 26, 2018, at 6:27 AM, Miroslav Lachman wrote: >> Miroslav Lachman wrote on 2017/06/27 19:32: >>> Matthias Fechner wrote on 2017/06/27 18:29: >>>> Dear all, >>>> >>>> it is always a pain if pkg upgrade a lot of packages to restart all >>>> services to make sure update/security fixes are applied to all running >>>> services. >>>> >>>> Is there an option in pkg that it restart services automatically or is >>>> it OK if I would add a post-install script to the packages (I maintain) >>>> that will include a "service foo restart"? >>>> >>>> What is best practice here? >>> >>> Please don't do this. >>> Some ports did this in the past and this was really a pain during larger >>> upgrades. It sometimes leave services stopped (hi MySQL). >>> >>> The same bad practice is disabling / enabling Apache modules on upgrade. >>> >>> pkg upgrade should just do it's work - upgrade packages on disk. But >>> manipulating config files and restart of services is up to me - the >>> Administrator (or my tools). >>> >>> It would be nice to have some kind of "hooks" in pkg, which can be used >>> to notify deployment tools that some services should be (re)started, or >>> do restart in some simpler environment if user allows this (setup hooks >>> for service restart). >>> But is must not be done automatically for individual ports / packages >>> even if maintainer thinks it is Good Idea (tm) >> >> Again and again and again... >> >> Can we have some written (or do we have?) policy to not >> stop/start/restart services from some @preunexec / @postexec targets? >> I really don't like that some packages are still shutting down or trying >> to restart in the middle of the pkg upgrade process. >> >> One example from today upgrade: >> >> [87/96] Extracting open-vm-tools-nox11-10.2.5,2: .......... done >> Stopping vmware_guestd. >> Waiting for PIDS: 516. >> Loading vmmemctl kernel module: already loaded. >> vmware_guestd not running? (check /var/run/vmware_guestd.pid). >> Starting vmware_guestd. >> >> Can committers take care of this bad behaviour and not commit things >> like this? >> https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?revision=457485&view=markup >> >> @preunexec %%PREFIX%%/bin/vmware-rpctool 'tools.set.version 0' ; service >> vmware-guestd stop 2>/dev/null || /usr/bin/true >> @postexec service vmware-kmod restart && service vmware-guestd restart >> || /usr/bin/true >> >> Kind regards >> Miroslav Lachman >> _______________________________________________ >> 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" > > Here's the diff for the commit you referenced: > > https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?r1=457023&r2=457485&pathrev=457485 > > Which part are you objecting to? > > I don't really have any objections to changing open-vm-tools. I'll note that I inherited it in it's current state with regards to defaults and restarting, an it's probably worth fining out why it does those things before blatantly changing things. > > It's possible that open-vm-tools is a poor example of what you are talking about based on it providing services for the OS for running on VMWare versus running some application service or daemon , but I will have to think about this before taking a strongly held opinion. I am sorry, I was not talking about that revision. Only about @preunexec and @postexec. They were added in https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?r1=388693&r2=436703 https://svnweb.freebsd.org/ports/head/emulators/open-vm-tools/pkg-plist?r1=436816&r2=444773 Stopping / Restarting any service in the midle of running pkg upgrade is Bad Thing (in my point of view). Note that "service vmware-kmod restart" is not doing what somebody may think it is - you end up with new version of vmware-guestd and old version of loaded kernel module, because it is not unloaded (and in situations like securelevel cannot be even loaded) Kind regards Miroslav Lachman From owner-freebsd-ports@freebsd.org Tue Jun 26 19:19: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 9D1491012FF8 for ; Tue, 26 Jun 2018 19:19:41 +0000 (UTC) (envelope-from amvandemore@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 G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30ABD7FCD9 for ; Tue, 26 Jun 2018 19:19:41 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x229.google.com with SMTP id l16-v6so3176688ita.0 for ; Tue, 26 Jun 2018 12:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZLMj8Uf5HZ7NZhtLdS9jr2cUiO3qVJPR4bQbT+11omU=; b=ZCkKaCXzRWqgtrvm+wxx8diGW89hppMZZy1RKoiNRavDFNLvc4LgEsowGnRAdN29vt nTt24kVxeSnF/8BBhzwfqS+oGrxWCR5mP/KevK0mwljt/MLQ6N+XIc6qtqm46BUQ9+ea HsmdNVHwTH8yIpPieIEx7r+m9iS1EPVzQdLNGhQrsn6qJC7TT8XAmyo7w8iByIVIQz2X pZ+2xWv4hZBp6Fj9/BwRiAOgIvyXlbhsVs++VlyapUec39p5NiLjJ0QW9oRBkB39iI1W LD0nMeE58ModYMZXAbclvIcdtfC1kBUNx9N+XLlGEQ03lWj+TJO8/TULlmtVlBpVTkhs pKEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZLMj8Uf5HZ7NZhtLdS9jr2cUiO3qVJPR4bQbT+11omU=; b=TuHPmO2+YuzNXPCWVCoILkjGI7RMWsFBMhf+KJ3f1J6xcymQJ2vWH+YJ3M89uiegZ0 Ivqay9UnIylOPkjLpmk55KtzmCCsL21rI88psce6wYA+gSX69vRLR9ARQVBp42mVYGoa y9215nTY3R1mwl/JEDA+Uy3zWG2GIx2Ed65SxgJ9gA5GgJyJ7uuAyGCzb1C6XOx9w/XF 5rzX9RGd4zea1CcK60ZWWkL1IONqIK/ODsZvAHNtzJ44D01amnjF+NM/LI2yePKUGesv EvniJa0TveU8u5BYWKPgZfPw5K3Tf4c1nyDgxZCLND3ih60SKx9xw6b7L88Zc5YGR7xf jl3w== X-Gm-Message-State: APt69E2VGDfIdDKnO4dJWkizuTUNzNidTEeJbIZOU2lQrMN2vaPpTbIi HF+44OB4UiOhbyM6cihOVT2Yc0oSvXQPqT6IdZA= X-Google-Smtp-Source: AAOMgpc0wEZlKUrNOqn47MUyfEGumiHSuA6bakhyzWq8+N4YYo794+Gp9AMc7RvHm7LKgqqbDPQgIJAdFbfCcLdk+AM= X-Received: by 2002:a24:9284:: with SMTP id l126-v6mr2647980itd.18.1530040780517; Tue, 26 Jun 2018 12:19:40 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:9c7d:0:0:0:0:0 with HTTP; Tue, 26 Jun 2018 12:19:39 -0700 (PDT) In-Reply-To: <1530036181.4184901.1421203184.0039ADE4@webmail.messagingengine.com> References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <1530036181.4184901.1421203184.0039ADE4@webmail.messagingengine.com> From: Adam Date: Tue, 26 Jun 2018 14:19:39 -0500 Message-ID: Subject: Re: Should a package restart on upgrade itself To: Josh Paetzel Cc: FreeBSD Ports , Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 19:19:41 -0000 On Tue, Jun 26, 2018 at 1:03 PM, Josh Paetzel wrote: > > Here's the diff for the commit you referenced: > > https://svnweb.freebsd.org/ports/head/emulators/open-vm- > tools/pkg-plist?r1=457023&r2=457485&pathrev=457485 > > Which part are you objecting to? > > I don't really have any objections to changing open-vm-tools. I'll note > that I inherited it in it's current state with regards to defaults and > restarting, an it's probably worth fining out why it does those things > before blatantly changing things. > > It's possible that open-vm-tools is a poor example of what you are talking > about based on it providing services for the OS for running on VMWare > versus running some application service or daemon , but I will have to > think about this before taking a strongly held opinion. > FWIW most daemon equivalent upgrades on Windows force you to chose to restart after an upgrade. There isn't a lot of precedent for automatic, non-confirming restarts in server class software IME. -- Adam From owner-freebsd-ports@freebsd.org Wed Jun 27 02:47: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 5459F1029566 for ; Wed, 27 Jun 2018 02:47:51 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpe.telissant.net (colgada.3dresearch.com [104.225.1.172]) (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 03DF68F2BC for ; Wed, 27 Jun 2018 02:47:50 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from colgada.3dresearch.com (localhost [127.0.0.1]) by smtpe.telissant.net (Postfix) with ESMTP id 19C4D3AC99 for ; Tue, 26 Jun 2018 22:47:44 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpe.telissant.net ([127.0.0.1]) by colgada.3dresearch.com (colgada.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdixPVdCugoQ for ; Tue, 26 Jun 2018 22:47:11 -0400 (EDT) Received: from elettra.3dresearch.com (unknown [71.112.245.157]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: elettra@colgada.3dresearch.com) by smtpe.telissant.net (Postfix) with ESMTPSA id 9FBD53AC90 for ; Tue, 26 Jun 2018 22:47:10 -0400 (EDT) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id 54C25148D1E for ; Tue, 26 Jun 2018 22:47:09 -0400 (EDT) Date: Tue, 26 Jun 2018 22:46:53 -0400 From: Janos Dohanics To: freebsd-ports@freebsd.org Subject: devel/qt5-core (qt5-core-5.9.4_2) (uninstall error) Message-Id: <20180626224653.85f41c239c6e5d84c03f92ee@3dresearch.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd10.4) 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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 02:47:51 -0000 Hello List, When trying to update qt5-core-5.9.4_2, it failed: # portversion -vR qt5-core-5.9.4_2 [Reading data from pkg(8) ... - 1001 packages found - done] gettext-runtime-0.19.8.1_1 = up-to-date with port glib-2.50.3_3,1 = up-to-date with port icu-61.1,1 = up-to-date with port pcre2-10.21_1 = up-to-date with port qt5-core-5.9.4_2 < needs updating (port has 5.10.1_2) qtchooser-39 = up-to-date with port # portupgrade -vR qt5-core-5.9.4_2 [everything fine, until...] ====> Compressing man pages (compress-man) ===> Installing ldconfig configuration file ---> Build of devel/qt5-core ended at: Tue, 26 Jun 2018 17:05:02 -0400 (consumed 00:00:55) ---> Updating dependency info ---> Uninstallation of qt5-core-5.9.4_2 started at: Tue, 26 Jun 2018 17:05:02 -0400 ---> Fixing up dependencies before creating a package ---> Backing up the old version pkg: file '/usr/local/lib/qt5/libQt5Core.so.5.9' is missing ---> Uninstalling the old version [Reading data from pkg(8) ... - 1001 packages found - done] ---> Deinstalling 'qt5-core-5.9.4_2' ---> Preserving /usr/local/lib/qt5/libQt5Core.so.5 as /usr/local/lib/compat/pkg/libQt5Core.so.5 cp: symlink: libQt5Core.so.5.9.4: File exists Copy failed! [Reading data from pkg(8) ... - 1001 packages found - done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! qt5-core-5.9.4_2 (copy failed) ---> Uninstallation of qt5-core-5.9.4_2 ended at: Tue, 26 Jun 2018 17:05:03 -0400 (consumed 00:00:00) ---> Upgrade of devel/qt5-core ended at: Tue, 26 Jun 2018 17:05:03 -0400 (consumed 00:00:56) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! devel/qt5-core (qt5-core-5.9.4_2) (uninstall error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Tue, 26 Jun 2018 17:05:03 -0400 (consumed 00:00:57) # ls -al /usr/local/lib/qt5/libQt5Core* -rw-r--r-- 1 root wheel 1040 May 5 21:58 /usr/local/lib/qt5/libQt5Core.prl lrwxr-xr-x 1 root wheel 19 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so -> libQt5Core.so.5.9.4 lrwxr-xr-x 1 root wheel 19 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so.5 -> libQt5Core.so.5.9.4 -rwxr-xr-x 1 root wheel 5028000 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so.5.9.4 How can I fix this? -- Janos Dohanics From owner-freebsd-ports@freebsd.org Wed Jun 27 02:56:19 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 CEFC51029B8A for ; Wed, 27 Jun 2018 02:56:19 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5152F8F8A7 for ; Wed, 27 Jun 2018 02:56:19 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w5R2tsPT068524 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Jun 2018 04:55:55 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: web@3dresearch.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w5R2tl47028283 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 27 Jun 2018 09:55:47 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: devel/qt5-core (qt5-core-5.9.4_2) (uninstall error) To: Janos Dohanics , freebsd-ports@freebsd.org References: <20180626224653.85f41c239c6e5d84c03f92ee@3dresearch.com> From: Eugene Grosbein Message-ID: <5B32FCAE.1040304@grosbein.net> Date: Wed, 27 Jun 2018 09:55:42 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20180626224653.85f41c239c6e5d84c03f92ee@3dresearch.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 02:56:20 -0000 27.06.2018 9:46, Janos Dohanics wrote: > # ls -al /usr/local/lib/qt5/libQt5Core* > -rw-r--r-- 1 root wheel 1040 May 5 21:58 /usr/local/lib/qt5/libQt5Core.prl > lrwxr-xr-x 1 root wheel 19 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so -> libQt5Core.so.5.9.4 > lrwxr-xr-x 1 root wheel 19 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so.5 -> libQt5Core.so.5.9.4 > -rwxr-xr-x 1 root wheel 5028000 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so.5.9.4 > > How can I fix this? Just remove symlinks and re-do the procedure. From owner-freebsd-ports@freebsd.org Wed Jun 27 03:31:40 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 E7005102AE62 for ; Wed, 27 Jun 2018 03:31:39 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpe.telissant.net (colgada.3dresearch.com [104.225.1.172]) (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 9399B90B8C for ; Wed, 27 Jun 2018 03:31:39 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from colgada.3dresearch.com (localhost [127.0.0.1]) by smtpe.telissant.net (Postfix) with ESMTP id 1BA433AC99 for ; Tue, 26 Jun 2018 23:31:39 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpe.telissant.net ([127.0.0.1]) by colgada.3dresearch.com (colgada.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NQSNPNOnCTgM for ; Tue, 26 Jun 2018 23:31:07 -0400 (EDT) Received: from elettra.3dresearch.com (unknown [71.112.245.157]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: elettra@colgada.3dresearch.com) by smtpe.telissant.net (Postfix) with ESMTPSA id 0CA5F3AC90 for ; Tue, 26 Jun 2018 23:31:07 -0400 (EDT) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id 6F8954D3BA for ; Tue, 26 Jun 2018 23:31:06 -0400 (EDT) Date: Tue, 26 Jun 2018 23:30:57 -0400 From: Janos Dohanics To: freebsd-ports@freebsd.org Subject: Re: devel/qt5-core (qt5-core-5.9.4_2) (uninstall error) Message-Id: <20180626233057.90299e5d42239889e84324c8@3dresearch.com> In-Reply-To: <5B32FCAE.1040304@grosbein.net> References: <20180626224653.85f41c239c6e5d84c03f92ee@3dresearch.com> <5B32FCAE.1040304@grosbein.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd10.4) 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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 03:31:40 -0000 On Wed, 27 Jun 2018 09:55:42 +0700 Eugene Grosbein wrote: > 27.06.2018 9:46, Janos Dohanics wrote: > > > # ls -al /usr/local/lib/qt5/libQt5Core* > > -rw-r--r-- 1 root wheel 1040 May 5 > > 21:58 /usr/local/lib/qt5/libQt5Core.prl lrwxr-xr-x 1 root > > wheel 19 May 5 21:58 /usr/local/lib/qt5/libQt5Core.so -> > > libQt5Core.so.5.9.4 lrwxr-xr-x 1 root wheel 19 May 5 > > 21:58 /usr/local/lib/qt5/libQt5Core.so.5 -> libQt5Core.so.5.9.4 > > -rwxr-xr-x 1 root wheel 5028000 May 5 > > 21:58 /usr/local/lib/qt5/libQt5Core.so.5.9.4 > > > > How can I fix this? > > Just remove symlinks and re-do the procedure. Thank you, easy enough. Looks like a number of other of my qt5 ports (perhaps all?) have the same problem when upgrading (qt5-script, qt5-dbus, qt5-network, qt5-xmlpatterns-5.10.1...) -- Janos Dohanics From owner-freebsd-ports@freebsd.org Wed Jun 27 09:53:53 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 65D071017756 for ; Wed, 27 Jun 2018 09:53:53 +0000 (UTC) (envelope-from mat@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 E4BAD758BC for ; Wed, 27 Jun 2018 09:53:52 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A4BC91017753; Wed, 27 Jun 2018 09:53:52 +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 9087C1017752 for ; Wed, 27 Jun 2018 09:53:52 +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 3D536758BB; Wed, 27 Jun 2018 09:53:52 +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 A1F3A1C3BB; Wed, 27 Jun 2018 09:53:51 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Wed, 27 Jun 2018 11:53:49 +0200 From: Mathieu Arnold To: Hans Petter Selasky Cc: ports@FreeBSD.org Subject: Re: head/audio/jack-keyboard Message-ID: <20180627095349.xc2pxix5wxwa43zs@ogg.in.absolight.net> References: <137c915f-8307-a5c3-b203-fe2fe690ad28@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hxrjhzrrpkmzt3fg" Content-Disposition: inline In-Reply-To: <137c915f-8307-a5c3-b203-fe2fe690ad28@selasky.org> User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 09:53:53 -0000 --hxrjhzrrpkmzt3fg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jun 26, 2018 at 10:01:35AM +0200, Hans Petter Selasky wrote: > Can someone bump DISTVERSION or approve me to do it in > head/audio/jack-keyboard/Makefile to 2.7.2 ? Could you please submit a PR with a patch, or point us to one? Regards, --=20 Mathieu Arnold --hxrjhzrrpkmzt3fg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJbM16sXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Ik7AP/1s52Ix/X5pvkGD02/epJo+F KpDiBYzpeTktq3HB1W+WYW80DO7jPss/jpoYw92wlQuUKewfLBecovjM1wseeUsC 5oMVjLDlR3rIk6Fl7bqjYeL4J/l7eXCinC9bWoZGE4O5p3cqnAzbkwmoySUPRuaG w8EK7290S+NbZE0B114FsGFPViFB3dOReQ1CwuUblbxlhzKI6lwMg69yfHwaBH0J WXDWN0NTrRNU2xXni0jc9S1xqmkuLMAxLXk9hPr2d0lS5ucnzs4Vcpey24B3/6UF dXpkBJel4p0GFZRVgw5tLIgtz9a080WdPfjVCea3b+M/tRiealPwzOQmdnSZ3bQw kfaXy22DTDrjBkgZ1IgdGhct5JDew/dKfyz8Ryn7UaEVRqcxyYSRQyQOZrXKjGUs 29dHzH65cWMm1XoQlCKgLUmcl/zZiZTwt6C5FkjMuQT1WqrF6hBaPogLtKVdJLS/ mdDov2bMJDPi3KSfKNF9tyiEtNnn2GlzGcLQy87yFA3FpFr709E6E+5nP2NhBogr FEV/LQ0sXerdeO/85wELGr0oRQwoWYsQao+LY149Lspv0SujlhFjYcpghYwnEFWa f0x4ZAJ9DByolu6oxRiLGqu5tcbHzd57fBVYfBUV+WO+24poTbcpvvOKiRzab8Q8 1d1/JlOsGCDVOqCxLYPN =3Zat -----END PGP SIGNATURE----- --hxrjhzrrpkmzt3fg-- From owner-freebsd-ports@freebsd.org Wed Jun 27 09:58:19 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 7A28E1017A51 for ; Wed, 27 Jun 2018 09:58:19 +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 28A1875A46; Wed, 27 Jun 2018 09:58:19 +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 A5C171C3BC; Wed, 27 Jun 2018 09:58:18 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Wed, 27 Jun 2018 11:58:17 +0200 From: Mathieu Arnold To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-ports@freebsd.org Subject: Re: Should a package restart on upgrade itself Message-ID: <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="exo422stywl27yxo" Content-Disposition: inline In-Reply-To: <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 09:58:19 -0000 --exo422stywl27yxo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 26, 2018 at 01:27:49PM +0200, Miroslav Lachman wrote: > Miroslav Lachman wrote on 2017/06/27 19:32: > > Matthias Fechner wrote on 2017/06/27 18:29: > > > Dear all, > > >=20 > > > it is always a pain if pkg upgrade a lot of packages to restart all > > > services to make sure update/security fixes are applied to all running > > > services. > > >=20 > > > Is there an option in pkg that it restart services automatically or is > > > it OK if I would add a post-install script to the packages (I maintai= n) > > > that will include a "service foo restart"? > > >=20 > > > What is best practice here? > >=20 > > Please don't do this. > > Some ports did this in the past and this was really a pain during larger > > upgrades. It sometimes leave services stopped (hi MySQL). > >=20 > > The same bad practice is disabling / enabling Apache modules on upgrade. > >=20 > > pkg upgrade should just do it's work - upgrade packages on disk. But > > manipulating config files and restart of services is up to me - the > > Administrator (or my tools). > >=20 > > It would be nice to have some kind of "hooks" in pkg, which can be used > > to notify deployment tools that some services should be (re)started, or > > do restart in some simpler environment if user allows this (setup hooks > > for service restart). > > But is must not be done automatically for individual ports / packages > > even if maintainer thinks it is Good Idea (tm) >=20 > Again and again and again... >=20 > Can we have some written (or do we have?) policy to not stop/start/restart > services from some @preunexec / @postexec targets? > I really don't like that some packages are still shutting down or trying = to > restart in the middle of the pkg upgrade process. There is a policy, it MUST NOT be done. Services are stopped and started with the rc file they install, and pkg does it when its configuration variable HANDLE_RC_SCRIPTS is set to true. Please point out to ports doing this so that they can be fixed. --=20 Mathieu Arnold --exo422stywl27yxo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJbM1+4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I3YIP/12col87XeUX9aMstKQgu+ck Zu6dZFTjzX6jSwfctLK16VjD+G45y0MZV1WuTJi1le9I+pqL0b62v6/60KqMXjIL gP4NoU6HPY2oD/VXQePdPk8N03dTS8t5t6v/pSwejHURZUsNXyvkV3q1TGmL23Xj LMosls/hohZq8PX+7zwJ0ZV/cQUkhZ7O3bUy0O7cH0IWVTl94DbYwjUeMztTRDr1 KzwuR+PgveWcPtgIMKPQKTD+8wur3PsolnFLVsC85UNfLaIx8p4dsKUtB1qFbvsr jWJ35DzculThZ4iPFMdFov8DbCDaivrqV8kMzMDyVMKcY0LKX+jpDMGlHx5EaYAl UB9OZg2U5iZqpIhyGi9IVFasJsWdF8bWOVQPS07B/h19D8g+5+ws7BcPrzmYDhu8 kNwzE4Xuu1Hm8XylvyblKDH4ZQq6Ln0DgfJ1+Y89L4dIHjJBWfdIM5bhvUsZTILi UIgboNIK7dRajaFsNEO67+PbhQGsXVAFQm5LpRQB7U3Q1WS8WcD04OSQ5rzsuvU4 eiy5kCfrpNwRkqQ1w1UYQyz2ba9x4L2c2dc/WstdAYZ395bD5jD1Yve21j/sTFgZ JcmDqK7brkCGdOu+2TUZhSHDX9x/7w+1A/MqrEZfGt3ivxOt3drwnsRitG08iYPf hcAS3eOTGOybFyjCmkO/ =xxWU -----END PGP SIGNATURE----- --exo422stywl27yxo-- From owner-freebsd-ports@freebsd.org Wed Jun 27 10:26:22 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 0A9901019793 for ; Wed, 27 Jun 2018 10:26:22 +0000 (UTC) (envelope-from hps@selasky.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 A1251768C2 for ; Wed, 27 Jun 2018 10:26:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id 64DBB1019792; Wed, 27 Jun 2018 10:26:21 +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 5079B1019791 for ; Wed, 27 Jun 2018 10:26:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 D29D8768C0; Wed, 27 Jun 2018 10:26:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A4207260448; Wed, 27 Jun 2018 12:26:18 +0200 (CEST) Subject: Re: head/audio/jack-keyboard To: Mathieu Arnold Cc: ports@FreeBSD.org References: <137c915f-8307-a5c3-b203-fe2fe690ad28@selasky.org> <20180627095349.xc2pxix5wxwa43zs@ogg.in.absolight.net> From: Hans Petter Selasky Message-ID: Date: Wed, 27 Jun 2018 12:26:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180627095349.xc2pxix5wxwa43zs@ogg.in.absolight.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 10:26:22 -0000 On 06/27/18 11:53, Mathieu Arnold wrote: > Hi, > > On Tue, Jun 26, 2018 at 10:01:35AM +0200, Hans Petter Selasky wrote: >> Can someone bump DISTVERSION or approve me to do it in >> head/audio/jack-keyboard/Makefile to 2.7.2 ? > > Could you please submit a PR with a patch, or point us to one? This issue has been resolved. Thank you! --HPS From owner-freebsd-ports@freebsd.org Wed Jun 27 11:19: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 C92A7101C2AC for ; Wed, 27 Jun 2018 11:19:30 +0000 (UTC) (envelope-from mat@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 6551978556 for ; Wed, 27 Jun 2018 11:19:30 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 25ED7101C2A9; Wed, 27 Jun 2018 11:19:30 +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 142D2101C2A8 for ; Wed, 27 Jun 2018 11:19:30 +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 BCBE478554; Wed, 27 Jun 2018 11:19:29 +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 3186B1CBCC; Wed, 27 Jun 2018 11:19:29 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Wed, 27 Jun 2018 13:19:27 +0200 From: Mathieu Arnold To: Hans Petter Selasky Cc: Mathieu Arnold , ports@FreeBSD.org Subject: Re: head/audio/jack-keyboard Message-ID: <20180627111926.acicc4qumr7x2yfv@ogg.in.absolight.net> References: <137c915f-8307-a5c3-b203-fe2fe690ad28@selasky.org> <20180627095349.xc2pxix5wxwa43zs@ogg.in.absolight.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bc7lpkg4u3pnzvhw" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 11:19:31 -0000 --bc7lpkg4u3pnzvhw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 27, 2018 at 12:26:00PM +0200, Hans Petter Selasky wrote: > On 06/27/18 11:53, Mathieu Arnold wrote: > > Hi, > >=20 > > On Tue, Jun 26, 2018 at 10:01:35AM +0200, Hans Petter Selasky wrote: > > > Can someone bump DISTVERSION or approve me to do it in > > > head/audio/jack-keyboard/Makefile to 2.7.2 ? > >=20 > > Could you please submit a PR with a patch, or point us to one? >=20 > This issue has been resolved. In any case, for any future update you need to do, please provide a patch, either in a PR or in the email. Preferably in a PR. --=20 Mathieu Arnold --bc7lpkg4u3pnzvhw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJbM3K+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Iv+cP/i4PnXXetTxu10DaFbvP3KZI AEtl/5wTME3co6J7y04JuPTyJR10LsFFtgWgSyPXjf8Mf7BC1RcvdBXS+Vcvsn5Y Zsam1ctRXcAKrnVSkyBWwBnGAsVI4hKCcQWg5jkvjoHsSE8VdbG5XjyD4LP6N7/8 yKuIueWaqOyVhOcS4/Xgc9pwCa1O8kzFkPjjk7bRYRqOKNxXHE2mXxUBqltkGefq koHSYHOh8eklxETF+40GojiAyiPbf4EqQqXz6m8MJxEmswy6k5n5o+zm+GjeqSDX m/CX2kGKDlFlnZ+OeJi2BWKGfbE+RH5ZUND0wy4D3gx9xAy0jObkB10LtI41yyuh MoQeEv+eH0CEJfN0Ucs97j5xqwHMUrPaziYtpRP6wvimI0l7rAERo8QY9eeKHqjA 5VGnZPTHkLS4pahjqnRBF4mUz8LawDs383DVyk+9JdEknTrAwRI29OiaxiDZZvDn ee7044mvlZP5q9hx+jU6+eI/HuzC0McOucqobZPT31LNs2Rd4W///53TTp+v1pSH 7M1jkerZ0eu6dOR/g2BJ77TgtgBGWFy4JOt1qa5g68imYtQbcgf9m87mEq925UVX HU7v5pQQUPksd9GaNEga4ZNGvpttZnoodxlaX9NdPMsPuBYvbjyTAq2rscIPhflC ZwBPzb2ugmOkLxqv1hSd =Nxdu -----END PGP SIGNATURE----- --bc7lpkg4u3pnzvhw-- From owner-freebsd-ports@freebsd.org Wed Jun 27 12:07:46 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 5135A1020333 for ; Wed, 27 Jun 2018 12:07:46 +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 E1ACC7A430 for ; Wed, 27 Jun 2018 12:07:45 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9B8EE102032F; Wed, 27 Jun 2018 12:07:45 +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 88E71102032D for ; Wed, 27 Jun 2018 12:07:45 +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 225957A421 for ; Wed, 27 Jun 2018 12:07:45 +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 4D0F3AAA3 for ; Wed, 27 Jun 2018 12:07:44 +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 w5RC7iWr083537 for ; Wed, 27 Jun 2018 12:07:44 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.ysv.freebsd.org (8.15.2/8.15.2/Submit) id w5RC7ixQ083530; Wed, 27 Jun 2018 12:07:44 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201806271207.w5RC7ixQ083530@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, 27 Jun 2018 12:07:44 +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.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 12:07:46 -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 ------------------------------------------------+-----------------+------------ emulators/mame | 0.198 | mame0199 ------------------------------------------------+-----------------+------------ emulators/mess | 0.198 | mame0199 ------------------------------------------------+-----------------+------------ science/gwyddion | 2.45 | 2.51 ------------------------------------------------+-----------------+------------ 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 Jun 27 12:18:02 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 BF1B81020C8F for ; Wed, 27 Jun 2018 12:18:02 +0000 (UTC) (envelope-from SRS0=7/i7=JN=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 585DE7AC52; Wed, 27 Jun 2018 12:18:02 +0000 (UTC) (envelope-from SRS0=7/i7=JN=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id ACA9528417; Wed, 27 Jun 2018 14:18:00 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C058328412; Wed, 27 Jun 2018 14:17:59 +0200 (CEST) Subject: Re: Should a package restart on upgrade itself To: Mathieu Arnold Cc: freebsd-ports@freebsd.org References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Wed, 27 Jun 2018 14:17:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 12:18:02 -0000 Mathieu Arnold wrote on 2018/06/27 11:58: > On Tue, Jun 26, 2018 at 01:27:49PM +0200, Miroslav Lachman wrote: >> Miroslav Lachman wrote on 2017/06/27 19:32: [...] >> Again and again and again... >> >> Can we have some written (or do we have?) policy to not stop/start/restart >> services from some @preunexec / @postexec targets? >> I really don't like that some packages are still shutting down or trying to >> restart in the middle of the pkg upgrade process. > > There is a policy, it MUST NOT be done. Do you have a link to docs where it is stated? I really would like to bookmark it so next time this discussion appear I will just post the link to docs ;) > Services are stopped and started with the rc file they install, and pkg > does it when its configuration variable HANDLE_RC_SCRIPTS is set to > true. > > Please point out to ports doing this so that they can be fixed. > I know about the open-vm-tools. I will let you know if I will find another. Kind regards Miroslav Lachman From owner-freebsd-ports@freebsd.org Wed Jun 27 12:33: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 9163B1021C1F for ; Wed, 27 Jun 2018 12:33:32 +0000 (UTC) (envelope-from lists@opsec.eu) 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 30FB57B96F for ; Wed, 27 Jun 2018 12:33:32 +0000 (UTC) (envelope-from lists@opsec.eu) Received: by mailman.ysv.freebsd.org (Postfix) id E915A1021C1E; Wed, 27 Jun 2018 12:33:31 +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 D77E31021C1D for ; Wed, 27 Jun 2018 12:33:31 +0000 (UTC) (envelope-from lists@opsec.eu) 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 6D53F7B96C; Wed, 27 Jun 2018 12:33:31 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fY9da-0006Ih-T7; Wed, 27 Jun 2018 14:33:30 +0200 Date: Wed, 27 Jun 2018 14:33:30 +0200 From: Kurt Jaeger To: Mathieu Arnold Cc: Hans Petter Selasky , ports@FreeBSD.org Subject: Re: head/audio/jack-keyboard Message-ID: <20180627123330.GS4028@home.opsec.eu> References: <137c915f-8307-a5c3-b203-fe2fe690ad28@selasky.org> <20180627095349.xc2pxix5wxwa43zs@ogg.in.absolight.net> <20180627111926.acicc4qumr7x2yfv@ogg.in.absolight.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627111926.acicc4qumr7x2yfv@ogg.in.absolight.net> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 12:33:32 -0000 Hi! > In any case, for any future update you need to do, please provide a > patch, either in a PR or in the email. Preferably in a PR. I approved that update, as I assumed that it's just a version bump and new distinfo values, FYI. -- pi@opsec.eu +49 171 3101372 2 years to go ! From owner-freebsd-ports@freebsd.org Wed Jun 27 13:10:09 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 491DB10237CC for ; Wed, 27 Jun 2018 13:10:09 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.infocus-llc.com (mail.infocus-llc.com [199.15.120.13]) (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 E40607CA30; Wed, 27 Jun 2018 13:10:08 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (tunnel180062-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:11ae::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tarragon.infocus-llc.com (Postfix) with ESMTPSA id 41G3D92crWzj58; Wed, 27 Jun 2018 08:10:01 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 41G3D83mbyz7XK; Wed, 27 Jun 2018 08:10:00 -0500 (CDT) Date: Wed, 27 Jun 2018 08:10:00 -0500 From: "Matthew D. Fuller" To: Mathieu Arnold Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-ports@freebsd.org Subject: Re: Should a package restart on upgrade itself Message-ID: <20180627131000.GD1856@over-yonder.net> References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 13:10:09 -0000 On Wed, Jun 27, 2018 at 11:58:17AM +0200 I heard the voice of Mathieu Arnold, and lo! it spake thus: > > Please point out to ports doing this so that they can be fixed. On the "irritates me from time to time" list, https://svnweb.freebsd.org/ports/head/mail/spamassassin/pkg-plist?revision=425590&view=markup#l1 -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-ports@freebsd.org Wed Jun 27 13:56:46 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 4F334102571C for ; Wed, 27 Jun 2018 13:56:46 +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 EF2557E808; Wed, 27 Jun 2018 13:56:45 +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 3DF5E1DBFF; Wed, 27 Jun 2018 13:56:45 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Wed, 27 Jun 2018 15:56:43 +0200 From: Mathieu Arnold To: "Matthew D. Fuller" Cc: Mathieu Arnold , Miroslav Lachman <000.fbsd@quip.cz>, freebsd-ports@freebsd.org Subject: Re: Should a package restart on upgrade itself Message-ID: <20180627135643.tgj22jjgcyfvk2nc@ogg.in.absolight.net> References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> <20180627131000.GD1856@over-yonder.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iig5jydfirlvjbat" Content-Disposition: inline In-Reply-To: <20180627131000.GD1856@over-yonder.net> User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 13:56:46 -0000 --iig5jydfirlvjbat Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 27, 2018 at 08:10:00AM -0500, Matthew D. Fuller wrote: > On Wed, Jun 27, 2018 at 11:58:17AM +0200 I heard the voice of > Mathieu Arnold, and lo! it spake thus: > >=20 > > Please point out to ports doing this so that they can be fixed. >=20 > On the "irritates me from time to time" list, >=20 > https://svnweb.freebsd.org/ports/head/mail/spamassassin/pkg-plist?revisio= n=3D425590&view=3Dmarkup#l1 Found a bunch of those, fixed them in r473439. --=20 Mathieu Arnold --iig5jydfirlvjbat Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJbM5ebXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IRLEP/36uHw1KZydXJjda6jVATCFB kKDRqgVCQMLp86TqEHsro6hxBVT0xTE+vhH6KDsiAFOyAd5Jz79xYFnOFYZQYx0W nGOW2MnrjB3QX8o3yQeiIw/+s3M2JaRe1MV/LA4z0uh9b2fkO+5Tc5Tv0jD075Qx o0bKe2jJFClb7xUmFNyPyRA31cFJOS3NbhJGDFtC0o+rC2e72+4i1NC+C4H4LITK 2nvtnqbSr3iEyzdoCRnRc31unlnOom9M5God3vTFPl1jneS3y1zMBBse5vNj8y8W kb2mtECrORwSHxoskH966OZWoAD9ajHJ7/hWmmDWGUEHfhbvnzdIjc5HfHIYM0A2 0wKnvZlAjISDrBJMJqJoAdRShu1mW8G9u/pUdsA1ec5ugyO36xEb7mJsiX1EHKLQ uwKCR0ARocq/tapHxSMFEW0VPueWTFbXOOVl+HMvDW4RYnV1LAWCkWxLqTZcCVLi unXfNnHNeBRBXGSUE8SostWCgDbakUFc4Ej30tPX8PGk5OYk1JLTgoxp5RzLlTfD zgBZlqAw/WGOiPTr6JoB6Dx8UfC7m2em5pfNKJfuAtdwoNIUW8Ch6i+HufThdDtM G9ROnLKNef5AhJ+EBxG+SNmoJILVGzvLLn82SYi0R3liHS7oLicRU9mGwC3/+c49 6OHPpx5KH/Wnwfyck17g =6hHv -----END PGP SIGNATURE----- --iig5jydfirlvjbat-- From owner-freebsd-ports@freebsd.org Wed Jun 27 14:15: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 4A054102691E for ; Wed, 27 Jun 2018 14:15:55 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 EB5D980065 for ; Wed, 27 Jun 2018 14:15:54 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DC7E721B25 for ; Wed, 27 Jun 2018 10:15:53 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute1.internal (MEProxy); Wed, 27 Jun 2018 10:15:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=wFNFys NUeTyXxbzuXqJJ0ZrY6oNSnlTru8TWFR0l3jA=; b=FH9MnAUqLiuPANkEQRkITk PqLbXUfSEaNxsvmP3/Iw7d2zhdHDGH9jx5EuAF3tRVUqZkzhb6GZZnTQFDgik1QF nC9idutHxQQxc4v3qKuMng+pfxlytDwOfcjxg5kYejjT8C9p6E/Rh74ZBMVOl5ai smdSytA9DYeFjXb/i+zebYjSbnK7On5ZGluDPolPkx+R5lGgCtz29T0Wm1MydkAZ S20TEeuQ7HQ6ElAbO6d+F169r4s3nMCuN5wj8XEZIFldH4RK4evy/cqo8AvTXI58 OEok1ho4Vfa0axmugIqQmkK43ZSKTp86e0e2s+aM7ZpsnK42c+2G3rQe3M4OCJ2Q == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 473B1BA4CF; Wed, 27 Jun 2018 10:15:53 -0400 (EDT) Message-Id: <1530108953.2669028.1422234264.490AC9F0@webmail.messagingengine.com> From: Josh Paetzel To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-0d8ea36c Subject: Re: Should a package restart on upgrade itself Date: Wed, 27 Jun 2018 09:15:53 -0500 References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> <20180627131000.GD1856@over-yonder.net> <20180627135643.tgj22jjgcyfvk2nc@ogg.in.absolight.net> In-Reply-To: <20180627135643.tgj22jjgcyfvk2nc@ogg.in.absolight.net> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 14:15:55 -0000 On Wed, Jun 27, 2018, at 8:56 AM, Mathieu Arnold wrote: > On Wed, Jun 27, 2018 at 08:10:00AM -0500, Matthew D. Fuller wrote: > > On Wed, Jun 27, 2018 at 11:58:17AM +0200 I heard the voice of > > Mathieu Arnold, and lo! it spake thus: > > > > > > Please point out to ports doing this so that they can be fixed. > > > > On the "irritates me from time to time" list, > > > > https://svnweb.freebsd.org/ports/head/mail/spamassassin/pkg-plist?revision=425590&view=markup#l1 > > Found a bunch of those, fixed them in r473439. > > -- > Mathieu Arnold > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) So the consensus is to change open-vm-tools so it doesn't autorestart? -- Thanks, Josh Paetzel From owner-freebsd-ports@freebsd.org Wed Jun 27 23:08: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 D2330101A6E9 for ; Wed, 27 Jun 2018 23:08:55 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from equinox.hilltopgroup.com (equinox.hilltopgroup.com [204.109.63.175]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF0F77F2E for ; Wed, 27 Jun 2018 23:08:55 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.relativity.hilltop.int (unknown [104.185.205.155]) by equinox.hilltopgroup.com (Postfix) with ESMTP id 9D78237BDC4 for ; Wed, 27 Jun 2018 19:08:48 -0400 (EDT) Received: from sovereign.sector005 (equinox.hilltopgroup.com [204.109.63.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltop.int (Postfix) with ESMTPSA id E663711F63 for ; Wed, 27 Jun 2018 19:08:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1530140928; bh=hd4WCVMUjVSHxHENFDtgFRSpzF6OphhTWavz0UZ23NA=; h=To:From:Subject:Date; b=c1/Bxj/zCbA4Otrom73AYxwqdS76UcxpOZE+RyXTPaUOuUtWcUmYNXaCTWRF8HoyG VhZCdF16batDsN5RpKdRz+sKVVm8lsAFEJbkiyFVtSwELMIwrlP9MzPCX3RCU6auL6 Uuc5yopYQ8w/OYT8zRirH6VDKePsFostPwOyjZLY= To: freebsd-ports@freebsd.org From: Joseph Ward Subject: Any way to prevent do-extract chmod and chown? Message-ID: Date: Wed, 27 Jun 2018 19:06:44 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 23:08:56 -0000 Hi everyone, I'm creating some internal-only ports and I'm trying to maintain the permissions and owners of the files present in the distfile.tar.gz when they get packaged up for install. When I "make extract", the "do-extract" target is performing a chmod and chown on everything, as seen from the following excerpt from the bsd.port.mk file: .if !target(do-extract) do-extract: ${EXTRACT_WRKDIR}         @for file in ${EXTRACT_ONLY}; do \                 if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\                 then \                         exit 1; \                 fi; \         done         @if [ ${UID} = 0 ]; then \                 ${CHMOD} -R ug-s ${WRKDIR}; \                 ${CHOWN} -R 0:0 ${WRKDIR}; \         fi .endif Short of commenting those lines out (which I really don't want to do because I have 0 idea why it's there or what I'd break with other ports) is there any way at all to maintain the ownership of the files?  Thanks, Joseph Ward From owner-freebsd-ports@freebsd.org Wed Jun 27 23:22: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 047D0101AF91 for ; Wed, 27 Jun 2018 23:22:36 +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 93A7F78756 for ; Wed, 27 Jun 2018 23:22:35 +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 B27A4892BD for ; Thu, 28 Jun 2018 00:22:27 +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=afIHCqN YcvLLlzQs+SJdoqzwanE=; b=tN3sXWEXozn6N/yUMAlqIq10gmLJhjRzEhnNblC oOiyyCap+d63UsNQjHZKICQBor9OD+7Xez/LAx8Jp9gFyN/E5k1TrhYnDm5Gsheh dahUfeMMGA21L9RyXBcL/i3MXHQY3tqiNzvWHVRlJ0U8giVTt6YPt4OIhGPkuDSb IVew= 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 7C824892BA for ; Thu, 28 Jun 2018 00:22:27 +0100 (BST) Date: Thu, 28 Jun 2018 00:22:27 +0100 From: Bob Eager To: freebsd-ports@freebsd.org Subject: Re: Any way to prevent do-extract chmod and chown? Message-ID: <20180628002227.6a829860@raksha.tavi.co.uk> In-Reply-To: References: 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 23:22:36 -0000 On Wed, 27 Jun 2018 19:06:44 -0400 Joseph Ward wrote: > When I "make extract", the "do-extract" target is performing a chmod > and chown on everything, as seen from the following excerpt from the > bsd.port.mk file: . . . > Short of commenting those lines out (which I really don't want to do > because I have 0 idea why it's there or what I'd break with other > ports) is there any way at all to maintain the ownership of the > files?=A0 If the ownership is well defined and not complex, you could add a post-extract: target in your Makefile and fix up the ownerships then. Or, you could override the do-extract: target with your own, and extract the files as you want (probably replicating part of the real do-extract: target). From owner-freebsd-ports@freebsd.org Wed Jun 27 23:54:31 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 592A7101EE6F for ; Wed, 27 Jun 2018 23:54:31 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4C557AF60 for ; Wed, 27 Jun 2018 23:54:30 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw0-x22f.google.com with SMTP id t18-v6so1340200ywg.2 for ; Wed, 27 Jun 2018 16:54:30 -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=YdqVps2K9hMPstieguZqg+ezkBTY/9xIRi0N+R+y3ew=; b=i9bXJeI6Z6DpIYmOVqhOpB4bK7B2aOKshja1++QhR6sH+0+N8vdcbO5Q13jLAvpnR3 VU6m3vB4FDUb9EEnYcuAKGumMCAkIrLj565Zn3iCbSC7yCcDL+CfeAkcU9rvG58FwMhF 3rkMAjtX6H4iSf75QfTATIQ1FiEocJe9JGHPmlXlR8bLZgKV9HxYclKYdhVbjYNPpz+B 22fs6wUcCTq/lE+cIq33OET4F3FBwVgkz9xbo7GyCXdymx8DM0sAvXm5rL0pmOkFc5zM K/+ccsDSOaLCzrO5kx72cB7POPAcrKrzDX8qE/zwng+1lZTDIZqBauwkLVFqmp6CCT/9 53Wg== 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=YdqVps2K9hMPstieguZqg+ezkBTY/9xIRi0N+R+y3ew=; b=umIxZ14yeW7hve7oWTtM2YnSBc07ZmYYKE9s18JUvCDrqBTTeeEcLDptS0wu5LWckv ekovqOpb2lhCktoXoGJWulu1CsyQLQ4uZ5xqbEdp7LWMvHBnNyut8sREqd+rBUAravMl ByT9uLHNChmYpc/rPnRyTa7INiHY7rdy1qsyHyafF7hkDNowCFYxelSzaSP3g+u0uxZB i/L5oyHV/QKpJsmug+5pQf0oclNAD0crpSZxcSBrdrfk0ZxuRRAC67bXRj3Xrac8lDq5 DcWbH0Sli5P5ql4fLh8a6ACdcT65K1HAEHuKb6FvR/zHlyH8M3i7r4ECYnhGe5CbO7+K La6A== X-Gm-Message-State: APt69E0+SR5cRKBkdhA0xVRmjTfbYg42R5MrvpagpogGu4rhJm7f8QmG 7FWzZochFVeL17Flg3vBdAAIz414vx2gieYGzsBRwShTv6M= X-Google-Smtp-Source: AAOMgpcntLd+A1mZREedN9WRkR9Ux3S5a+0dskgXxQUGR1T3VLOYKiTGn/NBP02XeW4Q4FfLmL/ZtrqdQJorgfjLAdo= X-Received: by 2002:a81:a614:: with SMTP id d20-v6mr4110356ywh.487.1530143670087; Wed, 27 Jun 2018 16:54:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Wed, 27 Jun 2018 17:54:14 -0600 Message-ID: Subject: Re: Any way to prevent do-extract chmod and chown? To: jbwlists@hilltopgroup.com Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 23:54:31 -0000 On Wed, Jun 27, 2018 at 5:09 PM Joseph Ward wrote: > > Hi everyone, > > I'm creating some internal-only ports and I'm trying to maintain the > permissions and owners of the files present in the distfile.tar.gz when > they get packaged up for install. > > When I "make extract", the "do-extract" target is performing a chmod and > chown on everything, as seen from the following excerpt from the > bsd.port.mk file: > > > .if !target(do-extract) > do-extract: ${EXTRACT_WRKDIR} > @for file in ${EXTRACT_ONLY}; do \ > if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_CMD} > ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ > then \ > exit 1; \ > fi; \ > done > @if [ ${UID} = 0 ]; then \ > ${CHMOD} -R ug-s ${WRKDIR}; \ > ${CHOWN} -R 0:0 ${WRKDIR}; \ > fi > .endif > > > Short of commenting those lines out (which I really don't want to do > because I have 0 idea why it's there or what I'd break with other ports) > is there any way at all to maintain the ownership of the files? > > > Thanks, > > Joseph Ward Hi Joseph, Your best bet is to use plist keywords. See https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html for details. You can set owner/group on individual files in the pkg-plist: @(ownername,groupname,444) path/to/file Or you can set it on a block of files: @group groupname @owner ownername path/to/file1 path/to/file2 # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org From owner-freebsd-ports@freebsd.org Thu Jun 28 02:26: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 9A3D6102B618 for ; Thu, 28 Jun 2018 02:26:32 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from equinox.hilltopgroup.com (equinox.hilltopgroup.com [204.109.63.175]) by mx1.freebsd.org (Postfix) with ESMTP id 41BCD81A2B for ; Thu, 28 Jun 2018 02:26:32 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.relativity.hilltop.int (unknown [104.185.205.155]) by equinox.hilltopgroup.com (Postfix) with ESMTP id 3A92737BDC4 for ; Wed, 27 Jun 2018 22:26:31 -0400 (EDT) Received: from [192.168.6.131] (equinox.hilltopgroup.com [204.109.63.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltop.int (Postfix) with ESMTPSA id B6FC3122BD for ; Wed, 27 Jun 2018 22:26:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1530152790; bh=BFRJrU2GPkVxy6fLZCUF1XPu3XIG5nw5PAlyLEzvnWI=; h=Subject:To:References:From:Date:In-Reply-To; b=Jwc8vQVpimZtGJ818ozsP/sL07b7IwXKRawHVARhnvhXj0MpxogRfdwpd8ve9vZrf wBNPvhWYIcLvhE1j6AhWkMEcWaDCnxKKnAKI6UGqzDzeoRM5kf0T8HxDT6FD026dKX Cm2IqFER6+qL+bXucKo8JEI7kpeRa5jxWsZlf8Nk= Subject: Re: Any way to prevent do-extract chmod and chown? To: freebsd-ports@freebsd.org References: <20180628002227.6a829860@raksha.tavi.co.uk> From: Joseph Ward Message-ID: Date: Wed, 27 Jun 2018 22:26:26 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180628002227.6a829860@raksha.tavi.co.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 02:26:32 -0000 Overriding the do-extract target is exactly what I was looking for.  Something I didn't know I could do.  It worked perfectly, thanks!  Unfortunately there are way too many files with various owners to try and fix the permissions afterwards or in the pkg-plist.  (I did consider creating a script to traverse everything, save the permissions, and apply it after the fact, but I wanted something easier and more elegant, and this is great!) Thank you again! -Joseph On 06/27/2018 07:22 PM, Bob Eager wrote: > On Wed, 27 Jun 2018 19:06:44 -0400 > Joseph Ward wrote: > >> When I "make extract", the "do-extract" target is performing a chmod >> and chown on everything, as seen from the following excerpt from the >> bsd.port.mk file: > . > . > . > >> Short of commenting those lines out (which I really don't want to do >> because I have 0 idea why it's there or what I'd break with other >> ports) is there any way at all to maintain the ownership of the >> files?  > If the ownership is well defined and not complex, you could add a > post-extract: target in your Makefile and fix up the ownerships then. > > Or, you could override the do-extract: target with your own, and > extract the files as you want (probably replicating part of the real > do-extract: target). > _______________________________________________ > 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 Thu Jun 28 08:27:43 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 CCC151024BA3 for ; Thu, 28 Jun 2018 08:27:43 +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 7D31B70C79; Thu, 28 Jun 2018 08:27:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (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 ECC5024B64; Thu, 28 Jun 2018 08:27:42 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Thu, 28 Jun 2018 10:27:38 +0200 From: Mathieu Arnold To: Joseph Ward Cc: freebsd-ports@freebsd.org Subject: Re: Any way to prevent do-extract chmod and chown? Message-ID: <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="z6bfi6uyvi4vghdu" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 08:27:44 -0000 --z6bfi6uyvi4vghdu Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 27, 2018 at 07:06:44PM -0400, Joseph Ward wrote: > Hi everyone, >=20 > I'm creating some internal-only ports and I'm trying to maintain the > permissions and owners of the files present in the distfile.tar.gz when > they get packaged up for install. >=20 > When I "make extract", the "do-extract" target is performing a chmod and > chown on everything, as seen from the following excerpt from the > bsd.port.mk file: >=20 >=20 > .if !target(do-extract) > do-extract: ${EXTRACT_WRKDIR} > =A0=A0=A0=A0=A0=A0=A0 @for file in ${EXTRACT_ONLY}; do \ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if ! (cd ${EXTRACT_WRKDIR} = && ${EXTRACT_CMD} > ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 then \ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 exi= t 1; \ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fi; \ > =A0=A0=A0=A0=A0=A0=A0 done > =A0=A0=A0=A0=A0=A0=A0 @if [ ${UID} =3D 0 ]; then \ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ${CHMOD} -R ug-s ${WRKDIR};= \ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ${CHOWN} -R 0:0 ${WRKDIR}; \ > =A0=A0=A0=A0=A0=A0=A0 fi > .endif >=20 >=20 > Short of commenting those lines out (which I really don't want to do > because I have 0 idea why it's there or what I'd break with other ports) > is there any way at all to maintain the ownership of the files?=A0 Building ports as root is a rare thing these days, most build tools build everything as a regular user (most of the time, nobody) so ownership of files in distribution files is not retained anyway. To set user/group/mode ownership in the resulting packages, you need to use the @user, @group and @mode keywords in the pkg-plist file. (or the @ keyword if one file needs a specific user/group/mode.) See: https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html --=20 Mathieu Arnold --z6bfi6uyvi4vghdu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAls0m/lfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkjjDhAAuPNDeWOwihT1+Wis6fQeG2SEwKuOFHaagRvQsAt4U+nfro7sSZ3NYbtQ KuD6arSupj2FnltaywD93aZCnyxoQfA4ETaJ3anRCD6mhrK1agWlxcQcBRCcEy38 goM+Sm1VNZsc/8u4jEUjEzLMO1cQbsBnavjBnz7l+/5oKooon8iTYH20B4wpA8Yz VCD1uFsv64QZ+4SGVebVWklICbLCvq/tucplzYUvp6bw5rEhUAEdBbRNwIPOexzI Yu2asM4HlfqorFhpdf7w7Q9Qkd3jjtWVCBtJhngkK/bMc/P5NIxmNSEUrSl67rNp V7ORmrNDdKfFboNYpReEIaJ/4YYthou3EmSkouUiStjuUEA1mfLq9ssKojqh8p5t uFyteZWNIf5rWihbGJNvQMRcVgabOn2YqJOB6dvoQpWzdsAglHA8TJgRPVygogMf eamuFFOfGErGQePqPlAos1u617bvd32izJriXC1dQsGMk0OwnIIU98ZjE9CTHeHj 6Qs2lkSR41lVmPJKl0SZN0s2TOqUp8xXDa6lrzC2KzO85TPvPHo/bWgFgVjpV0N1 1g/XwPRRPYoRY88HuBuixK6XOF3QPOI5xD5IODN1+WArMOJYxyXAMS/rWEzuMUWB bPQ68vcm4lkQ9tMQZ3Pa7wOgCFr7I0YhgDzxBMEJvU8EhDiPM0g= =er0k -----END PGP SIGNATURE----- --z6bfi6uyvi4vghdu-- From owner-freebsd-ports@freebsd.org Thu Jun 28 17:45:50 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 804531021FA9 for ; Thu, 28 Jun 2018 17:45:50 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from equinox.hilltopgroup.com (equinox.hilltopgroup.com [204.109.63.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1FE3D85FF6; Thu, 28 Jun 2018 17:45:50 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.relativity.hilltop.int (unknown [104.185.205.155]) by equinox.hilltopgroup.com (Postfix) with ESMTP id E00B237BDD5; Thu, 28 Jun 2018 13:45:48 -0400 (EDT) Received: from sovereign.sector005 (equinox.hilltopgroup.com [204.109.63.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltop.int (Postfix) with ESMTPSA id 6D7D6132AA; Thu, 28 Jun 2018 13:45:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1530207948; bh=AQVgIXmQFq5plZgUzqz/3fMkWDTANlZ+VyldW8lN1Nw=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=g9T5RTqBKlynDxgSApp5tesWVPnOiB9b0s9a5+NIiu1IIpyiA6ykxVTHAdLToSPxJ 7ev7wivWBIbVBfueabTwzvaZp4kw1X5Fw34Pi/QtVUFgw5FZM+j6s4h7rZBCtFmc5I ++ZvxjNMqaJdmVq6Ck1etr4fVZ7t0OZ1JAFnrUg4= Subject: Re: Any way to prevent do-extract chmod and chown? To: Mathieu Arnold Cc: freebsd-ports@freebsd.org References: <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> From: Joseph Ward Message-ID: Date: Thu, 28 Jun 2018 13:43:41 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 17:45:50 -0000 Thank you.  I found that to be the case; even though changing the "do-extract" target successfully staged the files and directories with the original permissions, pkg create seems to strip them out again without the pkg-plist additions. Are you aware of an easy/already existing command to create the pkg-plist with the user/group/permissions items for each file, or is that a script I'm going to have to write manually?  I'm currently using the makeplist target as there are no subsitutions or anything else that would screw up the default scenario. Thanks, Joseph On 06/28/2018 04:27, Mathieu Arnold wrote: > On Wed, Jun 27, 2018 at 07:06:44PM -0400, Joseph Ward wrote: >> Hi everyone, >> >> I'm creating some internal-only ports and I'm trying to maintain the >> permissions and owners of the files present in the distfile.tar.gz when >> they get packaged up for install. >> >> When I "make extract", the "do-extract" target is performing a chmod and >> chown on everything, as seen from the following excerpt from the >> bsd.port.mk file: >> >> >> .if !target(do-extract) >> do-extract: ${EXTRACT_WRKDIR} >>         @for file in ${EXTRACT_ONLY}; do \ >>                 if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_CMD} >> ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ >>                 then \ >>                         exit 1; \ >>                 fi; \ >>         done >>         @if [ ${UID} = 0 ]; then \ >>                 ${CHMOD} -R ug-s ${WRKDIR}; \ >>                 ${CHOWN} -R 0:0 ${WRKDIR}; \ >>         fi >> .endif >> >> >> Short of commenting those lines out (which I really don't want to do >> because I have 0 idea why it's there or what I'd break with other ports) >> is there any way at all to maintain the ownership of the files?  > Building ports as root is a rare thing these days, most build tools > build everything as a regular user (most of the time, nobody) so > ownership of files in distribution files is not retained anyway. > > To set user/group/mode ownership in the resulting packages, you need to use > the @user, @group and @mode keywords in the pkg-plist file. (or the @ > keyword if one file needs a specific user/group/mode.) See: > > https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html > From owner-freebsd-ports@freebsd.org Thu Jun 28 22:06:03 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 3B3621028FC7 for ; Thu, 28 Jun 2018 22:06:03 +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 E126570CC1; Thu, 28 Jun 2018 22:06:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (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 4970B9EFA; Thu, 28 Jun 2018 22:06:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Fri, 29 Jun 2018 00:05:59 +0200 From: Mathieu Arnold To: Joseph Ward Cc: Mathieu Arnold , freebsd-ports@freebsd.org Subject: Re: Any way to prevent do-extract chmod and chown? Message-ID: <20180628220559.hwwvidjzwlaxtq4x@atuin.in.mat.cc> References: <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kpakihhqwzuvadiy" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 22:06:03 -0000 --kpakihhqwzuvadiy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: > Thank you.=A0 I found that to be the case; even though changing the > "do-extract" target successfully staged the files and directories with > the original permissions, pkg create seems to strip them out again > without the pkg-plist additions. >=20 > Are you aware of an easy/already existing command to create the > pkg-plist with the user/group/permissions items for each file, or is > that a script I'm going to have to write manually?=A0 I'm currently using > the makeplist target as there are no subsitutions or anything else that > would screw up the default scenario. I am not aware of anything. But if you already have "stuff" creating a big hierarchy with many users and groups, it may be easier to adapt "stuff" to generate a pkg-plist file, or maybe to split your ports into smaller, more manageable bits. make makeplist will give you a correct listing of files and directories, but as everything runs as a regular user, it cannot be aware of the users/groups you intend on using in the plist. --=20 Mathieu Arnold --kpakihhqwzuvadiy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAls1W8dfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkipdA/6At3QsLiXUwZE0TstM78hdPfB27llPgEvRlys76cKSDO3MtrJXAAglGI5 w2zMGtWWRS/rb4ojc9fKKNZ2UlK/oXtaExtKeFnwsCScHN402bOexZDtRMFvIHfe lRagNN9PuciUgjG8uyZSfCYomGDudqVu2xttsCeAHEAMjGvI6ndm3dnGMqhXqVWC x2oc2PUiiGQPTsCDvgmo81A3zehZ2I02rkUUDZrTQwotNX1GRvuaY2u0JD9uRb+t p6XhXZvGoazoKI8QESpU3B39z2+JSuOW+ZMlPWgvtI/aFscmhnkTpxLZQL8gdC+u 2UFioGfq99QTEzUMcRztLxQ+TGCzP3wWrN02UQnAzzY42Eu0QDjPVewQgMMJgdWU bHPYfJhubPUP2gdjwtIz9J8m1zaq7lpBCP8XEZ/0ejMo03eq36d+X9+sdAvPC3jF vANLJGudluStcO17/guH5fPA+CQPm7tPUYpTKjUCdRg9+gg0jx5C17EQ/+OAeqfs lZutZYPD3UeR6wLCmPJAMKVP5mpPmHJt1xDnhkA5UJhXsE1TyOBpDqwI/6LUaACf CHwCTE0rSP95BG20ZW9HRFx6NTiax2bpnrZlO6AQvHu3BTSbYHpogJyQKhmyouTT ETW1tcSY1MpGTRVH/LfY7pPzzz+aViDX/+SF6VXnXndjalgZcXs= =TKxH -----END PGP SIGNATURE----- --kpakihhqwzuvadiy-- From owner-freebsd-ports@freebsd.org Thu Jun 28 23:00:27 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 1FFB1102B9A9 for ; Thu, 28 Jun 2018 23:00:27 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C8F272DE3; Thu, 28 Jun 2018 23:00:26 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id a6-v6so5790839ljj.7; Thu, 28 Jun 2018 16:00:26 -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=XNVwU5jB3EZlqqYcRfC7Rg5pr2LAmvQW2K6eaWSLc5E=; b=PaDLwDTchFgh/9Rpn+pxOPVe0F+WrM3rYAlbAjnG2bw0dTFAWwomckG9ARSH44Gvpg 1o2+/0UHAZz3ewSJj4UE18v1bI5vlOgX/vF63Xpn4BfuvdPCjEj99yhV56bkJI46gK8F SvyZI1c0MADr1azNd3Vx/lNSXA1pR5XiWxT5H3nLdeHx2F2nJFFq8zp2CISvgaBynk+W +ccFHEiumuTHQ9tm+36JfjNIghwMPTKJB8ZezMG5kgwCoapiH1ETnxIXk6EdRjSa6djK 5hzzfST7PV5NVnHjSETHOOt6LUYwgad7JyOTDz/qDzFn5e5K8qzjgdFryo6LVrm0ZmTg bXcg== 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=XNVwU5jB3EZlqqYcRfC7Rg5pr2LAmvQW2K6eaWSLc5E=; b=mA7KqFnJmGjYhwjbb9eoY9viXTDJKWruPxojmznjM6nX7s9X7NPdRc9KBlLyoCb7tY 4JmvWycCF1hTewucnax6Iz8r8u4EO7JHc7zlH8w8RfZ+7lzR0Xieuuzhb9YG3CuO2Qdb A5mInijtaqBnJ91A4clQndFkG5rv8JiJwii3FxNP1f8/oF5V71ZXNnafTqeSCm7f5apm 5+K6iSYc/Ef6hAASN8dFXY1204RnXmx0yjvB975/Kc/RRuKTqjw9B2Kaw4vU/QQcc2/5 2lUzVvR473x1AG/mYDA5Wlhv+GUHFF/IXyx2bv1mMgjjT1EaVvxseJzxfGLmIkxkBtph J8tg== X-Gm-Message-State: APt69E0rfGBuR35zYt4FOW+Wy0NjUYUGbXCjd+Lmay1ta+8aN9YDLV7F 6cpC2Ybdwp0rvw4Lgjo4XhayJxC4PJ6Wxoa+QXZPGg== X-Google-Smtp-Source: ADUXVKKOS5SG7GFgW72iGlYgSeOuZbka/TjADo6p14ai9To68yoa7yFAvHRO1dXvvNGbFb4cTeBzIfD4DjGTa9rjMOU= X-Received: by 2002:a2e:93c9:: with SMTP id p9-v6mr8597115ljh.117.1530226824909; Thu, 28 Jun 2018 16:00:24 -0700 (PDT) MIME-Version: 1.0 References: <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> <20180628220559.hwwvidjzwlaxtq4x@atuin.in.mat.cc> In-Reply-To: <20180628220559.hwwvidjzwlaxtq4x@atuin.in.mat.cc> From: Freddie Cash Date: Thu, 28 Jun 2018 16:00:13 -0700 Message-ID: Subject: Re: Any way to prevent do-extract chmod and chown? To: Mathieu Arnold Cc: Joseph Ward , freebsd-ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 23:00:27 -0000 On Thu, Jun 28, 2018, 3:06 PM Mathieu Arnold, wrote: > On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: > > Thank you. I found that to be the case; even though changing the > > "do-extract" target successfully staged the files and directories with > > the original permissions, pkg create seems to strip them out again > > without the pkg-plist additions. > > > > Are you aware of an easy/already existing command to create the > > pkg-plist with the user/group/permissions items for each file, or is > > that a script I'm going to have to write manually? I'm currently using > > the makeplist target as there are no subsitutions or anything else that > > would screw up the default scenario. > > I am not aware of anything. But if you already have "stuff" creating a > big hierarchy with many users and groups, it may be easier to adapt > "stuff" to generate a pkg-plist file, or maybe to split your ports into > smaller, more manageable bits. > > make makeplist will give you a correct listing of files and > directories, but as everything runs as a regular user, it cannot be > aware of the users/groups you intend on using in the plist. > Isn't this something mtree can be used for? Use it to generate a listing of the files, permissions, and ownership of a tree, include the mtree output file in the port, and use a post-install script to run mtree to set ownership/permission. Cheers, Freddie Typos courtesy of my phone's keyboard. > From owner-freebsd-ports@freebsd.org Fri Jun 29 13:53:53 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 11491EF86FD for ; Fri, 29 Jun 2018 13:53:53 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from equinox.hilltopgroup.com (equinox.hilltopgroup.com [204.109.63.175]) by mx1.freebsd.org (Postfix) with ESMTP id AC0378C06A for ; Fri, 29 Jun 2018 13:53:52 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.relativity.hilltop.int (unknown [104.185.205.155]) by equinox.hilltopgroup.com (Postfix) with ESMTP id AD3A137BDF9 for ; Fri, 29 Jun 2018 09:53:46 -0400 (EDT) Received: from sovereign.sector005 (equinox.hilltopgroup.com [204.109.63.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltop.int (Postfix) with ESMTPSA id 5F55316567 for ; Fri, 29 Jun 2018 09:53:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1530280426; bh=sBbEjZpq2lPZ+Euah4WI2dZAAhbH8vk1ro3lVnUJUt0=; h=Subject:To:References:From:Date:In-Reply-To; b=jCgmDuXDf2VAjgIPaPHjrV00gVnkTmlqC4MFpPt0Vig9PHdYxfKf6VKm/XtcfHvZl IifWp0Ntm2l10uvx+Ef5uqNdqA1cdLPGKvsgx+aPG74g1vSzoCLyCNOk5d290yo/8M veNJ5e0vWu/u3tHS95oUjfWBFKoqHHhyY2+DvRhc= Subject: Re: Any way to prevent do-extract chmod and chown? To: freebsd-ports@freebsd.org References: <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> <20180628220559.hwwvidjzwlaxtq4x@atuin.in.mat.cc> From: Joseph Ward Message-ID: <9a359e4c-f1ca-4ee5-45fc-8dd96283695a@hilltopgroup.com> Date: Fri, 29 Jun 2018 09:51:41 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 13:53:53 -0000 Thank you, I'll look into that tool and will reply back (for future seekers) if it does what I need. -Joseph On 06/28/2018 19:00, Freddie Cash wrote: > On Thu, Jun 28, 2018, 3:06 PM Mathieu Arnold, wrote: > >> On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: >>> Thank you. I found that to be the case; even though changing the >>> "do-extract" target successfully staged the files and directories with >>> the original permissions, pkg create seems to strip them out again >>> without the pkg-plist additions. >>> >>> Are you aware of an easy/already existing command to create the >>> pkg-plist with the user/group/permissions items for each file, or is >>> that a script I'm going to have to write manually? I'm currently using >>> the makeplist target as there are no subsitutions or anything else that >>> would screw up the default scenario. >> I am not aware of anything. But if you already have "stuff" creating a >> big hierarchy with many users and groups, it may be easier to adapt >> "stuff" to generate a pkg-plist file, or maybe to split your ports into >> smaller, more manageable bits. >> >> make makeplist will give you a correct listing of files and >> directories, but as everything runs as a regular user, it cannot be >> aware of the users/groups you intend on using in the plist. >> > Isn't this something mtree can be used for? > > Use it to generate a listing of the files, permissions, and ownership of a > tree, include the mtree output file in the port, and use a post-install > script to run mtree to set ownership/permission. > > Cheers, > Freddie > > Typos courtesy of my phone's keyboard. > > _______________________________________________ > 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"