Juan RP
88cd3ff7eb
xbps-src: improved xbps-src-chroot-capmount helper.
...
The new code now has some security enhancements that only allows
to bind mount a filesystem when the user executing the process
owns the target directory and has read/write permissions on it.
2011-07-06 17:00:59 +02:00
Juan RP
ef21557313
xbps-src: multiple improvements related to chroot code.
2011-07-06 14:20:27 +02:00
Juan RP
40f6852c62
xbps-src: handle correctly {C,LD,CXX,CPP}FLAGS envvars.
2011-07-06 13:36:59 +02:00
Juan RP
8b3b96182e
xbps-src: make remove target respect bootstrap setting.
2011-07-06 11:29:38 +02:00
Juan RP
341432f1fb
xbps-src: make -D remove only remove files in pkg's destdir.
2011-07-06 11:27:57 +02:00
Juan RP
2f6a8e9617
xbps-src: also autoremove deps with -D on success.
2011-07-06 10:46:36 +02:00
Juan RP
86d0b0adcf
xbps-src: make -K work when run_func returns an error.
2011-07-06 10:06:49 +02:00
Juan RP
fa1c9ab96f
xbps-src: make -D install work with bootstrap subpkgs.
2011-07-06 08:42:02 +02:00
Juan RP
fae03c067e
xbps-src: rename IGNORE_BOOTSTRAP_PKGS to BOOTSTRAP_PKG_REBUILD.
2011-07-06 08:28:34 +02:00
Juan RP
5355f32aca
xbps-src: support building bootstrap pkgs in chroot with -D.
...
The base_chroot var has been renamed to bootstrap, to avoid conflicts
with the base-chroot pkg. So now you can rebuild any bootstrap package
if the masterdir is ready (base-chroot already) installed and
installation is only to destdir.
2011-07-06 08:16:56 +02:00
str1ngs
7a76763336
go: new package
2011-07-05 11:51:42 -07:00
Juan RP
6b240bbf46
xbps-src: remove dirs for bind mounts on chroot exit.
2011-07-05 14:23:43 +02:00
Juan RP
fd00796c9c
gcc: update to 4.6.1, now with fortran and go support.
2011-07-05 12:43:10 +02:00
Juan RP
f1a44611c3
xbps-src: remove target now returns proper return value.
2011-07-05 09:23:29 +02:00
Juan RP
de16af4308
xbps-src: add -D flag replacing the install-destdir target.
2011-07-04 23:30:30 +02:00
Juan RP
24bad5c713
xbps-src: make -K and -C really work.
2011-07-04 21:29:11 +02:00
Juan RP
0ffa09c1b4
xbps-src: don't exec do_fetch() multiple times on success.
2011-07-04 21:27:56 +02:00
Juan RP
9b52e244c6
xbps-src: added -K flag to KEEP automatic installed deps, cleanups.
2011-07-04 19:07:08 +02:00
Juan RP
16b5107f61
seed: update to 3.0.0.
2011-07-04 19:05:21 +02:00
str1ngs
04af92baf9
xbps-src: shlib mappings for gtkmm2. forgot to commit
2011-07-04 02:39:00 -07:00
Juan RP
141c0ab3ba
xbps-src: only process broken_as_needed in one place.
2011-07-04 10:56:35 +02:00
Juan RP
9cced17d22
xbps-src: fix a broken test for XBPS_LDFLAGS.
2011-07-04 10:29:00 +02:00
Juan RP
e17baedf00
xbps-src: improve C{,PP,XX}FLAGS and LDFLAGS settings.
2011-07-04 10:24:52 +02:00
Juan RP
5dc2b83e49
Remove gnome-media, obsolete in gnome3.
2011-07-04 09:36:31 +02:00
str1ngs
61bc7a7406
xbps-src: gdkmm shlibs mappings
2011-07-03 16:45:03 -07:00
Juan RP
38216e059a
libburn: make this build.
2011-07-03 16:13:36 +02:00
Juan RP
32f59c07c5
xbps-src: redo PATH to always prefer coreutils over busybox, if available.
2011-07-03 14:38:51 +02:00
Juan RP
21a096b6de
xbps-src: rename listfiles target to list-files.
2011-07-03 12:22:44 +02:00
Juan RP
9a067bf3f1
xbps-src: install required deps in one pass with xbps-bin(8).
2011-07-03 10:20:38 +02:00
Juan RP
543263c70f
xbps-src: make sure to always remove autodeps in errors.
2011-07-03 08:27:16 +02:00
Juan RP
d22024261d
xbps-src: make internal var UPPERCASE.
2011-07-03 02:57:32 +02:00
Juan RP
0c26524c28
xbps-src: improve even more install_pkg_from_repos().
2011-07-03 01:27:55 +02:00
Juan RP
8bc23145c8
xbps-src: added -S flag to disable XBPS_PREFER_BINPKG_DEPS.
2011-07-02 22:56:26 +02:00
Juan RP
c124ec1bef
xbps-src: handle another ENOENT case from xbps-bin.
2011-07-02 22:53:03 +02:00
Juan RP
290703f4fb
xbps-src: don't overwrite xbps-conf.plist in chroot if exists.
2011-07-02 21:59:06 +02:00
Juan RP
dd0579d967
xbps-src: tar and xz are required in host system.
2011-07-02 20:31:43 +02:00
Juan RP
f5f89bc6ff
xbps-src: check that doesn't exist before mkdir.
2011-07-02 18:05:20 +02:00
Juan RP
3bb5c279df
xbps-src: source install_files.sh for v funcs in templates.
2011-07-02 17:48:48 +02:00
Juan RP
7984b39928
xbps-src: fix fetch phase with depends, performance improvements.
...
- The fetch phase *must* run after installing pkg dependencies,
otherwise it could fail if we need them for fetching.
- Performance improvements for xbps-src. Only source shutils files
at the start, not every time we use a function.
2011-07-02 17:04:08 +02:00
Juan RP
6513a02ee0
xbps-src: improve vmove().
2011-07-02 13:33:06 +02:00
Juan RP
a26dd06538
xbps-src: make targetdir in vmove() optional.
2011-07-02 12:11:01 +02:00
Juan RP
6cb6110f4e
xbps-src: improve vinstall(), add vmove() for subpkgs.
2011-07-02 11:33:59 +02:00
Juan RP
75d55258a5
xbps-src: added new funcs to install files into DESTDIR.
...
vcopy <files> <targetdir>
Executes cp -a <files> ${DESTDIR}/<targetdir>
vinstall <file> <mode> <targetdir> <targetfile>
4th argument is optional.
Executed install -Dm<mode> <file> ${DESTDIR}/<targetdir>/<file>
vmkdir <dir> <mode>
Executed install -dm<mode> ${DESTDIR}/<dir>
2011-07-02 10:49:22 +02:00
Juan RP
cbdfc216de
xbps-src: added XBPS_CCACHE option to xbps-src.conf.
...
If set /usr/lib/ccache/bin will be added to PATH as the first entry,
*only* for chroot.
2011-07-02 09:15:29 +02:00
Juan RP
5c55f940ae
xbps-src: fix previous path for ccache.
2011-07-02 08:54:42 +02:00
Juan RP
1ebd495d9c
xbps-src: redo PATH to use correct paths for xbps, and ccache.
2011-07-02 08:53:09 +02:00
str1ngs
8666249163
xbps-src: add HOME section to fetch_sites.sh
2011-07-01 16:56:59 -07:00
Juan RP
5d7873a5b2
xbps-src: massive rewrite of builddeps resolving code.
...
This speeds up the process of resolving builddeps with
XBPS_PREFER_BINPKG_DEPS enabled and disabled by ~15% aproximately.
This fixes also some bugs I've found while building a massive rebuild
of all packages with XBPS_PREFER_BINPKG_DEPS enabled.
2011-07-01 17:48:29 +02:00
Juan RP
a09089a9b0
Remove compiz and friends, 0.9.x series are really broken.
2011-07-01 17:28:09 +02:00
Juan RP
6227b9f1f7
xbps-src: append /usr/local/{s,}bin to PATH in INSTALL/REMOVE scripts.
2011-07-01 16:15:59 +02:00