Difference between revisions of "Apk spec"

From Alpine Linux
Jump to: navigation, search
(Removed APKBUILD section since this doesn't relate to the apk spec directly and is already documented elsewhere)
m (Created File Formats section, focusing on three related to apk spec: Index, Install DB, Package File)
Line 159: Line 159:
 
|}
 
|}
  
 +
= File Formats =
 +
 +
== Index ==
 +
 +
== Install DB ==
 +
 +
== Package File ==
  
 
= APINDEX =
 
= APINDEX =
  
 
= Archive =
 
= Archive =

Revision as of 08:39, 6 February 2015

This page is to describe and formalize the specication of 'apk' package manager.

Database

Syntax

Starts on line number 800 in database.c, also check package.c

Field Character Description Field Data Format install-db package-index
A Architecture ? ? ?
C Pull Checksum ? ? ?
D Pull Dependencies ? ? ?
F File Path ? ? ?
I Package Installed Size ? ? ?
L License ? ? ?
M File Permissions ? ? ?
P ? ? ? ?
R Get File ? ? ?
S Package Size ? ? ?
T Package Description ? ? ?
U Package URL ? ? ?
V Package Version ? ? ?
Z Pull Checksum ? ? ?
a Check for file existence ? ? ?
c ? ? ? ?
i ? ? ? ?
m Maintainer ? ? ?
o Package Origin ? ? ?
q Replaces Priority ? ? ?
p Package Provides ? ? ?
r Pull Dependencies ? ? ?
s Get Tag Id ? ? ?
t Build Timestamp (epoch) ? ? ?

File Formats

Index

Install DB

Package File

APINDEX

Archive