Bug 87809 - New port: comm/uticom
Summary: New port: comm/uticom
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 20:40 UTC by Dmitry Komissaroff
Modified: 2005-11-24 11:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Komissaroff 2005-10-21 20:40:13 UTC
usbcomm driver for TUSB3410 uart-to-usb converter

Fix: Previous post of this port contain error in MASTER_SITE variable. Now fixed.
---uticom.shar begin here---


---uticom.shar ends here-----viLxa7iZ90NMjz6Ph5ZsRLetT1qsLCTGjp4Vlbqv7MPJeSGt
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# uticom
# uticom/Makefile
# uticom/distinfo
# uticom/pkg-descr
# uticom/pkg-plist
#
echo c - uticom
mkdir -p uticom > /dev/null 2>&1
echo x - uticom/Makefile
sed 's/^X//' >uticom/Makefile << 'END-of-uticom/Makefile'
X# Ports collection makefile for: uticom
X# Date created:    17-10-2005
X# Whom:     Dmitry Komissaroff <dxi@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= uticom
XPORTVERSION= 0.1
XCATEGORIES= comms
XMASTER_SITES= http://osdn.dl.sourceforge.net/sourceforge/uticom
XDISTNAME= uticom-${PORTVERSION}
X
XMAINTAINER= dxi@mail.ru
XCOMMENT= A FreeBSD Driver for TUSB3410 uart-to-usb converter
X
XNO_PACKAGE= Should be in sync with the kernel to work correctly
X
XONLY_FOR_ARCHS= i386
XSRCPREFIX?= /usr/src
X
XWRKSRC=  ${WRKDIR}/${PORTNAME}
X
XLOCALBASE= /boot/kernel
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XIGNORE=  "FreeBSD < 5.0 are not supported"
X.endif
X
X# Make sure kernel sources are present before going any further
X.if ! exists(${SRCPREFIX}/sys/dev/usb/usb.c)
XIGNORE= "You need to extract kernel source tree before building this package"
X.endif
X
X.include <bsd.port.post.mk>
END-of-uticom/Makefile
echo x - uticom/distinfo
sed 's/^X//' >uticom/distinfo << 'END-of-uticom/distinfo'
XMD5 (uticom-0.1.tar.gz) = c59c6bca627a5aa546d476ee25f510c1
XSIZE (uticom-0.1.tar.gz) = 14552
END-of-uticom/distinfo
echo x - uticom/pkg-descr
sed 's/^X//' >uticom/pkg-descr << 'END-of-uticom/pkg-descr'
XFreeBSD Driver for TUSB3410 uart-to-usb converter.
X
XWWW: http://sf.net/projects/uticom
END-of-uticom/pkg-descr
echo x - uticom/pkg-plist
sed 's/^X//' >uticom/pkg-plist << 'END-of-uticom/pkg-plist'
Xuticom.ko
END-of-uticom/pkg-plist
exit
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-10-21 20:46:28 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs

Rescue this PR from the 'pending' category.
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-11-17 19:54:23 UTC
State Changed
From-To: open->feedback

Does not compile in 6.0 

src/sys/dev/usb/ucomvar.h rev 1.5 remove this define 

cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include 
-finline-limit=8000 -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c uticom.c uticom.c: In 
function `uticom_intr': uticom.c:1152: error: `UMSR_CTS' undeclared 
(first use in this function) uticom.c:1152: error: (Each undeclared 
identifier is reported only once uticom.c:1152: error: for each function 
it appears in.) uticom.c:1153: error: `UMSR_DSR' undeclared (first use 
in this function) uticom.c:1154: error: `UMSR_DCD' undeclared (first use 
in this function) uticom.c:1155: error: `UMSR_RI' undeclared (first use 
in this function) uticom.c: At top level: uticom.c:711: warning: 
'uticom_set_line_state' defined but not used uticom.c:233: warning: 
'ti_reestablish_dpipe' declared `static' but never defined *** Error 
code 1 

Stop in /root/freebsd/ports/comms/uticom/work/uticom.  *** Error code 1
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-24 11:49:41 UTC
State Changed
From-To: feedback->closed

Committed, thanks!