Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 188630
Collapse All | Expand All

(-)file_not_specified_in_diff (-8 / +17 lines)
Line  Link Here
0
-- pax-utils-0.1.15/porting.h
0
++ pax-utils-0.1.15/porting.h
Lines 119-124 Link Here
119
#  define __PAX_UTILS_BO LITTLE_ENDIAN
119
#  define __PAX_UTILS_BO LITTLE_ENDIAN
120
# elif defined(WORDS_BIGENDIAN)
120
# elif defined(WORDS_BIGENDIAN)
121
#  define __PAX_UTILS_BO BIG_ENDIAN
121
#  define __PAX_UTILS_BO BIG_ENDIAN
122
# elif defined(__sun__)
123
#  if defined(i386)
124
#   define __PAX_UTILS_BO LITTLE_ENDIAN
125
#  elif defined(sparc)
126
#   define __PAX_UTILS_BO BIG_ENDIAN
127
#  endif
122
# else
128
# else
123
#  error "no idea what the native byte order is"
129
#  error "no idea what the native byte order is"
124
# endif
130
# endif
125
-- pax-utils-0.1.15/scanelf.c
131
++ pax-utils-0.1.15/scanelf.c
Lines 63-69 Link Here
63
static char *out_format = NULL;
63
static char *out_format = NULL;
64
static char *search_path = NULL;
64
static char *search_path = NULL;
65
static char fix_elf = 0;
65
static char fix_elf = 0;
66
static char gmatch = 0;
66
/* gmatch clashes with /usr/include/libgen.h on Solaris */
67
static char g_match = 0;
67
static char use_ldcache = 0;
68
static char use_ldcache = 0;
68
69
69
static char **qa_textrels = NULL;
70
static char **qa_textrels = NULL;
Lines 436-442 Link Here
436
		case '$':
437
		case '$':
437
			if (fstat(elf->fd, &st) != -1)
438
			if (fstat(elf->fd, &st) != -1)
438
				if ((st.st_mode & S_ISUID) || (st.st_mode & S_ISGID))
439
				if ((st.st_mode & S_ISUID) || (st.st_mode & S_ISGID))
439
					warnf("Security problem with %s='%s' in %s with mode set of %o",
440
					warnf("Security problem with %s='%s' in %s with mode set of %lo",
440
					      dt_type, item, elf->filename, st.st_mode & 07777);
441
					      dt_type, item, elf->filename, st.st_mode & 07777);
441
			break;
442
			break;
442
		default:
443
		default:
Lines 749-755 Link Here
749
						} \
750
						} \
750
						*found_needed = 1; \
751
						*found_needed = 1; \
751
					} else { \
752
					} else { \
752
						if (!strncmp(find_lib, needed, strlen( !gmatch ? needed : find_lib))) { \
753
						if (!strncmp(find_lib, needed, strlen( !g_match ? needed : find_lib))) { \
753
							*found_lib = 1; \
754
							*found_lib = 1; \
754
							return (be_wewy_wewy_quiet ? NULL : needed); \
755
							return (be_wewy_wewy_quiet ? NULL : needed); \
755
						} \
756
						} \
Lines 1702-1708 Link Here
1702
					setpax = flags;
1703
					setpax = flags;
1703
			break;
1704
			break;
1704
		}
1705
		}
1705
		case 'g': gmatch = 1; break;
1706
		case 'g': g_match = 1; break;
1706
		case 'L': use_ldcache = 1; break;
1707
		case 'L': use_ldcache = 1; break;
1707
		case 'y': scan_symlink = 0; break;
1708
		case 'y': scan_symlink = 0; break;
1708
		case 'A': scan_archives = 1; break;
1709
		case 'A': scan_archives = 1; break;
Lines 1791-1798 Link Here
1791
	if (be_verbose > 2) printf("Format: %s\n", out_format);
1792
	if (be_verbose > 2) printf("Format: %s\n", out_format);
1792
1793
1793
	/* now lets actually do the scanning */
1794
	/* now lets actually do the scanning */
1795
#ifdef __PAX_UTILS_DEFAULT_LD_CACHE_CONFIG
1794
	if (scan_ldpath || use_ldcache)
1796
	if (scan_ldpath || use_ldcache)
1795
		load_ld_cache_config(0, __PAX_UTILS_DEFAULT_LD_CACHE_CONFIG);
1797
		load_ld_cache_config(0, __PAX_UTILS_DEFAULT_LD_CACHE_CONFIG);
1798
#endif
1796
	if (scan_ldpath) scanelf_ldpath();
1799
	if (scan_ldpath) scanelf_ldpath();
1797
	if (scan_envpath) scanelf_envpath();
1800
	if (scan_envpath) scanelf_envpath();
1798
	if (!from_file && optind == argc && ttyname(0) == NULL && !scan_ldpath && !scan_envpath)
1801
	if (!from_file && optind == argc && ttyname(0) == NULL && !scan_ldpath && !scan_envpath)
1799
-- pax-utils-0.1.15/Makefile
1802
++ pax-utils-0.1.15/Makefile
Lines 105-111 Link Here
105
	$(CP) README BUGS TODO $(PREFIX)/share/doc/pax-utils/
105
	$(CP) README BUGS TODO $(PREFIX)/share/doc/pax-utils/
106
endif
106
endif
107
	for mpage in $(MPAGES) ; do \
107
	for mpage in $(MPAGES) ; do \
108
		[ -e $$mpage ] \
108
		[ -f $$mpage ] \
109
			&& cp $$mpage $(PREFIX)/share/man/man1/ || : ;\
109
			&& cp $$mpage $(PREFIX)/share/man/man1/ || : ;\
110
	done
110
	done
111
111

Return to bug 188630