Commit graph

27 commits

Author SHA1 Message Date
Christian Neukirchen
cd01759127 defaults.conf: move -z now to hardened-ld only. 2015-03-08 19:57:01 +01:00
Juan RP
e3765bc9b3 etc/defaults.conf: apply full relro completely via LDFLAGS. 2015-03-08 09:26:50 +01:00
Juan RP
d056b34dca etc/defaults.conf: fix some comments. 2015-03-04 15:20:57 +01:00
Juan RP
50a116d27a xbps-src: set default compiler/preprocessor/linker flags via etc/conf.
Rather than setting them in the build profile, just set them in
etc/defaults.conf (overridable via etc/conf) to simplify the code.

- Also enable _FORTIFY_SOURCE=2 in CPPFLAGS.
- Also enable -z,relro in LDFLAGS.

As suggested by @chneukirchen.
2015-03-04 15:18:46 +01:00
Juan RP
1e04dc260d etc/defaults.virtual: ConsoleKit -> ConsoleKit2 2015-01-20 18:45:17 +01:00
Juan RP
357d701fb6 etc/defaults.virtual: ConsoleKit-devel -> ConsoleKit2-devel. 2015-01-06 10:44:16 +01:00
Juan RP
7796f157c7 etc/defaults.virtual: declare libressl replacements. 2014-12-06 18:59:13 +01:00
Juan RP
c2bd01c8d3 xbps-src: introduce build profiles and use it by default.
common/build-profiles contains the compilation flags used in native
builds, and are defined per architecture:

	- x86_64 (glibc)
	- x86_64-musl (musl)

If XBPS_CFLAGS or XBPS_CXXFLAGS are set in `etc/conf`, the settings
from the build profile will be overrided.
2014-11-10 11:17:34 +01:00
Juan RP
fb1d18aec3 kde: update to 4.14.2. 2014-10-29 16:21:18 +01:00
Juan RP
9b8410064a etc/defaults.virtual: declare awk (gawk) and man (openbsd-man) defaults. 2014-10-28 07:35:38 +01:00
Juan RP
58bbb98712 xbps-src: move ccache/distcc to hostdir, to make them shared by multiple masterdirs.
This way a single ccache or distcc directory can be shared by multiple
independent masterdirs.
2014-10-26 10:22:30 +01:00
Juan RP
77642dc2e9 etc/defaults.conf: remove XBPS_{HOST,MASTER}DIR vars.
To use an alternative XBPS_{HOST,MASTER}DIR use -H and -m respectively.
2014-10-26 10:10:26 +01:00
Juan RP
2ba4bc82bd etc/defaults.conf: XBPS_REPO_DELTAS is dead. 2014-10-15 09:12:08 +02:00
Juan RP
6928b52a4e xbps-src: full switch to void-packages. 2014-10-11 11:15:02 +02:00
Juan RP
75b6468fa0 Introduce a way to override dependencies for all pkgs thru a file.
The `etc/defaults.virtual` file contains the default replacement
for our use cases; at this moment we only use it to use `eudev`
rather than `systemd` for udev.

If `etc/virtual` exists it overrides the settings of `etc/defaults.virtual`.
2014-09-06 12:43:24 +02:00
Juan RP
0f576c9f8c etc/defaults.conf: document XBPS_REPO_DELTAS. 2014-08-14 12:33:11 +02:00
Juan RP
c9af530628 etc/defaults.conf: matching -> matching. 2014-06-30 11:49:03 +02:00
Juan RP
9d34c36e0a Implemented support for permanent pkg build options (globally or per-pkg).
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.

Close GH #452.
2014-06-30 11:32:07 +02:00
Juan RP
05b83a2528 etc/defaults.conf: disable -mtune=generic for now. 2014-05-16 17:17:32 +02:00
Juan RP
f2127f6e3b etc/defaults.conf: use -mtune=generic and -fstack-protector-strong by default.
- -mtune=generic provides optimizations for generic CPUs.
- -fstack-protector-strong guards against buffer overflows and stack smashing attacks.
2014-05-16 08:20:08 +02:00
Juan RP
d4e4d826e6 xbps-src: new targets: update-bulk and update-sys.
* update-bulk:
	This rebuilds all pkgs in system repositories that are outdated.
	with this xbps-bulk is now considered fully obsolete.

* update-sys:
	This rebuilds all pkgs in system that are oudated and once built,
	updates them via xbps-install(8).

	This target defines a new configuration option "XBPS_SUCMD" that
	is the command to execute to update the system. By default set to
	"sudo sh -c".

CAVEATS
	- need to check if binpkg is in local repo.
	- need to add support to specify alternative rootdir.
	- need to add support to specify system repos.
2014-04-09 16:42:07 +02:00
Juan RP
576b865cf4 Update for xbps>=0.35 which contains xbps-uchroot.
That means that the Makefile and xbps-src generated files are not required
anymore, and the xbps-src script can be used as is.

Bump xbps requirement to 0.35 and enable XBPS_INSTALL_ARGS by default.
2014-04-01 11:29:21 +02:00
Juan RP
0b95cb8f5d Merge xbps-src code to make it usable in a standalone mode.
The new xbps-src configuration file is `etc/conf` where you can
add your local overrides from defaults set via `etc/defaults.conf`.

To use this xbps-src, run these steps:

	$ make
	$ sudo make setup (to make chroot helper setgid)
	$ ./xbps-src ...
2014-03-22 12:31:42 +01:00
Juan RP
2251cfdb20 Remove xbps bins and lib. They are now handled in launchpad.
--HG--
extra : convert_revision : b86cccec88eb76aaf9d81570b73d5a0413de9565
2009-08-18 16:29:22 +02:00
Juan RP
5fe9ff04b0 xbps.conf: fix a comment.
--HG--
extra : convert_revision : 7a2a904aee85f1e4b65fe11078bf3be381bf92b3
2009-08-17 16:23:29 +02:00
Juan RP
c86be9931b Install by default xbps.conf into $(PREFIX)/etc and use it.
--HG--
extra : convert_revision : d6550a3d9e6093cb1ec789715e2b1107b9bb59bd
2009-02-05 15:21:33 +01:00
Juan RP
d7c720ef7d Move xbps.conf to the new etc dir.
--HG--
extra : convert_revision : 84988fe710423c1610c1a3aa79bd38eee884d4c0
2008-12-22 00:40:36 +01:00