[Buildroot] [PATCH v2 1/3] Add libcap-ng package.

Belisko Marek marek.belisko at gmail.com
Mon Mar 26 20:32:23 UTC 2012


On Mon, Mar 26, 2012 at 10:28 PM, Yegor Yefremov
<yegorslists at googlemail.com> wrote:
> On Mon, Mar 26, 2012 at 10:21 PM, Belisko Marek <marek.belisko at gmail.com> wrote:
>> On Mon, Mar 26, 2012 at 10:17 PM, Yegor Yefremov
>> <yegorslists at googlemail.com> wrote:
>>> On Mon, Mar 26, 2012 at 10:12 PM, Marek Belisko
>>> <marek.belisko at open-nandra.com> wrote:
>>>> Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
>>>> ---
>>>>  package/Config.in              |    1 +
>>>>  package/libcap-ng/Config.in    |   10 ++++++++++
>>>>  package/libcap-ng/libcap-ng.mk |   12 ++++++++++++
>>>>  3 files changed, 23 insertions(+), 0 deletions(-)
>>>>  create mode 100644 package/libcap-ng/Config.in
>>>>  create mode 100644 package/libcap-ng/libcap-ng.mk
>>>>
>>>> diff --git a/package/Config.in b/package/Config.in
>>>> index b394f18..2dc7e1f 100644
>>>> --- a/package/Config.in
>>>> +++ b/package/Config.in
>>>> @@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
>>>>  source "package/boost/Config.in"
>>>>  source "package/libatomic_ops/Config.in"
>>>>  source "package/libcap/Config.in"
>>>> +source "package/libcap-ng/Config.in"
>>>>  source "package/libdaemon/Config.in"
>>>>  source "package/libelf/Config.in"
>>>>  source "package/libevent/Config.in"
>>>> diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
>>>> new file mode 100644
>>>> index 0000000..d1663cd
>>>> --- /dev/null
>>>> +++ b/package/libcap-ng/Config.in
>>>> @@ -0,0 +1,10 @@
>>>> +config BR2_PACKAGE_LIBCAP_NG
>>>> +       bool "libcap-ng"
>>>> +       help
>>>> +         The libcap-ng library is intended to make programming with
>>>> +         posix capabilities much easier than the traditional libcap
>>>> +         library. It includes utilities that can analyse all currently
>>>> +         running applications and print out any capabilities and whether
>>>> +         or not it has an open ended bounding set.
>>>> +
>>>> +         http://people.redhat.com/sgrubb/libcap-ng/
>>>> diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
>>>> new file mode 100644
>>>> index 0000000..6ea5de4
>>>> --- /dev/null
>>>> +++ b/package/libcap-ng/libcap-ng.mk
>>>> @@ -0,0 +1,12 @@
>>>> +#############################################################
>>>> +#
>>>> +# libcap-ng
>>>> +#
>>>> +#############################################################
>>>> +
>>>> +LIBCAP_NG_VERSION = 0.6.6
>>>> +LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
>>>> +LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
>>>> +LIBCAP_NG_INSTALL_STAGING = YES
>>>> +
>>>> +$(eval $(call AUTOTARGETS))
>>>
>>> Have you tried to download the package without LIBCAP_NG_SITE?
>> Guess yes? Why?
>
> AFAIK if you have package file named like packagename-version.tar.gz,
> then this will be tried automatically. See vsftpd for example.
Yes you're right. Will update. Thanks for review.
>
> Sorry I meant LIBCAP_NG_SOURCE not SITE :-(
>
> Yegor

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com



More information about the buildroot mailing list