Sync from SUSE:SLFO:Main publicsuffix revision 15cec55b0f7adf300e999efc1edfacdb

This commit is contained in:
Adrian Schröter 2024-05-03 19:40:59 +02:00
commit b6aee0d3aa
7 changed files with 1486 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/publicsuffix/list.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">publicsuffix</param>
<param name="versionformat">%cd</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/publicsuffix/list.git</param>
<param name="changesrevision">a304485800b4b6b796fcccbb3be1585f189ee038</param></service></servicedata>

BIN
publicsuffix-20230426.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

1376
publicsuffix.changes Normal file

File diff suppressed because it is too large Load Diff

4
publicsuffix.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: publicsuffix
version: 20230426
mtime: 1682535033
commit: a304485800b4b6b796fcccbb3be1585f189ee038

61
publicsuffix.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package publicsuffix
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2015 yaneti@declera.com
#
# 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: publicsuffix
Version: 20230426
Release: 0
Summary: Cross-vendor public domain suffix database
License: MPL-2.0
URL: https://publicsuffix.org/
Source0: %{name}-%{version}.tar.gz
BuildRequires: psl-make-dafsa
BuildArch: noarch
%description
The Public Suffix List is a cross-vendor initiative to provide
an accurate list of domain name suffixes, maintained by the hard work
of Mozilla volunteers and by submissions from registries.
Software using the Public Suffix List will be able to determine where
cookies may and may not be set, protecting the user from being
tracked across sites.
%prep
%autosetup
%build
psl-make-dafsa \
--input-format=psl \
--output-format=binary \
public_suffix_list.dat public_suffix_list.dafsa
%check
%make_build test-syntax
%install
install -m 644 -p -D public_suffix_list.dat \
%{buildroot}/%{_datadir}/%{name}/public_suffix_list.dat
ln -s public_suffix_list.dat %{buildroot}/%{_datadir}/%{name}/effective_tld_names.dat
install -m 644 -p -D public_suffix_list.dafsa \
%{buildroot}/%{_datadir}/%{name}/public_suffix_list.dafsa
%files
%license LICENSE
%{_datadir}/%{name}
%changelog