Re: UPDATE: libftdi

2013-11-12 Thread Stuart Henderson
On 2013/11/11 23:02, Stuart Cassoff wrote:
 On 11/10/13 01:14, Stuart Cassoff wrote:
  Update to 0.20.
 
 Updated diff.
 
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/devel/libftdi/Makefile,v
 retrieving revision 1.8
 diff -u -p -u -p -r1.8 Makefile
 --- Makefile  21 Mar 2013 08:45:15 -  1.8
 +++ Makefile  12 Nov 2013 04:00:48 -
 @@ -4,10 +4,9 @@ COMMENT =libftdi, interface to ftdi deb
 
  CATEGORIES = devel
 
 -DISTNAME =   libftdi-0.18
 -REVISION =   1
 +DISTNAME =   libftdi-0.20
 
 -SHARED_LIBS =ftdi15.1# 19.0
 +SHARED_LIBS =ftdi15.2# 21.0

Looking at a diff between old+new source, I don't see any changes
that seem to warrant bumping the shared library minor.

http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs

Rest looks good, I don't have any hardware to test it with but
I don't see anything in the update to cause concern.



Re: UPDATE: libftdi

2013-11-12 Thread Stuart Cassoff
On 11/12/13 03:42, Stuart Henderson wrote:
 On 2013/11/11 23:02, Stuart Cassoff wrote:
 On 11/10/13 01:14, Stuart Cassoff wrote:
 Update to 0.20.

 Updated diff.


 Index: Makefile
 ===
 RCS file: /cvs/ports/devel/libftdi/Makefile,v
 retrieving revision 1.8
 diff -u -p -u -p -r1.8 Makefile
 --- Makefile 21 Mar 2013 08:45:15 -  1.8
 +++ Makefile 12 Nov 2013 04:00:48 -
 @@ -4,10 +4,9 @@ COMMENT =   libftdi, interface to ftdi deb

  CATEGORIES =devel

 -DISTNAME =  libftdi-0.18
 -REVISION =  1
 +DISTNAME =  libftdi-0.20

 -SHARED_LIBS =   ftdi15.1# 19.0
 +SHARED_LIBS =   ftdi15.2# 21.0
 
 Looking at a diff between old+new source, I don't see any changes
 that seem to warrant bumping the shared library minor.

Ok. I thought there were some new functions added but I was mistaken. No lib 
bump, then.


Stu





Re: UPDATE: libftdi

2013-11-11 Thread Stuart Cassoff
On 11/10/13 01:14, Stuart Cassoff wrote:
 Update to 0.20.

Updated diff.


Index: Makefile
===
RCS file: /cvs/ports/devel/libftdi/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile21 Mar 2013 08:45:15 -  1.8
+++ Makefile12 Nov 2013 04:00:48 -
@@ -4,10 +4,9 @@ COMMENT =  libftdi, interface to ftdi deb

 CATEGORIES =   devel

-DISTNAME = libftdi-0.18
-REVISION = 1
+DISTNAME = libftdi-0.20

-SHARED_LIBS =  ftdi15.1# 19.0
+SHARED_LIBS =  ftdi15.2# 21.0

 HOMEPAGE = http://www.intra2net.com/en/developer/libftdi/

Index: distinfo
===
RCS file: /cvs/ports/devel/libftdi/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo25 Oct 2010 20:55:53 -  1.2
+++ distinfo12 Nov 2013 04:00:48 -
@@ -1,5 +1,2 @@
-MD5 (libftdi-0.18.tar.gz) = kW9l+mjRVGIfwM8fQF8nJg==
-RMD160 (libftdi-0.18.tar.gz) = DoqaITWoK7RDVnjpGpUr8HV85y0=
-SHA1 (libftdi-0.18.tar.gz) = UkAdsOfLkKXYP4LChZpPjUTlJXk=
-SHA256 (libftdi-0.18.tar.gz) = W288PuUcaqJNO4cTXgF2LPaIIdHDWZ2H00n+pO3nTGI=
-SIZE (libftdi-0.18.tar.gz) = 398380
+SHA256 (libftdi-0.20.tar.gz) = MXbVtZhkOPM/UgjmkKi/6QlBvlAcwKchGM49M41Lg44=
+SIZE (libftdi-0.20.tar.gz) = 423570
Index: patches/patch-src_ftdi_c
===
RCS file: /cvs/ports/devel/libftdi/patches/patch-src_ftdi_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_ftdi_c
--- patches/patch-src_ftdi_c13 Nov 2011 13:54:04 -  1.1
+++ patches/patch-src_ftdi_c12 Nov 2013 04:00:48 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_ftdi_c,v 1.1 2011/11/13 13:54:04 ajacoutot Exp $
 src/ftdi.c.origSat Nov 12 23:30:50 2011
-+++ src/ftdi.c Sat Nov 12 23:31:17 2011
-@@ -45,6 +45,10 @@
+--- src/ftdi.c.origThu Mar 15 05:58:44 2012
 src/ftdi.c Sat Nov  9 19:47:18 2013
+@@ -44,6 +44,10 @@
  #include linux/usbdevice_fs.h
  #endif

Index: pkg/PFRAG.shared
===
RCS file: pkg/PFRAG.shared
diff -N pkg/PFRAG.shared
--- pkg/PFRAG.shared7 Jan 2009 21:35:59 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,2 +0,0 @@
-@comment $OpenBSD: PFRAG.shared,v 1.1 2009/01/07 21:35:59 matthieu Exp $
-@lib lib/libftdi.so.${LIBftdi_VERSION}
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/libftdi/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   25 Oct 2010 20:55:53 -  1.3
+++ pkg/PLIST   12 Nov 2013 04:00:48 -
@@ -1,6 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.3 2010/10/25 20:55:53 jasper Exp $
 @conflict cppunit-1.12
