pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hs-lukko



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Apr 23 10:38:26 UTC 2021

Modified Files:
        pkgsrc/devel/hs-lukko: Makefile PLIST PLIST.Linux buildlink3.mk
            distinfo
        pkgsrc/devel/hs-lukko/patches: patch-lukko.cabal

Log Message:
Update to lukko-0.1.1.3

0.1.1.3
* Use CApiFFI to call varargs C functions.
* Define let alignment only when needed.

0.1.1.2
* Make Win32 code more idiomatic


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-lukko/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-lukko/PLIST \
    pkgsrc/devel/hs-lukko/PLIST.Linux pkgsrc/devel/hs-lukko/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-lukko/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-lukko/patches/patch-lukko.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hs-lukko/Makefile
diff -u pkgsrc/devel/hs-lukko/Makefile:1.3 pkgsrc/devel/hs-lukko/Makefile:1.4
--- pkgsrc/devel/hs-lukko/Makefile:1.3  Thu Feb 18 15:07:28 2021
+++ pkgsrc/devel/hs-lukko/Makefile      Fri Apr 23 10:38:26 2021
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2021/02/18 15:07:28 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/04/23 10:38:26 pho Exp $
 
-DISTNAME=      lukko-0.1.1.1
+DISTNAME=      lukko-0.1.1.3
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       File locking
 LICENSE=       gnu-gpl-v2 AND modified-bsd
 
-BUILDLINK_API_DEPENDS.ghc+=    ghc<8.10
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/hs-lukko/PLIST
diff -u pkgsrc/devel/hs-lukko/PLIST:1.1 pkgsrc/devel/hs-lukko/PLIST:1.2
--- pkgsrc/devel/hs-lukko/PLIST:1.1     Mon May 11 17:52:04 2020
+++ pkgsrc/devel/hs-lukko/PLIST Fri Apr 23 10:38:26 2021
@@ -1,41 +1,41 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:04 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
+@comment $NetBSD: PLIST,v 1.2 2021/04/23 10:38:26 pho Exp $
+lib/lukko-${PKGVERSION}/${HS_VERSION}/package-description
+lib/lukko-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_IMPL}/Lukko.dyn_hi
-${HS_IMPL}/Lukko.hi
-${HS_IMPL}/Lukko.p_hi
-${HS_IMPL}/Lukko/FLock.dyn_hi
-${HS_IMPL}/Lukko/FLock.hi
-${HS_IMPL}/Lukko/FLock.p_hi
-${HS_IMPL}/Lukko/Internal/FD.dyn_hi
-${HS_IMPL}/Lukko/Internal/FD.hi
-${HS_IMPL}/Lukko/Internal/FD.p_hi
-${HS_IMPL}/Lukko/Internal/FillBytes.dyn_hi
-${HS_IMPL}/Lukko/Internal/FillBytes.hi
-${HS_IMPL}/Lukko/Internal/FillBytes.p_hi
-${HS_IMPL}/Lukko/Internal/HandleToFD.dyn_hi
-${HS_IMPL}/Lukko/Internal/HandleToFD.hi
-${HS_IMPL}/Lukko/Internal/HandleToFD.p_hi
-${HS_IMPL}/Lukko/Internal/Types.dyn_hi
-${HS_IMPL}/Lukko/Internal/Types.hi
-${HS_IMPL}/Lukko/Internal/Types.p_hi
-${HS_IMPL}/Lukko/NoOp.dyn_hi
-${HS_IMPL}/Lukko/NoOp.hi
-${HS_IMPL}/Lukko/NoOp.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
-${HS_DOCS}/LICENSE
-${HS_DOCS}/LICENSE.GPLv2
-${HS_DOCS}/LICENSE.GPLv3
-${HS_DOCS}/html/Lukko-FLock.html
-${HS_DOCS}/html/Lukko-NoOp.html
-${HS_DOCS}/html/Lukko.html
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/lukko.haddock
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/FLock.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/FLock.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/FLock.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/FD.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/FD.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/FD.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/FillBytes.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/FillBytes.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/FillBytes.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/HandleToFD.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/HandleToFD.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/HandleToFD.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/Internal/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/NoOp.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/NoOp.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/NoOp.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/LICENSE.GPLv2
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/LICENSE.GPLv3
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/Lukko-FLock.html
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/Lukko-NoOp.html
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/Lukko.html
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/lukko.haddock
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-lukko/PLIST.Linux
diff -u pkgsrc/devel/hs-lukko/PLIST.Linux:1.1 pkgsrc/devel/hs-lukko/PLIST.Linux:1.2
--- pkgsrc/devel/hs-lukko/PLIST.Linux:1.1       Sun Oct  4 21:14:32 2020
+++ pkgsrc/devel/hs-lukko/PLIST.Linux   Fri Apr 23 10:38:26 2021
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST.Linux,v 1.1 2020/10/04 21:14:32 mcf Exp $
-${HS_IMPL}/Lukko/OFD.dyn_hi
-${HS_IMPL}/Lukko/OFD.hi
-${HS_IMPL}/Lukko/OFD.p_hi
-${HS_DOCS}/html/Lukko-OFD.html
+@comment $NetBSD: PLIST.Linux,v 1.2 2021/04/23 10:38:26 pho Exp $
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/OFD.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/OFD.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lukko/OFD.p_hi
+share/doc/${HS_PLATFORM}/lukko-${PKGVERSION}/html/Lukko-OFD.html
Index: pkgsrc/devel/hs-lukko/buildlink3.mk
diff -u pkgsrc/devel/hs-lukko/buildlink3.mk:1.1 pkgsrc/devel/hs-lukko/buildlink3.mk:1.2
--- pkgsrc/devel/hs-lukko/buildlink3.mk:1.1     Sun Jan 19 01:11:35 2020
+++ pkgsrc/devel/hs-lukko/buildlink3.mk Fri Apr 23 10:38:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/19 01:11:35 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/23 10:38:26 pho Exp $
 
 BUILDLINK_TREE+=       hs-lukko
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        hs-lukko
 HS_LUKKO_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.hs-lukko+=       hs-lukko>=0.1.1
