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
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
Juan RP
dd8f3bfe8c
configure: post release version bump to 0.20.
2012-12-23 17:15:42 +01:00
Juan RP
c46963216c
configure: bump VERSION to 0.19.1.
2012-12-22 16:54:49 +01:00
Juan RP
b75cd05c37
Use posix_fadvise(2) only if it's available.
2012-12-15 10:47:30 +01:00
Juan RP
2c1e4e502d
XBPS can now be built on NetBSD (and probably any other BSD variant).
2012-12-06 12:58:17 +01:00
Juan RP
2a2d2c0ed3
configure: bump version to 0.19.
2012-11-30 07:18:24 +01:00
Juan RP
b743ee2634
configure: set version to 0.18.1.
2012-11-26 23:37:50 +01:00
Juan RP
25641ec9de
configure: post-release version bump.
2012-11-24 08:44:12 +01:00
Juan RP
ddca33b4a9
XBPS_RELVER: embed the latest git rev hash.
2012-11-20 00:38:23 +01:00
Juan RP
a77727887d
Improvements for xbps_fetch_file and xbps_repository_sync_index.
...
xbps_fetch_file:
- A temp file is created with .part extension to improve resuming.
- Files are downloaded in cwd.
- Switch to futimens(2) and fsync(2).
xbps_repository_sync_index:
- Do not create local repodir in metadir if it already exists.
- Simplify the code thanks to new xbps_fetch_file().
2012-11-11 11:29:49 +01:00
Juan RP
b13df00ded
Use a common place to set XBPS_VERSION.
2012-10-03 10:10:20 +02:00
Juan RP
8c0484c00b
configure: revert unintentional change from 75eac1a1426040a833e.
...
(cherry picked from commit e380618c26b95ce8db18c8a7c0d622ff38be848b)
2012-09-29 19:11:45 +02:00
Juan RP
54b6cc7ec1
xbps-{bin,repo}: add -B flag to set default repo if xbps.conf not found.
...
(cherry picked from commit 75eac1a1426040a833e0b10e208f2e55fa359532)
2012-09-29 19:10:48 +02:00
Juan RP
6d6d31ccc0
Fix previous and make sure that we build PIE binaries.
...
(cherry picked from commit 1b9dd30d7b590e219cb51561f1e7371f4628575f)
2012-09-29 19:02:57 +02:00
Juan RP
886807687e
configure: enable PIE and RELRO by default if compiler supports it.
...
(cherry picked from commit d79e3a641de934cd7546b2e628a8c6ea175b6c37)
2012-09-29 19:02:24 +02:00
Juan RP
634b5f726a
configure: force --no-as-needed in CC tests.
2012-07-19 17:50:29 +02:00
Juan RP
eb02d30791
configure: explicitly link dynamic executables to the shared library.
2012-07-19 16:30:53 +02:00
Juan RP
ef5743dfe5
configure: added '--with-static' option (disabled by default).
2012-07-19 16:01:12 +02:00
Juan RP
9c05e4b0c9
configure: add -O2 by default to CFLAGS.
2012-07-19 15:51:43 +02:00
Juan RP
a94dd5dbfa
Revert "libxbps: implement xbps_file_exec() with posix_spawn()."
...
This reverts commit 5aa05f4c72
.
2012-05-30 17:26:25 +02:00
Juan RP
5aa05f4c72
libxbps: implement xbps_file_exec() with posix_spawn().
2012-05-30 14:45:47 +02:00
Juan RP
a04d5eb633
configure: added --testsdir to override defaults tests dir.
2012-03-12 15:28:54 +01:00
Juan RP
d4f623e7e7
Commit Kyua/ATF test suite for libxbps.
2012-03-12 15:23:04 +01:00
Juan RP
9147488b19
configure: add --exec-prefix and fix pkgconfig file paths.
2012-01-18 11:28:55 +01:00
Juan RP
9ee50276e4
configure: added --pkgconfigdir option.
2012-01-17 17:34:36 +01:00
Juan RP
834344a1af
Install a pkgconfig file for libxbps.
2012-01-17 17:26:18 +01:00
Juan RP
6ad7289d68
Detect clock_gettime(2) and use (if available) for the fetch cb.
2011-12-19 16:41:57 +01:00
Juan RP
b0ceeaa58e
New configuration file via confuse: xbps.conf.
2011-12-15 11:19:20 +01:00
Juan RP
4002356ef8
configure: don't check for -std=c99, it's redundant anyway.
2011-12-03 08:41:47 +01:00
Juan RP
1bca0f7a65
configure: remove -Wunused-macros and -fpic tests, clang does not like them.
2011-11-06 09:59:25 +01:00
Juan RP
5642ffa86e
New configuration scheme changes, round 1.
...
- Configuration file 'xbps-conf.plist' has been splitted off into
two files: conf.plist and repositories.plist. By default they
are stored in etc/xbps.
- Changed some members in xbps_handle struct, mostly to make it easy
to change its value in {cache,root}dir and conffile.
- Made xbps_init() release proplib objects as soon as we don't need
them, that way it uses 35% less of memory or in some cases even more.
There will be another commit that will implement to read new virtualpkg
settings by the user, as specified in:
http://code.google.com/p/xbps/issues/detail?id=12
2011-10-17 12:37:15 +02:00
Juan RP
6327100f1a
configure: link bins against libxbps...
2011-07-29 20:52:25 +02:00
Juan RP
2c53c6e0de
configure: detect external libfetch and portableproplib automatically.
...
The options --with-external-* have been removed, if the checks don't
detect required functions, included sources are used.
Enable --silent mode by default, now --verbose is required to disable
it.
2011-07-29 12:47:34 +02:00
Juan RP
0a2abb3f3d
xbps-repo(8): 'search' target is now case insensitive.
...
Along with this change, compat code has been added (from NetBSD)
for systems that don't have it. The compat code has been reorganized
to be in a common place and its prototypes in compat.h.
The configure scripts checks if strcasestr() is available, and
uses compat code if not found.
This fixes issue #2 on github.com/vanilla/xbps.
2011-07-09 10:50:44 +02:00
Juan RP
c8ee562d7c
configure: avoid using zlib's pkgconfig file, fixes issue 6.
...
Not all systems provide a zlib.pc file, so explicitly check for
InflateInit2() which is what we use in XBPS.
Thanks to str1ngs for finding this error on Ubuntu.
2011-07-04 13:09:37 +02:00
Juan RP
6fe23a1b80
configure: do not add --as-needed automatically.
2011-06-04 17:32:17 +02:00
Juan RP
a85a1a145a
configure: use static libxbps from topdir not from DESTDIR.
2011-06-04 13:53:16 +02:00
Juan RP
9673c4bd09
XBPS major changes in June 2011.
...
- A configuration file "xbps-conf.plist" replaces the (un)register target
in xbps-repo(8) and (un)set-prop in xbps-bin(8). For now, you can set
the repositories and prefered virtual packages.
- New package pattern matching code from NetBSD. Supports more ways of
matching patterns in packages.
- Multiple bugs fixed in virtual packages related matching code.
--HG--
rename : LICENSE => COPYING
2011-06-04 13:37:53 +02:00
Juan RP
35dc0aa5ad
configure: build with -pthread unconditionally, don't test for -pipe or -D_FORTIFY_SOURCE.
2011-02-27 15:44:44 +01:00
Juan RP
777a91f62a
configure: test correctly PIE and PIC flags, remove -O2 which errors out on pcc.
2011-02-24 16:22:09 +01:00
Juan RP
17be7bab81
configure: misc compiler flags fixes.
...
- Don't use -Wp, some compilers don't understand it. Simply use -D__BLAH___.
- Check for -Wl,--export-dynamic and if that fails try -rdynamic.
2011-02-24 15:33:53 +01:00
Juan RP
be5ff1d934
Don't build code with _GNU_SOURCE, use _XOPEN_SOURCE=500 instead.
...
_GNU_SOURCE is only now for xbps_xasprintf() if vasprintf is found,
and only for <stdio.h>, it's unset immediately once the header is included.
2011-01-25 13:00:23 +01:00
Juan RP
64cd7cf0a4
configure: use a var with the function name to test.
2011-01-25 12:42:34 +01:00