Commit Graph

1467 Commits

Author SHA1 Message Date
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
6ece895957 WIP: xbps-create(8) to create xbps binary packages from a destdir.
(cherry picked from commit 6546f73f90cd56d14a2e90cb6604901df18a9419)
2012-09-29 19:00:58 +02:00
Juan RP
0f17197627 libxbps: use a struct allocated from stack for the unpack cb.
(cherry picked from commit a658586f27fd0a0c2c78ea96f89b54055e1e73be)
2012-09-29 19:00:04 +02:00
Juan RP
01915e3030 xbps_transaction_update_packages: make packages on hold work (duh!).
(cherry picked from commit aa154199a6d7d89bfe040755be289b1d827c5727)
2012-09-29 18:58:21 +02:00
Juan RP
7d4ecbb0ab xbps-repo: index-add: look for pkg in index matching arch or noarch. 2012-08-20 14:58:38 +02:00
Juan RP
3c379ff78e xbps-repo: remove repo index file locking, it's unreliable under NFS. 2012-08-16 10:59:54 +02:00
Juan RP
a037b89042 xbps-repo: really wait 30 secs max to acquire repo file lock. 2012-08-14 09:36:44 +02:00
Juan RP
b422fa654e xbps_api.h: next version will be 0.17. 2012-08-10 08:44:41 +02:00
Juan RP
2e594caf8a xbps-repo(8): the 'show-deps' target only lists deps and not repo/pkgver. 2012-08-10 08:43:51 +02:00
Juan RP
c34e564327 xbps-repo: more exact pkg extension check. 2012-08-07 10:37:52 +02:00
Juan RP
f0ab396036 xbps-{bin,repo}: ignore ENOENT when checking write perms in {root,meta,cache}dir. 2012-08-03 10:58:16 +02:00
Juan RP
68a0223c4e xbps-repo: fix the 'search' target to show a consistent output for inst/uninst pkgs.
Fixes issue #28.
2012-08-02 14:37:15 +02:00
Juan RP
3a247bd5cb xbps-{bin,repo}: make sure that user has write permission on {root,meta,cache}dir.
Fixes issue #27
2012-08-02 12:20:18 +02:00
Juan RP
cae219c4de xbps-repo: indent pkgs from all repos with longest pkgver found. 2012-08-01 08:25:15 +02:00
Juan RP
01c2dcaca7 xbps-bin: get_maxcols(): use stdin to make it work in all cases (from xdave). 2012-08-01 07:47:40 +02:00
Juan RP
1be90e57d7 xbps-{bin,repo}: wrap long lines for list, pkg-list and search targets.
Fixes issue #26
2012-07-31 17:50:50 +02:00
Juan RP
eb75041b25 xbps-repo(8): the search target now shows which pkgs are currently installed. 2012-07-31 10:34:10 +02:00
Juan RP
f92ce60462 xbps.conf: remove xbps.hosting-unlimited.org mirrors (outdated). 2012-07-31 10:18:14 +02:00
Juan RP
d319816fa2 xbps-bin: fixed regression in show target for vpkgs. 2012-07-23 10:21:32 +02:00
Juan RP
577ae731bb xbps-repo: index-clean: simplify code. 2012-07-22 11:45:17 +02:00
Juan RP
8b74616f58 README: minor nits. 2012-07-22 10:55:24 +02:00
Juan RP
5a120e346e xbps-repo: new 'remove-obsoletes' target to remove obsolete pkgs in a local repo. 2012-07-22 10:48:29 +02:00
Juan RP
f0c96aac65 xbps-repo: index-clean now also removes obsolete pkgs found in repo. 2012-07-22 10:21:49 +02:00
Juan RP
adc6ce9d22 xbps-repo: [index] use proper arch obj to remove old entry. 2012-07-21 22:23:45 +02:00
Juan RP
29f9724ba0 xbps-repo: properly remove (no)arch old entry/binpkg from index. 2012-07-21 21:50:16 +02:00
Juan RP
f7a5c55bc7 libxbps: xbps_pkg_arch_match: fix conditional tests. 2012-07-21 21:49:37 +02:00
Juan RP
a756060d38 libxbps: [unpack] fixed passing dangling pointer to unpack cb. 2012-07-21 10:41:19 +02:00
Juan RP
e3fbc01cbe NEWS: mention ubuntu build fixes. 2012-07-19 18:07:22 +02:00
Juan RP
3339d0cd25 libfetch: fix warnings. 2012-07-19 18:00:31 +02:00
Juan RP
9a69c5e349 xbps-bin: fix a warning found by -Wshadow on Ubuntu. 2012-07-19 18:00:19 +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
bf7324f7a4 xbps-repo: mention index-{add,clean} in usage(). 2012-07-18 15:06:47 +02:00
Juan RP
34d1c3411d NEWS: mention repo index file locking. 2012-07-17 13:22:45 +02:00
Juan RP
674adf64a3 xbps-repo: remove old binpkg symlinks too, fix index-files. 2012-07-17 13:10:34 +02:00
Juan RP
8eba2d7ea3 xbps-repo: replaced 'genindex' target with 'index-{add,clean}'.
See the NEWS file for more information.
2012-07-17 12:31:04 +02:00
Juan RP
9edd60c3a7 libxbps: extend the list of symlinks in rootdir to be ignored. 2012-07-14 12:11:55 +02:00
Juan RP
6784a7b550 etc/xbps.conf: update list of remote repositories. 2012-07-14 12:11:33 +02:00
Juan RP
2f1e975607 Added "install-date" object to pkg's pkgdb dictionary, make xbps-bin(8) print it. 2012-07-11 12:19:39 +02:00
Juan RP
d8f1fc978a NEWS: be ready for 0.16.4. 2012-07-10 23:44:47 +02:00
Juan RP
11ecf5438f Import proplib-0.6.1. 2012-07-10 23:33:19 +02:00
Juan RP
34697e8022 libxbps: improve matching obsolete files, skip matches by hash and filename.
Don't remove top level symlinks (/bin, /sbin and /lib) if they were found
as obsoletes. This is a workaround for the system transition to /usr.
2012-07-10 23:22:25 +02:00
Juan RP
414fd67302 TODO: more items for 0.17. 2012-07-04 14:58:46 +02:00
Juan RP
172435bd7e xbps_check_is_installed_pkg_by_pattern: do not reset errno, leave it as is. 2012-07-04 12:59:40 +02:00
Juan RP
5c24ef3b7f NEWS: update for 0.16.2. 2012-07-04 11:58:03 +02:00
Juan RP
94238302f2 transaction_ops: in update, check if curpkg has been previously added. 2012-07-04 11:56:01 +02:00
Juan RP
e879c71a02 transaction_sortdeps: check if dep is installed by pattern. 2012-07-04 11:55:51 +02:00