All of lore.kernel.org
 help / color / mirror / Atom feed
* OPKG Spec
@ 2019-06-23 13:15 Adi Malca
  2019-06-25  5:28 ` Robert Joslyn
  0 siblings, 1 reply; 3+ messages in thread
From: Adi Malca @ 2019-06-23 13:15 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Hello,

I'm looking for the current official OPKG spec with spelling and case
sensitive.
For example:

*Package*:

*Version*:

*Description*:

*Section*:

*Priority*:

*Maintainer*:

*License*:

*Architecture*:

*OE*:

*Homepage*:

*Depends*:

*Source*:

*Filename*:

*SHA1*:

*SHA256*:


Best Regards,
Adi

-- 
 <https://support.jfrog.com/>

-- 
 
<https://swampup.jfrog.com/?utm_source=signature&utm_medium=email&utm_campaign=swampUP&utm_term=event&utm_content=all_06_19>

[-- Attachment #2: Type: text/html, Size: 3377 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OPKG Spec
  2019-06-23 13:15 OPKG Spec Adi Malca
@ 2019-06-25  5:28 ` Robert Joslyn
  2019-06-25  7:19   ` Adi Malca
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Joslyn @ 2019-06-25  5:28 UTC (permalink / raw)
  To: Adi Malca, yocto

On Sun, 2019-06-23 at 16:15 +0300, Adi Malca wrote:
> Hello,
> 
> I'm looking for the current official OPKG spec with spelling and case
> sensitive.
> For example:
> Package: 
> Version: 
> Description: 
> Section: 
> Priority: 
> Maintainer: 
> License: 
> Architecture: 
> OE: 
> Homepage:
> Depends: 
> Source: 
> Filename: 
> SHA1:
> SHA256:
> 
> Best Regards,
> Adi

I'm not sure if there is an official spec somewhere, but the structure
of the packages and server index files can be seen in the code. The
main opkg utility is here: 
http://git.yoctoproject.org/cgit/cgit.cgi/opkg/

The helper scripts are also useful: 
http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/

You can see the structure of the metadata you mention, including
spelling, capitalization, etc, here:
http://git.yoctoproject.org/cgit/cgit.cgi/opkg/tree/libopkg/pkg.c#n552

You can also see it here (perhaps more concisely):
http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/tree/opkg.py#n491

The Packages and Packages.gz index files use these variables. For
example, this is what shows up in the index for busybox on one of my
builds:

Package: busybox
Version: 1.30.1-r0
Depends: libc6 (>= 2.29), update-alternatives-opkg
Recommends: busybox-udhcpc
Section: base
Architecture: armv7vet2hf-neon
Maintainer: Poky <poky@yoctoproject.org>
MD5Sum: c0b45a09adec305b49153133a3392917
Size: 315406
Filename: busybox_1.30.1-r0_armv7vet2hf-neon.ipk
Source: busybox_1.30.1.bb
Description: Tiny versions of many common UNIX utilities in a single
small executable
OE: busybox
HomePage: http://www.busybox.net
License: GPLv2 & bzip2
Priority: optional

Packages can also use SHA256 rather than MD5.

Package: busybox
Version: 1.30.1-r0
Depends: libc6 (>= 2.29), update-alternatives-opkg
Recommends: busybox-udhcpc
Section: base
Architecture: armv7vet2hf-neon
Maintainer: Poky <poky@yoctoproject.org>
SHA256sum:
3ca8d2dd79759fa34bf04a0ee97fef5e354d97da76b03672544f3c4eeef76ac9
Size: 315406
Filename: busybox_1.30.1-r0_armv7vet2hf-neon.ipk
Source: busybox_1.30.1.bb
Description: Tiny versions of many common UNIX utilities in a single
small executable
OE: busybox
HomePage: http://www.busybox.net
License: GPLv2 & bzip2
Priority: optional

I'm not sure if anyone has any package feeds built by Yocto publicly
available, but OpenWRT uses opkg as well, with public feeds available.
For example:
https://downloads.openwrt.org/releases/18.06.2/packages/aarch64_cortex-a53/base/


Robert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OPKG Spec
  2019-06-25  5:28 ` Robert Joslyn
