1 |
On 04/08/2019 20:11, Conrad Kostecki wrote: |
2 |
> Package-Manager: Portage-2.3.70, Repoman-2.3.16 |
3 |
> Signed-off-by: Conrad Kostecki <conrad@××××××××.com> |
4 |
> --- |
5 |
> acct-user/unifi/metadata.xml | 22 ++++++++++++++++++++++ |
6 |
> acct-user/unifi/unifi-0.ebuild | 15 +++++++++++++++ |
7 |
> 2 files changed, 37 insertions(+) |
8 |
> create mode 100644 acct-user/unifi/metadata.xml |
9 |
> create mode 100644 acct-user/unifi/unifi-0.ebuild |
10 |
> |
11 |
> diff --git a/acct-user/unifi/metadata.xml b/acct-user/unifi/metadata.xml |
12 |
> new file mode 100644 |
13 |
> index 00000000000..57ba2066974 |
14 |
> --- /dev/null |
15 |
> +++ b/acct-user/unifi/metadata.xml |
16 |
> @@ -0,0 +1,22 @@ |
17 |
> +<?xml version="1.0" encoding="UTF-8"?> |
18 |
> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
> +<pkgmetadata> |
20 |
> + <maintainer type="person"> |
21 |
> + <email>bkohler@g.o</email> |
22 |
> + <name>Ben Kohler</name> |
23 |
> + </maintainer> |
24 |
> + <maintainer type="person"> |
25 |
> + <email>ck+gentoo@××××××××.de</email> |
26 |
> + <name>Conrad Kostecki</name> |
27 |
> + </maintainer> |
28 |
> + <maintainer type="project"> |
29 |
> + <email>proxy-maint@g.o</email> |
30 |
> + <name>Proxy Maintainers</name> |
31 |
> + </maintainer> |
32 |
> + <longdescription> |
33 |
> + UniFi is a management controller software for Ubiquiti UniFi APs. |
34 |
> + It's purpose is to configure and monitor all those APs. |
35 |
|
36 |
"Its purpose", I just fixed it inside the main package's metadata.xml: |
37 |
|
38 |
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefdaf99782da77ac7a8b8ada79263482b09ede2 |
39 |
|
40 |
> + Also all kind of statistics are collected, which can be accessed through UniFi. |
41 |
> + There is also an internal RADIUS server, which can be used for WPA2-Enterprise. |
42 |
> + </longdescription> |
43 |
> +</pkgmetadata> |
44 |
> diff --git a/acct-user/unifi/unifi-0.ebuild b/acct-user/unifi/unifi-0.ebuild |
45 |
> new file mode 100644 |
46 |
> index 00000000000..0f750e70188 |
47 |
> --- /dev/null |
48 |
> +++ b/acct-user/unifi/unifi-0.ebuild |
49 |
> @@ -0,0 +1,15 @@ |
50 |
> +# Copyright 2019 Gentoo Authors |
51 |
> +# Distributed under the terms of the GNU General Public License v2 |
52 |
> + |
53 |
> +EAPI=7 |
54 |
> + |
55 |
> +inherit acct-user |
56 |
> + |
57 |
> +DESCRIPTION="A user for the UniFi Controller" |
58 |
> + |
59 |
> +ACCT_USER_GROUPS=( "unifi" ) |
60 |
> +ACCT_USER_HOME="/var/lib/unifi" |
61 |
> +ACCT_USER_HOME_OWNER="unifi:unifi" |
62 |
> +ACCT_USER_ID="113" |
63 |
> + |
64 |
> +acct-user_add_deps |