Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 24 additions & 27 deletions app-admin/cockpit/cockpit-234.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
"
# libgsystem npm pcp
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
}