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
Vladislav
eepm
Commits
f04b9035
Commit
f04b9035
authored
Apr 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: improve AlpineLinux support
parent
546b737b
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
1 deletion
+27
-1
distr_info
bin/distr_info
+1
-1
epm-audit
bin/epm-audit
+3
-0
epm-check
bin/epm-check
+3
-0
epm-checkpkg
bin/epm-checkpkg
+3
-0
epm-filelist
bin/epm-filelist
+4
-0
epm-info
bin/epm-info
+3
-0
epm-policy
bin/epm-policy
+3
-0
etalon.txt
tests/etc/Alpine/etalon.txt
+1
-0
os-release
tests/etc/Alpine/etc/os-release
+6
-0
No files found.
bin/distr_info
View file @
f04b9035
...
...
@@ -194,7 +194,7 @@ case $DISTRIB_ID in
Cygwin
)
CMD
=
"aptcyg"
;;
alpine
)
AlpineLinux
)
CMD
=
"apk"
;;
TinyCoreLinux
)
...
...
bin/epm-audit
View file @
f04b9035
...
...
@@ -26,6 +26,9 @@ case $PMTYPE in
pkgng
)
sudocmd pkg audit
-F
;;
apk
)
sudocmd apk audit
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
;;
...
...
bin/epm-check
View file @
f04b9035
...
...
@@ -76,6 +76,9 @@ case $PMTYPE in
xbps
)
sudocmd xbps-pkgdb
-a
;;
apk
)
sudocmd apk fix
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
;;
...
...
bin/epm-checkpkg
View file @
f04b9035
...
...
@@ -40,6 +40,9 @@ check_pkg_integrity()
# FIXME: debsums -ca package ?
docmd dpkg
--contents
$PKG
>
/dev/null
&&
echo
"Package
$PKG
is correct."
;;
apk
)
docmd apkg verify
$PKG
;;
exe
)
file
$PKG
|
grep
-q
"executable for MS Windows"
;;
...
...
bin/epm-filelist
View file @
f04b9035
...
...
@@ -155,6 +155,10 @@ __epm_filelist_name()
opkg
)
CMD
=
"opkg files"
;;
apk
)
docmd apk manifest
$@
|
sed
-e
's|^sha1.* |/|'
return
;;
eopkg
)
docmd eopkg
--files
-s
info
$@
|
grep
"^/"
return
...
...
bin/epm-info
View file @
f04b9035
...
...
@@ -122,6 +122,9 @@ case $PMTYPE in
opkg
)
docmd opkg info
$pkg_names
;;
apk
)
docmd apk info
$pkg_names
;;
pkgng
)
docmd pkg info
$pkg_names
;;
...
...
bin/epm-policy
View file @
f04b9035
...
...
@@ -37,6 +37,9 @@ case $PMTYPE in
packagekit
)
docmd pkcon resolve
$pkg_names
;;
apk
)
docmd apk policy
$pkg_names
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
;;
...
...
tests/etc/Alpine/etalon.txt
0 → 100644
View file @
f04b9035
AlpineLinux/3.17 alpine/3.17
tests/etc/Alpine/etc/os-release
0 → 100644
View file @
f04b9035
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.0
PRETTY_NAME="Alpine Linux v3.17"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
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