packages feed

strongswan-sql 1.3.0.0 → 1.3.0.1

raw patch · 2 files changed

+13/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/StrongSwan/SQL/Statements.hs view
@@ -3,7 +3,7 @@ module StrongSwan.SQL.Statements where  import Control.Exception         (fromException)-import Control.Monad             (void)+import Control.Monad             (mapM_,void) import Control.Monad.IO.Class    (MonadIO) import Control.Monad.Fail        (MonadFail) import Control.Monad.Failable@@ -89,6 +89,9 @@                         findIPSecStatement,                         deleteIPSecStatement] +    mapM_ (`initializeWith` []) [createCertificatesTableStatement,+                                 createProposalsTableStatement]+     return PreparedStatements  {         updateChildSAStmt      = updateChildSA,         createChildSAStmt      = createChildSA,@@ -292,6 +295,13 @@  deleteIPSecStatement :: SQL.Query deleteIPSecStatement = "DELETE FROM ipsec_configs WHERE name = ?;"++createProposalsTableStatement :: SQL.Query+createProposalsTableStatement = "CREATE TABLE `proposals` (`id` int(10) unsigned NOT NULL auto_increment, `proposal` varchar(128) NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;"++createCertificatesTableStatement :: SQL.Query+createCertificatesTableStatement = "CREATE TABLE certificates (`id` int(10) unsigned NOT NULL auto_increment, `type` tinyint(3) unsigned NOT NULL, `keytype` tinyint(3) unsigned NOT NULL, `data` BLOB NOT NULL,  PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;"+  initializeWith :: (Failable m, MonadIO m, ?conn::SQL.MySQLConn)                 => SQL.Query
strongswan-sql.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 49806ef952eb6d507dcea5453e717f840d0021c2cf7026d46d1ccffade207fe7+-- hash: 6086d3bfe6e03f6863559f2774c7c126c0e6c9ab022b2b992065f09495673d5e  name:           strongswan-sql-version:        1.3.0.0+version:        1.3.0.1 synopsis:       Interface library for strongSwan SQL backend description:    Interface library and companion CLI tool to configure strongSwan IPsec over MySQL backend category:       Console, Library, Network APIs, SQL