summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acct-user/restic-rest-server/metadata.xml8
-rw-r--r--acct-user/restic-rest-server/restic-rest-server-0.ebuild13
2 files changed, 21 insertions, 0 deletions
diff --git a/acct-user/restic-rest-server/metadata.xml b/acct-user/restic-rest-server/metadata.xml
new file mode 100644
index 0000000..2696d57
--- /dev/null
+++ b/acct-user/restic-rest-server/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>eva@gentoo.org</email>
+ <name>Gilles Dartiguelongue</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/restic-rest-server/restic-rest-server-0.ebuild b/acct-user/restic-rest-server/restic-rest-server-0.ebuild
new file mode 100644
index 0000000..7e7a448
--- /dev/null
+++ b/acct-user/restic-rest-server/restic-rest-server-0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-user
+
+DESCRIPTION="Restic REST server user"
+ACCT_USER_ID=-1
+ACCT_USER_GROUPS=( ${PN} )
+ACCT_USER_HOME="/var/lib/${PN}"
+
+acct-user_add_deps