@ 2019-06-25  7:19   ` Adi Malca
  0 siblings, 0 replies; 3+ messages in thread
From: Adi Malca @ 2019-06-25  7:19 UTC (permalink / raw)
  To: Robert Joslyn; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2902 bytes --]

Thank you Robert, the last 2 links to the code were very helpful.

On Tue, Jun 25, 2019 at 8:28 AM Robert Joslyn <
robert.joslyn@redrectangle.org> wrote:

> On Sun, 2019-06-23 at 16:15 +0300, Adi Malca wrote:
> > Hello,
> >
> > I'm looking for the current official OPKG spec with spelling and case
> > sensitive.
> > For example:
> > Package:
> > Version:
> > Description:
> > Section:
> > Priority:
> > Maintainer:
> > License:
> > Architecture:
> > OE:
> > Homepage:
> > Depends:
> > Source:
> > Filename:
> > SHA1:
> > SHA256:
> >
> > Best Regards,
> > Adi
>
> I'm not sure if there is an official spec somewhere, but the structure
> of the packages and server index files can be seen in the code. The
> main opkg utility is here:
> http://git.yoctoproject.org/cgit/cgit.cgi/opkg/
>
> The helper scripts are also useful:
> http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/
>
> You can see the structure of the metadata you mention, including
> spelling, capitalization, etc, here:
> http://git.yoctoproject.org/cgit/cgit.cgi/opkg/tree/libopkg/pkg.c#n552
>
> You can also see it here (perhaps more concisely):
> http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/tree/opkg.py#n491
>
> The Packages and Packages.gz index files use these variables. For
> example, this is what shows up in the index for busybox on one of my
> builds:
>
> Package: busybox
> Version: 1.30.1-r0
> Depends: libc6 (>= 2.29), update-alternatives-opkg
> Recommends: busybox-udhcpc
> Section: base
> Architecture: armv7vet2hf-neon
> Maintainer: Poky <poky@yoctoproject.org>
> MD5Sum: c0b45a09adec305b49153133a3392917
> Size: 315406
> Filename: busybox_1.30.1-r0_armv7vet2hf-neon.ipk
> Source: busybox_1.30.1.bb
> Description: Tiny versions of many common UNIX utilities in a single
> small executable
> OE: busybox
> HomePage: http://www.busybox.net
> License: GPLv2 & bzip2
> Priority: optional
>
> Packages can also use SHA256 rather than MD5.
>
> Package: busybox
> Version: 1.30.1-r0
> Depends: libc6 (>= 2.29), update-alternatives-opkg
> Recommends: busybox-udhcpc
> Section: base
> Architecture: armv7vet2hf-neon
> Maintainer: Poky <poky@yoctoproject.org>
> SHA256sum:
> 3ca8d2dd79759fa34bf04a0ee97fef5e354d97da76b03672544f3c4eeef76ac9
> Size: 315406
> Filename: busybox_1.30.1-r0_armv7vet2hf-neon.ipk
> Source: busybox_1.30.1.bb
> Description: Tiny versions of many common UNIX utilities in a single
> small executable
> OE: busybox
> HomePage: http://www.busybox.net
> License: GPLv2 & bzip2
> Priority: optional
>
> I'm not sure if anyone has any package feeds built by Yocto publicly
> available, but OpenWRT uses opkg as well, with public feeds available.
> For example:
>
> https://downloads.openwrt.org/releases/18.06.2/packages/aarch64_cortex-a53/base/
>
>
> Robert
>
>

-- 
 <https://support.jfrog.com/>

[-- Attachment #2: Type: text/html, Size: 4569 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-25  7:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23 13:15 OPKG Spec Adi Malca
2019-06-25  5:28 ` Robert Joslyn
2019-06-25  7:19   ` Adi Malca

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.