summaryrefslogtreecommitdiffstats
path: root/TODO
blob: c236ab8fef8915ae135be9b5b5ec738820116cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TODO:
  * Fix oh-strip.
  * Make oh-strip obey a missing '-l' option.
  * Check on file ownership and modes.
  * Finish tar archive handling in opkhelper.
  * Build packages with copyright information and changelogs. [1][2]

Future Plans:
  * Package signing. [3]
  * Calculate "Installed-Size" field values. [4]
  * Compress documentation files. [5]
  * Write an 'opkcreate' script like dh_make to create a new source package.

Notes:
 1: Requires change to format spec.
 2: Package documentation (copyright notices and licenses, packaging changelogs,
    etc.) should be installed in /usr/share/doc/<binpkg>.  There should be one
    set of these files for all binary packages built by one source package.
    This may be accomplished by making one package provide the documentation
    files and be depended on by each of the other packages.  Each of the other
    packages would then install a symbolic link from their documentation
    directory to that of the providing package.  The providing package may be
    one on which all other packages naturally depend (e.g. a common library or
    set of data), or it may be a special "common" package that installs nothing
    but packaging documentation files.
 3: Requires opkg to be built with GnuPG and GPGME.
 4: There is an inconsistency between the Debian Policy and opkg in the units
    of this field.  The Debian Policy defines this field in units of kibibytes:
      The disk space is given as the integer value of the estimated installed
      size in bytes, divided by 1024 and rounded up.
    However, opkg apparently attempts to convert this value from bytes to
    kibibytes in its determination of whether the package's data will fit on the
    system:
      pkg_size_kbs = (pkg->installed_size + 1023)/1024;
    For now, we'll omit this field (as a result, opkg simply won't make sure
    there is enough free space).
 5: Follow the model of debhelper's dh_compress.