From owner-freebsd-ports@FreeBSD.ORG Tue Oct 29 17:46:31 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7FD0B7B6 for ; Tue, 29 Oct 2013 17:46:31 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3F9E72878 for ; Tue, 29 Oct 2013 17:46:31 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id gq1so235948obb.32 for ; Tue, 29 Oct 2013 10:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ld8sQyrM5iLv/Y8eb0YYF2k5CdFGR1tGovkcxMxbcrI=; b=ZGin+yYtsyX+ICRo4gcmmTjDwR+2FrlrDZ2lXIbBpTWsT+SBuKISmYgT70okwGiNiW HIKuGnClhCEkU5gEKvropw9Trd2PTmwJBlHFDLZ8lQTRSQW4NI9AQMk5r+eTCdZxkRLZ 6n1FHATWCwjuSaNzaE3Lkrgo7Wpd7kZaMWB7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Ld8sQyrM5iLv/Y8eb0YYF2k5CdFGR1tGovkcxMxbcrI=; b=HA9+f0+UcgACBReFibf0l947LHPIVWSAWJQgRbuy59aceyIPa8rMrn89RN96DM2X9O op/QjpDJBqCtiu9Eszj43dmHVwXcnz2vKuhwBrTGgHeaDb+fxVoZJxvIN1IqeDSIzI8Z IzMOqyObq6JkV3zoWSKofEf9b2lrwucsBXX/qQKJPfP0U9AHIqb9qSfV3VBsu5GE15Rz o7NPFC7vlmh164qHCjVSh9o+Kfws3oqUVHdNu25bWOHIDrp6mO0oJq5ptmCWf4PJHVB6 5w9Q2Qr9LgmJGFRyE0HX05f0toan2Q8zOqEU5Z+4/ZnVrg5oHP+QOLxXIGsZvn4HKjhx 1Wnw== X-Gm-Message-State: ALoCoQlRadKxGuFlrb4dDwmDBMcfGYI5hORFg4mtJyhaObaXlu+mikdAntb1dVYZK+BWXeKT5jr2 MIME-Version: 1.0 X-Received: by 10.60.52.1 with SMTP id p1mr504448oeo.41.1383068790461; Tue, 29 Oct 2013 10:46:30 -0700 (PDT) Received: by 10.76.154.2 with HTTP; Tue, 29 Oct 2013 10:46:30 -0700 (PDT) X-Originating-IP: [176.66.148.180] Received: by 10.76.154.2 with HTTP; Tue, 29 Oct 2013 10:46:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Oct 2013 18:46:30 +0100 Message-ID: Subject: Re: RFC: USES=kernsrc From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: =?ISO-8859-1?Q?Ren=E9_Ladan?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 17:46:31 -0000 Am 29.10.2013 16:09 schrieb "Ren=E9 Ladan" : > > Hi all, > > while stagifying the sysutils/biosfont port together with bapt@ at > last EuroBSDCon the idea for a USES=3Dkernsrc (or USES=3Dkld ?) came up. > This new USES would both simplify and unify writing kernel module > ports because it adds all the common lines. > > The result is at http://people.freebsd.org/~rene/patches/kernsrc.mk > (download it into Mk/uses/ ). An example of a converted port is at > http://people.freebsd.org/~rene/patches/biosfont.diff > > Last nits to solve: > - decide about MAINTAINER > - maybe change plist substitution to "${KMODDIR:C,^/,,}" (i.e. strip > leading '/' ) > - maybe mute ${ECHO_CMD} lines (prefix with '@') in kernsrc-post-install target > > Documentation: > - add a note to CHANGES > - add a section to the Porters Handbook Looks very good to me and I am looling forward to using it for vbox kmod.