Skip to content

Commit

Permalink
Update packaging as of Ubuntu devel packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh2102 committed Feb 5, 2024
1 parent 096782a commit c32f83d
Show file tree
Hide file tree
Showing 1,527 changed files with 622,475 additions and 48 deletions.
12 changes: 12 additions & 0 deletions packaging/debian/README.source
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
This package is vendoring all the Go dependencies for reasons explained in LP: #1896246

To update the debian/extra/vendor/ dir run:

rm -r debian/extra/vendor
go mod download
go mod vendor
mv vendor debian/extra/

Update debian/copyright, for example using decopy.

-- Balint Reczey <[email protected]>, Fri, 18 Sep 2020 17:19:27 +0200
21 changes: 16 additions & 5 deletions packaging/debian/control
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
Source: google-guest-agent
Maintainer: Google Cloud Team <[email protected]>
Section: misc
Section: devel
Testsuite: autopkgtest-pkg-go
Priority: optional
Standards-Version: 3.9.8
Build-Depends: debhelper (>= 9.20160709), dh-golang (>= 1.1), golang-go
Build-Depends: debhelper-compat (= 12),
dh-golang,
golang-any
Standards-Version: 4.5.0
Homepage: https://github.com/GoogleCloudPlatform/guest-agent
Rules-Requires-Root: no
XS-Go-Import-Path: github.com/GoogleCloudPlatform/guest-agent

Package: google-guest-agent
Architecture: any
Depends: ${misc:Depends}, google-compute-engine-oslogin (>= 1:20231003)
Conflicts: python-google-compute-engine, python3-google-compute-engine
Depends: ${misc:Depends},
${shlibs:Depends},
google-compute-engine-oslogin (>= 20231004.00)
Built-Using: ${misc:Built-Using}
Breaks: gce-compute-image-packages (<< 20191115),
python3-google-compute-engine
Replaces: gce-compute-image-packages (<< 20191115)
Description: Google Compute Engine Guest Agent
Contains the guest agent and metadata script runner binaries.
181 changes: 172 additions & 9 deletions packaging/debian/copyright
Original file line number Diff line number Diff line change
@@ -1,21 +1,137 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: google-compute-engine
Upstream-Contact: gc-team@google.com
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: guest-agent
Source: https://github.com/GoogleCloudPlatform/guest-agent

Files: *
Copyright: Copyright 2017 Google LLC
License: Apache-2.0
Copyright: 2015-2020, Google Inc
License: Apache-2

Files: debian/*
Copyright: Copyright 2017 Google LLC
License: Apache-2.0
Copyright: 2020 Canonical Group, Ltd.
License: Apache-2
Comment: Debian packaging is licensed under the same terms as upstream

License: Apache-2.0
Files: debian/extra/vendor/golang.org/x/sys/*
Copyright: 2009-2019, The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/google.golang.org/grpc/*
Copyright: 2014-2019, gRPC authors
License: Apache-2

Files: debian/extra/vendor/go.opencensus.io/*
Copyright: 2017-2019, OpenCensus Authors
License: Apache-2

Files: debian/extra/vendor/google.golang.org/appengine/*
Copyright: 2011-2018, Google Inc
License: Apache-2

Files: debian/extra/vendor/golang.org/x/net/*
Copyright: 2014-2018, The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/google.golang.org/api/*
Copyright: 2011-2019, Google Inc
2015-2016, The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/github.com/google/*
Copyright: 2017-2019, The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/cloud.google.com/*
Copyright: 2008-2018, Google Inc
License: Apache-2

Files: debian/extra/vendor/github.com/kardianos/*
Copyright: 2015, Daniel Theophanes
License: Zlib
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
.
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
.
3. This notice may not be removed or altered from any source
distribution.

Files: debian/extra/vendor/golang.org/x/text/*
Copyright: 2011-2016, The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/cloud.google.com/go/storage/*
Copyright: 2014-2019, Google LLC
License: Apache-2

Files: debian/extra/vendor/github.com/go-ini/*
Copyright: 2014-2019, Unknwon <[email protected]>
License: Apache-2
Comment: The copyright holder is not a typo.

Files: debian/extra/vendor/github.com/golang/protobuf/*
Copyright: 2008 Google Inc
2010-2018 The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/cloud.google.com/go/logging/*
Copyright: 2016, Google LLC
License: Apache-2

Files: debian/extra/vendor/golang.org/x/oauth2/*
Copyright: 2009-2018 The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/github.com/tarm/*
Copyright: 2009 The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/github.com/GoogleCloudPlatform/guest-logging-go/*
Copyright: 2019, Google Inc
License: Apache-2

Files: debian/extra/vendor/github.com/googleapis/*
Copyright: 2016-2018, Google Inc
License: BSD-3-clause

Files: debian/extra/vendor/cloud.google.com/go/LICENSE
debian/extra/vendor/cloud.google.com/go/doc.go
Copyright: 2014-2018, Google LLC
License: Apache-2

Files: debian/extra/vendor/golang.org/x/sync/*
Copyright: 2009-2017 The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/google.golang.org/api/internal/third_party/*
Copyright: 2013, Joshua Tacoma
2016, The Go Authors
License: BSD-3-clause

Files: debian/extra/vendor/github.com/golang/groupcache/*
Copyright: 2013, Google Inc
License: Apache-2

Files: debian/extra/vendor/golang.org/x/sync/semaphore/*
Copyright: 2017, The Go Authors
License: BSD-3-clause

License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -25,3 +141,50 @@ License: Apache-2.0
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".

License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* 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.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT
OWNER 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: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12 changes: 12 additions & 0 deletions packaging/debian/extra/vendor/cloud.google.com/go/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c32f83d

Please sign in to comment.