packages feed

hsyslog 1.2 → 1.3

raw patch · 4 files changed

+22/−11 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README view
@@ -1,8 +1,8 @@ syslog(3) for Haskell_ ====================== -:Latest Release: hsyslog-1.2.tar.gz_-:Darcs:          darcs_ get --partial http://cryp.to/hsyslog/+:Latest Release:  hsyslog-1.3.tar.gz_+:GIT Repository:  git_ clone http://git.cryp.to/hsyslog  Synopsis --------@@ -31,8 +31,8 @@  .. _Haskell: http://haskell.org/ -.. _darcs: http://abridgegame.org/darcs/+.. _git: http://git.or.cz/ -.. _hsyslog-1.2.tar.gz: http://cryp.to/hsyslog/hsyslog-1.2.tar.gz+.. _hsyslog-1.3.tar.gz: http://cryp.to/hsyslog/hsyslog-1.3.tar.gz  .. _Reference Documentation: docs/index.html
System/Posix/Syslog.hsc view
@@ -19,7 +19,18 @@ import Foreign.C  #include <syslog.h>+#ifndef LOG_AUTHPRIV+#define LOG_AUTHPRIV LOG_AUTH+#endif +#ifndef LOG_FTP+#define LOG_FTP LOG_DAEMON+#endif++#ifndef LOG_PERROR+#define LOG_PERROR 0+#endif+ -- * Marshaled Data Types  -- |Log messages are prioritized.@@ -69,8 +80,8 @@   | NEWS        -- ^ network news subsystem   | UUCP        -- ^ UUCP subsystem   | CRON        -- ^ clock daemon-  | AUTHPRIV    -- ^ security\/authorization messages (private)-  | FTP         -- ^ ftp daemon+  | AUTHPRIV    -- ^ security\/authorization messages (effectively equals 'AUTH' on some systems)+  | FTP         -- ^ ftp daemon (effectively equals 'DAEMON' on some systems)   | LOCAL0      -- ^ reserved for local use   | LOCAL1      -- ^ reserved for local use   | LOCAL2      -- ^ reserved for local use@@ -133,7 +144,7 @@   | ODELAY    -- ^ delay open until first @syslog()@ (default)   | NDELAY    -- ^ don't delay open   | NOWAIT    -- ^ don't wait for console forks: DEPRECATED-  | PERROR    -- ^ log to 'stderr' as well+  | PERROR    -- ^ log to 'stderr' as well (might be a no-op on some systems)   deriving (Eq, Bounded, Show)  instance Enum Option where
hsyslog.cabal view
@@ -1,9 +1,9 @@ Name:           hsyslog-Version:        1.2+Version:        1.3 Author:         Peter Simons <simons@cryp.to> License:        BSD3 License-file:   LICENSE-Maintainer:     simons@cryp.to+Maintainer:     Peter Simons <simons@cryp.to> Homepage:       http://cryp.to/hsyslog/ Description:    FFI interface to syslog(3) from POSIX.1-2001. Synopsis:       FFI interface to syslog(3) from POSIX.1-2001.@@ -11,5 +11,7 @@ Build-Depends:  base Build-Type:     Simple Extensions:     ForeignFunctionInterface+Data-Files:     README+ Exposed-Modules:   System.Posix.Syslog
− prologue.txt
@@ -1,2 +0,0 @@-This package provides FFI bindings to the POSIX.1-2001 system-logger, syslog(3).