Merge branch 'linux-build'
modified compat/Makefile.am
@@ -8,6 +8,8 @@ libbsd_compat_la_SOURCES= basename.c \
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
modified compat/bsd_compat.h
@@ -27,9 +27,37 @@
|
|
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -80,7 +108,9 @@ ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf, size_t
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -88,4 +118,49 @@ int unlinkat(int fd, const char *path, int flag);
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
modified compat/file_at.c
@@ -28,6 +28,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified compat/gr_util.c
@@ -596,7 +596,7 @@ __gr_scan(char *line, struct group *gr)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
added compat/strnstr.c
@@ -0,0 +1,62 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified configure.ac
@@ -25,6 +25,7 @@ LIBPKG_AGE=0
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -69,6 +70,24 @@ AC_LINK_IFELSE([
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -106,7 +125,21 @@ AC_CHECK_HEADERS_ONCE([stdio.h])
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -120,7 +153,18 @@ AC_CHECK_FUNCS_ONCE([localtime_r])
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -132,6 +176,25 @@ AC_CHECK_FUNCS_ONCE([closefrom])
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -190,6 +253,11 @@ AC_SEARCH_LIBS([jail_getid], [jail], [
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -217,24 +285,28 @@ AC_CHECK_HEADER([execinfo.h], [
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -313,6 +385,7 @@ AM_CONDITIONAL(LIBELF_BUNDLED, test "$ac_cv_binary_abi" = "elf" -a "$libelf_bund
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/Makefile.am
@@ -243,7 +243,7 @@ libsqlite_static_la_SOURCES= $(libsqlite_la_SOURCES)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/libfetch/common.c
@@ -28,6 +28,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -224,7 +226,9 @@ fetch_reopen(int sd)
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
|
modified external/libfetch/fetch.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/libfetch/file.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/libfetch/ftp.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -133,7 +134,9 @@ unmappedaddr(struct sockaddr_in6 *sin6)
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
|
@@ -486,7 +489,7 @@ struct ftpio {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -549,18 +552,18 @@ ftp_writefn(void *v, const char *buf, int len)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -770,7 +773,8 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -784,12 +788,14 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -799,15 +805,18 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -830,7 +839,7 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/libfetch/http.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -60,7 +61,7 @@ __FBSDID("$FreeBSD: head/lib/libfetch/http.c 267133 2014-06-05 22:16:26Z bapt $"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1421,9 +1422,10 @@ http_connect(struct url *URL, struct url *purl, const char *flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -1725,9 +1727,11 @@ http_request_body(struct url *URL, const char *op, struct url_stat *us,
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/Makefile.am
@@ -70,7 +70,7 @@ libpkg_la_SOURCES+= pkg_macho.c
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -40,6 +40,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_elf.c
@@ -48,7 +48,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs.c
@@ -32,6 +32,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -49,7 +51,9 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_printf.c
@@ -24,6 +24,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -28,6 +28,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -57,7 +58,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -579,8 +580,12 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb.c
@@ -36,6 +36,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -55,7 +57,9 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -950,6 +954,7 @@ pkgdb_open_all(struct pkgdb **db_p, pkgdb_t type, const char *reponame)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -957,7 +962,7 @@ pkgdb_open_all(struct pkgdb **db_p, pkgdb_t type, const char *reponame)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -30,6 +30,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/init.c
@@ -39,6 +39,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -296,7 +300,6 @@ int
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -307,6 +310,8 @@ pkg_repo_binary_open(struct pkg_repo *repo, unsigned mode)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -314,6 +319,7 @@ pkg_repo_binary_open(struct pkg_repo *repo, unsigned mode)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -401,7 +407,6 @@ int
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -415,6 +420,8 @@ pkg_repo_binary_create(struct pkg_repo *repo)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -422,6 +429,7 @@ pkg_repo_binary_create(struct pkg_repo *repo)
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/Makefile.am
@@ -36,27 +36,30 @@ pkg_SOURCES= add.c \
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/audit.c
@@ -46,6 +46,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/pkgcli.h
@@ -28,6 +28,9 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/repo.c
@@ -24,16 +24,22 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/utils.c
@@ -64,7 +64,7 @@ query_tty_yesno(bool r, const char *msg, ...)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|