Package Details: cockpit-file-sharing 4.2.13-1

Git Clone URL: https://aur.archlinux.org/cockpit-file-sharing.git (read-only, click to copy)
Package Base: cockpit-file-sharing
Description: A Cockpit plugin to easily manage samba and NFS file sharing.
Upstream URL: https://github.com/45Drives/cockpit-file-sharing
Keywords: cockpit cockpit-plugin file filesharing nfs plugin samba
Licenses: GPL-3.0-only
Provides: cockpit-file-sharing
Submitter: brodi1
Maintainer: michael_wzq
Last Packager: michael_wzq
Votes: 10
Popularity: 0.188781
First Submitted: 2022-05-19 14:35 (UTC)
Last Updated: 2025-07-24 01:22 (UTC)

Latest Comments

1 2 3 Next › Last »

noideaman commented on 2025-05-30 02:09 (UTC)

Ok actually figured it out

update package() to this

package() {
  cd "$srcdir/$pkgname" || exit 1
  make DESTDIR="$pkgdir/"
  make DESTDIR="$pkgdir/" install RESTART_COCKPIT=1
}

noideaman commented on 2025-05-30 01:41 (UTC) (edited on 2025-05-30 01:58 (UTC) by noideaman)

Comment out lines 20 and 21

REMOTE_TEST_HOST=192.168.123.5
REMOTE_TEST_USER=root

ok i tried a clean build with it, and it fails

some how running pkgbuild, fail to build, edit makefile, run pkgbuild again works

daniel_shub commented on 2025-05-15 19:59 (UTC)

The package fails to build in a clean chroot because rsync is missing.

@RuneArch this is NOT a cyber security issue. It is trying to call home to a non public IP (192.168.123.5). I am pretty sure it is a bug in the make file (https://github.com/45Drives/cockpit-file-sharing/blob/main/Makefile) where plugin-install- fails at cp -af $/dist/ $(DESTDIR)$(INSTALL_PREFIX)/$*$(INSTALL_SUFFIX) and drops into a remote testing install. That said make files are black magic to me so I have no idea why it is failing or how to fix it.

My guess is it is an Arch issue of how/where the sources are getting unpacked as opposed to upstream, but again it is way over my head.

RuneArch commented on 2025-05-14 07:15 (UTC) (edited on 2025-05-14 07:17 (UTC) by RuneArch)

Not happy seeing this in the logs:

ssh: connect to host 192.168.123.5 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(232) [sender=3.4.1]

Why would an installation package be attempting to ssh or rsync anything?

Nothing obvious in the PKGBUILD or the .git folder, so I'm presuming that a live downloaded package is attempting this... do we have a cyber security issue here?

zed123 commented on 2025-05-13 03:36 (UTC) (edited on 2025-05-30 08:02 (UTC) by zed123)

[...]
dist/index.html                                       0.67 kB │ gzip:   0.36 kB
dist/assets/index-pxqS8i7E.css                    1,214.05 kB │ gzip: 157.74 kB
dist/assets/magic-string.es-Cb3vBffY-BR_V5wlq.js     21.45 kB │ gzip:   7.04 kB │ map:    81.40 kB
dist/assets/index-BxE0gm2N-CXx_dn26.js              221.86 kB │ gzip:  68.42 kB │ map:   794.39 kB
dist/assets/index-dZIUCUCY.js                     1,166.14 kB │ gzip: 639.08 kB │ map: 2,893.98 kB

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 9.42s
Done building file-sharing

ssh: connect to host 192.168.123.5 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(232) [sender=3.4.1]
make: *** [Makefile:116: plugin-install-file-sharing] Error 255
==> ERROR: A failure occurred in package().
    Aborting...

Command 'sudo --user=#1000 --preserve-env=VISUAL,EDITOR -- makepkg --force' failed to execute.

Any idea why it want to connect to "192.168.123.5"!??

simona commented on 2025-04-17 14:56 (UTC) (edited on 2025-04-17 14:56 (UTC) by simona)


cp -af system_files/* /home/simona/.cache/yay/cockpit-file-sharing/pkg/cockpit-file-sharing//
cp: impossibile eseguire stat di 'system_files/*': File o directory not exist
make: [Makefile:124: system-files-install] Error 1 (ignored)

DreamMastR commented on 2025-04-17 12:13 (UTC)

Current release 4.2.10 is stable.

From the release notes:

"Merges prerelease packages into stable."

linux-aarhus commented on 2025-03-18 11:34 (UTC)

The latest release tag is now at 4.2.9

https://github.com/45Drives/cockpit-file-sharing/releases/tag/v4.2.9

B_Rad15 commented on 2024-07-16 22:04 (UTC) (edited on 2024-07-16 22:05 (UTC) by B_Rad15)

To the out-of-date marks in my opinion this package should not be updated to 4.1 yet as it is still listed as pre-release https://github.com/45Drives/cockpit-file-sharing/releases/tag/v4.1.0 I feel like this kinda version would only be appropriate for a "-git" style package https://wiki.archlinux.org/title/Arch_User_Repository#What_is_the_difference_between_foo_and_foo-git_packages?

If there's evidence that 45drives is distributing this version I'd be for updating it but the repo I see 45drives distributing still has it at 3.3.7