app-admin/cockpit: format ebuild, let repoman happy (#988)

Signed-off-by: Register <458892+aieu@users.noreply.github.com>
This commit is contained in:
Register 2021-06-10 19:24:49 +08:00 committed by GitHub
parent 34b1537f00
commit 40d00fc2ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,47 +8,44 @@ RESTRICT="mirror"
DESCRIPTION="A systemd web based user interface for Linux server" DESCRIPTION="A systemd web based user interface for Linux server"
HOMEPAGE="https://cockpit-project.org/" HOMEPAGE="https://cockpit-project.org/"
SRC_URI="https://github.com/cockpit-project/cockpit/releases/download/${PV}/cockpit-${PV}.tar.xz SRC_URI="https://github.com/cockpit-project/cockpit/releases/download/${PV}/cockpit-${PV}.tar.xz
https://github.com/cockpit-project/cockpit/releases/download/${PV}/cockpit-cache-${PV}.tar.xz https://github.com/cockpit-project/cockpit/releases/download/${PV}/cockpit-cache-${PV}.tar.xz"
"
LICENSE="GPL" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
KEYWORDS="amd64 x86" KEYWORDS="amd64 x86"
IUSE="" IUSE=""
DEPEND="virtual/krb5 DEPEND="virtual/krb5
net-libs/libssh[server] net-libs/libssh[server]
sys-apps/accountsservice sys-apps/accountsservice
dev-perl/JSON dev-perl/JSON
dev-perl/Locale-PO dev-perl/Locale-PO
dev-libs/json-glib dev-libs/json-glib
net-libs/glib-networking net-libs/glib-networking
acct-user/cockpit-ws acct-user/cockpit-ws"
"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="${DEPEND} BDEPEND="${DEPEND}
dev-util/gtk-doc dev-util/gtk-doc
dev-libs/gobject-introspection dev-libs/gobject-introspection
net-misc/networkmanager net-misc/networkmanager
app-text/xmlto app-text/xmlto"
"
# libgsystem npm pcp # libgsystem npm pcp
src_configure(){ src_configure(){
econf \ econf \
--libexecdir=/usr/lib/${PN} \ --libexecdir=/usr/lib/${PN} \
--with-nfs-client-package='"nfs-utils"' \ --with-nfs-client-package='"nfs-utils"' \
--with-cockpit-user=cockpit-ws \ --with-cockpit-user=cockpit-ws \
--with-cockpit-ws-instance-user=cockpit-ws \ --with-cockpit-ws-instance-user=cockpit-ws \
--disable-pcp --disable-pcp
} }
src_install(){ src_install() {
emake DESTDIR="${D}" install emake DESTDIR="${D}" install
insinto /etc/pam.d/ insinto /etc/pam.d/
newins ${FILESDIR}/cockpit.pam cockpit newins "${FILESDIR}/cockpit.pam" cockpit
} }