Commit Graph

108 Commits

Author SHA1 Message Date
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
Juan RP
c9fd89a76a Post release version bump. 2014-02-21 09:35:51 +01:00
Juan RP
9c124aa162 Post release bump. 2014-02-01 12:25:50 +01:00
Juan RP
4fb8c37526 configure: set a meaningful name to the POSIX semaphores test code. 2014-01-31 11:37:42 +01:00
Juan RP
f5e1fff93a xbps-rindex: use a POSIX named semaphore to avoid concurrency issues. 2014-01-31 11:35:31 +01:00
Juan RP
2bacf4887d Post release bump to 0.31. 2014-01-28 17:29:04 +01:00
Juan RP
5eea259c13 Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
Juan RP
16bfc5e61d Post-release bump to 0.30. 2014-01-09 14:26:58 +01:00
Juan RP
3397e6b0f4 Post-release bump to 0.29. 2014-01-03 11:09:42 +01:00
Juan RP
d3ffd0885b xbps.h: drop PATH_MAX completely and use our own definition. 2013-12-29 16:56:43 +01:00
Juan RP
8eb1d3889f Don't redefine _XOPEN_SOURCE and set it to 700 as previously. 2013-12-29 16:49:24 +01:00
Juan RP
1f16a22791 Add NDEBUG to CPPFLAGS if --enable-debug is unset. 2013-12-06 11:55:08 +01:00
Juan RP
6861e1d623 Post release version bump. 2013-11-29 10:25:25 +01:00
Juan RP
65bfd54d36 configure: added --localstatedir (defaults to /var). 2013-11-25 12:34:03 +01:00
Juan RP
e1a3e44e2a configure: append {C{,XX,PP},LD}FLAGS after checking compilter features. 2013-11-18 19:54:38 +01:00
Juan RP
2952c69c7a Define NDEBUG for assert() if --enable-debug is not specified. 2013-11-08 09:11:47 +01:00
Juan RP
fc9fda7195 configure: also respect CPPFLAGS from environment (if set). 2013-10-23 15:59:10 +02:00
Juan RP
0db47cff9c Always build with DEBUG and enable assertions. 2013-10-07 08:20:42 +02:00
Juan RP
ae2eea8937 configure: get latest git rev from HEAD not from master.
In tags there's no 'master' branch so use HEAD instead.
2013-09-26 11:33:07 +02:00
Juan RP
0778328e82 Post release bump to 0.27. 2013-09-25 12:30:05 +02:00
Juan RP
9d562671ee configure: embed short hash for the git revision. 2013-09-15 10:34:25 +02:00
Juan RP
4057e4961c Use C99 for loop initializers.
That means that a C99 compiler is now mandatory.
2013-09-15 10:06:49 +02:00
Juan RP
da338519e1 Drop INSTALL_STRIPPED, always install files unstripped. 2013-08-29 14:35:08 +02:00
Juan RP
a039330f3c Misc cleanups: use __attribute__((__unused__)); remove dead code. 2013-08-29 10:45:30 +02:00
Juan RP
1999fbd771 Relax libarchive version requirement to 2.8.0. 2013-08-16 10:26:36 +02:00
Juan RP
6e37c02032 Post release version bump to 0.26. 2013-07-05 08:08:52 +02:00
Juan RP
9cfbd10604 configure: --etcdir -> --syconfdir. 2013-06-28 08:55:50 +02:00
Juan RP
42c0766c00 Get rid of libfetch and proplib external dependencies.
The list of required external deps is now confuse, libarchive and openssl.

libxbps now includes a wrapper for proplib prefixed with xbps_ rather than prop_.
2013-06-20 10:26:12 +02:00
Juan RP
31efece727 Hide libfetch symbols if using the internal copy. 2013-06-19 11:57:25 +02:00
Juan RP
8f6d400cdd configure: test if fdatasync(2) is available for internal proplib. 2013-06-19 11:41:49 +02:00
Juan RP
cb15387bb8 Post release version bump. 2013-05-02 12:31:34 +02:00
Juan RP
30747b1c8b Post release bump to 0.24. 2013-04-19 10:44:13 +02:00
Juan RP
4411ff82ac Post release bump to 0.23. 2013-03-23 08:33:38 +01:00
Juan RP
db5ddf0578 configure: post release version bump (welcome to 0.22). 2013-03-11 15:57:56 +01:00
Juan RP
fe922ace4c Merge portable proplib 0.6.3. 2013-03-09 16:41:40 +01:00
Juan RP
a517124eae configure: misc tweaks to be more cross compiler friendly. 2013-03-03 08:12:09 +01:00
Juan RP
e525e2c251 Drop posix_fadvise(3) completely before unpacking.
Some systems with small memory might fail to make the preallocation,
as seen in the rpi. It doesn't give us too much gain anyway.
2013-02-20 12:59:11 +01:00
Juan RP
569976888d configure: use EPREFIX for _INCDIR. 2013-02-06 18:50:33 +01:00
Juan RP
e9e704d59a configure: use gcc --print-sysroot to behave correctly in cross builds. 2013-02-06 18:41:44 +01:00
Juan RP
0d2bd8acdc configure: if using internal libfetch, also link to libssl. 2013-02-02 01:30:44 +01:00
Juan RP
782b85438e configure: post-release version bump. 2013-01-24 09:49:28 +01:00
Juan RP
a4e3a489a1 Change some configure options to --enable-foo (static, debug, tests, etc). 2012-12-29 07:44:10 +01:00