-BUILDLINK_ABI_DEPENDS.hs-lukko+=       hs-lukko>=0.1.1.1
+BUILDLINK_ABI_DEPENDS.hs-lukko+=       hs-lukko>=0.1.1.3
 BUILDLINK_PKGSRCDIR.hs-lukko?=         ../../devel/hs-lukko
 .endif # HS_LUKKO_BUILDLINK3_MK
 

Index: pkgsrc/devel/hs-lukko/distinfo
diff -u pkgsrc/devel/hs-lukko/distinfo:1.2 pkgsrc/devel/hs-lukko/distinfo:1.3
--- pkgsrc/devel/hs-lukko/distinfo:1.2  Wed Sep 16 17:48:41 2020
+++ pkgsrc/devel/hs-lukko/distinfo      Fri Apr 23 10:38:26 2021
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/09/16 17:48:41 jperkin Exp $
+$NetBSD: distinfo,v 1.3 2021/04/23 10:38:26 pho Exp $
 
-SHA1 (lukko-0.1.1.1.tar.gz) = 54cc499574239d41d5e9cf8d7e83ac4171e39055
-RMD160 (lukko-0.1.1.1.tar.gz) = 9b1e7a4806566de0fb1021f759d634f573ce5507
-SHA512 (lukko-0.1.1.1.tar.gz) = 2a307eef1ceb421a6b46854c99b50fd64da02df2e74e662f67fbd179db0880599d40d8b5b8bb8d117e4c52ad114e45d9b1434ecba984f4dea314ff1f840ec37f
-Size (lukko-0.1.1.1.tar.gz) = 28312 bytes
-SHA1 (patch-lukko.cabal) = 3df851f7dcb1b75f1c84ada7daeb54d16311dd53
+SHA1 (lukko-0.1.1.3.tar.gz) = 27a7cf77bda5c6655123dd1060293d7aa1fb50fa
+RMD160 (lukko-0.1.1.3.tar.gz) = 370f05eac2e41c835ec34feb49b79e0fa50d33ec
+SHA512 (lukko-0.1.1.3.tar.gz) = 8bed8b88a101883f642bb9d9d41512436f5c80db5ea1ad0cddb069c6d09257d21b56a60e0f70b57453e91126065fbfdeeb721064763e64de1975dcb51b1a484a
+Size (lukko-0.1.1.3.tar.gz) = 28575 bytes
+SHA1 (patch-lukko.cabal) = 180f9a85ee79038d41ad7d2b1f36dc3334cfa7a9

