You are not logged in.
Pages: 1
Hello Team,
I would like to submit Icockpit-docker PKGBUILD to AUR.
# Maintainer: Furkan Kardame <f.kardame@manjaro.org>
pkgname=cockpit-docker
pkgver=82
pkgrel=1
pkgdesc='Cockpit UI for docker containers'
arch=('any')
url='https://github.com/chabad360/cockpit-docker'
license=(LGPL)
depends=(cockpit docker)
source=("${url}/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('45f265d3d81eea39bec2c0aa68bafcf3c7af764b140993a21be8188285a48f24')
package() {
cd $pkgname
make DESTDIR="$pkgdir" install PREFIX=/usr
}
Please review and submit it. I will be happy to maintain it.
Regards,
Last edited by spikerguy (2023-12-31 11:32:26)
Offline
https://github.com/chabad360/cockpit-do … pendencies mentions gettext, nodejs and make as dependencies .
gettext & make are in base-devel so you don't need to add them.
you should verify whether nodejs is only needed at buildtime or also at runtime.
arch=('any')
After building run namcap on the produced package to verify if there are architecture specific files in it or not.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
https://github.com/chabad360/cockpit-do … pendencies mentions gettext, nodejs and make as dependencies .
gettext & make are in base-devel so you don't need to add them.
you should verify whether nodejs is only needed at buildtime or also at runtime.
arch=('any')
After building run namcap on the produced package to verify if there are architecture specific files in it or not.
Thanks for the quick response.
here is the output
namcap cockpit-docker-13-1-any.pkg.tar.zst
cockpit-docker W: Dependency included, but may not be needed ('cockpit')
cockpit-docker W: Dependency included, but may not be needed ('docker')
there is no architecture specific file in it.
Offline
It seems all you did is copy & paste the upstream PKGBUILD template and added the source. Have you built and run it?
P.S. The community is here to help you review it, however you are responsible for both submitting and maintaining the AUR package. See AUR submission guidelines.
Offline
Hello
Yes I have build and installed it on on nas server.
As mentioned in here
I will be happy to maintain it.
I have submitted it to the AUR now.
Thanks.
Offline
The source URL is incorrect:
==> Retrieving sources...
-> Downloading cockpit-docker-82.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 9 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/chabad360/cockpit-docker/releases/download/82/cockpit-docker-82.tar.xz
Aborting...
==> ERROR: Failed to generate new checksums
The latest release is 13 which is based on cockpit-podman 82. If you change the pkgver to 13, it works and the checksums are the same.
By the way, the PKGBUILD in the cockpit-docker repo was based on the cockpit-podman PKGBUILD in the extra repo.
Last edited by yochananmarqos (2024-01-04 23:54:49)
Offline
Thanks for the review.
I have updated it now and compiled it for testing and updated the aur.
Offline
Pages: 1