X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by lists.alpinelinux.org (Postfix) with ESMTP id 832B0F84D05 for ; Thu, 7 Mar 2019 04:37:03 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id g20so7810828wmh.5 for ; Wed, 06 Mar 2019 20:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FXdYbAr8zHBT10dUNxTF/ruyaUFiNTMAcNOH+XWEilI=; b=uGa52z4j/FiXzafNzZgbF2ITdpyuU/EvEfAWJCC7i7s9dQu22ZqJGtBMge87rDipco kYQw+7prDCLPzTmiJo4BReKhP83smmBj0TmwBZMmixCLEHiTgf+eup+dw44KmvHdkuX0 sGGCVIbExfKSDe6Dlwr6hrzCiqWA41ME9erlYyAF2RUTGZjBeClhitsDG6Tihnhi9Kel qAowhT6dBINfKws5yTYKahMeWqiIVdvRsleqMI/HB5cf6Ou0qB76Y5+BfJNMVZFdcXtT jTKtzl2JXHR+0kTcO21yF6AIkTJXfJ7cGWi4Yy5WeoW67i6T2c0GHKzOphQEf/NHNrgj 2Tag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FXdYbAr8zHBT10dUNxTF/ruyaUFiNTMAcNOH+XWEilI=; b=eFdtgx7GdGPMbGuyVjfgUKNNPZZaPO+O1f/vFQsUnmvUE8kLh5TqqpB7SmYNmNLZ9B Vg6AnCLRlChaduyOzOoJGTGhRcDRQggbg8+HjSkKQPYgLR01fzGOJlmZmX915M0Qe7w6 0U78kYhfwWsOegCiKrBZNchmRchSrOut8Fxve62d0DPpu/OBvBOHqIovgiDZd1tnpc4Y rwUvyQzkNefiRC/sWzWnXV/XvjON/rXpYuf1xi0EHLhFh3HdiwESic+bP597UimDxXPQ nNbrZ1Sy36ZADnhrSaTK9omqB+WPW4TqAkQX6LQWkVR3dmqbUEvNhEbX53I8ACkjz0S9 RRYw== X-Gm-Message-State: APjAAAWoAz3VMxfinWLpQ6ojpdq8p9fHxwowQO9T5yuTVWI0femjYvu0 U63AFKcbKDYIAKWquHfnOsvmLV7PVnAlfO2YuRiNTA== X-Google-Smtp-Source: APXvYqwC0EqWzAOrDqe2Qu8CV1dic0eHUpcZv/GeHaaekj47WhaE5gCWhA3nllrJU39ViYJYdrdTLV17juZNFCPwAlA= X-Received: by 2002:a1c:c010:: with SMTP id q16mr4490407wmf.134.1551933422512; Wed, 06 Mar 2019 20:37:02 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 From: C H Date: Wed, 6 Mar 2019 23:36:51 -0500 Message-ID: Subject: [alpine-devel] How to offer different configurations of DHCP To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="0000000000005d302c058379a849" --0000000000005d302c058379a849 Content-Type: text/plain; charset="UTF-8" All- I'm looking for some guidance on how best to define an APKBUILD file for an already-supported package that I need modified. Recent versions of ISC DHCP (package 'dhcp') support an LDAP-based back-end, though it's disabled by default. Enablement requires adding a pair of dependencies and two additional arguments to the configure script; everything else remains unchanged. Easy enough. If I were to offer my changes back to the community, how should this flavor of the package be named? It seems less than ideal to have two very similar packages in the tree; is there a convenient restructuring within the APKBUILD file that would allow the two forms (with and without LDAP support)? If not, so much within the build system seems to depend on pkgname -- of which a 'dhcp' is defined. I'm not sure how best to proceed in this case. I'm also not fully convinced that changing the existing package is the right thing to do; I suspect there are folks who don't want LDAP support. If there are examples among existing packages I could use as templates I'm happy to replicate. Thanks! --0000000000005d302c058379a849 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
All-

I'm= looking for some guidance on how best to define an APKBUILD file for an al= ready-supported package that I need modified.

Recent versions of ISC DHCP (package 'dhcp') = support an LDAP-based back-end, though it's disabled by default. Enable= ment requires adding a pair of dependencies and two additional arguments to= the configure script; everything else remains unchanged. Easy enough.=C2= =A0

If I were to offer m= y changes back to the community, how should this flavor of the package be n= amed? It seems less than ideal to have two very similar packages in the tre= e; is there a convenient restructuring within the APKBUILD file that would = allow the two forms (with and without LDAP support)? If not, so much within= the build system seems to depend on pkgname -- of which a 'dhcp' i= s defined. I'm not sure how best to proceed in this case. I'm also = not fully convinced that changing the existing package is the right thing t= o do; I suspect there are folks who don't want LDAP support.

If there are examples among existi= ng packages I could use as templates I'm happy to replicate.

Thanks!
--0000000000005d302c058379a849-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---