Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-unix-compat for openSUSE:Factory checked in at 2023-11-23 21:40:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-unix-compat (Old) and /work/SRC/openSUSE:Factory/.ghc-unix-compat.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-unix-compat" Thu Nov 23 21:40:46 2023 rev:26 rq:1128089 version:0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-unix-compat/ghc-unix-compat.changes 2023-04-04 21:24:35.682615270 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-unix-compat.new.25432/ghc-unix-compat.changes 2023-11-23 21:42:13.874989889 +0100 @@ -1,0 +2,8 @@ +Wed Mar 30 19:44:09 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update unix-compat to version 0.7. + ## Version 0.7 (2023-03-15) + + - Remote `System.PosixCompat.User` module + +------------------------------------------------------------------- Old: ---- unix-compat-0.6.tar.gz unix-compat.cabal New: ---- unix-compat-0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-unix-compat.spec ++++++ --- /var/tmp/diff_new_pack.w4NoFG/_old 2023-11-23 21:42:14.423010074 +0100 +++ /var/tmp/diff_new_pack.w4NoFG/_new 2023-11-23 21:42:14.423010074 +0100 @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6 +Version: 0.7 Release: 0 Summary: Portable POSIX-compatibility layer License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof @@ -82,7 +81,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ unix-compat-0.6.tar.gz -> unix-compat-0.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unix-compat-0.6/CHANGELOG.md new/unix-compat-0.7/CHANGELOG.md --- old/unix-compat-0.6/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/unix-compat-0.7/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,7 @@ +## Version 0.7 (2023-03-15) + +- Remote `System.PosixCompat.User` module + ## Version 0.6 (2022-05-22) - Better support for symbolic links diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unix-compat-0.6/src/System/PosixCompat/User.hsc new/unix-compat-0.7/src/System/PosixCompat/User.hsc --- old/unix-compat-0.6/src/System/PosixCompat/User.hsc 2001-09-09 03:46:40.000000000 +0200 +++ new/unix-compat-0.7/src/System/PosixCompat/User.hsc 1970-01-01 01:00:00.000000000 +0100 @@ -1,133 +0,0 @@ -{-# LANGUAGE CPP #-} - -{-| -This module makes the operations exported by @System.Posix.User@ -available on all platforms. On POSIX systems it re-exports operations from -@System.Posix.User@. On other platforms it provides dummy implementations. --} -module System.PosixCompat.User ( - -- * User environment - -- ** Querying the user environment - getRealUserID - , getRealGroupID - , getEffectiveUserID - , getEffectiveGroupID - , getGroups - , getLoginName - , getEffectiveUserName - - -- *** The group database - , GroupEntry(..) - , getGroupEntryForID - , getGroupEntryForName - , getAllGroupEntries - - -- *** The user database - , UserEntry(..) - , getUserEntryForID - , getUserEntryForName - , getAllUserEntries - - -- ** Modifying the user environment - , setUserID - , setGroupID - ) where - -#ifndef mingw32_HOST_OS - -#include "HsUnixCompat.h" - -import System.Posix.User - -#if __GLASGOW_HASKELL__<605 -getAllGroupEntries :: IO [GroupEntry] -getAllGroupEntries = return [] - -getAllUserEntries :: IO [UserEntry] -getAllUserEntries = return [] -#endif - -#else /* Portable implementation */ - -import System.IO.Error -import System.PosixCompat.Types - -unsupported :: String -> IO a -unsupported f = ioError $ mkIOError illegalOperationErrorType x Nothing Nothing - where x = "System.PosixCompat.User." ++ f ++ ": not supported" - --- ----------------------------------------------------------------------------- --- User environment - -getRealUserID :: IO UserID -getRealUserID = unsupported "getRealUserID" - -getRealGroupID :: IO GroupID -getRealGroupID = unsupported "getRealGroupID" - -getEffectiveUserID :: IO UserID -getEffectiveUserID = unsupported "getEffectiveUserID" - -getEffectiveGroupID :: IO GroupID -getEffectiveGroupID = unsupported "getEffectiveGroupID" - -getGroups :: IO [GroupID] -getGroups = return [] - -getLoginName :: IO String -getLoginName = unsupported "getLoginName" - -setUserID :: UserID -> IO () -setUserID _ = return () - -setGroupID :: GroupID -> IO () -setGroupID _ = return () - --- ----------------------------------------------------------------------------- --- User names - -getEffectiveUserName :: IO String -getEffectiveUserName = unsupported "getEffectiveUserName" - --- ----------------------------------------------------------------------------- --- The group database - -data GroupEntry = GroupEntry - { groupName :: String - , groupPassword :: String - , groupID :: GroupID - , groupMembers :: [String] - } deriving (Show, Read, Eq) - -getGroupEntryForID :: GroupID -> IO GroupEntry -getGroupEntryForID _ = unsupported "getGroupEntryForID" - -getGroupEntryForName :: String -> IO GroupEntry -getGroupEntryForName _ = unsupported "getGroupEntryForName" - -getAllGroupEntries :: IO [GroupEntry] -getAllGroupEntries = return [] - --- ----------------------------------------------------------------------------- --- The user database (pwd.h) - -data UserEntry = UserEntry - { userName :: String - , userPassword :: String - , userID :: UserID - , userGroupID :: GroupID - , userGecos :: String - , homeDirectory :: String - , userShell :: String - } deriving (Show, Read, Eq) - -getUserEntryForID :: UserID -> IO UserEntry -getUserEntryForID _ = unsupported "getUserEntryForID" - -getUserEntryForName :: String -> IO UserEntry -getUserEntryForName _ = unsupported "getUserEntryForName" - -getAllUserEntries :: IO [UserEntry] -getAllUserEntries = return [] - -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unix-compat-0.6/src/System/PosixCompat.hs new/unix-compat-0.7/src/System/PosixCompat.hs --- old/unix-compat-0.6/src/System/PosixCompat.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/unix-compat-0.7/src/System/PosixCompat.hs 2001-09-09 03:46:40.000000000 +0200 @@ -11,7 +11,6 @@ , module System.PosixCompat.Time , module System.PosixCompat.Types , module System.PosixCompat.Unistd - , module System.PosixCompat.User , usingPortableImpl ) where @@ -20,7 +19,6 @@ import System.PosixCompat.Time import System.PosixCompat.Types import System.PosixCompat.Unistd -import System.PosixCompat.User -- | 'True' if unix-compat is using its portable implementation, -- or 'False' if the unix package is simply being re-exported. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unix-compat-0.6/unix-compat.cabal new/unix-compat-0.7/unix-compat.cabal --- old/unix-compat-0.6/unix-compat.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/unix-compat-0.7/unix-compat.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,16 +1,16 @@ name: unix-compat -version: 0.6 +version: 0.7 synopsis: Portable POSIX-compatibility layer. description: This package provides portable implementations of parts of the unix package. This package re-exports the unix package when available. When it isn't available, portable implementations are used. -homepage: http://github.com/jacobstanley/unix-compat +homepage: http://github.com/haskell-pkg-janitors/unix-compat license: BSD3 license-file: LICENSE author: Björn Bringert, Duncan Coutts, Jacob Stanley, Bryan O'Sullivan -maintainer: Jacob Stanley <ja...@stanley.io> +maintainer: Mitchell Rosen <mitchellwro...@gmail.com> category: System build-type: Simple cabal-version: >= 1.10 @@ -20,7 +20,7 @@ source-repository head type: git - location: g...@github.com:jacobstanley/unix-compat.git + location: g...@github.com:haskell-pkg-janitors/unix-compat.git flag old-time description: build against old-time package @@ -40,7 +40,6 @@ System.PosixCompat.Time System.PosixCompat.Types System.PosixCompat.Unistd - System.PosixCompat.User if os(windows) c-sources: