The post-build, pre-packaging file tree walk to assemble the package manifest.
|
Data Structures |
| struct | FileListRec_s |
| struct | AttrRec_s |
| struct | FileList_s |
| | Package file tree walk data. More...
|
| struct | VFA |
| struct | DepMsg_t |
Defines |
| #define | MYALLPERMS 07777 |
| #define | SKIPWHITE(_x) {while(*(_x) && (xisspace(*_x) || *(_x) == ',')) (_x)++;} |
| #define | SKIPNONWHITE(_x) {while(*(_x) &&!(xisspace(*_x) || *(_x) == ',')) (_x)++;} |
| #define | MAXDOCDIR 1024 |
| #define | fl_dev fl_st.st_dev |
| #define | fl_ino fl_st.st_ino |
| #define | fl_mode fl_st.st_mode |
| #define | fl_nlink fl_st.st_nlink |
| #define | fl_uid fl_st.st_uid |
| #define | fl_gid fl_st.st_gid |
| #define | fl_rdev fl_st.st_rdev |
| #define | fl_size fl_st.st_size |
| #define | fl_mtime fl_st.st_mtime |
| #define | isAttrDefault(_ars) ((_ars)[0] == '-' && (_ars)[1] == '\0') |
Typedefs |
| typedef enum specdFlags_e | specdFlags |
| typedef struct FileListRec_s * | FileListRec |
| typedef struct AttrRec_s * | AttrRec |
| typedef struct FileList_s * | FileList |
| | Package file tree walk data.
|
| typedef struct VFA | VFA_t |
Enumerations |
| enum | specdFlags_e {
SPECD_DEFFILEMODE = (1 << 0),
SPECD_DEFDIRMODE = (1 << 1),
SPECD_DEFUID = (1 << 2),
SPECD_DEFGID = (1 << 3),
SPECD_DEFVERIFY = (1 << 4),
SPECD_FILEMODE = (1 << 8),
SPECD_DIRMODE = (1 << 9),
SPECD_UID = (1 << 10),
SPECD_GID = (1 << 11),
SPECD_VERIFY = (1 << 12)
} |
Functions |
| static void | nullAttrRec (AttrRec ar) |
| static void | freeAttrRec (AttrRec ar) |
| static void | dupAttrRec (const AttrRec oar, AttrRec nar) |
| static char * | strtokWithQuotes (char *s, char *delim) |
| static void | timeCheck (int tc, Header h) |
| static int | parseForVerify (char *buf, FileList fl) |
| static int | parseForDev (char *buf, FileList fl) |
| | Parse dev from file manifest.
|
| static int | parseForAttr (char *buf, FileList fl) |
| | Parse attr and defattr from file manifest.
|
| static int | parseForConfig (char *buf, FileList fl) |
| static int | langCmp (const void *ap, const void *bp) |
| static int | parseForLang (char *buf, FileList fl) |
| static int | parseForRegexLang (const char *fileName, char **lang) |
| static int | parseForRegexMultiLib (const char *fileName) |
| static int | parseForSimple (Spec spec, Package pkg, char *buf, FileList fl, const char **fileName) |
| static int | compareFileListRecs (const void *ap, const void *bp) |
| static int | isDoc (FileList fl, const char *fileName) |
| static int | checkHardLinks (FileList fl) |
| | Verify that file attributes scope over hardlinks correctly.
|
| static void | genCpioListAndHeader (FileList fl, TFI_t *cpioList, Header h, int isSrc) |
| static FileListRec | freeFileList (FileListRec fileList, int count) |
| static int | addFile (FileList fl, const char *diskURL, struct stat *statp) |
| static int | processBinaryFile (Package pkg, FileList fl, const char *fileURL) |
| static int | processPackageFiles (Spec spec, Package pkg, int installSpecialDoc, int test) |
| void | initSourceHeader (Spec spec) |
| | Create and initialize header for source package.
|
| int | processSourceFiles (Spec spec) |
| | Post-build processing for source package.
|
| static StringBuf | getOutputFrom (char *dir, char *argv[], const char *writePtr, int writeBytesLeft, int failNonZero) |
| static int | generateDepends (Spec spec, Package pkg, TFI_t cpioList, int multiLib) |
| static void | printDepMsg (DepMsg_t *dm, int count, const char **names, const char **versions, int *flags) |
| static void | printDeps (Header h) |
| int | processBinaryFiles (Spec spec, int installSpecialDoc, int test) |
| | Post-build processing for binary package(s).
|
Variables |
| int | _noDirTokens |
| static int | multiLib = 0 |
| VFA_t | verifyAttrs [] |
| VFA_t | virtualFileAttributes [] |
| DepMsg_t | depMsgs [] |
The post-build, pre-packaging file tree walk to assemble the package manifest.