From owner-svn-ports-head@freebsd.org Mon Feb 17 13:24:23 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 779382392FE; Mon, 17 Feb 2020 13:24:23 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Ll7q1Ys3z4QFd; Mon, 17 Feb 2020 13:24:23 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-qt1-f179.google.com with SMTP id i14so4751254qtv.13; Mon, 17 Feb 2020 05:24:23 -0800 (PST) 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=HSs+un4mbVeri+DxzTX0HPrzjwXdiyeP3iY/HHDOciY=; b=MpMz3ib9/yVJ8cygnk1jqrI00GquhGaqhg9OH0xWcReGWDyMibYAPLLmfYhYQCA0EV bxKiRpJmmIHmn8iXGlv4N75sLQQXBVtpGUXHoGv2lI1oueo76ApmFFbFuNzQjsWpncpz kbxufmMgmd94rDMiBBaCwqYBvDkNbMYsWBhWYtdAVVwyA1kUanHYh7KZoXZcLHemBlaG 8v3egMQlwwrVATQRmsY5fofs/TZPuctS59XeGSwzVguxFhycu1GcP5Cmjv59uk7LlIJc PM48ZI0lSiwzr8mXSSk9cTZ1yfwQCQZaeKC2AayrQKcLOQsKpShp8KB/MGDhQvMkwMsJ dXWA== X-Gm-Message-State: APjAAAX2SPRAaj+TE57HzDXEr7NcEpAKiSx18kXoKN6LgzHPNe/X8DdX Lo1sMPF6XeqsLVNnZKyFaf5FPFxL X-Google-Smtp-Source: APXvYqw+DQoEGeW6V8C0onOjRbcf6DB3F6RKvJHVVfufKUOPaUvsVXDN1TuRU4RBnS4hTKEkpG17KA== X-Received: by 2002:ac8:4e43:: with SMTP id e3mr13136802qtw.129.1581945862272; Mon, 17 Feb 2020 05:24:22 -0800 (PST) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com. [209.85.222.169]) by smtp.gmail.com with ESMTPSA id q25sm207484qkc.60.2020.02.17.05.24.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Feb 2020 05:24:22 -0800 (PST) Received: by mail-qk1-f169.google.com with SMTP id w25so16152531qki.3; Mon, 17 Feb 2020 05:24:22 -0800 (PST) X-Received: by 2002:a37:a488:: with SMTP id n130mr13442348qke.120.1581945861790; Mon, 17 Feb 2020 05:24:21 -0800 (PST) MIME-Version: 1.0 References: <202002170440.01H4eNiQ092311@repo.freebsd.org> In-Reply-To: <202002170440.01H4eNiQ092311@repo.freebsd.org> From: Kyle Evans Date: Mon, 17 Feb 2020 07:24:10 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r526340 - in head/sysutils: . iichid To: Kubilay Kocak Cc: ports-committers , svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48Ll7q1Ys3z4QFd X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2020 13:24:23 -0000 On Sun, Feb 16, 2020 at 10:40 PM Kubilay Kocak wrote: > > Author: koobs > Date: Mon Feb 17 04:40:23 2020 > New Revision: 526340 > URL: https://svnweb.freebsd.org/changeset/ports/526340 > > Log: > [NEW] sysutils/iichid: Generic FreeBSD HID layer for I2C and USB devices > > FreeBSD driver for I2C HID touchscreens (and may be other devices) > > A complete discussion about how to use this tool can be found at: > > https://larastechlab.blogspot.com/2020/01/i2c-touchpads-on-freebsd-130-current.html > > Currently limited to FreeBSD 12.1+ and architectures supporting ACPI. > > WWW: https://github.com/wulf7/iichid > > Note: This is a recommit of ports r526092 replacing OSVER check with OSVERSION > due to a bug in the freebsd-update make index setup/environment. > I think we should note that it's not necessarily a bug, just suboptimal behavior. The portsnap indexer will so things up such that OSREL comes out to be ${major}.x (e.g. "11.x") , and thus isn't comparable as a float. Because of this, OSREL checks like this aren't really safe to do as they will trivially break indexing in the portsnap environment. Thanks, Kyle Evans