Juan RP
c373ae50d4
xbps-src: get rid of 'broken_as_needed'; not used anymore.
2015-11-28 09:24:01 +01:00
mid-kid
f68bfd6575
common/hooks: Fix hooks when build_style=meta
2015-11-26 22:27:55 +01:00
Enno Boland
82b736b616
common: expand_destdir rewrite
2015-11-18 11:19:09 +01:00
Enno Boland
18e288fd2c
common: remove unneccessary 'source's; move extglob.sh to install
2015-11-18 10:21:33 +01:00
Enno Boland
ef24b7b7cc
common: move expand_destdir to environment/pkg; change lint check.
2015-11-18 10:21:33 +01:00
Enno Boland
67757b5708
hooks/do-pkg/00-gen-pkg.sh: enable globbing for conf_files.
2015-11-18 10:21:33 +01:00
Enno Boland
f19bca3bce
hooks/do-pkg: clean up 00-gen-pkg.sh
2015-11-18 10:21:33 +01:00
Jürgen Buchmüller
05c7da7955
Merge pull request #2908 from pullmoll/fetch
...
00-distfiles.sh: avoid unnecessary second loop
2015-11-15 02:54:55 +01:00
Juan RP
33e3afecf9
xbps-src: do not allow empty PKGDESTDIR unless build_style!=meta.
2015-11-13 13:05:36 +01:00
Juan RP
62de168b40
xbps-src: fix xbps-create(1) --tags option.
2015-11-10 11:33:19 +01:00
Jürgen Buchmüller
d7b1a31cf0
00-distfiles.sh: avoid unnecessary second loop
...
We're already done after the first loop, if all distfiles
were found and their checksums verified ok.
2015-11-05 22:05:25 +01:00
Jürgen Buchmüller
d8eca52226
00-distfiles.sh: add code to purge wrong checksum
...
If a distfile changed its checksum (SHA256) without at the same time
also changing its version, the distfile cache needs to be purged.
This is done by verifying only for already existing distfiles that the
specified checksum matches. If it does not, the file and its entry in
/host/sourcers/by_sha256 are purged using the inode number of the file.
The second loop then as usual fetches the distfiles and verifies their
checksum against the list entry.
+ drbd-utils fix checksum and also build + cross build
2015-11-03 19:27:07 +01:00
Juan RP
3e1154266f
xbps-src: support "alternatives" from xbps-0.48.
2015-10-30 12:39:59 +01:00
Juan RP
bd165ccdf6
wrappers: rename cc to cross-cc to clarify it's used only in cross mode.
2015-10-25 11:03:16 +01:00
Alessio Sergi
55768ad59d
xbps-src: distfiles: allow uncompressed distfiles
...
Do not extract them, just copy to $extractdir.
The allowed suffixes are: .patch, .diff, .txt.
2015-10-23 20:09:31 +02:00
Juan RP
b7d05057f9
xbps-src: create a cc/g++ wrapper to drop -I/usr/include -L/usr/lib in cross.
...
I'm tired of wasting extra time to fix software to remove standard include/lib dirs.
2015-10-23 11:56:30 +02:00
Enno Boland
66cdb281f1
hooks/pre-configure: don't overwrite PKG_CONFIG_* vars in the wrapper.
...
This may have side effects do other packages but it was needed to fix
gnome-online-accounts for cross build. goa ships a subproject that uses
this vars to link against it. This commit changes the pkg-config that it
preserves values in PKG_CONFIG_* if set.
2015-10-13 15:01:32 +02:00
Christian Neukirchen
e3f0ce021e
pre-pkg/06-shlib-provides.sh: revamp soname registration.
...
We now register all versioned sonames, and unversioned sonames only
when in libdir. (E.g. libdb and tcl use version numbers in the
library name, and have unversioned sonames.)
Closes #2699 .
2015-10-06 20:17:28 +02:00
Christian Neukirchen
085f6452ad
pre-pkg/06-shlib-provides.sh: shlib-provide all versioned libraries
...
Previously we provided all libraries in /usr/lib{,32}.
Now we provide all libraries with a versioned SONAME anywhere.
2015-10-05 14:46:32 +02:00
Juan RP
bcdacb66a0
xbps-src: replace basename(1) with ${var##*/}.
...
Reduce number of fork+exec due to using a subshell to execute basename(1).
2015-09-11 07:55:40 +02:00
Juan RP
955d7ce232
hooks/do-pkg/gen-pkg: don't set unnecessary args to xbps-create(1).
2015-09-10 20:07:13 +02:00
Jürgen Buchmüller
00c18e3e88
distfiles mirror: try $curfile first (renamed)
2015-09-04 17:13:31 +02:00
Juan RP
983d68a31e
xbps-src: support multiple pkg compression formats via etc/conf.
...
XBPS_PKG_COMPTYPE can be set via etc/conf to set your preferred compression
format; defaults to xz, like xbps-create(1).
The "none" setting is only available since 0.48 (unreleased).
2015-09-03 12:44:08 +02:00
Jürgen Buchmüller
793a156a0f
Implement XBPS_DISTFILES_MIRROR (second try)
...
The idea is to remove some burden from the original download
locations for distfiles by specifying one or more mirror locations.
+ Works with http:// or ftp:// mirrors for all $XBPS_CHROOT_CMD variants
+ Works with file:// mirrors together with uchroot and proot
2015-08-31 15:48:22 +02:00
Enno Boland
a22b793e90
common/hooks: show msg for patching before applying the patch.
...
failing patches can easier be identified that way.
2015-08-02 10:54:59 +02:00
beefcurtains
3c424a73f6
xbps-src: quote $wrksrc
...
Allows spaces in the directory name
2015-07-29 11:11:04 +00:00
Juan RP
e03593db73
xbps-src: remove vestiges of the systemd-services hook.
2015-07-11 11:30:09 +02:00
jbu
d6fb3784dd
00-distfiles: fix hard link existence test
2015-07-06 21:34:52 +02:00
jbu
b30cbd9870
xbps-src: implement a by_sha256 hash cache
2015-07-04 11:18:46 +02:00
Christian Neukirchen
eaa6ab4b81
pre-configure/02-script-wrapper.sh: use generic_wrapper2 for nspr-config.
2015-06-24 14:08:56 +02:00
Andrea Brancaleoni
972a87ba9f
hooks/post-install/04-create-xbps-metadata-scripts.sh: add binfmts trigger support
2015-06-22 13:49:11 +02:00
Christian Neukirchen
93853b06e5
pre-configure/02-script-wrapper.sh: taglib-config needs generic_wrapper2.
2015-06-10 13:51:38 +02:00
Juan RP
7fec5d6aac
hooks/script-wrapper: fix generic_wrapper3: just replace prefix/libdir.
2015-06-08 08:01:59 +02:00
beefcurtains
af3eea3a2c
network-ups-tools: enable snmp module
2015-06-04 05:27:14 +00:00
Juan RP
2fad5b3d5d
xbps-src/hooks/pkglint: error out if DESTDIR/usr/sbin exists.
2015-06-03 14:13:31 +02:00
Juan RP
35bef58c7b
hooks/strip: do not strip files at /usr/lib/debug.
2015-05-23 09:52:19 +02:00
Juan RP
58749959da
xbps-src: create a nspr-config wrapper to unbreak mozjs24 cross and others.
2015-05-20 07:30:52 +02:00
Juan RP
1e340ceb79
hooks: activate override-config by default.
2015-05-18 09:33:39 +02:00
Juan RP
ee7d319c73
hooks/musl-override-config: activate this for musl targets.
2015-05-12 22:58:24 +02:00
Juan RP
0ca0c67819
hooks/pre-configure: one hook to override config.{sub.guess} for musl is enough.
2015-05-12 22:53:33 +02:00
Juan RP
a56b465f1e
hooks/xbps-metadata: only add systemd-service trigger if the buildopt is set.
2015-04-30 11:15:02 +02:00
Juan RP
cd8a29cb62
hooks/strip: make sure to use strip(1) and not our wrapper.
2015-04-28 09:47:39 +02:00
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