Skip to content

Commit

Permalink
all: update license information
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Apr 14, 2017
1 parent b35aa21 commit 0cc492f
Show file tree
Hide file tree
Showing 46 changed files with 270 additions and 79 deletions.
21 changes: 20 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RJ Catalano <[email protected]>

Nchinda Nchinda <[email protected]>

Aron Fischer <[email protected]>
Aron Fischer <[email protected]> <[email protected]>

Vlad Gluhovsky <[email protected]>

Expand All @@ -90,3 +90,22 @@ Nick Johnson <[email protected]>
Henning Diedrich <[email protected]>
Henning Diedrich <[email protected]> Drake Burroughs <[email protected]>

Felix Lange <[email protected]>
Felix Lange <[email protected]> <[email protected]>

Максим Чусовлянов <[email protected]>

Louis Holbrook <[email protected]>
Louis Holbrook <[email protected]> <[email protected]>

Thomas Bocek <[email protected]>

Victor Tran <[email protected]>

Justin Drake <[email protected]>

Frank Wang <[email protected]>

Gary Rong <[email protected]>

Guillaume Nicolas <[email protected]>
24 changes: 23 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,51 @@
Ales Katona <[email protected]>
Alex Leverington <[email protected]>
Alexandre Van de Sande <[email protected]>
Aron Fischer <[email protected]>
Aron Fischer <[email protected]>
Bas van Kervel <[email protected]>
Benjamin Brent <[email protected]>
Brian Schroeder <[email protected]>
Casey Detrio <[email protected]>
Christoph Jentzsch <[email protected]>
Daniel A. Nagy <[email protected]>
Diego Siqueira <[email protected]>
Elliot Shepherd <[email protected]>
Enrique Fynn <[email protected]>
Ethan Buchman <[email protected]>
Fabian Vogelsteller <[email protected]>
Fabio Berger <[email protected]>
Felix Lange <[email protected]>
Frank Wang <[email protected]>
Gary Rong <[email protected]>
Gregg Dourgarian <[email protected]>
Guillaume Nicolas <[email protected]>
Gustav Simonsson <[email protected]>
Hao Bryan Cheng <[email protected]>
Henning Diedrich <[email protected]>
Isidoro Ghezzi <[email protected]>
Jae Kwon <[email protected]>
Jamie Pitts <[email protected]>
Jason Carver <[email protected]>
Jeff R. Allen <[email protected]>
Jeffrey Wilcke <[email protected]>
Jens Agerberg <[email protected]>
Jonathan Brown <[email protected]>
Joseph Chow <[email protected]>
Justin Clark-Casey <[email protected]>
Justin Drake <[email protected]>
Kenji Siu <[email protected]>
Kobi Gurkan <[email protected]>
Lefteris Karapetsas <[email protected]>
Leif Jurvetson <[email protected]>
Lewis Marshall <[email protected]>
Louis Holbrook <[email protected]>
Luca Zeug <[email protected]>
Maran Hidskes <[email protected]>
Marek Kotewicz <[email protected]>
Martin Holst Swende <[email protected]>
Matthew Di Ferrante <[email protected]>
Matthew Wampler-Doty <[email protected]>
Micah Zoltu <[email protected]>
Nchinda Nchinda <[email protected]>
Nick Dodson <[email protected]>
Nick Johnson <[email protected]>
Expand All @@ -47,17 +58,28 @@ RJ Catalano <[email protected]>
Ramesh Nair <[email protected]>
Ricardo Catalinas Jiménez <[email protected]>
Rémy Roy <[email protected]>
Shintaro Kaneko <[email protected]>
Stein Dekker <[email protected]>
Steven Roose <[email protected]>
Taylor Gerring <[email protected]>
Thomas Bocek <[email protected]>
Tosh Camille <[email protected]>
Valentin Wüstholz <[email protected]>
Victor Farazdagi <[email protected]>
Victor Tran <[email protected]>
Viktor Trón <[email protected]>
Ville Sundell <[email protected]>
Vincent G <[email protected]>
Vitalik Buterin <[email protected]>
Vivek Anand <[email protected]>
Vlad Gluhovsky <[email protected]>
Yohann Léon <[email protected]>
Yoichi Hirai <[email protected]>
Zahoor Mohamed <[email protected]>
Zsolt Felföldi <[email protected]>
holisticode <[email protected]>
ken10100147 <[email protected]>
ligi <[email protected]>
xiekeyang <[email protected]>
ΞTHΞЯSPHΞЯΞ <{viktor.tron,nagydani,zsfelfoldi}@gmail.com>
Максим Чусовлянов <[email protected]>
2 changes: 1 addition & 1 deletion accounts/keystore/account_cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/account_cache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/keystore.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/keystore_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
24 changes: 23 additions & 1 deletion build/update-license.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ var (
// don't relicense vendored sources
"crypto/sha3/", "crypto/ecies/", "log/",
"crypto/secp256k1/curve.go",
"consensus/ethash/xor.go",
"internal/jsre/deps",
"cmd/internal/browser",
// don't license generated files
"contracts/chequebook/contract/",
"contracts/ens/contract/",
"contracts/release/contract.go",
"p2p/discv5/nodeevent_string.go",
}

