aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-01-05 06:31:55 +0800
committerfeld <feld@FreeBSD.org>2017-01-05 06:31:55 +0800
commit408053c7440d61c341bbb726d28480326cac5820 (patch)
treeb47ed9eae3b133a929dbc2c6b0d33e2dd012d330
parent43e8bdab43002eac77a2a954a9c82a7d7f3be3d4 (diff)
downloadfreebsd-ports-gnome-408053c7440d61c341bbb726d28480326cac5820.tar.gz
freebsd-ports-gnome-408053c7440d61c341bbb726d28480326cac5820.tar.zst
freebsd-ports-gnome-408053c7440d61c341bbb726d28480326cac5820.zip
net-p2p/couchpotato: Create a user account for couchpotato
Reported by: mat MFH: 2017Q1
-rw-r--r--UIDs2
-rw-r--r--net-p2p/couchpotato/Makefile4
-rw-r--r--net-p2p/couchpotato/files/couchpotato.in2
3 files changed, 5 insertions, 3 deletions
diff --git a/UIDs b/UIDs
index f130e901f31a..77eb8794173a 100644
--- a/UIDs
+++ b/UIDs
@@ -896,7 +896,7 @@ mediatomb:*:946:946::0:0:Mediatomb UPnP AV MediaServer:/nonexistent:/usr/sbin/no
mapred:*:947:955::0:0:Hadoop MapReduce user:/nonexistent:/usr/sbin/nologin
dnrd:*:948:948::0:0:& user:/nonexistent:/usr/sbin/nologin
_lldpd:*:949:949::0:0:lldpd user:/nonexistent:/usr/sbin/nologin
-# free: 950
+couchpotato:*:950:65534::0:0:couchpotato user:/nonexistent:/usr/sbin/nologin
openerpd:*:951:951::0:0:Openerpd user:/nonexistent:/usr/sbin/nologin
bitten-slave:*:952:952:daemon:0:0:Bitten slave user:/var/lib/bitten-slave:/usr/sbin/nologin
_neubot:*:953:953::0:0:neubot daemon:/nonexistent:/usr/sbin/nologin
diff --git a/net-p2p/couchpotato/Makefile b/net-p2p/couchpotato/Makefile
index a108abef46cf..0c93aa5acbb0 100644
--- a/net-p2p/couchpotato/Makefile
+++ b/net-p2p/couchpotato/Makefile
@@ -3,7 +3,7 @@
PORTNAME= couchpotato
PORTVERSION= 0.0.20161225
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p python
MAINTAINER= feld@FreeBSD.org
@@ -24,6 +24,8 @@ NO_BUILD= yes
USES= python shebangfix
SHEBANG_FILES= CouchPotato.py
+USERS= couchpotato
+
USE_GITHUB= yes
GH_ACCOUNT= CouchPotato
GH_PROJECT= CouchPotatoServer
diff --git a/net-p2p/couchpotato/files/couchpotato.in b/net-p2p/couchpotato/files/couchpotato.in
index 0193b824c2b4..e2106d1bdd18 100644
--- a/net-p2p/couchpotato/files/couchpotato.in
+++ b/net-p2p/couchpotato/files/couchpotato.in
@@ -23,7 +23,7 @@ rcvar=couchpotato_enable
load_rc_config ${name}
: ${couchpotato_enable:=NO}
-: ${couchpotato_user:=nobody}
+: ${couchpotato_user:=couchpotato}
: ${couchpotato_datadir=/var/db/couchpotato}
: ${couchpotato_conf=%%ETCDIR%%/settings.conf}