mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 07:18:58 -04:00
app-admin/cockpit: format ebuild, let repoman happy (#988)
Signed-off-by: Register <458892+aieu@users.noreply.github.com>
This commit is contained in:
parent
34b1537f00
commit
40d00fc2ad
@ -8,47 +8,44 @@ RESTRICT="mirror"
|
||||
DESCRIPTION="A systemd web based user interface for Linux server"
|
||||
HOMEPAGE="https://cockpit-project.org/"
|
||||
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"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/krb5
|
||||
net-libs/libssh[server]
|
||||
sys-apps/accountsservice
|
||||
dev-perl/JSON
|
||||
dev-perl/Locale-PO
|
||||
dev-libs/json-glib
|
||||
net-libs/glib-networking
|
||||
acct-user/cockpit-ws
|
||||
"
|
||||
net-libs/libssh[server]
|
||||
sys-apps/accountsservice
|
||||
dev-perl/JSON
|
||||
dev-perl/Locale-PO
|
||||
dev-libs/json-glib
|
||||
net-libs/glib-networking
|
||||
acct-user/cockpit-ws"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="${DEPEND}
|
||||
dev-util/gtk-doc
|
||||
dev-libs/gobject-introspection
|
||||
net-misc/networkmanager
|
||||
app-text/xmlto
|
||||
"
|
||||
dev-util/gtk-doc
|
||||
dev-libs/gobject-introspection
|
||||
net-misc/networkmanager
|
||||
app-text/xmlto"
|
||||
|
||||
# libgsystem npm pcp
|
||||
|
||||
|
||||
src_configure(){
|
||||
econf \
|
||||
--libexecdir=/usr/lib/${PN} \
|
||||
--with-nfs-client-package='"nfs-utils"' \
|
||||
--with-cockpit-user=cockpit-ws \
|
||||
--with-cockpit-ws-instance-user=cockpit-ws \
|
||||
--disable-pcp
|
||||
econf \
|
||||
--libexecdir=/usr/lib/${PN} \
|
||||
--with-nfs-client-package='"nfs-utils"' \
|
||||
--with-cockpit-user=cockpit-ws \
|
||||
--with-cockpit-ws-instance-user=cockpit-ws \
|
||||
--disable-pcp
|
||||
}
|
||||
|
||||
src_install(){
|
||||
emake DESTDIR="${D}" install
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc/pam.d/
|
||||
newins ${FILESDIR}/cockpit.pam cockpit
|
||||
insinto /etc/pam.d/
|
||||
newins "${FILESDIR}/cockpit.pam" cockpit
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user