From 457567ab1a6d7922ed3342c7d59acc63e8f2b2c9b3eb0d38bc3dc61ddc87d0bb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 15 Sep 2019 07:03:50 +0000 Subject: [PATCH] Accepting request 729574 from home:mnhauke Initial package for doh OBS-URL: https://build.opensuse.org/request/show/729574 OBS-URL: https://build.opensuse.org/package/show/network:utilities/doh?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ _service | 13 +++++++++ _servicedata | 4 +++ doh-0.0.0+git.20190908.tar.xz | 3 +++ doh.changes | 4 +++ doh.spec | 51 +++++++++++++++++++++++++++++++++++ 6 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 doh-0.0.0+git.20190908.tar.xz create mode 100644 doh.changes create mode 100644 doh.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..cc66d72 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + https://github.com/curl/doh.git + git + enable + 0.0.0+git.%cd + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..f853dfa --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/curl/doh.git + 9c4a78588ac66c091ddc34816547c346cab10930 \ No newline at end of file diff --git a/doh-0.0.0+git.20190908.tar.xz b/doh-0.0.0+git.20190908.tar.xz new file mode 100644 index 0000000..e6aa76a --- /dev/null +++ b/doh-0.0.0+git.20190908.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:844e51d97f100d14ae895bf04afa78999ad46902adec5a18183cc18d72bb26a7 +size 7576 diff --git a/doh.changes b/doh.changes new file mode 100644 index 0000000..a22d88d --- /dev/null +++ b/doh.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Sep 9 20:33:49 UTC 2019 - Martin Hauke + +- Initial package, version 0.0.0+git.20190908 diff --git a/doh.spec b/doh.spec new file mode 100644 index 0000000..da4b4e7 --- /dev/null +++ b/doh.spec @@ -0,0 +1,51 @@ +# +# spec file for package doh +# +# Copyright (c) 2019, Martin Hauke +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: doh +Version: 0.0.0+git.20190908 +Release: 0 +Summary: Simple DoH (DNS-over-HTTPS) client +License: MIT +Group: Productivity/Networking/DNS/Utilities +URL: https://github.com/curl/doh +#Git-Clone: https://github.com/curl/doh.git +Source: %{name}-%{version}.tar.xz +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libcurl) + +%description +A libcurl-using application that resolves a host name using +DNS-over-HTTPS (DOH). +This code uses POST requests unconditionally for this. + +%prep +%setup -q + +%build +export CFLAGS="%{optflags}" +make %{?_smp_mflags} + +%install +install -Dm 0755 doh %{buildroot}%{_bindir}/doh + +%files +%license LICENSE +%doc README.md +%{_bindir}/doh + +%changelog