OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 23-Feb-2006 15:02:24
Branch: HEAD Handle: 2006022314022300
Modified files:
openpkg-src/minicom minicom.spec
Log:
add MacOS X (aka Darwin) support. Submitted by: robert j. wozny
<[EMAIL PROTECTED]>
Summary:
Revision Changes Path
1.51 +9 -4 openpkg-src/minicom/minicom.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/minicom/minicom.spec
============================================================================
$ cvs diff -u -r1.50 -r1.51 minicom.spec
--- openpkg-src/minicom/minicom.spec 1 Jan 2006 13:16:44 -0000 1.50
+++ openpkg-src/minicom/minicom.spec 23 Feb 2006 14:02:23 -0000 1.51
@@ -33,7 +33,7 @@
Group: Communication
License: BSD
Version: 2.1
-Release: 20050923
+Release: 20060223
# list of sources
Source0:
http://alioth.debian.org/download.php/123/minicom-%{version}.tar.gz
@@ -71,9 +71,10 @@
device="/dev/modem"
lockdir="/var/lock"
case "%{l_platform -t}" in
- *-freebsd* ) device=/dev/cuaa0; lockdir=/var/spool/lock ;;
- *-linux* ) device=/dev/ttyS0; lockdir=/var/lock ;;
- *-sunos* ) device=/dev/cua/a; lockdir=/var/spool/locks ;;
+ *-freebsd* ) device=/dev/cuaa0; lockdir=/var/spool/lock ;;
+ *-linux* ) device=/dev/ttyS0; lockdir=/var/lock ;;
+ *-sunos* ) device=/dev/cua/a; lockdir=/var/spool/locks ;;
+ *-darwin* ) device=/dev/cu.modem; lockdir=/var/tmp ;;
esac
# configure sources
@@ -140,6 +141,10 @@
attr_cfg="644,uucp,%{l_mgrp}"
attr_dev="4755,uucp,%{l_mgrp}"
;;
+ *-darwin* )
+ attr_cfg="644,%{l_musr},%{l_mgrp}"
+ attr_dev="2755,%{l_musr},wheel"
+ ;;
esac
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]