diff --git a/.files b/.files
new file mode 100644
index 0000000..9916bcd
Binary files /dev/null and b/.files differ
diff --git a/.meta b/.meta
new file mode 100644
index 0000000..226440a
--- /dev/null
+++ b/.meta
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/.rev b/.rev
new file mode 100644
index 0000000..ff8870f
--- /dev/null
+++ b/.rev
@@ -0,0 +1,10 @@
+
+
+ 0228de807f5589174bfd54c93cbf81e8
+ 20220921.1b436b1
+
+ dimstar_suse
+ Create html pages from manpages
+ 1005249
+
+
diff --git a/.servicemark b/.servicemark
new file mode 100644
index 0000000..ae49f3a
--- /dev/null
+++ b/.servicemark
@@ -0,0 +1 @@
+e88158f044b1aec759671881c3e120af
diff --git a/_service b/_service
new file mode 100644
index 0000000..b7f1e74
--- /dev/null
+++ b/_service
@@ -0,0 +1,14 @@
+
+
+ https://github.com/thkukuk/rpm2docserv.git
+ git
+ main
+ %cd.%h
+ enable
+
+
+ *.tar
+ xz
+
+
+
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..ba1d914
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,5 @@
+
+
+ https://github.com/thkukuk/rpm2docserv.git
+ 1b436b17a48bd58c7e3ade67208f388226eee35a
+
\ No newline at end of file
diff --git a/rpm2docserv-20220921.1b436b1.tar.xz b/rpm2docserv-20220921.1b436b1.tar.xz
new file mode 120000
index 0000000..586fe6e
--- /dev/null
+++ b/rpm2docserv-20220921.1b436b1.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafybeibg6tqa4o3zu46qlcpt43htm7mewgx4rmy5h4jszbzpspkftx2yz4
\ No newline at end of file
diff --git a/rpm2docserv.changes b/rpm2docserv.changes
new file mode 100644
index 0000000..f76c357
--- /dev/null
+++ b/rpm2docserv.changes
@@ -0,0 +1,112 @@
+-------------------------------------------------------------------
+Wed Sep 21 14:58:24 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220921.1b436b1:
+ * Add config for apache RewriteMap
+ * Add more documentation
+ * Add rewrite rules
+ * Create container using MicroOS config
+ * Add self signed certificate
+ * Add example config for Tumbleweed
+ * Add apache2 configs
+ * Add tool to create apache rewrite map
+ * Fix cleanup of bin directory
+
+-------------------------------------------------------------------
+Thu Sep 08 13:31:01 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220908.b6c57bc:
+ * Fix GENERATED_bundled.go
+
+-------------------------------------------------------------------
+Thu Sep 08 13:20:24 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220908.043e053:
+ * Make the templates more configureable (e.g. Tumbleweed vs MicroOS)
+ * Cleanup TODO list
+ * Use rpm version struct, sort according suite/binarypkg/version
+ * Sort package list to have higher versions first
+
+-------------------------------------------------------------------
+Thu Sep 08 06:37:36 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220908.347af2c:
+ * Disable dhparam.pem generation, slowdowns start of container too much
+
+-------------------------------------------------------------------
+Thu Sep 08 06:03:51 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220908.919f918:
+ * Update go.mod and go.sum
+
+-------------------------------------------------------------------
+Thu Sep 08 05:58:02 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220908.24fb5ea:
+ * Provide https support with self signed certificates
+ * Support multiple products and multiple caches per product
+ * Adjust docu
+
+-------------------------------------------------------------------
+Tue Sep 06 15:54:25 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220906.ca795b9:
+ * Fix wrong error check
+
+-------------------------------------------------------------------
+Tue Sep 06 13:54:28 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220906.3bbe357:
+ * Read informations from RPM if we cannot split RPM name
+ * Add script to build container with correct args
+
+-------------------------------------------------------------------
+Tue Sep 06 09:48:04 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220906.2b1b6c3:
+ * Fix some typos and grant capability to get network port
+
+-------------------------------------------------------------------
+Tue Sep 06 09:18:58 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220906.16db3f7:
+ * Add sysusers templates for systemd services
+
+-------------------------------------------------------------------
+Tue Sep 6 08:10:07 UTC 2022 - Thorsten Kukuk
+
+- Create docserv-config-nginx
+
+-------------------------------------------------------------------
+Tue Sep 06 07:15:53 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220906.54b1d83:
+ * Regenerate bundled templates
+
+-------------------------------------------------------------------
+Mon Sep 05 09:41:54 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220905.e06bf4f:
+ * Fist CSS changes from Alexandre Vicenzi
+ * Separate manpages by binary and source package in index
+
+-------------------------------------------------------------------
+Fri Sep 02 10:03:10 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220902.ec7c5b0:
+ * Add systemd service files
+
+-------------------------------------------------------------------
+Thu Sep 01 13:37:46 UTC 2022 - kukuk@suse.com
+
+- Update to version 20220901.e5c886b:
+ * Update TODO List
+ * Correct check of return value of getUpdateAlternatives
+ * Relax in a second search round strict Section match
+ * Follow symlinks alredy when unpacking RPMs, code optimization
+ * Try to find missing manpages with xref index
+ * Make sure binary search does not go outside range
+ * Handle .gz in .so references
+ * Update Makefile and go.* files
+ * Rewrite unpacking and renaming of manpages
+ * Store full source rpm name, too
diff --git a/rpm2docserv.spec b/rpm2docserv.spec
new file mode 100644
index 0000000..41cbdad
--- /dev/null
+++ b/rpm2docserv.spec
@@ -0,0 +1,151 @@
+#
+# spec file for package rpm2docserv
+#
+# Copyright (c) 2022 SUSE LLC
+#
+# 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: rpm2docserv
+Version: 20220921.1b436b1
+Release: 0
+Summary: Make manpages from RPMs accessible in a web browser
+License: Apache-2.0
+URL: https://github.com/thkukuk/rpm2docserv
+Source: rpm2docserv-%{version}.tar.xz
+BuildRequires: golang(API) >= 1.18
+BuildRequires: sysuser-shadow
+BuildRequires: sysuser-tools
+# To re-create:
+# git clone https://github.com/Debian/debiman
+# cd rpm2docserv; make vendor; cd ..
+# osc service
+
+%description
+rpm2docserv extracts manual pages from RPM packages and makes them accessible in a web browser.
+
+%package -n docserv-auxserver
+Summary: Docserv auxiliary service endpoints
+%{sysusers_requires}
+
+%description -n docserv-auxserver
+docserv-auxserver has a very efficient, small map to redirect to the correct manual page for rpm2docserv created html repositories.
+
+%package -n docserv-minisrv
+Summary: Simple docserv webserver
+%{sysusers_requires}
+
+%description -n docserv-minisrv
+Simple docserv webserver with integrated auxserver for development and test purposes. Not for production.
+
+%package -n docserv-config-nginx
+Summary: Configuration files for nginx to serve docserv directory
+BuildArch: noarch
+
+%description -n docserv-config-nginx
+This package contains example configuration files for nginx to act as web server for docserv manpages.
+
+%package -n docserv-config-apache2
+Summary: Configuration files for Apache 2.4 to serve docserv directory
+BuildArch: noarch
+
+%description -n docserv-config-apache2
+This package contains example configuration files for Apache 2.4 to act as web server for docserv manpages.
+
+
+%prep
+%setup -q
+
+%build
+%make_build build VERSION=%{version} USE_VENDOR="-mod vendor"
+
+%sysusers_generate_pre systemd/system-user-docserv-aux.conf docserv-aux system-user-docserv-aux.conf
+%sysusers_generate_pre systemd/system-user-docserv-srv.conf docserv-srv system-user-docserv-srv.conf
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+install -m 755 bin/rpm2docserv %{buildroot}%{_bindir}/
+mkdir -p %{buildroot}%{_sbindir}
+install -m 755 bin/docserv-auxserver %{buildroot}%{_sbindir}/
+install -m 755 bin/docserv-minisrv %{buildroot}%{_sbindir}/
+install -m 755 bin/docserv-idx2rwmap %{buildroot}%{_bindir}/
+
+install -D -m 0644 systemd/docserv-auxserver.service %{buildroot}%{_unitdir}/docserv-auxserver.service
+install -D -m 0644 systemd/docserv-auxserver.default %{buildroot}%{_distconfdir}/default/docserv-auxserver
+install -D -m 0644 systemd/docserv-minisrv.service %{buildroot}%{_unitdir}/docserv-minisrv.service
+install -D -m 0644 systemd/docserv-minisrv.default %{buildroot}%{_distconfdir}/default/docserv-minisrv
+mkdir -p %{buildroot}%{_sysusersdir}/
+install -m 644 systemd/system-user-*.conf %{buildroot}%{_sysusersdir}/
+
+# nginx container
+mkdir -p %{buildroot}%{_datadir}/docserv/nginx
+install -m 755 nginx/*.sh %{buildroot}%{_datadir}/docserv/nginx/
+install -m 644 nginx/*.conf %{buildroot}%{_datadir}/docserv/nginx/
+
+# apache configuration
+mkdir -p %{buildroot}%{_datadir}/docserv/apache2
+install -m 644 apache2/* %{buildroot}%{_datadir}/docserv/apache2/
+
+%pre -n docserv-auxserver -f docserv-aux.pre
+%service_add_pre docserv-auxserver.service
+
+%post -n docserv-auxserver
+%service_add_post docserv-auxserver.service
+
+%preun -n docserv-auxserver
+%service_del_preun docserv-auxserver.service
+
+%postun -n docserv-auxserver
+%service_del_postun docserv-auxserver.service
+
+%pre -n docserv-minisrv -f docserv-srv.pre
+%service_add_pre docserv-minisrv.service
+
+%post -n docserv-minisrv
+%service_add_post docserv-minisrv.service
+
+%preun -n docserv-minisrv
+%service_del_preun docserv-minisrv.service
+
+%postun -n docserv-minisrv
+%service_del_postun docserv-minisrv.service
+
+%files
+%license LICENSE
+%{_bindir}/rpm2docserv
+%{_bindir}/docserv-idx2rwmap
+
+%files -n docserv-auxserver
+%license LICENSE
+%{_sbindir}/docserv-auxserver
+%{_unitdir}/docserv-auxserver.service
+%{_sysusersdir}/system-user-docserv-aux.conf
+%{_distconfdir}/default/docserv-auxserver
+
+%files -n docserv-minisrv
+%license LICENSE
+%{_sbindir}/docserv-minisrv
+%{_unitdir}/docserv-minisrv.service
+%{_sysusersdir}/system-user-docserv-srv.conf
+%{_distconfdir}/default/docserv-minisrv
+
+%files -n docserv-config-nginx
+%dir %{_datadir}/docserv
+%{_datadir}/docserv/nginx
+
+%files -n docserv-config-apache2
+%dir %{_datadir}/docserv
+%{_datadir}/docserv/apache2
+
+
+%changelog