relicense general utility library code to BSD

Omitted a couple of files what have had significant contributions from
others.
This commit is contained in:
Joey Hess 2014-05-10 11:01:27 -03:00
parent a5bf11513d
commit 2427832bed
70 changed files with 100 additions and 70 deletions

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Applicative where

View file

@ -2,7 +2,7 @@
-
- Copyright 2011 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Base64 (toB64, fromB64Maybe, fromB64) where

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -3,7 +3,7 @@
-
- Copyright 2012-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE OverloadedStrings, ScopedTypeVariables #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Data where

View file

@ -2,7 +2,7 @@
-
- Copyright 2011 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-
-
- And now a rant:

View file

@ -6,7 +6,7 @@
-
- Copyright 2012-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.DirWatcher.FSEvents where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.DirWatcher.INotify where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE ForeignFunctionInterface #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.DirWatcher.Types where

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.DirWatcher.Win32Notify where

View file

@ -2,7 +2,7 @@
-
- Copyright 2011-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012, 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE ForeignFunctionInterface, CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Dot where -- import qualified

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2011-2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE ScopedTypeVariables #-}

View file

@ -5,7 +5,7 @@
-
- Copyright 2011-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.ExternalSHA (externalSHA) where

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010, 2011 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Format (

View file

@ -7,7 +7,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.FreeDesktop (

View file

@ -5,7 +5,7 @@
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.HumanNumber where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.HumanTime (

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.InodeCache where

View file

@ -2,7 +2,7 @@
-
- Copyright 2011 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.JSONStream (

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.LinuxMkLibs where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -12,7 +12,7 @@
-
- Copyright 2011-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE Rank2Types, KindSignatures #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012, 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE TypeSynonymInstances #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2011 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Monad where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Network where

View file

@ -8,7 +8,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.NotificationBroadcaster (

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.OSX where

View file

@ -2,7 +2,7 @@
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Parallel where

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE PackageImports, CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Percentage (

View file

@ -4,7 +4,7 @@
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -3,7 +3,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP, Rank2Types #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE OverloadedStrings #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Rsync where

View file

@ -5,7 +5,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.SafeCommand where

View file

@ -2,7 +2,7 @@
-
- Copyright 2013-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Scheduled (

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2013-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.SimpleProtocol (

View file

@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.SshConfig where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE OverloadedStrings #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.ThreadLock where

View file

@ -3,7 +3,7 @@
- Copyright 2012, 2013 Joey Hess <joey@kitenet.net>
- Copyright 2011 Bas van Dijk & Roel van Dijk
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2010-2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2011 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE ForeignFunctionInterface #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2011,2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.Verifiable where

View file

@ -2,7 +2,7 @@
-
- Copyright 2012-2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes #-}

View file

@ -2,7 +2,7 @@
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
module Utility.WinLock (

View file

@ -2,7 +2,7 @@
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
- License: BSD-2-clause
-}
{-# LANGUAGE ForeignFunctionInterface #-}

View file

@ -2,7 +2,7 @@
*
* Copyright 2012, 2014 Joey Hess <joey@kitenet.net>
*
* Licensed under the GNU GPL version 3 or higher.
* License: BSD-2-clause
*/
/* Include appropriate headers for the OS, and define what will be used to

View file

@ -2,7 +2,7 @@
*
* Copyright 2012 Joey Hess <joey@kitenet.net>
*
* Licensed under the GNU GPL version 3 or higher.
* License: BSD-2-clause
*/
#include <stdio.h>

32
debian/copyright vendored
View file

@ -12,7 +12,15 @@ License: AGPL-3+
Files: Utility/ThreadScheduler.hs
Copyright: 2011 Bas van Dijk & Roel van Dijk
2012 Joey Hess <joey@kitenet.net>
2012, 2013 Joey Hess <joey@kitenet.net>
License: BSD-2-clause
Files: Utility/*
Copyright: 2012-2014 Joey Hess <joey@kitenet.net>
License: BSD-2-clause
Files: Utility/Gpg.hs Utility/DirWatcher*
Copyright: © 2010-2014 Joey Hess <joey@kitenet.net>
License: GPL-3+
Files: doc/logo* */favicon.ico standalone/osx/git-annex.app/Contents/Resources/git-annex.icns standalone/android/icons/*
@ -122,6 +130,28 @@ License: LGPL-2.1+
in this package's source, or in /usr/share/common-licenses/LGPL-2.1
on Debian systems.
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
License: AGPL-3+
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007