Juan RP
5cf08f1381
xbps-src: new target: clean-autodeps. To force autodeps removal.
2011-11-16 17:59:33 +01:00
Juan RP
e2f28d0b7d
xbps-src: more strict pattern matching for 'show-revdeps'.
2011-11-16 17:32:32 +01:00
Juan RP
3be2a5f852
xbps-src: added an optional arg to rshlibs, to make SONAME arch specific.
2011-11-16 13:35:48 +01:00
Juan RP
dd608bb73b
xbps-src: faster 'show-revdeps' impl for shlibs.
2011-11-16 11:27:16 +01:00
Juan RP
e1b20273e6
xbps-src: make the 'show-revdeps' target work with the shlibs world order.
2011-11-16 10:49:42 +01:00
Juan RP
4eb1983376
xbps-src: force creation of busybox links when entering chroot.
2011-11-15 22:08:32 +01:00
Juan RP
a7059483f5
xbps-src: always generate xbps-shell with a proper PATH. Bump version.
2011-11-15 17:15:53 +01:00
Juan RP
871e7aad4a
xbps-src: verify_rundeps: make sure to unset local vars.
2011-11-15 11:04:31 +01:00
Juan RP
5cb537c96b
xbps-src: verify_rundeps: ignore known shlibs from same pkg too.
2011-11-15 10:59:01 +01:00
Juan RP
40d04c8ad5
xbps-src: guess required shlibs by the same pkg automatically.
2011-11-15 10:40:36 +01:00
Juan RP
6ceabf90c4
Revert "xbps-src: only add files and links into the resulting binpkg."
...
This reverts commit fad78ea7f1
.
2011-11-14 20:57:18 +01:00
Juan RP
abc9819a60
xbps-src: simpler way to error in pkgs with only_for_archs.
2011-11-13 17:19:48 +01:00
Juan RP
3289d5699d
xbps-src: redo only_for_archs check.
2011-11-13 10:06:22 +01:00
Juan RP
8b2a4e0646
xbps-src: added arch specific shlibs support to verify_rundeps.
2011-11-13 09:17:03 +01:00
Juan RP
886ae5e721
xbps-src: return not exit in previous.
2011-11-12 19:37:51 +01:00
Juan RP
726bb3ef93
xbps-src: don't error out on pkgs that set only_for_archs, exit gracefully.
2011-11-12 17:46:25 +01:00
Juan RP
d52c103915
xbps-src: verify_rundeps: also overwrite pkgver on automatic revbumps.
2011-11-12 14:01:51 +01:00
Juan RP
6fe5680fa6
xbps-src: verify_rundeps: make sure that newrev is only incr once.
2011-11-12 13:17:02 +01:00
Juan RP
cb1d5fbc43
xbps-src: verify_rundeps: if revision has been modified, export it.
2011-11-12 12:46:05 +01:00
Juan RP
de295d9771
xbps-src: verify_rundeps: do not revbump if soname_list is empty.
2011-11-12 12:08:49 +01:00
Juan RP
badcea5e8c
xbps-src: verify_rundeps: set tmplf once.
2011-11-12 11:33:40 +01:00
Juan RP
0c04077f6a
xbps-src: verify_rundeps: better regexp to remove Add_dependency run lines.
2011-11-12 11:29:40 +01:00
Juan RP
4eb1296169
xbps-src: revbump also when the rshlibs doesn't exist.
2011-11-12 10:06:29 +01:00
Juan RP
48209c4058
xbps-src: revbump if shlibs differ in the rshlibs file.
2011-11-12 09:52:34 +01:00
Juan RP
1a84dac699
xbps-src: verify_rundeps: revbump pkgs automagically (temporarily).
2011-11-11 23:53:53 +01:00
Juan RP
cea71ae468
xbps-src: verify_rundeps: autoremove matched Add_dependency run lines.
2011-11-11 22:48:42 +01:00
Juan RP
05e4225a55
xbps-src: new code to verify shlibs, rundeps from shlibs are added automagically.
2011-11-11 15:59:13 +01:00
Juan RP
9bda824de0
xbps-src: new func dependency_version() to return pkg+a[pb]i_depends.
2011-11-11 15:58:40 +01:00
Juan RP
7136110441
xbps-src: if pkgver from repos not matched, build from src.
2011-11-10 14:33:59 +01:00
Juan RP
0e59c1ee07
xbps-src: fixed index generation with -B without -D.
2011-11-10 13:28:27 +01:00
Juan RP
f0fad9387a
xbps-src: fixed an error in generated xbps-shell.
2011-11-10 13:26:58 +01:00
Juan RP
6c900c5011
Revert "xbps-src: install_pkg_from_repos: run cmd through eval."
...
This reverts commit c818dcd511
.
Shell redirection happens again with that commit, so reverted for now.
2011-11-10 11:35:48 +01:00
Juan RP
688accec67
xbps-src: added -V flag to print code version, add new obj into pkg metadata for that.
2011-11-09 20:58:42 +01:00
Juan RP
fad78ea7f1
xbps-src: only add files and links into the resulting binpkg.
...
Additional dirs and permissions on them can be set via mkdirs triggers
(and make_dirs var) and INSTALL/REMOVE scripts.
Those dirs are in 90% cases redundant as they always have the same
permissions bits (0755), all packages using special permissions have
been modified and adapted.
2011-11-09 20:44:01 +01:00
Juan RP
f5dd7aa666
xbps-src: deprecate keep_empty_dirs, warn when an empty dir is removed.
2011-11-09 16:25:11 +01:00
Juan RP
c818dcd511
xbps-src: install_pkg_from_repos: run cmd through eval.
2011-11-09 15:52:20 +01:00
Juan RP
ceabb62f9a
xbps-src: new "make_dirs" var for the mkdirs trigger.
2011-11-09 15:18:39 +01:00
Juan RP
4767136430
xbps-src: make sure that pkg metadir is created with 0755 perms.
2011-11-09 11:16:12 +01:00
Juan RP
966b16760d
xbps-src: create masterdir/boot dir if doesn't exist.
2011-11-08 12:35:45 +01:00
Juan RP
5a2cc5b5bd
xbps-src: infrastructure changes required for "nonfree" keyword in tmpls.
...
- The chroot target now execs masterdir/bin/xbps-shell to set up correct envvars.
- 2 pkgs are now in nonfree repo: adobe-flash-plugin and jre.
- Renamed some vars in xbps-src to be in uppercase, notably XBPS_MACHINE.
- make-repoidx target now creates the index for all "known" directories specified
via XBPS_PACKAGESDIR: XBPS_MACHINE, noarch, and nonfree/XBPS_MACHINE.
2011-11-08 11:56:17 +01:00
Juan RP
17e28d9126
xbps-src: extract_distfiles: always return 0 if no errors.
2011-11-06 11:14:59 +01:00
Juan RP
3cc393402f
xbps-src: new opt func: post_extract.
2011-11-06 09:34:44 +01:00
Juan RP
559eaa8f51
xbps-src: checkvers: also report revision in srcpkgs.
2011-11-05 12:40:44 +01:00
Juan RP
d21fc0ae41
xbps-src: make sure that XBPS_BUILDDIR doesn't have multiple '/' (stupid firefox).
2011-11-05 11:55:02 +01:00
Juan RP
4e69289faf
xbps-src: checkvers: simplify output to <pkgname> <version> <srcpkgversion>.
2011-11-04 15:46:17 +01:00
Juan RP
795ce57f15
xbps-src: better regexp for show-revdeps target.
2011-11-03 15:55:51 +01:00
Juan RP
6f12d878c1
xbps-src: follow target names from xbps utils.
...
Some targets have been renamed:
info -> show
list-files -> show-files
Added a new target to print reverse dependencies for a package:
show-revdeps
2011-11-02 16:02:31 +01:00
Juan RP
72d47e2535
xbps-src: changes to build deps from sourcepkg if no binpkg is found.
2011-11-01 12:09:06 +01:00
Juan RP
1e79ff97ee
xbps-src: install_pkg_from_repos(): wrong return value was checked in.
2011-11-01 06:44:07 +01:00
Juan RP
ce64a7c5bf
xbps-src: improve builddep code for XBPS_PREFER_BINPKG_DEPS and xbps>=0.11.0.
2011-10-31 04:04:31 +01:00