tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg_summary(5) and license restrictions



According to pkg_info(1)

     -X Print summary information for each package.  The summary
        format is described in pkg_summary(5).
        ITS _PRIMARY USE IS TO CONTAIN ALL INFORMATION ABOUT THE
        CONTENTS OF A (REMOTE) BINARY PACKAGE REPOSITORY NEEDED BY
        PACKAGE MANAGING SOFTWARE.

Unfortunately a few important fields are absent in pkg_summary(5):
 NO_BIN_ON_CDROM
 NO_BIN_ON_FTP

All they are important to make a decision whether to put binaries to
ftp:// of cdrom or not.

Question 1)
What do think about inclusion of these two variable values to
pkg_summary(5)?  In this case this decision can be easily made based
on pkg_summary(5) (generated by bulk builds, for example)
without needs to get this info especially like the following

      pkg_grep_summary NO_BIN_ON_FTP '$2 != ""'
or
      pkg_grep_summary NO_BIN_ON_CDROM '$2 != ""'

respectively.

The same question for sources - NO_SRC_ON_CDROM, NO_SRC_ON_FTP.

Question 2)
Is it possible to add/remove some variables to/from pkg_summary
generated by 'pkg_info -X'?

I now about -Q and -B but they require a postprocessing script.

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index