Index: pkgsrc/devel/hs-lukko/patches/patch-lukko.cabal
diff -u pkgsrc/devel/hs-lukko/patches/patch-lukko.cabal:1.1 pkgsrc/devel/hs-lukko/patches/patch-lukko.cabal:1.2
--- pkgsrc/devel/hs-lukko/patches/patch-lukko.cabal:1.1 Wed Sep 16 17:48:41 2020
+++ pkgsrc/devel/hs-lukko/patches/patch-lukko.cabal     Fri Apr 23 10:38:26 2021
@@ -1,6 +1,7 @@
-$NetBSD: patch-lukko.cabal,v 1.1 2020/09/16 17:48:41 jperkin Exp $
+$NetBSD: patch-lukko.cabal,v 1.2 2021/04/23 10:38:26 pho Exp $
 
-Newer Solaris/illumos have flock(3C).
+* Fix build with GHC 9.
+* Newer Solaris/illumos have flock(3C).
 
 --- lukko.cabal.orig   2001-09-09 01:46:40.000000000 +0000
 +++ lukko.cabal
@@ -13,7 +14,16 @@ Newer Solaris/illumos have flock(3C).
    \  cpp-options: -DHAS_FLOCK
    @
    .
-@@ -88,7 +88,7 @@ library
+@@ -72,7 +72,7 @@ flag ofd-locking
+ library
+   default-language:   Haskell2010
+   hs-source-dirs:     src
+-  build-depends:      base >=4.5 && <4.15
++  build-depends:      base >=4.5 && <5
+   build-tool-depends: hsc2hs:hsc2hs >=0.67 && <0.69
+ 
+   -- Main library module
+@@ -93,7 +93,7 @@ library
      cpp-options:     -DUSE_OFD_LOCKING
      exposed-modules: Lukko.OFD
  
@@ -22,7 +32,7 @@ Newer Solaris/illumos have flock(3C).
      hs-source-dirs: src-flock
      hs-source-dirs: src-unix
      cpp-options:    -DUSE_FLOCK
-@@ -98,7 +98,7 @@ library
+@@ -103,7 +103,7 @@ library
      cpp-options:    -DUSE_NOOP
  
    -- Cabal check is silly
@@ -31,7 +41,7 @@ Newer Solaris/illumos have flock(3C).
      exposed-modules: Lukko.FLock
  
    other-modules:
-@@ -134,7 +134,7 @@ test-suite test-thread
+@@ -139,7 +139,7 @@ test-suite test-thread
      cpp-options: -DHAS_OFD_LOCKING
      cpp-options: -DHAS_FLOCK
  
@@ -40,7 +50,7 @@ Newer Solaris/illumos have flock(3C).
      cpp-options: -DHAS_FLOCK
  
  test-suite test-process
-@@ -155,5 +155,5 @@ test-suite test-process
+@@ -160,5 +160,5 @@ test-suite test-process
      cpp-options: -DHAS_OFD_LOCKING
      cpp-options: -DHAS_FLOCK
  



Home | Main Index | Thread Index | Old Index