Commit graph

39 commits

Author SHA1 Message Date
Rene Ladan
484191d812 - Stage support
- Remove obsolete NO_PACKAGE
- Remove IGNORE check for obsolete versions of FreeBSD
- Fix typo introduced in converting this port to USES=kmod

Approved by:	portmgr (infrastructure blanket)
2014-01-26 18:35:10 +00:00
Max Khon
534b267ed7 Unbreak FreeBSD 10 (no D_PSEUDO) and clang build. 2013-11-18 12:02:01 +00:00
Rene Ladan
bfc52e7104 Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.

There are no user-visible changes.  The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.

PR:		ports/183625
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-09 19:13:27 +00:00
Baptiste Daroussin
8ac99398e2 Add NO_STAGE all over the place in preparation for the staging support (cat: misc) 2013-09-20 20:50:57 +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
Max Khon
20921879e3 Fix CONFLICTS definition. 2012-08-29 08:41:07 +00:00
Max Khon
d6dd233e65 This port conflicts with dahdi-kmod26-*. 2012-08-29 08:39:22 +00:00
Max Khon
abe53affa2 Fix portlint error: use a tab (not space) after a variable name 2012-08-29 08:34:55 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Max Khon
a48ecfeaa4 - Fix wcte12xp unloading (implement flush_workqueue)
- Fix nethdlc -> bchan/dchan reconfiguration (unlock chan mtx
before destroying iface)
- Bump PORTREVISION
2012-05-30 08:40:11 +00:00
Max Khon
d58d43ef84 - Fix build on FreeBSD 9 and later where "bool" is defined in <sys/types.h>
- Bump PORTREVISION
2012-02-23 08:08:51 +00:00
Max Khon
9b5e7b0383 - Fix latency reconfiguration on 5th gen wct4xxp cards:
FILTER_SCHEDULE_THREAD does not work on FreeBSD as described --
it is not actually a bit flag, so should not be used with FILTER_HANDLED
- Bump port version to 2.4.0rc5_3
2012-01-30 16:37:37 +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
Max Khon
93ade8aed9 - increase the number of buffers for nethdlc because receiver is now run
in a taskqueue
- return ENOBUFS when there are not enough output buffers on nethdlc send
2011-11-07 19:36:01 +00:00
Max Khon
c2ec791367 Implement nethdlc with Cisco HDLC encapsulation: when a span is configured
in nethdlc mode ngX network interface is created.
2011-11-07 17:22:34 +00:00
Mark Linimon
a47071ae5a Use the canonical way to test for the presence of FreeBSD src files.
Approved by:	maintainer
2011-08-02 12:56:35 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +00:00
Max Khon
af315351aa Split dahdi port into two parts:
- dahdi - userland libraries and utilities
- dahdi-kmod - kernel modules

dahdi port can be packaged and this allows asterisk package
(that depends on dahdi) to be built as well.
2011-04-18 17:38:21 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Max Khon
e75bcadbbd Set group ownership of dahdi device nodes to "dahdi" group. 2010-11-07 17:18:36 +00:00
Max Khon
7f32b10cef Add patch to define __BIG_ENDIAN and __LITTLE_ENDIAN properly.
May fix wctdm on sparc64.
2010-10-05 16:44:43 +00:00
Max Khon
043f46f727 Update to 2.4.0-rc5.
Major changes are:
- it is no longer possible to unload drivers in use [1]
- wctdm params patch is now in upstream
- NO_FETCH patch and ADDITIONAL_DRIVERS patches are no longer required

PR:		150175 [1]
Sponsored by:	The FreeBSD Foundation
2010-09-04 09:04:24 +00:00
Max Khon
95f3227edc Fix wctdm driver parameters declaration.
Sponsored by:	The FreeBSD Foundation
2010-09-01 15:22:32 +00:00
Max Khon
8bfbe9aecb Do not fetch during port build: fetch firmware binaries during port fetch stage.
Sponsored by:	The FreeBSD Foundation
2010-09-01 06:57:21 +00:00
Max Khon
f3f52456a8 Fix the breakage introduced with the latest commit: USE_GMAKE can not be used with this port.
Sponsored by:	The FreeBSD Foundation
2010-09-01 06:10:47 +00:00
Max Khon
bed12bdfb6 Fix portlint warnings. 2010-08-31 20:58:06 +00:00
Max Khon
da90049c53 Update to 2.4.0-rc4. Most notable changes are:
- OSLEC echo canceller
- experimental wcb1xxp (zaphfc) port for CCD HFC-S single-port PCI ISDN cards

Sponsored by:	The FreeBSD Foundation (this and all previous commits to this port)
2010-08-31 20:54:20 +00:00
Max Khon
0babd6d2de - Update to 2.4.0rc3
- Run "fxotune -s" during startup if fxotune.conf is present in the
default location ($PREFIX/etc/fxotune.conf).
2010-08-31 03:37:06 +00:00
Max Khon
01f74df735 Update to 2.4.0-rc2.
Most notable changes are:
- wctdm, wcte11xp, wcte12xp drivers are no longer experimental
- outgoing FXO calls now work properly
- experimental wctc4xxp support
- experimental sparc64 support

Add a bchan patch for zaphfc driver.
2010-08-26 04:10:10 +00:00
Max Khon
41852a73b2 Add OS version check. 2010-06-14 18:13:15 +00:00
Max Khon
193f33ad74 Update to 2.3.0-rc2.
Major changes are:
- wcfxo driver (X100P single-port FXO)
- hx8 firmware driver (hybrid 8-port FXO/FXS/BRI)
- all driver parameters are now exported as sysctl's
- experimental drivers (source-code ported but not tested on real HW yet):
	- wctdm (Digium TDM400P: 4-port FXO/FXS)
	- wcte11xp (Digium TE110P: PCI single-port T1/E1/J1)
	- wcte12xp (Digium TE120P/TE121/TE122: PCI/PCI-E single-port T1/E1/J1)
	- vpmadt032 (HW echo canceler)

Experimental drivers are available as a port option and are not enabled
by default.
2010-06-01 14:57:55 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Max Khon
3f2f0cbb93 Fix pkg-plist: dahdi_dummy.ko is no more. 2010-03-18 15:06:13 +00:00
Max Khon
c21b255603 Fix getting dahdi_enable value in rc.d script. 2010-03-18 13:57:26 +00:00
Max Khon
76121f0f5b Update to 2.2.1-rc2 (initial wctdm24xxp support). 2010-03-15 20:45:40 +00:00
Max Khon
beef1ab75f Add ${LOCALBASE}/lib/dahdi to the KLD search path, so that autoloading
of echo cancellation modules or Octasic firmware modules works as expected.

Feature safe:	yes
2010-03-06 05:11:59 +00:00
Max Khon
a25ac21e9a - Remove overdebug.
- Mute ${REINPLACE_CMD}
- Fix zaptel -> dahdi typo

Feature safe:	yes
2010-03-03 13:11:47 +00:00
Max Khon
804aa478a1 Initial version of dahdi-freebsd (and dahdi-tools) port.
DAHDi (Digium/Asterisk Hardware Device Interface) is the open source
device interface technology used to control Digium and other telephony
interface cards.

WWW: http://www.asterisk.org/dahdi/

Feature safe:	yes
2010-03-03 12:45:47 +00:00