Commit graph

796 commits

Author SHA1 Message Date
prlw1
be471adb13 Describe ecap option - eCAP is like ICAP (RFC 3507) 2016-06-17 16:01:32 +00:00
jperkin
c02e752f64 Change PKGSRC_USE_SSP to a quad option. The options are now:
"no"     Do not pass any stack protection flags (the default)
   "yes"    Pass -fstack-protector
   "strong" Pass -fstack-protector-strong
   "all"    Pass -fstack-protector-all

This allows users to configure the level of stack smashing protection they
require, and ensures consistent behaviour across platforms.  Users running
on NetBSD who previously used the option will need to change "yes" to "all"
to match the previous default configuration for that platform.

While here use _WRAP_EXTRA_ARGS to ensure the flag gets passed regardless
of whether the package honours CFLAGS, and support additional wrappers.

Discussed a while back with khorben, and used in production for the SmartOS
2016Q1 package sets with the "strong" option.
2016-06-13 13:26:42 +00:00
schnoebe
c84fde74b2 Add descriptions for fax and websocket. 2016-05-28 23:27:45 +00:00
snj
bba3a64409 +geoclue 2016-05-18 22:48:08 +00:00
snj
0e2e0dbaef add libdrm 2016-05-18 22:24:53 +00:00
taca
1c8b6651cb Add description for sit and tuning PKG_OPTIONS used by bind910. 2016-05-02 13:29:19 +00:00
dholland
8ce9bb5192 Document afterstep option. 2016-05-01 19:35:48 +00:00
richard
87d204ea41 add mtpz options to enable MTPZ support using libgcrypt 2016-04-09 10:12:24 +00:00
richard
6d539a4c87 Add two options:
libusb-1 - Enable USB access via libusb-1.
nautilus - Enable nautilus sub-menu option.
2016-04-09 05:26:26 +00:00
khorben
dc4ad6b750 Add support for a number of security features
- Revisit (and rename) support for FORTIFY as PKGSRC_USE_FORTIFY (instead
  of PKGSRC_USE_FORT) for easier support outside NetBSD/gcc;
- PKGSRC_USE_SSP is no longer enabled by default when PKGSRC_USE_FORTIFY
  is enabled;
- PKGSRC_MKPIE builds executables as PIE (to leverage userland ASLR)
- PKGSRC_USE_RELRO builds with a read-only GOT to prevent some exploits
  from functioning.

Tested on NetBSD/amd64 by myself, in every combination, with and without
pkgtools/cwrappers. MKPIE is not supported at the moment with cwrappers.
Also, MKPIE is known to still break a number of packages when enabled (and
actually supported).

Tested on SunOS by jperkin@, thank you!

As discussed on tech-pkg@, the default behavior is not changed, except
where noted above.

ok bsiegert@
2016-03-11 23:03:31 +00:00
ryoon
f35fb0553e Add gnupg2 and gnupg21 options 2016-03-07 12:05:01 +00:00
fhajny
ff4009acb2 Add snappy option description 2016-02-26 15:57:21 +00:00
fhajny
259aedbfb1 Add wiredtiger option description. 2016-02-26 12:35:31 +00:00
jaapb
9101e5296c Added ppx and camlp4 options. 2016-02-17 16:54:59 +00:00
leot
6ced276e61 Document the glfw option. 2016-02-04 11:52:31 +00:00
jperkin
ac56158090 Attempt to bring sanity to how ABI and MACHINE_ARCH are set.
Previously there were at least 5 different ways MACHINE_ARCH could be set,
some statically and some at run time, and in many cases these settings
differed, leading to issues at pkg_add time where there was conflict
between the setting encoded into the package and that used by pkg_install.

Instead, move to a single source of truth where the correct value based on
the host and the chosen (or default) ABI is determined in the bootstrap
script.  The value can still be overridden in mk.conf if necessary, e.g.
for cross-compiling.

ABI is now set by default and if unset a default is calculated based on
MACHINE_ARCH.  This fixes some OS, e.g. Linux, where the wrong default was
previously chosen.

As a result of the refactoring there is no need for LOWER_ARCH, with
references to it replaced by MACHINE_ARCH.  SPARC_TARGET_ARCH is also
removed.
2016-01-24 16:14:44 +00:00
khorben
5e84b71d39 Remove support for APACHE_CUSTOM_CFLAGS
This goes as far back as 2001 (mk.conf.example) but there should not be any
reason to explicitly set CFLAGS for specific packages. In practice this
even fixes support for global CFLAGS in www/apache{22,24}.

