Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 13:47:47 +0300 (MSK)
From:      Anton Karpov <toxa@toxahost.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91630: New port: astro/gpsd
Message-ID:  <20060111104747.5589E78D9F@mail.ank-pki.ru>
Resent-Message-ID: <200601111050.k0BAo6QM075768@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91630
>Category:       ports
>Synopsis:       New port: astro/gpsd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 11 10:50:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anton Karpov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD laptoxa.toxa.lan 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Jan  3 13:36:29 MSK 2006     root@laptoxa.toxa.lan:/usr/obj/usr/src/sys/LAPTOXA  i386

>Description:

gpsd is a service daemon that monitors one or more GPSes attached to a host computer 
through serial or USB ports, making all data on the location/course/velocity of the 
sensors available to be queried on TCP port 2947 of the host computer.

I wonder why gpsd still not in ports? it works perfectly with many GPSes in FreeBSD.
At least, it works perfecly with my Garmin eTrex Vista :) So I've decided to make
a port of it, for your pleasure.

>How-To-Repeat:
>Fix:

Shar file attached

--- gpsd.shar begins here ---
# 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:
#
#	.
#	./Makefile
#	./distinfo
#	./pkg-descr
#	./pkg-plist
#	./pkg-message
#	./pkg-plist.x11
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	gpsd
X# Date created:				Jan, 10. 2006
X# Whom:					Anton Karpov <toxa@toxahost.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gpsd
XPORTVERSION=	2.30
XCATEGORIES=	astro
XMASTER_SITES=	http://download.berlios.de/${PORTNAME}/
X
XMAINTAINER=	toxa@toxahost.ru
XCOMMENT=	Gpsd is a service daemon that monitors one or more GPSes attached to a host computer
X
XGNU_CONFIGURE=	yes
XMAN1=	gpsfake.1 gpsflash.1 gpspipe.1 gpsprof.1 rtcmdecode.1 sirfmon.1 xgps.1
XMAN3=	libgps.3 libgpsd.3 libgpsmm.3
XMAN5=	rtcm-104.5 srec.5
XMAN8=	gpsd.8
XMANCOMPRESSED=	no
X
XOPTIONS=	XGPS "Build xgps and xgpsspeed (require X)" off \
X		NMEA "NMEA support" on \
X		SIRFII "SiRF-II chipset support" on \
X		TSIP "Trimble TSIP support" on \
X		FV18 "San Jose Navigation FV-18 support" on \
X		TRIPMATE "DeLorme TripMate support" on \
X		EARTHMATE "DeLorme EarthMate Zodiac support" on \
X		ITRAX "iTrax support" on \
X		ITALK "iTalk support" on \
X		TNT "True North Technologies support" off \
X		EVERMORE "Evermore binary support" on \
X		RTCM104 "rtcm104 support" on \
X		NTPSHM "TP time hinting support" on \
X		PPS "PPS time syncing support" off \
X		DBUS "DBUS support" off
X
X.include <bsd.port.pre.mk>
X
XCONFIGURE_ARGS=--disable-garmin
X
XINSTALLS_SHLIB=	yes
X
X.if defined(WITH_XGPS)
XCONFIGURE_ARGS+=--with-x
XUSE_XLIB=yes
XPLIST:=	${WRKDIR}/PLIST
X.else
XCONFIGURE_ARGS+=--without-x
X.endif
X
X.if defined(WITHOUT_NMEA)
XCONFIGURE_ARGS+=--disable-nmea
X.endif
X
X.if defined(WITHOUT_SIRFII)
XCONFIGURE_ARGS+=--disable-sirfII
X.endif
X
X.if defined(WITHOUT_TSIP)
XCONFIGURE_ARGS+=--disable-tsip
X.endif
X
X.if defined(WITHOUT_FV18)
XCONFIGURE_ARGS+=--disable-fv18
X.endif
X
X.if defined(WITHOUT_TRIPMATE)
XCONFIGURE_ARGS+=--disable-tripmate
X.endif
X
X.if defined(WITHOUT_EARTHMATE)
XCONFIGURE_ARGS+=--disable-earthmate
X.endif
X
X.if defined(WITHOUT_ITRAX)
XCONFIGURE_ARGS+=--disable-itrax
X.endif
X
X.if defined(WITHOUT_ITALK)
XCONFIGURE_ARGS+=--disable-italk
X.endif
X
X.if defined(WITH_TNT)
XCONFIGURE_ARGS+=--enable-tnt
X.endif
X
X.if defined(WITHOUT_EVERMORE)
XCONFIGURE_ARGS+=--disable-evermore
X.endif
X
X.if defined(WITHOUT_RTCM104)
XCONFIGURE_ARGS+=--disable-rtcm104
X.endif
X
X.if defined(WITHOUT_NTPSHM)
XCONFIGURE_ARGS+=--disable-ntpshm
X.endif
X
X.if defined(WITH_PPS)
XCONFIGURE_ARGS+=--enable-pps
X.endif
X
X.if defined(WITH_DBUS)
XCONFIGURE_ARGS+=--enable-dbus
X.endif
X
Xpre-install:
X.if defined(WITH_XGPS)
X	@${CAT} ${PKGDIR}/pkg-plist.x11 ${PKGDIR}/pkg-plist > ${PLIST}
X.endif
X
Xpost-install:
X	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (gpsd-2.30.tar.gz) = dde177174878e8ae6db15f8010da46dd
XSHA256 (gpsd-2.30.tar.gz) = 9ae74f2ed87a457b53ae1b0150ec44a82e8bd453b26653249f9cf95e622026e2
XSIZE (gpsd-2.30.tar.gz) = 605997
END-of-./distinfo
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xgpsd is a service daemon that monitors one or more GPSes 
Xattached to a host computer through serial or USB ports, 
Xmaking all data on the location/course/velocity of the 
Xsensors available to be queried on TCP port 2947 of the 
Xhost computer. With gpsd, multiple GPS client applications 
X(such as navigational and wardriving software) can share 
Xaccess to GPSes without contention or loss of data. Also, 
Xgpsd responds to queries with a format that is substantially 
Xeasier to parse than the NMEA 0183 emitted by most GPSes.
X
XWWW: http://gpsd.berlios.de/
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xsbin/gpsd
Xbin/cgps
Xbin/gpsflash
Xbin/gpsprof
Xbin/sirfmon
Xbin/gpsfake
Xbin/gpspipe
Xbin/rtcmdecode
Xinclude/gps.h
Xinclude/gpsd.h
Xinclude/libgpsmm.h
Xlib/libgps.a
Xlib/libgps.la
Xlib/libgps.so
Xlib/libgps.so.15
END-of-./pkg-plist
echo x - ./pkg-message
sed 's/^X//' >./pkg-message << 'END-of-./pkg-message'
X=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
X* NOTE:
X
X%%PREFIX%%/gpsfake and %%PREFIX%%/gpsprof are 
XPython script text executables.
XTo use them, please ensure you have appropriate 
XPython install.
X
X=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
END-of-./pkg-message
echo x - ./pkg-plist.x11
sed 's/^X//' >./pkg-plist.x11 << 'END-of-./pkg-plist.x11'
Xbin/xgpsspeed
Xbin/xgps
END-of-./pkg-plist.x11
exit
--- gpsd.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060111104747.5589E78D9F>