Skip to content

Commit

Permalink
Merge pull request #4444 from sysown/v2.6.0-fix-package-licensing
Browse files Browse the repository at this point in the history
V2.6.0 fix package licensing
  • Loading branch information
renecannao authored Feb 17, 2024
2 parents 21c8952 + 8b98d4c commit afaf642
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 16 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ amd64-ubuntu: ubuntu16 ubuntu16-dbg ubuntu18 ubuntu18-dbg ubuntu20 ubuntu20-clan

arm64-packages: arm64-centos arm64-debian arm64-ubuntu arm64-fedora arm64-opensuse arm64-almalinux
arm64-almalinux: almalinux8 almalinux9
arm64-centos: centos7 centos8
arm64-centos: centos7 centos8 centos9
arm64-debian: debian10 debian11 debian12
arm64-fedora: fedora38 fedora39
arm64-opensuse: opensuse15
Expand Down Expand Up @@ -341,8 +341,9 @@ build-%:

.NOTPARALLEL: binaries/proxysql%
binaries/proxysql%:
@docker-compose -p $(IMG_NAME) down -v --remove-orphans
@docker-compose -p $(IMG_NAME) up $(IMG_NAME)$(IMG_TYPE)$(IMG_COMP)_build
@docker-compose -p proxysql down -v --remove-orphans
@docker-compose -p proxysql up $(IMG_NAME)$(IMG_TYPE)$(IMG_COMP)_build
@docker-compose -p proxysql down -v --remove-orphans


### clean targets
Expand Down
6 changes: 6 additions & 0 deletions docker/images/proxysql/deb-compliant/ctl/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: proxysql
Upstream-Contact: ProxySQL LLC <[email protected]>
Source: https://github.com/sysown/proxysql
Copyright: 2013-PKG_YEAR ProxySQL LLC
License: GPL-3
3 changes: 2 additions & 1 deletion docker/images/proxysql/deb-compliant/ctl/proxysql.ctl
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Section: misc
Section: database
Priority: optional
Homepage: https://proxysql.com
Standards-Version: 3.9.2

Package: proxysql
Version: PKG_VERSION_CURVER
Maintainer: ProxySQL LLC <[email protected]>
Copyright: copyright
Architecture: PKG_ARCH
Depends: libgnutls28 | libgnutls-deb0-28 | libgnutls30
# Changelog: CHANGELOG.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ echo "==> Packaging"
mkdir -p /opt/proxysql/pkgroot/tmp || true
pushd /opt/proxysql/pkgroot
cp /root/ctl/proxysql.ctl ./proxysql.ctl
cp /root/ctl/copyright ./copyright
sed -i "s/PKG_VERSION_CURVER/${CURVER}/g" ./proxysql.ctl
sed -i "s/PKG_ARCH/${ARCH}/g" ./proxysql.ctl
sed -i "s/PKG_YEAR/$(date +%Y)/g" ./copyright
cp ../src/proxysql ./
cp -r ../etc ./etc
cp -r ../tools ./tools
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: proxysql
Upstream-Contact: ProxySQL LLC <[email protected]>
Source: https://github.com/sysown/proxysql
Copyright: 2013-PKG_YEAR ProxySQL LLC
License: GPL-3
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Section: misc
Section: database
Priority: optional
Homepage: https://proxysql.com
Standards-Version: 3.9.2

Package: proxysql
Version: PKG_VERSION_CURVER
Maintainer: ProxySQL LLC <[email protected]>
Copyright: copyright
Architecture: PKG_ARCH
Depends: libgnutls28 | libgnutls30
# Changelog: CHANGELOG.md
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: proxysql
Upstream-Contact: ProxySQL LLC <[email protected]>
Source: https://github.com/sysown/proxysql
Copyright: 2013-PKG_YEAR ProxySQL LLC
License: GPL-3
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Section: misc
Section: database
Priority: optional
Homepage: https://proxysql.com
Standards-Version: 3.9.2

Package: proxysql
Version: PKG_VERSION_CURVER
Maintainer: ProxySQL LLC <[email protected]>
Copyright: copyright
Architecture: PKG_ARCH
Depends: libgnutls28 | libgnutls30 | libgnutls-deb0-28
# Changelog: CHANGELOG.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ Summary: A high-performance MySQL proxy
Name: proxysql
Version: %{version}
Release: 1
License: GPL+
Group: Development/Tools
SOURCE0 : %{name}-%{version}.tar.gz
URL: http://www.proxysql.com/
License: GPL-3.0-only
Source: %{name}-%{version}.tar.gz
URL: https://www.proxysql.com/
Requires: gnutls
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ Summary: A high-performance MySQL proxy
Name: proxysql
Version: %{version}
Release: 1
License: GPL+
Group: Development/Tools
SOURCE0 : %{name}-%{version}.tar.gz
License: GPL-3.0-only
Source: %{name}-%{version}.tar.gz
URL: https://proxysql.com/
Requires: gnutls
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ Summary: A high-performance MySQL proxy
Name: proxysql
Version: %{version}
Release: 1
License: GPL+
Group: Development/Tools
SOURCE0 : %{name}-%{version}.tar.gz
License: GPL-3.0-only
Source: %{name}-%{version}.tar.gz
URL: https://proxysql.com/
Requires: gnutls
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Expand Down

0 comments on commit afaf642

Please sign in to comment.