jbu
87a5f1ecba
xbps-src: Use @Gottox way to read path names
2015-04-27 14:15:18 +02:00
jbu
5b066f3564
xbps-src: fix handling of path names containing spaces
2015-04-27 10:22:18 +02:00
Juan RP
f4019408ca
hooks/remote-empty-dirs: switch back to my version that really works.
...
I'm not sure how the guy that submitted the PR tested it, but IT
DOES NOT WORK AS HE EXPECTED.
2015-04-26 09:46:02 +02:00
jbu
ffefcc41a5
xbps-src: Don't print rmdir output
2015-04-25 13:30:11 +02:00
jbu
3a665efea1
xbps-src: Fix read loop for empty dirs; closes #1409
2015-04-25 13:26:18 +02:00
Juan RP
0be33d385a
xbps-src: move wrappers to common/wrappers.
2015-04-21 10:48:30 +02:00
Juan RP
62a643d5c7
xbps-src: create a dummy ldconfig wrapper.
...
This fixes build/installation of some pkgs that exec ldconfig gratuitously
(ntfs-3g fails with musl due to this).
2015-04-21 10:29:58 +02:00
Juan RP
1f2eb30af2
hooks/script-wrapper: add pcre-config wrapper.
2015-04-13 14:14:23 +02:00
Juan RP
2080de1414
hooks/pkglint: check that all files in conf_files really exist.
2015-04-05 18:41:01 +02:00
Christian Neukirchen
964c0e2b4e
hooks/pre-configure/install-wrapper: also drop -o/-g, they break in xbps-uunshare environments.
2015-04-04 19:50:40 +02:00
Juan RP
2164eddc33
hooks/create-metadata-scripts: fix INSTALL.msg for subpkgs.
...
The file should be renamed to <destdir>/INSTALL.msg not something else.
Close #1248
2015-04-01 15:08:28 +02:00
Christian Neukirchen
e02a68f524
hooks/pre-configure/02-script-wrapper.sh: add wrapper for install(1) to prevent stripping.
2015-04-01 14:11:20 +02:00
Christian Neukirchen
8f1abb9242
hooks/pre-configure/01-aarch64-override-config.sh: new hook.
2015-03-30 18:33:43 +02:00
Juan RP
64bbc33ca2
hooks/script-wrapper: create libetpan-config wrapper.
2015-03-30 08:33:00 +02:00
Juan RP
607d2aee5b
hooks/shlib-provides: only process .so* files.
2015-03-26 04:13:03 +01:00
Juan RP
b181f41497
hooks/script-wrapper: fix mysql_config and others.
2015-03-11 12:14:00 +01:00
Christian Neukirchen
3f43576971
06-strip-and-debug-pkgs.sh: detect PIE binaries.
2015-03-07 20:59:51 +01:00
Juan RP
a786acf4d2
hooks/distfiles: do not respect perms/owner when extracting via tar.
...
With user namespaces and uid/gid == 0, tar will try to respect them
and will fail with EINVAL.
2015-03-05 20:27:28 +01:00
Juan RP
7f5496db7f
hooks/script-wrapper: fix ncurses5{,w}-config wrappers for alsa-utils.
2015-02-27 10:10:16 +01:00
Juan RP
336612fc24
hooks/script-wrapper: fix generic_wrapper2 --cflags.
2015-02-24 10:00:33 +01:00
Juan RP
7339b81b43
xbps-triggers: system-accounts: introduce <account>_pgroup to set primary group.
...
While here also change default home directory to /dev/null if unset.
2015-02-23 22:09:20 +01:00
Juan RP
8bf5cb819a
hooks/remove-la: remove all *.la even if those are symlinks.
2015-02-23 11:33:43 +01:00
Juan RP
cb90b79acc
hooks/script-wrapper: create a xapian-config wrapper.
2015-02-22 08:39:09 +01:00
Juan RP
a44cd245bc
hooks/create-xbps-scripts: print what triggers are being added.
2015-02-21 13:03:51 +01:00
Juan RP
fa512a5109
hooks/script-wrapper: use generic_wrapper3 for libpng-config.
...
Fixes dillo cross compilation.
2015-02-11 15:11:15 +01:00
Juan RP
964bf772ba
hooks/register-pkg: register 32bit pkgs in cross mode too.
...
You can now build 32bit pkgs in cross compilation mode (-a i686).
2015-02-08 18:13:24 +01:00
Juan RP
ef9056ec30
hooks: move pkglint to the pre-pkg phase to make this work again.
2015-02-08 11:21:47 +01:00
Juan RP
84b56a438f
hooks/shlib-provides: fix inverted condition.
2015-02-07 10:04:03 +01:00
Juan RP
75cbc878a9
hooks/shlib-provides: if pkg sets shlib_provides do not skip it.
2015-02-07 09:53:21 +01:00
Juan RP
5725a2e0ae
xbps-src: introduce "noshlibprovides" to skip shlib-provides detection.
2015-02-05 11:37:10 +01:00
Juan RP
5c95087605
hooks/gen-pkg: do not autogenerate dbg pkg if this exists already.
...
This will be required by an upcoming change to linuxX.X by @chneukirchen
to build a -dbg pkg; and we cannot generate it automatically for now.
This avoids a double pkg creation noticed by @chneukirchen.
2015-02-05 11:30:32 +01:00
Juan RP
56e4c861bd
hooks/create-xbps-metadata-scripts: fix mktemp assignation.
...
When set -o ERR is set the exit case wasn't executed. From the bash
manual page:
"The ERR trap is not executed if the
failed command is part of the command list immediately following
a while or until keyword, part of the test in an if statement,
part of a command executed in a && or || list except the command
following the final && or ||, any command in a pipeline but the
last, or if the command's return value is being inverted using
!. These are the same conditions obeyed by the errexit (-e)
option."
2015-02-01 09:09:38 +01:00
Juan RP
6c395cb76e
xbps-src: create a new hook that collects shlib-provides.
...
This is necessary to be able to collect shlib-provides for 32bit pkgs,
which are autogenerated.
The strip-and-debug-pkgs hook now just does what its name mentions:
strip binaries and create -dbg pkgs.
2015-01-30 12:20:00 +01:00
Juan RP
d104a99fa0
hooks/prepare-32bit: introduce lib32symlinks.
...
- This creates a symlink of a file stored in usr/lib32 to usr/lib.
- This expects basename of files stored in usr/lib32.
- This is required by an upcoming change to the glibc pkg.
2015-01-28 16:29:45 +01:00
Juan RP
38c9ebf6df
hooks/prepare-32bit: do not create 32bit pkgs for perl/python/ruby modules.
2015-01-19 10:49:56 +01:00
Juan RP
c111653c6b
hooks/script-wrapper: create libassuan-config wrapper.
2015-01-18 17:05:08 +01:00
Juan RP
8be6b7b103
hooks/script-wrapper: revert 0e42bf442e
.
...
it's unnecessary and breaks cross compilation of gnome-ssh-askpass.
2015-01-14 14:28:19 +01:00
Juan RP
aed0f3ee0e
xbps-src: fix hooks that are expected to be used in subpkgs.
2015-01-14 14:23:10 +01:00
Juan RP
0e42bf442e
hooks/script-wrapper: multiple run protection.
2015-01-14 11:31:52 +01:00
Juan RP
3735ead3dc
hooks/prepare-32bit: subst /usr/lib to /usr/lib32 in lib32files.
2015-01-13 15:51:01 +01:00
Juan RP
86df9de56b
hooks/script-wrapper: create a fox-config wrapper.
2015-01-12 09:18:53 +01:00
Juan RP
c29cfb8eac
hooks/musl-override: also override config.sub if build_style is unset.
2014-12-28 09:09:31 +01:00
Juan RP
fc052bad5b
hooks: remove common/hooks/post-install/04-create-xbps-vpkg-files.sh.
...
It's unnecessary with xbps>=0.42.
2014-12-22 11:19:52 +01:00
Juan RP
10454449cd
hooks/script-wrapper: fix python-wrapper and update PATH.
2014-12-19 11:01:15 +01:00
Juan RP
9b3c55b8a3
hooks/script-wrapper: use XBPS_WRAPPERDIR.
2014-12-19 10:54:48 +01:00
Christian Neukirchen
09c1d7d1da
do-extract/00-distfiles.sh: unzip -o to overwrite without asking.
2014-12-12 10:32:12 +01:00
Juan RP
6e13dcbaff
xbps-src: introduce XBPS_STATEDIR to store state files, logs and others.
...
XBPS_STATEDIR is created in XBPS_BUILDDIR/.xbps-${sourcepkg}-${version}
and contains logs and state files for all phases, as well as wrappers.
We can now inspect the output from all hooks.
2014-12-11 11:02:22 +01:00
Juan RP
cc6b3134b8
hooks/pkglint: use xbps-query -Rs to check for shlib-requires in repos.
2014-12-10 09:32:28 +01:00
Juan RP
3540a97b45
hooks/script-wrapper: create proper x{ml2,slt}-config cross wrappers.
2014-11-19 07:31:30 +01:00
Juan RP
e8358f26b1
hooks/script-wrapper: also create a ncursesw5-config cross wrapper.
2014-11-16 19:59:50 +01:00