You are not logged in.

#1 2023-12-31 10:13:35

spikerguy
Member
Registered: 2023-07-30
Posts: 6

[PKGBUILD] cockpit-docker

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

#2 2023-12-31 10:32:31

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,394

Re: [PKGBUILD] cockpit-docker

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 to complicated ?
Try clean chroot manager by graysky

Offline

#3 2023-12-31 10:55:33

spikerguy
Member
Registered: 2023-07-30
Posts: 6

Re: [PKGBUILD] cockpit-docker

Lone_Wolf wrote:

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

#4 2024-01-01 23:54:48

yochananmarqos
Member
Registered: 2020-02-05
Posts: 205

Re: [PKGBUILD] cockpit-docker

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

#5 2024-01-04 10:18:43

spikerguy
Member
Registered: 2023-07-30
Posts: 6

Re: [PKGBUILD] cockpit-docker

Hello

Yes I have build and installed it on on nas server.

As mentioned in here

spikerguy wrote:

I will be happy to maintain it.

I have submitted it to the AUR now.

Thanks.

Offline

#6 2024-01-04 23:50:11

yochananmarqos
Member
Registered: 2020-02-05
Posts: 205

Re: [PKGBUILD] cockpit-docker

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

#7 2024-01-06 17:46:54

spikerguy
Member
Registered: 2023-07-30
Posts: 6

Re: [PKGBUILD] cockpit-docker

Thanks for the review.

I have updated it now and compiled it for testing and updated the aur.

Offline

Board footer

Powered by FluxBB