From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 29 20:40:07 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66BAE37B401 for ; Sat, 29 Mar 2003 20:40:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4C143FBD for ; Sat, 29 Mar 2003 20:40:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2U4e6NS041982 for ; Sat, 29 Mar 2003 20:40:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2U4e6Aj041981; Sat, 29 Mar 2003 20:40:06 -0800 (PST) Resent-Date: Sat, 29 Mar 2003 20:40:06 -0800 (PST) Resent-Message-Id: <200303300440.h2U4e6Aj041981@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Douglas K. Rand" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B39C37B420 for ; Sat, 29 Mar 2003 20:36:08 -0800 (PST) Received: from agena.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3E9C43FE3 for ; Sat, 29 Mar 2003 19:43:32 -0800 (PST) (envelope-from rand@meridian-enviro.com) Received: from delta.meridian-enviro.com (delta.meridian-enviro.com [10.10.10.43])h2U3hVC01444 for ; Sat, 29 Mar 2003 21:43:31 -0600 (CST) (envelope-from rand@meridian-enviro.com) Received: (from rand@localhost) by delta.meridian-enviro.com (8.12.3/8.12.3/Submit) id h2U3hV4u002920; Sat, 29 Mar 2003 21:43:31 -0600 (CST) (envelope-from rand) Message-Id: <200303300343.h2U3hV4u002920@delta.meridian-enviro.com> Date: Sat, 29 Mar 2003 21:43:31 -0600 (CST) From: "Douglas K. Rand" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50443: New port for libirman 0.4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Douglas K. Rand" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 04:40:08 -0000 >Number: 50443 >Category: ports >Synopsis: New port for libirman 0.4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 29 20:40:05 PST 2003 >Closed-Date: >Last-Modified: >Originator: Douglas K. Rand >Release: FreeBSD 4.6.2-RELEASE-p12 i386 >Organization: Meridian Environmental Technology, Inc. >Environment: System: FreeBSD delta.meridian-enviro.com 4.6.2-RELEASE-p12 FreeBSD 4.6.2-RELEASE-p12 #11: Tue Mar 25 22:45:14 CST 2003 rand@delta.meridian-enviro.com:/usr/obj/usr/src/sys/DELTA i386 >Description: This is a new port for the libirman library for use with Evation's Irman infrared reciever. >How-To-Repeat: NA >Fix: # 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: # # comms/libirman # comms/libirman/Makefile # comms/libirman/distinfo # comms/libirman/pkg-descr # comms/libirman/files # comms/libirman/files/patch-no-flock-of-serial-ports # comms/libirman/files/patch-irman.conf-location # comms/libirman/files/patch-Makefile.in # comms/libirman/pkg-plist # echo c - comms/libirman mkdir -p comms/libirman > /dev/null 2>&1 echo x - comms/libirman/Makefile sed 's/^X//' >comms/libirman/Makefile << 'END-of-comms/libirman/Makefile' X# New ports collection makefile for: libirman X# Date created: 2003-03-29 X# Whom: Douglas K. Rand X# X# $FreeBSD$ X# X XPORTNAME= libirman XPORTVERSION= 0.4.2 XCATEGORIES= comms XMASTER_SITES= http://mars.wiwi.uni-halle.de/lirc/software/snapshots/ X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Library for Evation's Irman infrared reciever X XHAS_CONFIGURE= YES XUSE_GMAKE= YES X X.include END-of-comms/libirman/Makefile echo x - comms/libirman/distinfo sed 's/^X//' >comms/libirman/distinfo << 'END-of-comms/libirman/distinfo' XMD5 (libirman-0.4.2.tar.gz) = b99017d049685cb84a95098190a89de8 END-of-comms/libirman/distinfo echo x - comms/libirman/pkg-descr sed 's/^X//' >comms/libirman/pkg-descr << 'END-of-comms/libirman/pkg-descr' Xlibirman is a library for accessing the IRMAN hardware from Linux Xand other Unix systems. X XCurrently the package is mainly for advanced users and developers; this Xdoes not mean that less experienced users will not be able to use it, but Xthat there are not a lot of applications for libirman at the moment, and Xthat if you run into problems you may have difficulty fixing things. X XWWW: http://www.evation.com/libirman/ END-of-comms/libirman/pkg-descr echo c - comms/libirman/files mkdir -p comms/libirman/files > /dev/null 2>&1 echo x - comms/libirman/files/patch-no-flock-of-serial-ports sed 's/^X//' >comms/libirman/files/patch-no-flock-of-serial-ports << 'END-of-comms/libirman/files/patch-no-flock-of-serial-ports' X--- irio.c-orig Sat Mar 29 20:26:57 2003 X+++ irio.c Sat Mar 29 20:27:12 2003 X@@ -91,14 +91,6 @@ X return -1; X } X X- /* lock the file for ourselves */ X- if (flock(portfd, LOCK_EX | LOCK_NB) < 0) { X- /* unable to get lock */ X- close(portfd); X- portfd = 0; X- return -1; X- } X- X /* get port attributes, store in oldterm */ X if (tcgetattr(portfd, &oldterm) < 0) { X close(portfd); END-of-comms/libirman/files/patch-no-flock-of-serial-ports echo x - comms/libirman/files/patch-irman.conf-location sed 's/^X//' >comms/libirman/files/patch-irman.conf-location << 'END-of-comms/libirman/files/patch-irman.conf-location' X--- irman.h-orig Sat Mar 29 20:42:50 2003 X+++ irman.h Sat Mar 29 20:43:00 2003 X@@ -48,7 +48,7 @@ X X /* filename for system irmanrc */ X #ifndef IR_SYSCONF_DIR X-# define IR_SYSCONF_DIR "/etc" X+# define IR_SYSCONF_DIR "/usr/local/etc" X #endif X #define IR_SYSTEM_IRMANRC IR_SYSCONF_DIR "/irman.conf" X /* filename for users irmanrc */ END-of-comms/libirman/files/patch-irman.conf-location echo x - comms/libirman/files/patch-Makefile.in sed 's/^X//' >comms/libirman/files/patch-Makefile.in << 'END-of-comms/libirman/files/patch-Makefile.in' X--- Makefile.in-orig Sat Mar 29 20:56:03 2003 X+++ Makefile.in Sat Mar 29 21:38:07 2003 X@@ -103,7 +103,6 @@ X X X install: @NORMAL@ install-dirs install-normal @INSTALL_SWTEST@ X- @echo notice: the test programs are only installed in the current directory \(`pwd`\) X X install-dirs: X $(top_srcdir)/mkinstalldirs $(libdir) X@@ -114,7 +113,7 @@ X install-normal: X $(INSTALL) -m 755 workmanir $(bindir)/workmanir X $(INSTALL) -m 755 libirman.a $(libdir)/libirman.a X- $(INSTALL) -m 644 irman.conf $(sysconfdir)/irman.conf X+ $(INSTALL) -m 644 irman.conf $(sysconfdir)/irman.conf.sample X $(INSTALL) -m 644 irman.h $(includedir)/irman.h X X install-swtest: END-of-comms/libirman/files/patch-Makefile.in echo x - comms/libirman/pkg-plist sed 's/^X//' >comms/libirman/pkg-plist << 'END-of-comms/libirman/pkg-plist' Xbin/workmanir Xetc/irman.conf.sample Xinclude/irman.h Xlib/libirman.a END-of-comms/libirman/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: