summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-10-03 21:23:05 +0200
committerLouis Sautier <sbraz@gentoo.org>2020-10-03 23:27:40 +0200
commitb3580e5016703be3d6b36c1ce56ed5a01c12482c (patch)
tree03737f1a50b8ed94880118737fddec9d1c097410 /acct-user
parentacct-group/nzbget: new group for net-nntp/nzbget (diff)
downloadgentoo-b3580e5016703be3d6b36c1ce56ed5a01c12482c.tar.gz
gentoo-b3580e5016703be3d6b36c1ce56ed5a01c12482c.tar.bz2
gentoo-b3580e5016703be3d6b36c1ce56ed5a01c12482c.zip
acct-user/nzbget: new user for net-nntp/nzbget
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/nzbget/metadata.xml8
-rw-r--r--acct-user/nzbget/nzbget-0.ebuild16
2 files changed, 24 insertions, 0 deletions
diff --git a/acct-user/nzbget/metadata.xml b/acct-user/nzbget/metadata.xml
new file mode 100644
index 000000000000..44039e87f449
--- /dev/null
+++ b/acct-user/nzbget/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sbraz@gentoo.org</email>
+ <name>Louis Sautier</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/nzbget/nzbget-0.ebuild b/acct-user/nzbget/nzbget-0.ebuild
new file mode 100644
index 000000000000..d7b1ff8b1a14
--- /dev/null
+++ b/acct-user/nzbget/nzbget-0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for net-nntp/nzbget"
+ACCT_USER_ID=398
+ACCT_USER_GROUPS=( ${PN} )
+# Downloads are stored there
+ACCT_USER_HOME=/var/lib/nzbget
+# Grant write access to group members
+ACCT_USER_HOME_PERMS=0770
+
+acct-user_add_deps