Érico Rolim
c804437d04
common/hooks/post-install/04-create-xbps-metadata-scripts.sh:
...
use correct section for chroot(2) in comment.
2020-11-13 23:06:14 -03:00
Piotr Wójcik
dcdbcbf30a
11-pkglint-elf-in-usrshare: disallow x-executable
...
Can be allowed per-package now
2020-08-25 21:18:59 +02:00
Helmut Pozimski
e0979275b4
11-pkglint-elf-in-usrshare: allow explicit setting of exceptions
...
Co-authored-by: Piotr Wójcik <chocimier@tlen.pl>
2020-08-25 21:18:59 +02:00
fosslinux
102841754a
xbps-triggers: add texmf-dist regeneration trigger
2020-07-14 02:38:24 +02:00
John
9ff9323c0f
hooks/pkglint-devel-paths: do move static find calls out of the loop
...
Right now they got executed every iteration, but weren't dependent
on the loop. Which resulted in getting the output x times more often
than neccessary
2020-07-12 04:20:48 -07:00
John
c677edf2b3
hooks/pkglint-elf-in-usrshare: speed up by only starting file once
2020-06-29 16:24:08 -07:00
Đoàn Trần Công Danh
d7f942b709
post-install: warn if cross wrapper not cleared
2020-05-31 02:10:51 +00:00
Đoàn Trần Công Danh
eef02a2b84
post-install: clean reference to $XBPS_CROSS_BASE in pkgconfig
2020-05-31 02:10:51 +00:00
Đoàn Trần Công Danh
2af30cdd78
setup: compute gitrev from outside of chroot
...
Together with previous commit, `xbps-src` is able to support
git-worktree and shared repository by now.
2020-05-23 06:59:24 +00:00
Đoàn Trần Công Danh
20f9bedefb
xbps-src: use $XBPS_GIT_CMD for git
2020-05-23 06:59:24 +00:00
Piotr Wójcik
5028523d43
common/hooks: fix pycompile_module with explicit python_version=2
2020-04-25 02:10:01 +02:00
a
3c135fddb7
06-strip-and-debug-pkgs.sh: ignore binaries for unknown machines
...
Because most likely these files are not executables, but some kind of
bytecode. And strip doesn't know how to strip them anyway.
2020-04-23 23:01:01 -04:00
Piotr Wójcik
8a09d89eac
common/hooks: remove pycompile_version, use python_version instead
2020-04-22 20:11:26 +02:00
Cameron Nemo
23ff926700
base-files: install /usr/lib32 symlink on i686
2019-12-15 09:17:51 +01:00
Piotr Wójcik
0139bdb524
04-create-xbps-medatada-scripts.sh: autogenerate pycompile_modules
2019-12-06 20:23:37 +01:00
Piotr Wójcik
eb3405a5ed
hooks/generate-gitrevs: update summary
2019-11-23 09:33:32 +01:00
John
e351f6b462
hooks/post-install/03-remove-empty-dirs.sh: use find -delete instead of rmdir -p
...
rmdir -p could end up deleting even /destdir when a empty package would
not have any subpackages with a i686 masterdir.
2019-10-22 16:58:09 +02:00
John
a93c02d3cc
hooks/post-install: do remove lib32 symlink before checking for empty dirs
...
this resulted in empty i686 packages never getting flagged as empty
since the /usr/lib32 -> lib symlink was only removed after the check
2019-10-22 16:58:09 +02:00
Juan RP
7b7d7c13a1
xbps-src: exit properly if mktemp(1) fails, not from its subshell.
...
Thanks @huglovefan
2019-06-17 17:38:07 +02:00
Juan RP
f59b295903
xbps-src: cleaned up usage of mktemp(1).
...
This one was on my TODO for a long while... fixes unportable
arguments (checked with the NetBSD's manual page).
2019-06-17 15:23:20 +02:00
maxice8
81da3e618c
06-strip-and-debug-pkgs.sh: replace grep -q with [[ ]]
2019-04-14 12:46:51 -03:00
maxice8
cdb6bf6e94
00-compress-info-files.sh: replace echo | grep with [[ ]]
2019-04-14 09:02:28 -03:00
maxice8
13b5d09803
04-create-xbps-metadata-scripts.sh: replace echo | grep with [[ ]]
2019-04-14 07:45:09 -03:00
maxice8
a00d546dce
06-strip-and-debug-pkgs.sh: replace echo | grep with [[ ]]
2019-04-14 07:45:09 -03:00
maxice8
5b26fde9c0
06-strip-and-debug-pkgs.sh: remove dirname usage
2019-04-14 06:22:09 -03:00
maxice8
974f2805f2
00-compress-info-files.sh: remove dirname usage
2019-04-14 06:22:09 -03:00
Enno Boland
6eb37e35b2
common: merge only_for_archs and noarch=yes into one.
...
* noarch=yes is replaced with archs=noarch
* only_for_archs= is renamed to archs=
* archs= allows the use of wildcards and negations; first matching rule applies:
* archs="*-musl" will build the pkg only for musl-libcs
* archs="~*-musl" will build the pkg only on non-musl-libc
* archs="x86_64-musl ~*-musl" will build for x86_64-musl and any non-musl
arch.
* archs= defaults to "*"
2019-02-15 13:19:44 +01:00
maxice8
ab96ff356e
xbps-src/hooks: most 05-rename-python3-c-bindings to post-install
2019-02-02 14:40:05 -02:00
maxice8
75e535d257
hooks/11-pkglint-elf-in-usrshare: make use of bashisms to fix stuff.
...
using for-loop causes the loop to hang at filenames with -.
Use while read instead with bash process substitution so it avoids the
subshell problem.
2019-01-10 00:44:44 -02:00
maxice8
c06512eac9
hooks: Add hook to check for ELF files in /usr/share
2019-01-09 17:01:13 -02:00
Piotr Wójcik
27d9e7ffea
hooks/uncompress-manpages: prevent hang
...
In case when file to be uncompressed existed, decompressors asked
whether to overwrite it.
As output is muted, building hung silently waiting for input.
2019-01-05 08:12:55 -02:00
maxice8
9251941c99
hooks/pre-pkg: prohibit /usr/doc, mention /usr/share/doc
2018-12-20 16:33:35 -02:00
maxice8
3f5059ae50
hooks/post-install: fix find for executable files, use GNU -executable
2018-12-13 10:14:44 -02:00
maxice8
80c5550ce4
hooks/post-install: fix message and indentation on pkglint-devel-paths.
2018-12-12 23:08:56 -02:00
maxice8
de31bf8d1f
hooks/post-install: Add hook to warn when paths for -devel packages
...
should be added.
This hooks checks installed files of all packages that do not end
in -devel and warn when certain paths are found that should be in
the -devel package like:
- /usr/include
- /usr/lib/*.so
- /usr/lib/*.a
- /usr/[lib|share]/[pkg-config|cmake]
- /usr/share/vala
- /usr/share/gir-1.0
2018-12-12 23:07:05 -02:00
maxice8
59b5fdf36f
04-create-xbps-metadata-scripts.sh: automatically add triggers for
...
appstream-cache
[ci skip]
2018-08-27 18:26:11 -03:00
maxice8
88f96346d4
hooks/post-install/04-create-xbps-medata-scripts.sh: automatically
...
handle gtk-pixbuf-loaders
2018-08-23 17:16:47 -03:00
maxice8
5c28f42b50
04-create-xbps-medatada-scripts.sh: fix indentation.
2018-08-20 22:25:11 -03:00
maxice8
2a37c4734c
hooks/post-install/04-create-xbps-medata-scripts.sh: automatically
...
handle gtk{,3}-immodules
2018-08-19 06:01:47 -03:00
Leah Neukirchen
d30a239d41
common/hooks: support application/x-pie-executable (from file 5.33).
2018-04-16 14:37:49 +02:00
Michael Gehring
b9e321456b
xbps-src: make -dbg packages depend on the pkgver they are generated from
...
Closes : #12161 [via git-merge-pr]
2018-03-05 19:50:05 -08:00
Jürgen Buchmüller
7c53259f00
create-xbps-metadata-scripts: indent with tabs
2018-01-15 14:32:42 +01:00
James Barnett
90b5c612ae
Add hook and trigger to handle hwdb.d files
...
Adds a hook to check if /usr/lib/udev/hwdb.d is being modified. If so,
triggers 'udevadm hwdb --root=. --update'.
Closes : #9858 [via git-merge-pr]
2018-01-15 14:31:12 +01:00
Andrea Brancaleoni
cb72dfc4cd
wine: nopie_files
2017-11-29 19:28:02 +01:00
Alessio Sergi
d77d6cde40
xbps-src: limit the search to the /usr/lib/pythonX.Y directory
2016-10-27 15:22:54 +02:00
Alessio Sergi
4e6576e7a4
xbps-src: add support for python3 pkgs
...
- python_module build style now builds modules for python2/3 by default
- new python2_module and python3_module build styles for building
python2-only and python3-only packages respectively
- no more python_versions
- no need to define pycompile_version for Python modules anymore
(still needed for non-Python modules though)
- Python version and paths are now guessed automatically and a set of
useful variables can now be used in templates
- #!/usr/bin/python2 and #!/usr/bin/python3 are now the default shebangs
- /usr/bin/foo2 and /usr/bin/foo3 are now the default names for bin
scripts (for use with alternatives)
2016-10-16 16:59:31 +02:00
Christian Neukirchen
fb830a2a37
hooks/post-install/06-strip-and-debug-pkgs.sh: bail out on non-PIE binaries in PIE builds.
...
Not tested extensively, in doubt needs twerking.
2016-05-17 14:58:33 +02:00
Enno Boland
6606995831
common/hooks: fix python shebang rewrite for multi-versioned packages
2016-03-27 12:25:27 +02:00
Enno Boland
4714ce6dcd
hooks/post-install: fix python shebang rewriting.
2016-03-25 19:13:06 +01:00
Enno Boland
eb2621ca46
hooks/post-install/07-rewrite-python-shebang.sh: use IFS and -r for read.
...
cc @chneukirchen
2016-03-22 09:03:11 +01:00