ok gdt@
2016-01-20 13:29:29 +00:00
wiz
d89eac75cc Add farstream option description. 2016-01-13 22:27:31 +00:00
tsutsui
4af0f9785a Describe scim option. 2015-12-19 14:13:19 +00:00
leot
10aea8fb82 Add plotutils option. 2015-10-28 20:06:51 +00:00
wiz
44d87b77e4 Describe cerf option. 2015-10-28 19:02:54 +00:00
jnemeth
05d786d6c8 add asterisk-config option 2015-10-27 08:50:45 +00:00
wiz
1ab1ae5d04 Describe a vlc option. 2015-10-25 10:56:47 +00:00
wiz
7c35ba72d8 Describe two options. From Rin Okuyama in PR 50363. 2015-10-25 10:14:27 +00:00
tnn
3994ae0d89 describe xatracker option (will be used by MesaLib-11.0.1) 2015-09-24 22:59:11 +00:00
tnn
815a232339 describe llvm option 2015-09-12 16:56:21 +00:00
leot
2e87702d6d Delete liferea-* options (no longer used by www/liferea, since liferea>=1.6.0). 2015-09-11 15:41:31 +00:00
fhajny
601476abdb Add description for the eai option 2015-09-07 09:51:53 +00:00
sevan
27160fa215 Commence deprecation of logic related to detecting the presence of X11 on the
host and whether to use native or pkgsrc components.

With the use of builtin.mk in packages, these tests are superfluous and can
prevent the builtin.mk detection mechanism from working correctly.

Discovered on OpenBSD where X11_TYPE native was being used but the native
MesaLib wasn't because a test to check the presence of xorgversin.def
failed, forcing MesaLib to be added to $PREFER_PKGSRC.

Change leading if statement to default to an empty $PREFER_PKGSRC with OpenBSD &
Bitrig defaulting to this, remaining platforms should also be moved here after
testing, this is in preperation for replacing the block with just the default value for
$PREFER_PKGSRC.

Put together with instruction from jperkin@

Reviewed by jperkin@ wiz@
2015-09-05 21:25:30 +00:00
wiz
b10b081e2e Remove descriptions for removed options. 2015-08-28 07:47:48 +00:00
jperkin
ccc53d4613 Document memcached and sphinx options. 2015-08-20 12:26:46 +00:00
khorben
8ce191e1e1 Add support for building with fortify
This is pretty much the same change as with SSP, and completes it with
support for fortify (like USE_FORT in NetBSD's base system). Like SSP, this
is disabled by default for the moment. Like in NetBSD's base system,
enabling fortify explicitly also enables SSP by default - but SSP can still
be disabled explicitly in this situation.

All four combinations tested on NetBSD/amd64.
2015-08-10 21:44:34 +00:00
khorben
ae79ea7d78 Add support for compiling with stack-smashing protection
This is enabled with PKGSRC_USE_SSP in mk.conf(5), as documented there.
Most NetBSD platforms are supported (when compiling with gcc).

After consensus on tech-pkg@.
2015-07-26 22:13:17 +00:00
dholland
25dd16d4fe Remove old custom www/links options. From PR 50072. 2015-07-20 23:06:36 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
ryoon
43f9e507bc Remove mozilla-enigmail option. 2015-07-01 13:03:11 +00:00
wiz
d743442101 Describe libnotify. 2015-06-08 14:58:43 +00:00
fhajny
2c2c1a9059 Add option descriptions for nghttp2-asio, nghttp2-tools and http2. 2015-06-03 12:03:01 +00:00
mef
7348ab3bc2 Add json (for net/lldpd for the moment). 2015-05-23 06:38:35 +00:00
wiz
090d63ebea Improve xaw3d description. 2015-04-26 07:42:51 +00:00
mef
4d62ceed4a Rename options emacs-xaw3d to simply xaw3d. Ref:
http://mail-index.netbsd.org/pkgsrc-users/2015/04/24/msg021447.html
2015-04-26 05:54:29 +00:00
alnsn
2ca9b78150 Add cython option. 2015-04-20 19:54:50 +00:00
tnn
19daf0cc07 fix typo in comment 2015-04-19 09:21:33 +00:00
hiramatsu
b0ae152e30 Add cdb option description. 2015-04-17 02:23:42 +00:00
wiz
df64bca233 Describe secret option (hush!) 2015-04-08 05:31:00 +00:00
fhajny
45199e0811 Add lmdb option description 2015-04-07 08:59:05 +00:00
mef
de8d97fdc6 Add mysqlnd, (MySQL native driver) for databases/php-mysql. 2015-02-26 00:51:46 +00:00
tnn
7e28fddc33 Removed outdated openjdk7-bin package. No objection from abs@ 2015-02-25 10:39:50 +00:00
wiz
6ad07891d7 Describe rpi option. Sort. 2015-02-19 21:57:05 +00:00
jperkin
d460a8ce9f Remove obsolete bulk build variables. 2015-02-16 10:42:00 +00:00