Commit Graph

149 Commits

Author SHA1 Message Date
Juan RP
2e469aaabf configure: added --enable-rpath option.
If set, binaries will have rpath set to $ORIGIN/../lib. That means
that even using defaults (--prefix=/usr), you can install
it via DESTDIR anywhere in your system and binaries will work.

This is in preparation for BSD support.

Closes: #87 [via git-merge-pr]
2019-04-26 16:27:41 +02:00
Juan RP
cb0bf6d914 configure: detect tcc if in PATH; fix tcc build.
Adding -pthread to CFLAGS is unnecessary because the bins don't need
it explicitly, so that it's removed and we only need to use -lpthread
on libxbps.
2019-04-22 16:18:41 +02:00
Juan RP
0db5ace61d configure: fix vasprintf test; cosmetics.
The vasprintf test was always failing because it needed stdarg.h.
Misc cosmetics: rename compat objs to COMPAT_OBJS.
2019-04-22 15:30:02 +02:00
Ingo Blechschmidt
a12f22de86 Use https instead of http where possible 2019-03-22 21:35:08 +01:00
wuhanck
b4eebafa6d upgrade to openssl 1.1.x. 2019-01-24 14:57:50 -05:00
Foxlet
0f33859701 Fix namespace violation 2018-09-25 22:11:30 -04:00
Enno Boland
a5bfc59203 prepare release 2018-07-30 13:47:08 +02:00
Enno Boland
3f251bea74 Revert "debug"
This reverts commit 29466b128b.
2018-07-06 15:17:42 +02:00
Enno Boland
29466b128b debug 2018-07-02 15:58:55 +02:00
Eli Schwartz
861617a708
configure: correctly detect libssl using pkg-config
This allows the openssl version to be easily overridden using standard
PKG_CONFIG_PATH overrides, which is required for modern distros that use
openssl 1.1 by default.

Also print diagnostics for the libssl flavor in use, and constrain the
version when using openssl to < 1.1.
2017-12-26 09:28:16 -05:00
Juan RP
3012650ba2 configure: require libarchive >= 3.2.0 via pkg-config too. 2017-10-25 09:25:03 +02:00
Natanael Copa
34fc9416ba configure: fix vasprintf test (#236)
Fix the test for vasprintf function which failed with musl libc and
fortify-headers on aarch64:

_vasprintf.c:4:24: error: incompatible type for argument 3 of 'vasprintf'
  vasprintf(NULL, NULL, NULL);
                        ^~~~
2017-10-25 09:13:07 +02:00
ojab
e8c1ae96ae Fix -l flags order in feature detection 2017-01-02 18:39:23 +01:00
Josh de Kock
21492ca1bf configure: check for --no-as-needed before using (#217) 2016-11-04 07:49:48 +01:00
Michael Gehring
0f56b68eac add HAVE_STRNSTR 2016-02-08 15:09:33 +01:00
Juan RP
efbd329122 Post release bump to 0.52. 2015-12-12 08:02:49 +01:00
Juan RP
30a2642b7e Post release bump to 0.51. 2015-11-10 15:44:29 +01:00
Juan RP
b8abe80362 Post release bump to 0.50. 2015-10-31 13:13:42 +01:00
Juan RP
d68a2796c5 Post release bump to 0.49. 2015-10-31 11:37:40 +01:00
Juan RP
8d20760fee Post release bump to 0.48. 2015-07-18 09:54:51 +02:00
Juan RP
bb5bfc37b3 configure: bump to 0.47. 2015-06-24 11:05:48 +02:00
Juan RP
0bad752cbe configure: bump to 0.46 instead. 2015-06-04 15:46:15 +02:00
Juan RP
175ee947a6 configure: bump version to 0.45.1. 2015-06-04 10:13:08 +02:00
Juan RP
b2dd18faba configure: added --enable-fulldebug to enable extra/expensive debug code.
This is mostly to avoid the allocation required by the externalization of the
transaction dictionary, which in some cases is huge.

This should reduce the massive memory usage required to inspect the externalized
dictionary.
2015-05-28 11:02:40 +02:00
Juan RP
d01eea2f94 configure: --sbindir -> --bindir and switch to <prefix>/bin by default. 2015-05-16 09:46:10 +02:00
Juan RP
e9b8ff7360 Added support to specify --dbdir to customize path to pkgdb. 2015-05-05 16:00:04 +02:00
Juan RP
efd24456ce Post release bump. 2015-03-21 09:32:07 +01:00
Juan RP
be363d93f5 configure: post-release bump. 2015-03-08 10:22:33 +01:00
Juan RP
ef923fb22b Post release bump. 2015-01-05 16:09:48 +01:00
Juan RP
f05dcb2378 Bump to 0.43.1. 2015-01-05 16:08:41 +01:00
Juan RP
3e01986864 Post release bump. 2014-12-31 08:59:34 +01:00
Juan RP
65f9a43b5e Fallback to -fstack-protector if -strong is not supported. 2014-12-31 08:55:09 +01:00
Juan RP
b1b0264a4e configure: build with -fstack-protector-strong if supported. 2014-12-28 03:36:40 +01:00
Juan RP
8593f21848 Post release version bump. 2014-12-22 11:06:49 +01:00
Juan RP
5b522109f7 Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
See the NEWS file for more information.
2014-11-06 09:58:04 +01:00
Juan RP
fe76af7702 proplib: use GCC atomic builtins if supported. 2014-10-09 14:41:43 +02:00
Juan RP
dcec04a00f Post release bump. 2014-09-29 15:55:12 +02:00
Enno Boland
7b773032c4 README, configure: --with-tests is not supported. Use --enable-tests instead. 2014-09-22 21:03:02 +02:00
Juan RP
c51d0fcbd8 Post release bump. 2014-09-18 17:29:10 +02:00
Juan RP
3efd345e84 Post release bump. 2014-09-15 12:47:01 +02:00
Juan RP
0e6f2870cc Post release bump. 2014-09-14 19:00:19 +02:00
Juan RP
013731c502 Acquire/release a POSIX file lock on repository archives.
- xbps_repo_open() accepts a third argument (bool) to acquire a POSIX file
lock on the repository archive.
- xbps_repo_close() accepts a second argument (bool) to release a POSIX file
lock on the repository archive.

This avoids the issue of multiple xbps-rindex(8) processes being blocked
even for different repositories on the same architecture, resulting in
unnecessary contention.
2014-09-05 12:26:42 +02:00
Juan RP
43a0245c49 configure: compile with -finline-functions by default. 2014-08-27 09:00:14 +02:00
Juan RP
74b3cb0e64 Only build/install xbps-uchroot(8) on linux. 2014-08-23 09:06:46 +02:00
Juan RP
32161d5dd9 Post release bump to 0.38. 2014-06-23 09:50:07 +02:00
Juan RP
89dd57e421 Post release bump. 2014-05-02 17:20:36 +02:00
Juan RP
0b177029d2 Bump to 0.36. 2014-04-06 12:23:33 +02:00
Juan RP
ace01dca85 Version bump to 0.35. 2014-03-31 12:59:05 +02:00
Juan RP
7606691af3 Post-release bump to 0.34. 2014-03-11 13:11:41 +01:00
Juan RP
f74bf1c1c8 New custom configuration file format that does not need confuse. 2014-02-25 16:42:52 +01:00