// paths with this prefix are licensed as GPL. all other files are LGPL.
Expand Down Expand Up @@ -284,6 +286,9 @@ func getInfo(files <-chan string, out chan<- *info, wg *sync.WaitGroup) {
if !stat.Mode().IsRegular() {
continue
}
if isGenerated(file) {
continue
}
info, err := fileInfo(file)
if err != nil {
fmt.Printf("ERROR %s: %v\n", file, err)
Expand All @@ -294,6 +299,23 @@ func getInfo(files <-chan string, out chan<- *info, wg *sync.WaitGroup) {
wg.Done()
}

func isGenerated(file string) bool {
fd, err := os.Open(file)
if err != nil {
return false
}
defer fd.Close()
buf := make([]byte, 2048)
n, _ := fd.Read(buf)
buf = buf[:n]
for _, l := range bytes.Split(buf, []byte("\n")) {
if bytes.HasPrefix(l, []byte("// Code generated")) {
return true
}
}
return false
}

// fileInfo finds the lowest year in which the given file was committed.
func fileInfo(file string) (*info, error) {
info := &info{file: file, Year: int64(time.Now().Year())}
Expand Down
2 changes: 1 addition & 1 deletion cmd/geth/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
Expand Down
16 changes: 8 additions & 8 deletions cmd/swarm/cleandb.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// go-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// go-ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http:https://www.gnu.org/licenses/>.

package main

Expand Down
2 changes: 1 addition & 1 deletion cmd/swarm/list.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion cmd/swarm/manifest.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion cmd/wnode/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/math/big_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 The go-ethereum Authors
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion core/evm.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 The go-ethereum Authors
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
16 changes: 16 additions & 0 deletions core/vm/gas_table.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

package vm

import (
Expand Down
16 changes: 16 additions & 0 deletions core/vm/gas_table_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

package vm

import (
Expand Down
16 changes: 16 additions & 0 deletions core/vm/int_pool_verifier.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

// +build VERIFY_EVM_INTEGER_POOL

package vm
Expand Down
16 changes: 16 additions & 0 deletions core/vm/int_pool_verifier_empty.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

// +build !VERIFY_EVM_INTEGER_POOL

package vm
Expand Down
2 changes: 1 addition & 1 deletion core/vm/interface.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 The go-ethereum Authors
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
Expand Down
16 changes: 16 additions & 0 deletions core/vm/memory_table.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

package vm

import (
Expand Down
16 changes: 16 additions & 0 deletions core/vm/runtime/fuzz.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

// +build gofuzz

package runtime
Expand Down
16 changes: 16 additions & 0 deletions core/vm/stack_table.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http:https://www.gnu.org/licenses/>.

package vm

import (
Expand Down
Loading

0 comments on commit 0cc492f

Please sign in to comment.