Go to file
Juan RP 1c22f1e6f3 bash: apply NetBSD patches to disable importing functions from environment.
This avoids completely shellshock.

1)
 $NetBSD: patch-shell.c,v 1.1 2014/09/25 20:28:32 christos Exp $
 Add flag to disable importing of function unless explicitly enabled

2)
 $NetBSD: patch-variables.c,v 1.1 2014/09/25 20:28:32 christos Exp $
 Only read functions from environment if flag is set.
2014-09-27 06:36:58 +02:00
common xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper. 2014-09-27 04:57:20 +02:00
etc Introduce a way to override dependencies for all pkgs thru a file. 2014-09-06 12:43:24 +02:00
srcpkgs bash: apply NetBSD patches to disable importing functions from environment. 2014-09-27 06:36:58 +02:00
.gitignore xbps-src: use default hostdir if unset; added support for x86 chroots ootb. 2014-04-22 16:01:05 +02:00
COPYING COPYING: mention void, not just 3 names. 2014-04-27 17:54:23 +02:00
Manual.md Manual: mention software bin stripping. 2014-09-18 10:38:09 +02:00
README.md xbps-src: drop fakeroot; xbps-create(8) is our friend. 2014-09-24 19:51:17 +02:00
xbps-src xbps-src: do not check for fakeroot; it's not necessary anymore. 2014-09-25 08:34:37 +02:00

README.md

The XBPS source packages collection

This repository contains the XBPS source packages collection to build binary packages for the Void Linux distribution.

To start using it first you'll need some external dependencies:

  • bash
  • xbps >= 0.38

Make sure your user is added to the xbuilder group to be able to use xbps-uchroot(8), otherwise xbps-src won't work correctly.

Type:

 $ ./xbps-src -h

to see all available targets/options and start building any available package in the srcpkgs directory.

Configuration

The etc/defaults.conf file contains the possible settings that can be overrided through the etc/conf configuration file for the xbps-src utility; if that file does not exist, will try to read configuration settings from ~/.xbps-src.conf.

If you want to customize default CFLAGS, CXXFLAGS and LDFLAGS, don't override those defined in etc/defaults.conf, append to them instead via etc/conf i.e:

$ echo 'XBPS_CFLAGS+=" your flags here "' >> etc/conf
$ echo 'XBPS_LDFLAGS+=" your flags here "' >> etc/conf

Virtual packages

The etc/defaults.virtual file contains the default replacements for virtual packages, used as dependencies in the source packages tree.

If you want to customize those replacements, copy etc/defaults.virtual to etc/virtual and edit it accordingly to your needs.

Contributing

See Manual for documentation to create and learn about the source packages.