[neon/backports-jammy/signon-plugin-oauth2/Neon/unstable] debian: import from salsa
Carlos De Maine
null at kde.org
Mon Sep 18 02:34:21 BST 2023
Git commit 56d06709a73ef2d15a51b463afc8040c802ab125 by Carlos De Maine.
Committed on 18/09/2023 at 03:30.
Pushed by carlosdem into branch 'Neon/unstable'.
import from salsa
A +1 -0 debian/.gitattributes
A +64 -0 debian/changelog
A +32 -0 debian/control
A +30 -0 debian/copyright
A +1 -0 debian/patches/series
A +33 -0 debian/patches/upstream_build-stop-using-Werror.patch
A +16 -0 debian/rules
A +6 -0 debian/salsa-ci.yml
A +3 -0 debian/signon-plugin-oauth2-dev.install
A +1 -0 debian/signon-plugin-oauth2.install
A +1 -0 debian/source/format
A +5 -0 debian/upstream/metadata
A +3 -0 debian/watch
https://invent.kde.org/neon/backports-jammy/signon-plugin-oauth2/-/commit/56d06709a73ef2d15a51b463afc8040c802ab125
diff --git a/debian/.gitattributes b/debian/.gitattributes
new file mode 100644
index 0000000..6a03163
--- /dev/null
+++ b/debian/.gitattributes
@@ -0,0 +1 @@
+changelog merge=dpkg-mergechangelogs
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..af29349
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,64 @@
+signon-plugin-oauth2 (0.25-2) unstable; urgency=medium
+
+ * Team upload.
+ * Replace the patch disable-werror.diff with the upstream commit
+ 2bf858a8c92aadaf75ce8213ea037fe7db544ae8; patch
+ upstream_build-stop-using-Werror.patch.
+ * Tighten the signon-plugin-oauth2 dependency in signon-plugin-oauth2-dev.
+ * Improve packages descriptions.
+ * Mark signon-plugin-oauth2 to enhance signond.
+
+ -- Pino Toscano <pino at debian.org> Wed, 06 Jan 2021 09:03:13 +0100
+
+signon-plugin-oauth2 (0.25-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Diane Trout ]
+ * New upstream release.
+ * Update watch file for new gitlab url format
+
+ [ Rohan Garg ]
+ * Drop unused-variable.patch, applied upstream
+
+ [ Pino Toscano ]
+ * New upstream release.
+ * Update watch file.
+ * Remove commented bits of -dbg packages, now obsolete by dbgsym packages.
+ * Remove the unwanted files after dh_auto_install, instead of right before
+ dh_install.
+ * Switch Vcs-* fields to salsa.debian.org.
+ * Add the configuration for the CI on salsa.
+ * Update the patches:
+ - dont-install-examples.patch: drop, as the examples are no more built by
+ default
+ - hardening.patch: refresh
+ * Do not build with -Werror; patch disable-werror.diff. (Closes: #964690)
+ * Bump the debhelper compatibility to 13:
+ - switch the debhelper build dependency to debhelper-compat 13
+ - remove debian/compat
+ - stop passing --list-missing to dh_install, as the default now is
+ --fail-missing
+ * Add Rules-Requires-Root: no.
+ * Bump Standards-Version to 4.5.1, no changes required.
+ * Drop patch hardening.patch, hopefully all the required flags are respected
+ now.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+ Repository-Browse.
+ * Remove the dh_auto_test override, as now the tests are executed now.
+ * Remove the unused libqt5xmlpatterns5-dev build dependency.
+ * Do not pass PREFIX=/usr to qmake, as it is already passed by debhelper.
+ * Switch from /usr/share/dpkg/default.mk to /usr/share/dpkg/architecture.mk,
+ as we need bits only from the latter.
+ * Remove the dh_auto_clean override, as it seems not needed now.
+
+ [ Helmut Grohne ]
+ * Let dh_auto_configure pass cross tools to qmake. (see #881761)
+
+ -- Pino Toscano <pino at debian.org> Fri, 01 Jan 2021 00:35:11 +0100
+
+signon-plugin-oauth2 (0.22-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Diane Trout <diane at debian.org> Fri, 06 Nov 2015 22:34:08 -0800
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..95786fd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: signon-plugin-oauth2
+Section: utils
+Priority: optional
+Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
+Uploaders: Diane Trout <diane at debian.org>
+Build-Depends: debhelper-compat (= 13), qt5-qmake,
+ pkg-kde-tools (>= 0.12),
+ pkg-config,
+ signon-plugins-dev,
+ qtbase5-dev,
+Standards-Version: 4.5.1
+Rules-Requires-Root: no
+Homepage: https://gitlab.com/accounts-sso/signon-plugin-oauth2
+Vcs-Git: https://salsa.debian.org/qt-kde-team/3rdparty/signon-plugin-oauth2.git
+Vcs-Browser: https://salsa.debian.org/qt-kde-team/3rdparty/signon-plugin-oauth2
+
+Package: signon-plugin-oauth2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Enhances: signond
+Description: OAuth 1.0/2.0 plugin for the Accounts SignOn daemon
+ This plugin for the Accounts-SSO SignOn daemon handles the OAuth
+ 1.0 and 2.0 authentication protocols.
+
+Package: signon-plugin-oauth2-dev
+Architecture: any
+Depends: signon-plugin-oauth2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: OAuth 1.0/2.0 plugin for the Accounts SignOn daemon - headers
+ This plugin for the Accounts-SSO SignOn daemon handles the OAuth
+ 1.0 and 2.0 authentication protocols.
+ .
+ This contains development headers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6764a7f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: signon-plugin-oauth2
+Source: https://gitlab.com/accounts-sso/signon-plugin-oauth2
+
+Files: *
+Copyright: 2010 Nokia Corporation
+ 2012 Canonical Ltd.
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2015 Diane Trout <diane at debian.org>
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ This 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 2.1 of the License, or (at your option) any later version.
+ .
+ This 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 this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2.1+ can be found in "/usr/share/common-licenses/LGPL-2.1"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0963e18
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+upstream_build-stop-using-Werror.patch
diff --git a/debian/patches/upstream_build-stop-using-Werror.patch b/debian/patches/upstream_build-stop-using-Werror.patch
new file mode 100644
index 0000000..9fcb79d
--- /dev/null
+++ b/debian/patches/upstream_build-stop-using-Werror.patch
@@ -0,0 +1,33 @@
+From 2bf858a8c92aadaf75ce8213ea037fe7db544ae8 Mon Sep 17 00:00:00 2001
+From: Pino Toscano <toscano.pino at tiscali.it>
+Date: Sat, 2 Jan 2021 14:26:52 +0100
+Subject: [PATCH] build: stop using -Werror
+
+-Werror turns every single compiler warning into an error; while this
+seems nice to catch potential issues, in reality:
+- newer versions of Qt deprecated more APIs (and currently some APIs
+ deprecated in Qt 5.14 & 5.15 are still used)
+- newer versions of the compiler can be more strict, and generate more
+ warnings; sometimes they are not really issues
+
+Hence, stop using -Werror altogether.
+---
+ common-project-config.pri | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/common-project-config.pri b/common-project-config.pri
+index c0d2e80..a2ffac0 100644
+--- a/common-project-config.pri
++++ b/common-project-config.pri
+@@ -19,8 +19,6 @@ UI_SOURCES_DIR = ui/src
+
+ QMAKE_CXXFLAGS += -fno-exceptions \
+ -fno-rtti
+-# we don't like warnings...
+-unix:QMAKE_CXXFLAGS += -Werror
+
+ TOP_SRC_DIR = $$PWD
+
+--
+2.29.2
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a8c1b90
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+include /usr/share/dpkg/architecture.mk
+export QT_SELECT=qt5
+
+%:
+ dh $@ --buildsystem qmake
+
+override_dh_auto_configure:
+ dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+override_dh_auto_install:
+ dh_auto_install
+ rm debian/tmp/usr/bin/signon-oauth2plugin-tests
+ rm debian/tmp/usr/share/signon-oauth2plugin-tests/tests.xml
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..31e31c9
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,6 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+variables:
+ SALSA_CI_DISABLE_MISSING_BREAKS: 'no'
+ SALSA_CI_DISABLE_RC_BUGS: 'no'
diff --git a/debian/signon-plugin-oauth2-dev.install b/debian/signon-plugin-oauth2-dev.install
new file mode 100644
index 0000000..8de74bc
--- /dev/null
+++ b/debian/signon-plugin-oauth2-dev.install
@@ -0,0 +1,3 @@
+usr/include/signon-plugins/oauth2data.h
+usr/include/signon-plugins/oauth1data.h
+usr/lib/*/pkgconfig/signon-oauth2plugin.pc
diff --git a/debian/signon-plugin-oauth2.install b/debian/signon-plugin-oauth2.install
new file mode 100644
index 0000000..b633edf
--- /dev/null
+++ b/debian/signon-plugin-oauth2.install
@@ -0,0 +1 @@
+usr/lib/*/signon/liboauth2plugin.so
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..953cf3a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://gitlab.com/accounts-sso/signon-plugin-oauth2/issues
+Bug-Submit: https://gitlab.com/accounts-sso/signon-plugin-oauth2/issues/new
+Repository: https://gitlab.com/accounts-sso/signon-plugin-oauth2.git
+Repository-Browse: https://gitlab.com/accounts-sso/signon-plugin-oauth2
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..492f26e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.*\/archive\/VERSION_ at ANY_VERSION@\/signon-plugin-oauth2.*\.tar\.gz/signon-plugin-oauth2-$1\.tar\.gz/g
+ https://gitlab.com/accounts-sso/signon-plugin-oauth2/tags?sort=updated_desc .*/archive/VERSION_ at ANY_VERSION@/.*.tar.gz
More information about the Neon-commits
mailing list