Package Details: shc 4.0.3-1

Git Clone URL: https://aur.archlinux.org/shc.git (read-only, click to copy)
Package Base: shc
Description: Converts shell script to C source code, and then compiles it. Do NOT use this to encrypt your scripts as it is not meant to be used for that.
Upstream URL: https://github.com/neurobin/shc
Licenses: GPL
Provides: shc
Submitter: None
Maintainer: severach (onefire)
Last Packager: severach
Votes: 38
Popularity: 1.09
First Submitted: 2005-07-05 00:13 (UTC)
Last Updated: 2023-03-24 18:17 (UTC)

Dependencies (0)

Required by (4)

Sources (2)

Latest Comments

1 2 3 Next › Last »

blackhole commented on 2025-09-18 12:01 (UTC)

Please add aarch64 to arch line. Tested and working fine

eclairevoyant commented on 2023-03-24 17:59 (UTC)

arch=(any) is incorrect here, this is an ELF executable meaning it should be set to x86_64 and any other supported architectures

nonie689 commented on 2022-06-22 00:10 (UTC)

for what do you need set -u/+u

the shc-git works without the set -u/+u

Is set +u the try to break out of the fakeroot????

Muflone commented on 2022-02-22 23:03 (UTC)

please update the source URL as it's currently broken

severach commented on 2016-09-27 20:50 (UTC)

We know it's not your glibc because my generated executable links to your glibc and works. The solution comes in two steps. First work with your compiler until you can compile the generated C source into a working executable. gcc -s -o pub.sh.x pub.sh.x.c Once you have that working your compiler should be able to produce a working shc package. % pacman -Qs gcc-multilib local/gcc-multilib 6.2.1-1 (multilib-devel) The compiler version shouldn't be a problem. There were no complaints when gcc53 was the latest.

sacarde commented on 2016-09-27 18:49 (UTC)

I receive your files 1) your bin pub.sh.x works OK 2) I installed your shc pkg.tar.gz 3) using your pub.sh I build it in my system (shc -f pub.sh) - your and my pub.sh.x.c are equal - but my pub.sh.x not works (cpu 100%) p.s. I have: glibc-2.24-2 lib32-glibc-2.24-2

sacarde commented on 2016-09-27 09:22 (UTC)

I uncommenti line in PKGBUILD only: patch -p0 -c < '../disableencryption.diff' and rebuild shc p.s. can you share your shc-3.9.3-1-any.pkg.tar.xz ?

severach commented on 2016-09-27 09:13 (UTC)

Your link has the same file as before.

sacarde commented on 2016-09-27 08:58 (UTC) (edited on 2016-09-27 09:00 (UTC) by sacarde)

I build shc enabling patch, http://digilander.libero.it/sacarde/np/PKGBUILD and this is result: http://digilander.libero.it/sacarde/np/pub.sh.x.c p.s. which version of gcc are you using?

sacarde commented on 2016-09-26 07:07 (UTC)

I use: - gcc-libs-multilib 5.3.0-3 - gcc-multilib 5.3.0-3 - lib32-gcc-libs 5.3.0-3 with: http://digilander.libero.it/sacarde/np/makepkg.conf p.s. I will try build with: patch -p0 -c < '../disableencryption.diff' thanks