1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Xin LI
230e7b0ec6 Unbreak on recent -CURRENT. 2013-06-19 02:24:46 +00:00
Xin LI
db3e1cef59 Add a workaround for r231949 which fixes the problem of uio_resid being
truncated into int but introduced an KPI/KBI change.  While I'm there,
also add code to support the now MPSAFE VFS.
2013-01-25 21:30:24 +00:00
Jason Helfman
b44f85724f - re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
PR: ports/165994
Submitted by: 4721@hushmail.com
Approved by:	maintainer, delphij
2012-05-22 00:02:09 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Xin LI
3b860689ff Unbreak after __FreeBSD_version 900041. 2011-09-09 20:26:03 +00:00
Xin LI
a57fa54b2f Resolve conflict against b.p.m's CONF_* variables.
Submitted by:	Chris Rees <utisoft gmail.com>
PR:		ports/157157
2011-05-18 23:41:41 +00:00
Xin LI
ff2f12c008 Minor change to make the code match Linux's behavior.
Submitted by:	Shivaram Upadhyayula <shivaram.u quadstor.com>
2011-04-01 17:34:44 +00:00
Xin LI
4d31089f4d Explicitly specify where to find the kernel module. /usr/local/modules
is not a standard place where the kernel normally lookup for modules.

Noticed by:	dwhite
2011-03-01 23:17:09 +00:00
Xin LI
2e18eede58 Add a patch to make this build on -CURRENT and mark it BROEKN on < 8.0-RELEASE. 2011-02-28 20:13:10 +00:00
Xin LI
4fe0d13fed Correct the directory that we intend to remove. (%%KMODDIR%% expands to
a full path while plist expects a relative path).

Reported by:	exp-run (via linimon)
2011-02-28 07:40:32 +00:00
Xin LI
ecb80e8eeb Fix several problems with the rc.d script based on dougb@'s comments:
- Set a default value (NO) for _enable;
 - Use REQUIRE: LOGIN since this is not required to start that early;
 - Make the style more like the standard script.

Submitted by:	dougb
2011-02-27 07:01:17 +00:00
Xin LI
cf8e8b82a3 iSCSI Enterprise Target, based on a original port by QuadStor Systems [1].
iSCSI Enterprise Target is a simple open source iSCSI target with
professional features, that works well in enterprise environments
under real workloads, and is scalable and versatile enough to meet
the challenge of future storage needs and developments.

Part of additional work was sponsored by iXsystems, Inc.

[1] http://www.quadstor.com/tech-articles/116-iscsi-enterprise-target-iet-on-freebsd.html
2011-02-26 04:58:37 +00:00