Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
623d1281
Commit
623d1281
authored
Nov 01, 2025
by
CatSema
Committed by
Vitaly Lipatov
Nov 01, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add karing
parent
9e4c639d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
karing.sh
play.d/karing.sh
+36
-0
karing.sh
repack.d/karing.sh
+26
-0
No files found.
play.d/karing.sh
0 → 100644
View file @
623d1281
#!/bin/sh
PKGNAME
=
karing
VERSION
=
"
$2
"
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Simple & Powerful proxy utility - singbox GUI based on flutter"
URL
=
"https://karing.app/"
.
$(
dirname
$0
)
/common.sh
case
"
$(
epm print info
-p
)
"
in
rpm
)
pkgtype
=
rpm
;;
*
)
pkgtype
=
deb
;;
esac
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
$(
get_github_url
"https://github.com/KaringX/karing/"
"karing_*_linux_amd64.
$pkgtype
"
)
else
PKGURL
=
"https://github.com/KaringX/karing/releases/download/v
${
VERSION
}
/karing_
${
VERSION
}
_linux_amd64.
$pkgtype
"
fi
install_pkgurl
cat
<<
EOF
Note: For TUN mode functionality, sudo must be enabled in the system:
$
su -
# control sudowheel enabled
# exit
This allows Karing to create TUN interfaces for system-wide traffic routing.
EOF
repack.d/karing.sh
0 → 100644
View file @
623d1281
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
karing
PRODUCTDIR
=
/opt/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
move_to_opt /usr/share/karing
# Add dependency on libcurl4-openssl
add_requires
"libcurl4-openssl"
# Create wrapper script instead of direct link for libcurl4-openssl compatibility
cat
<<
EOF
| create_exec_file "/usr/bin/karing"
#!/bin/sh
export LD_LIBRARY_PATH="/usr/lib64/libcurl4-openssl:\
$LD_LIBRARY_PATH
"
exec "
$PRODUCTDIR
/karing" "\
$@
"
EOF
fix_desktop_file
"Categories=Applications/Internet;"
"Categories=Network;Internet;"
add_libs_requires
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment