-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump version * Update cabal file * Update badge * Update documentation * Finalise release
- Loading branch information
Showing
4 changed files
with
77 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.stack-work/ | ||
|
||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Change Log: | ||
|
||
## v0.2.0.0: | ||
- `authenticate` function now returns `MonadIO m => m PamRetCode` rather than `IO (Either Int ())` | ||
- `authSuccess :: PamRetCode -> Bool` added which checks if the given `PamRetCode` is `PamSuccess` or not | ||
- `whenSuccess :: MonadIO m => PamRetCode -> m PamRetCode -> m PamRetCode` added, which returns the second argument if the given response code is `PamSuccess`, otherwise it returns the given response code (useful for continuing only if the PAM action succeeded). | ||
- `pamCodeToMessage`, `pamCodeToCDefine` and `pamCodeDetails` now take a `PamRetCode` rather than an `Int` | ||
- `checkAccount` function has now been implemented | ||
- Switched to PVP versioning | ||
- Some documentation added | ||
|
||
## v0.1: | ||
Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,45 @@ | ||
Name: pam | ||
Version: 0.1 | ||
Cabal-Version: >= 1.2.3 | ||
Build-type: Simple | ||
License: BSD3 | ||
License-File: LICENSE | ||
Copyright: Copyright (c) 2011 Evgeny Tarasov | ||
Maintainer: [email protected] | ||
Stability: alpha | ||
Synopsis: Haskell binding for C PAM API | ||
Description: This package provides PAM interface for Haskell programs. It contains subset of C PAM API bindings. The bindings don't include functions for writing PAM modules. | ||
Category: System | ||
Tested-with: GHC==6.12.3 | ||
Extra-source-files: Setup.hs | ||
cabal-version: 3.0 | ||
name: pam | ||
version: 0.2.0.0 | ||
build-type: Simple | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
copyright: (c) 2011 Evgeny Tarasov | ||
(c) 2020 Oscar Harris | ||
author: Evgeny Tarasov <[email protected]> | ||
maintainer: Oscar Harris <[email protected]> | ||
stability: provisional | ||
synopsis: Haskell binding for C PAM API | ||
description: This package provides PAM interface for Haskell programs. See the README on GitHub at <Please see the README on GitHub at <https://github.com/oscar-h64/pam-haskell#readme> for more information. | ||
bug-reports: https://github.com/oscar-h64/pam-haskell/issues | ||
category: System, Authentication | ||
tested-with: GHC==8.8.3 | ||
homepage: https://github.com/oscar-h64/pam-haskell | ||
|
||
extra-source-files: | ||
Setup.hs | ||
|
||
extra-doc-files: | ||
README.md | ||
CONTRIBUTING.md | ||
ChangeLog.md | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/oscar-h64/pam-haskell | ||
|
||
library | ||
default-language: Haskell2010 | ||
|
||
Library | ||
exposed-modules: System.Posix.PAM | ||
System.Posix.PAM.LowLevel | ||
System.Posix.PAM.Types | ||
System.Posix.PAM.Internals | ||
|
||
--other-modules: System.Posix.PAM.Internals | ||
|
||
extensions: ForeignFunctionInterface | ||
|
||
Build-Depends: base >= 4 && < 5 | ||
Hs-Source-Dirs: src | ||
Ghc-options: -Wall | ||
build-depends: base >= 4 && < 5 | ||
hs-source-dirs: src | ||
ghc-options: -Wall | ||
|
||
extra-libraries : pam | ||
extra-libraries: pam | ||
|
||
build-tools: c2hs | ||
build-tool-depends: c2hs:c2hs |