Skip to content

Commit 84cd2aa

Browse files
committed
Packaging for Ubuntu 19.10 (Eoan).
1 parent 6418f36 commit 84cd2aa

File tree

9 files changed

+121
-0
lines changed

9 files changed

+121
-0
lines changed

packaging/ubuntu-eoan/changelog

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
sasl-xoauth2 (0.8-1ubuntu1~eoan1~ppa1) eoan; urgency=low
2+
3+
* Package for Ubuntu 19.10.
4+
5+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Mon, 23 Mar 2020 11:52:00 -0700
6+
7+
sasl-xoauth2 (0.7-1ubuntu1~bionic1~ppa1) bionic; urgency=low
8+
9+
* Flesh out README.
10+
11+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Sun, 11 Aug 2019 21:54:00 -0700
12+
13+
sasl-xoauth2 (0.6-1ubuntu1~bionic1~ppa1) bionic; urgency=low
14+
15+
* Actually (?) fix broken 32-bit build.
16+
17+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Sat, 10 Aug 2019 19:22:00 -0700
18+
19+
sasl-xoauth2 (0.5-1ubuntu1~bionic1~ppa1) bionic; urgency=low
20+
21+
* Fix broken 32-bit build.
22+
23+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Sat, 10 Aug 2019 18:58:00 -0700
24+
25+
sasl-xoauth2 (0.4-1ubuntu1~bionic1~ppa1) bionic; urgency=low
26+
27+
* Add config file in /etc/sasl-xoauth2.conf.
28+
* Store client secret in config file.
29+
* Write failure logs to syslog instead of /tmp.
30+
* Install library directly into SASL plugin directory.
31+
32+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Sat, 10 Aug 2019 10:43:00 -0700
33+
34+
sasl-xoauth2 (0.3-1ubuntu1~bionic1~ppa1) bionic; urgency=low
35+
36+
* Initial package for 0.3.
37+
38+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Fri, 09 Aug 2019 17:28:00 -0700
39+
40+
sasl-xoauth2 (0.2-1ubuntu1~bionic1~ppa2) bionic; urgency=low
41+
42+
* Fix symlinks.
43+
44+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Fri, 09 Aug 2019 17:13:00 -0700
45+
46+
sasl-xoauth2 (0.2-1ubuntu1~bionic1~ppa1) bionic; urgency=low
47+
48+
* Initial package for 0.2.
49+
50+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Fri, 09 Aug 2019 17:08:00 -0700
51+
52+
sasl-xoauth2 (0.1-1ubuntu1~bionic1~ppa1) bionic; urgency=low
53+
54+
* Initial package for 0.1.
55+
56+
-- Tarick Bedeir (Ubuntu Development) <[email protected]> Fri, 09 Aug 2019 16:48:00 -0700

packaging/ubuntu-eoan/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

packaging/ubuntu-eoan/control

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Source: sasl-xoauth2
2+
Section: utils
3+
Priority: extra
4+
Maintainer: Tarick Bedeir (Ubuntu Development) <[email protected]>
5+
Build-Depends: debhelper (>= 11~),
6+
cmake,
7+
libcurl4-openssl-dev | libcurl4-nss-dev | libcurl4-gnutls-dev,
8+
libjsoncpp-dev,
9+
libsasl2-dev,
10+
libstdc++6-4.6-dev | libstdc++-dev,
11+
pkg-config
12+
Standards-Version: 4.1.3
13+
14+
Package: sasl-xoauth2
15+
Architecture: any
16+
Depends: libsasl2-2, ${shlibs:Depends}, ${misc:Depends}
17+
Description: SASL extension for XOAUTH2.

packaging/ubuntu-eoan/copyright

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Format: http://dep.debian.net/deps/dep5
2+
Upstream-Name: sasl-xoauth2
3+
Source: https://github.com/tarickb/sasl-xoauth2
4+
5+
Files: *
6+
Copyright: 2019 Tarick Bedeir <[email protected]>
7+
License: Apache-2.0
8+
Copyright 2020 Google LLC
9+
.
10+
Licensed under the Apache License, Version 2.0 (the "License");
11+
you may not use this file except in compliance with the License.
12+
You may obtain a copy of the License at
13+
.
14+
http://www.apache.org/licenses/LICENSE-2.0
15+
.
16+
Unless required by applicable law or agreed to in writing, software
17+
distributed under the License is distributed on an "AS IS" BASIS,
18+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
See the License for the specific language governing permissions and
20+
limitations under the License.
21+
.
22+
On debian systems, the complete text of the license can be found in the
23+
/usr/share/common-licenses/Apache-2.0 file.

packaging/ubuntu-eoan/docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
token-store-copy-elision.diff
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Don't use std::move() when building TokenStore as this prevents copy elision.
2+
Index: sasl-xoauth2/src/token_store.cc
3+
===================================================================
4+
--- sasl-xoauth2.orig/src/token_store.cc
5+
+++ sasl-xoauth2/src/token_store.cc
6+
@@ -57,7 +57,7 @@ std::string GetTempSuffix() {
7+
Log *log, const std::string &path) {
8+
std::unique_ptr<TokenStore> store(new TokenStore(log, path));
9+
if (store->Read() != SASL_OK) return {};
10+
- return std::move(store);
11+
+ return store;
12+
}
13+
14+
int TokenStore::GetAccessToken(std::string *token) {

packaging/ubuntu-eoan/rules

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/make -f
2+
3+
%:
4+
dh $@
5+
6+
override_dh_auto_configure:
7+
dh_auto_configure -- -DEnableTests=OFF
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

0 commit comments

Comments
 (0)