Usage: ./opkg-opk [-c CONTROL-DIR] [-f CONTROL-FILE] [-l] PACKAGE or: ./opkg-opk -b -c CONTROL-DIR -d DATA-DIR PACKAGE --- OR --- Read mode: Usage: ./opkg-opk [-c CONTROL-DIR] [-f CONTROL-FILE] [-F DATA-FILE] [-l] [-L] \ PACKAGE Options: -c, --control-dir=CONTROL-DIR Extract control files into CONTROL-DIR. -f, --control-file=CONTROL-FILE Print the contents of the named control file. If this option is given multiple times, the named control files will be printed in the order they appear in the package. -F, --data-file=DATA-FILE Print the contents of the named data file. If this option is given multiple times, the named data files will be printed in the order they appear in the package. -l, --list-control List the control files. -L, --list-data List the data files. The list is currently produced in a format similar to that generated by GNU and BusyBox tar's verbose listing. User and group IDs and names are not checked against those on the host system, since they may differ. Build mode: Usage: ./opkg-opk -b -c CONTROL-DIR -d DATA-DIR [-s SPECIAL-FILE] \ [-o OVERRIDE-FILE] [-u USER] [-g GROUP] [-r] PACKAGE Options: -b, --build Create a package from the specified CONTROL-DIR and DATA-DIR. -c, --control-dir=CONTROL-DIR Read control files from CONTROL-DIR. -d, --data-dir=DATA-DIR Read data files from DATA-DIR. -s, --special=SPECIAL-FILE Read device special files list from SPECIAL-FILE. -o, --ownership=OVERRIDE-FILE Read user/group overrides from OVERRIDE-FILE. -u, --user=USER Set owner to USER instead of UID 0 for files without user/group overrides. -g, --group=USER Set group to GROUP instead of GID 0 for files without user/group overrides. -r, --real-owner Use the real ownership of files without user/ group overrides. Other options: -h, --help Show this help information and exit. -V, --version Show version information and exit. -f and -l are mutually exclusive -F and -L are mutually exclusive -f, -F, -l, and -L are invalid with -b -d, -s, -o, -u, -g, and -r are only valid with -b -u and -g are invalid with -r