-%%SHARED%%
 @bin bin/baud_test
 @bin bin/bitbang
 @bin bin/bitbang2
@@ -8,10 +7,11 @@
 @bin bin/bitbang_ft2232
 @bin bin/find_all
 bin/libftdi-config
-@bin bin/serial_read
+@bin bin/serial_test
 @bin bin/simple
 include/ftdi.h
 lib/libftdi.a
 lib/libftdi.la
+@lib lib/libftdi.so.${LIBftdi_VERSION}
 lib/pkgconfig/
 lib/pkgconfig/libftdi.pc




Re: UPDATE: libftdi

2013-11-10 Thread Stuart Henderson
On 2013/11/10 01:14, Stuart Cassoff wrote:
 I don't understand the SHARED_LIBS comment but changed it anyway. :/

The comment has the original version from upstream - see
shared_libs.log in the build dir.



Re: UPDATE: libftdi

2013-11-10 Thread Stuart Cassoff
On 11/10/13 14:44, Stuart Henderson wrote:
 On 2013/11/10 01:14, Stuart Cassoff wrote:
 I don't understand the SHARED_LIBS comment but changed it anyway. :/
 
 The comment has the original version from upstream - see
 shared_libs.log in the build dir.

Thanks. Fixed. One less thing I don't understand.


Stu




UPDATE: libftdi

2013-11-09 Thread Stuart Cassoff
Update to 0.20.
I built all dependent ports against it on i386, looks ok.
I don't understand the SHARED_LIBS comment but changed it anyway. :/


Stu


Index: Makefile
===
RCS file: /cvs/ports/devel/libftdi/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile21 Mar 2013 08:45:15 -  1.8
+++ Makefile10 Nov 2013 04:33:12 -
@@ -4,10 +4,9 @@ COMMENT =  libftdi, interface to ftdi deb

 CATEGORIES =   devel

-DISTNAME = libftdi-0.18
-REVISION = 1
+DISTNAME = libftdi-0.20

-SHARED_LIBS =  ftdi15.1# 19.0
+SHARED_LIBS =  ftdi15.2# 20.0

 HOMEPAGE = http://www.intra2net.com/en/developer/libftdi/

Index: distinfo
===
RCS file: /cvs/ports/devel/libftdi/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo25 Oct 2010 20:55:53 -  1.2
+++ distinfo10 Nov 2013 04:33:12 -
@@ -1,5 +1,2 @@
-MD5 (libftdi-0.18.tar.gz) = kW9l+mjRVGIfwM8fQF8nJg==
-RMD160 (libftdi-0.18.tar.gz) = DoqaITWoK7RDVnjpGpUr8HV85y0=
-SHA1 (libftdi-0.18.tar.gz) = UkAdsOfLkKXYP4LChZpPjUTlJXk=
-SHA256 (libftdi-0.18.tar.gz) = W288PuUcaqJNO4cTXgF2LPaIIdHDWZ2H00n+pO3nTGI=
-SIZE (libftdi-0.18.tar.gz) = 398380
+SHA256 (libftdi-0.20.tar.gz) = MXbVtZhkOPM/UgjmkKi/6QlBvlAcwKchGM49M41Lg44=
+SIZE (libftdi-0.20.tar.gz) = 423570
Index: patches/patch-src_ftdi_c
===
RCS file: /cvs/ports/devel/libftdi/patches/patch-src_ftdi_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_ftdi_c
--- patches/patch-src_ftdi_c13 Nov 2011 13:54:04 -  1.1
+++ patches/patch-src_ftdi_c10 Nov 2013 04:33:12 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_ftdi_c,v 1.1 2011/11/13 13:54:04 ajacoutot Exp $
 src/ftdi.c.origSat Nov 12 23:30:50 2011
-+++ src/ftdi.c Sat Nov 12 23:31:17 2011
-@@ -45,6 +45,10 @@
+--- src/ftdi.c.origThu Mar 15 05:58:44 2012
 src/ftdi.c Sat Nov  9 19:47:18 2013
+@@ -44,6 +44,10 @@
  #include linux/usbdevice_fs.h
  #endif

Index: pkg/PFRAG.shared
===
RCS file: pkg/PFRAG.shared
diff -N pkg/PFRAG.shared
--- pkg/PFRAG.shared7 Jan 2009 21:35:59 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,2 +0,0 @@
-@comment $OpenBSD: PFRAG.shared,v 1.1 2009/01/07 21:35:59 matthieu Exp $
-@lib lib/libftdi.so.${LIBftdi_VERSION}
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/libftdi/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   25 Oct 2010 20:55:53 -  1.3
+++ pkg/PLIST   10 Nov 2013 04:33:12 -
@@ -1,6 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.3 2010/10/25 20:55:53 jasper Exp $
 @conflict cppunit-1.12
-%%SHARED%%
 @bin bin/baud_test
 @bin bin/bitbang
 @bin bin/bitbang2
@@ -8,10 +7,11 @@
 @bin bin/bitbang_ft2232
 @bin bin/find_all
 bin/libftdi-config
-@bin bin/serial_read
+@bin bin/serial_test
 @bin bin/simple
 include/ftdi.h
 lib/libftdi.a
 lib/libftdi.la
+@lib lib/libftdi.so.${LIBftdi_VERSION}
 lib/pkgconfig/
 lib/pkgconfig/libftdi.pc