wpkg --copyright

Options Comments
--admindir Define the administration directory, where the database of the installed packages resides.
--debug Define a set of flags of things to print out for debug purposes.
--instdir Define the installation directory, where the data files are installed on the target.
--quiet Request for warning messages to not be displayed.
--root Define the installation root path.
--verbose Display log information of level INFO.

The --copyright command of the wpkg tool prints out the copyright information of a Debian package when available (the file is supposed to be mandatory, but packages can be built without it.)

When creating a package, you are expected to include a copyright notice in this file:

/usr/share/doc/<package-name>/copyright

where <package-name> is exactly as defined in the Package field.

The --build command verifies that this file exists. If not, then a warning is generated (Note: Not Yet Implemented; although the error was in place, I commented it out at this time because in many cases no copyright notice is available.)

 
Syndicate content