Commit Graph

16 Commits

Author SHA1 Message Date
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Juan RP 6c9ac2ea07 Added keep_dirs and conf_files vars for templates.
These will be written in pkg metadata props file as well. For now
they don't change any behaviour, will be used in binary packages.

Convert some pkgs to use them.

--HG--
extra : convert_revision : d04f681cf80dc97ceb9e50370d5a8c0d7b52687c
2008-12-14 01:48:36 +01:00
Juan RP 548bb7fb61 glibc: create a default /etc/nsswitch.conf.
--HG--
extra : convert_revision : 971eb252cf98abb3039e2fef0ba1e7bff42ef9af
2008-11-26 11:30:36 +01:00
Juan RP b52915760c glibc: update to 2.9, use snapshot from redhat.
--HG--
extra : convert_revision : 9dca5d1f391f5cafeb045f1e0dd64159bc403cbe
2008-11-24 22:51:43 +01:00
Juan RP 6cf4d4705d glibc: make this build on i386 by building with -march.
--HG--
extra : convert_revision : 58fa11196aabc10b3c0d16640a461064c3c52fb1
2008-11-21 17:12:07 +01:00
Juan RP 19b8381b64 glibc{,32}: do not use base_package anymore and misc changes.
--HG--
extra : convert_revision : 3b62a749010b0a05ffe2baa5bb317c5555dfaa49
2008-11-17 09:16:31 +01:00
Juan RP 245178dc42 glibc: add /lib32 and /usr/lib32 into ld.so.conf for x86_64.
--HG--
extra : convert_revision : 7b033e5ddb577944c05ca5f47a4f7e9a26ed080a
2008-11-05 06:25:02 +01:00
Juan RP 9b1c29e19b glibc: add 32 dynamic linker to ldd on x86_64.
replace_interpreter: don't look at $wrksrc.

--HG--
extra : convert_revision : ba36faca11a84e42a6cbd418be90cbd443a5ee4e
2008-11-03 10:32:36 +01:00
Juan RP ac80ddda40 Use bash features to improve $distfiles parsing.
That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.

--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
2008-10-28 23:57:52 +01:00
Juan RP e9231b5999 More changes to {pre,post}_<stage> stuff.
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.

Also remove some NetBSD specific stuff that is not useful anymore.

--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
2008-10-27 06:12:30 +01:00
Juan RP cc54ab04bd glibc: install info files in destdir.
--HG--
extra : convert_revision : 43020907daea7a2c325fc3795a1a898e856eaae7
2008-10-24 04:24:43 +02:00
Juan RP dba678e065 glibc: use /lib and /usr/lib on x86_64.
--HG--
extra : convert_revision : 1ce01731dbc3def0837480dbc7bb2a65b0785033
2008-10-24 02:01:54 +02:00
Juan RP 89f264e88c Massive changes to allow installing pkgs in a chroot.
Some changes include:
 - Xstow is not used anymore, files are copied into masterdir.
 - a new target install-chroot has been created.
 - a new meta-template xbps-base-chroot has been created required for
   the install-chroot target.
 - Removed XBPS_SYSCONFDIR, /etc is used by default.
Other changes that I cannot remember right now...

--HG--
extra : convert_revision : fb57d9dafb56aeb03cc935580172e075ce584fd5
2008-10-23 17:14:00 +02:00
Juan RP 28a5a070c1 Change autoconf pkgs to configure it with /usr or /.
This depends if a package uses $base_package, by default not set,
means the package will be installed into masterdir/usr, if set
will be installed into masterdir directly.

While here fixup binutils, gcc and glibc! I'm approaching to the point
on where I'll be able to chroot into masterdir and having working pkgs
installed.

--HG--
extra : convert_revision : be3c3e0d7368e7a1e1ef1c9add932aeeab82688d
2008-10-22 01:54:48 +02:00
Juan RP 8ba6111542 glibc: add gcc build depend, to avoid stuff like -fstack-protector built
in.

--HG--
extra : convert_revision : 4d14e85d8e8ba2b6f965a5049afbffb15a24f954
2008-10-21 05:30:10 +02:00
Juan RP 61adbd28db Added glibc-2.8 (tarball taken from archlinux).
While here add a new variable for templates: disable_ldflags.
If set LDFLAGS won't be used while building the package, it was
required by glibc which refused to link with a rpath set.

--HG--
extra : convert_revision : 14c547aa7470145c883ca982c517c50ca8f15fc5
2008-10-21 05:27:22 +02:00