⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
jailkit
/
Edit File: build-devel-deb.sh
#!/bin/bash # Build and publish a package, called by github actions # echo, exit on error/undefined vars set -xeu MOD='jailkit' NAME="webmin-$MOD" # Always increasing. Also a human-readable datetime. BUILD=$(date +'%Y%m%d%H%M') # Load module.info to get version version=$(grep version $MOD/module.info | cut -d'=' -f2) VERSION="${version}.devel.${BUILD}" mkdir tmp perl makemoduledeb.pl --deb-depends --licence 'GPLv3' --email 'joe@virtualmin.com' --allow-overwrite --target-dir tmp "$MOD" "$VERSION" mv "tmp/${NAME}_${VERSION}_all.deb" . # Publish to aptly curl --user $APTLY_USER:$APTLY_PASSWD -X POST -F file=@${NAME}_${VERSION}_all.deb https://aptly.virtualmin.com/api/files/${NAME}_${VERSION} curl --user $APTLY_USER:$APTLY_PASSWD -X POST https://aptly.virtualmin.com/api/repos/virtualmin-7-gpl-devel/file/${NAME}_${VERSION} curl -i --user $APTLY_USER:$APTLY_PASSWD -X PUT -H 'Content-Type: application/json' --data '{}' https://aptly.virtualmin.com/api/publish/filesystem:7-gpl:./virtualmin-devel
Simpan