Lines Matching +defs:install +defs:src
155 #define DIRECTORY 0x01 /* Tell install it's a directory. */
156 #define SETFLAGS 0x02 /* Tell install to set flags. */
157 #define HASUID 0x04 /* Tell install the uid was given */
158 #define HASGID 0x08 /* Tell install the gid was given */
165 static void install(char *, char *, u_int);
400 install(*argv, to_name, iflags | DIRECTORY);
439 install(*argv, to_name, iflags);
488 (void)printf("install: link %s -> %s\n", from_name, to_name);
520 (void)printf("install: symlink %s -> %s\n", from_name, to_name);
530 char src[MAXPATHLEN], dst[MAXPATHLEN], lnk[MAXPATHLEN];
602 if (realpath(from_name, src) == NULL)
604 do_symlink(src, to_name);
605 /* XXX: src may point outside of destdir */
606 metadata_log(to_name, "link", NULL, src, NULL, 0);
614 if (realpath(from_name, src) == NULL)
634 for (s = src, d = dst; *s == *d; s++, d++)
662 * install --
663 * build a path name and install the file
666 install(char *from_name, char *to_name, u_int flags)
787 * after-install command that does not work in-place
791 err(EXIT_FAILURE, "running after install command on %s", to_name);
834 (void)printf("install: %s -> %s\n", from_name, to_name);
1152 (void)printf("install: %s -> %s\n", to_name, bname);
1190 (void)printf("install: mkdir %s\n", path);