Difference between revisions of "Packaging Standards"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
'''Please note, ipkg/libipkg has an internal, hard coded buffer of 8k to handle parsing the feed elements for each package. This means that description fields need to get reduced in length to prevent segfaults.''' | '''Please note, ipkg/libipkg has an internal, hard coded buffer of 8k to handle parsing the feed elements for each package. This means that description fields need to get reduced in length to prevent segfaults.''' | ||
+ | |||
+ | Note that a package record in a Packages file starts with the "Package:" field, and ends with an empty line. | ||
==[RFC] Version 2.3== | ==[RFC] Version 2.3== | ||
Line 12: | Line 14: | ||
! width="140" | Name | ! width="140" | Name | ||
! width="350" | Definition | ! width="350" | Definition | ||
+ | |- | ||
+ | | Package || Package name in reverse-dns style | ||
|- | |- | ||
| Size || Package size (in KB) | | Size || Package size (in KB) | ||
Line 20: | Line 24: | ||
|- | |- | ||
| Section || The category when there is no source data | | Section || The category when there is no source data | ||
− | |||
− | |||
|- | |- | ||
| Filename || Actual name of .ipk file | | Filename || Actual name of .ipk file | ||
Line 89: | Line 91: | ||
! width="140" | Name | ! width="140" | Name | ||
! width="350" | Definition | ! width="350" | Definition | ||
+ | |- | ||
+ | | Package || Package name in reverse-dns style | ||
|- | |- | ||
| Size || Package size (in KB) | | Size || Package size (in KB) | ||
Line 97: | Line 101: | ||
|- | |- | ||
| Section || The category when there is no source data | | Section || The category when there is no source data | ||
− | |||
− | |||
|- | |- | ||
| Filename || Actual name of .ipk file | | Filename || Actual name of .ipk file | ||
Line 161: | Line 163: | ||
! width="140" | Name | ! width="140" | Name | ||
! width="350" | Definition | ! width="350" | Definition | ||
+ | |- | ||
+ | | Package || Package name in reverse-dns style | ||
|- | |- | ||
| Size || Package size (in KB) | | Size || Package size (in KB) | ||
Line 169: | Line 173: | ||
|- | |- | ||
| Section || The category when there is no source data | | Section || The category when there is no source data | ||
− | |||
− | |||
|- | |- | ||
| Filename || Actual name of .ipk file | | Filename || Actual name of .ipk file |
Revision as of 06:12, 27 May 2010
This page will document the agreed packaging standards for webOS homebrew ipkg files and open standard ipkg feeds as well as act as a whiteboard for new revisions. |
Please note, ipkg/libipkg has an internal, hard coded buffer of 8k to handle parsing the feed elements for each package. This means that description fields need to get reduced in length to prevent segfaults.
Note that a package record in a Packages file starts with the "Package:" field, and ends with an empty line.
[RFC] Version 2.3
NOTE1: New fields are in bold red
NOTE2: Modified fields are in bold black
Name | Definition |
---|---|
Package | Package name in reverse-dns style |
Size | Package size (in KB) |
Status | Installed/Not-installed (and other stuff we don't use) |
Architecture | all, armv7, armv6 or i686 |
Section | The category when there is no source data |
Filename | Actual name of .ipk file |
Depends | Actual package names of dependencies (comma-space separated, ignore contents of () at the end) |
Maintainer | Group or individual responsible for maintenance |
Version | In N:N(.N)*(-N)? format (see ipkg source for the different version parts) |
Description | Title of the package |
MD5Sum | MD5 checksum of package to verify downloaded file |
Installed-Time | Timestamp of installation |
Installed-Size | Size of installed package |
Source | *See lower table* |
Source
|
Version 2.2
Name | Definition |
---|---|
Package | Package name in reverse-dns style |
Size | Package size (in KB) |
Status | Installed/Not-installed (and other stuff we don't use) |
Architecture | all, armv7, armv6, or i686 |
Section | The category when there is no source data |
Filename | Actual name of .ipk file |
Depends | Actual package names of dependencies (comma-space separated, ignore contents of () at the end) |
Maintainer | Group or individual responsible for maintenance |
Version | In N:N(.N)*(-N)? format (see ipkg source for the different version parts) |
Description | Title of the package |
MD5Sum | MD5 checksum of package to verify downloaded file |
Installed-Time | Timestamp of installation |
Installed-Size | Size of installed package |
Source | *See lower table* |
Source
|
Version 2.1
Name | Definition |
---|---|
Package | Package name in reverse-dns style |
Size | Package size (in KB) |
Status | Installed/Not-installed (and other stuff we don't use) |
Architecture | all, armv7, armv6, or i686 |
Section | The category when there is no source data |
Filename | Actual name of .ipk file |
Depends | Actual package names of dependencies (comma-space separated, ignore contents of () at the end) |
Maintainer | Group or individual responsible for maintenance |
Version | In N:N(.N)*(-N)? format (see ipkg source for the different version parts) |
Description | Title of the package |
MD5Sum | MD5 checksum of package to verify downloaded file |
Installed-Time | Timestamp of installation |
Installed-Size | Size of installed package |
Source | *See lower table* |
Source
|