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
3f3429a8
Commit
3f3429a8
authored
May 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add webdavmailrucloud
parent
cfbf968a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
0 deletions
+63
-0
webdavmailrucloud.sh
pack.d/webdavmailrucloud.sh
+22
-0
webdavmailrucloud.sh
play.d/webdavmailrucloud.sh
+13
-0
webdavmailrucloud.sh
repack.d/webdavmailrucloud.sh
+28
-0
No files found.
pack.d/webdavmailrucloud.sh
0 → 100755
View file @
3f3429a8
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
if
echo
"
$TAR
"
|
grep
-q
"WebDAVCloudMailRu-.*.zip"
;
then
erc
"
$TAR
"
||
fatal
else
fatal
"We support only WebDAVCloudMailRu....zip"
fi
rm
-v
"
$TAR
"
VERSION
=
"
$(
echo
"
$TAR
"
|
sed
-e
's|.*WebDAVCloudMailRu-||'
-e
's|-.*||'
)
"
mkdir
opt
mv
WebDAVCloudMailRu
*
opt/WebDAVCloudMailRu
||
fatal
PKGNAME
=
webdavmailrucloud-
$VERSION
.tar
erc pack
$PKGNAME
opt/WebDAVCloudMailRu
return_tar
$PKGNAME
play.d/webdavmailrucloud.sh
0 → 100755
View file @
3f3429a8
#!/bin/sh
PKGNAME
=
webdavmailrucloud
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"WebDAV emulator for Cloud.mail.ru / Yandex.Disk"
URL
=
"https://github.com/yar229/WebDavMailRuCloud"
.
$(
dirname
$0
)
/common.sh
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/yar229/WebDavMailRuCloud/releases
"WebDAVCloudMailRu-
${
VERSION
}
-dotNet6.zip"
)
||
fatal
epm pack
--install
$PKGNAME
$PKGURL
repack.d/webdavmailrucloud.sh
0 → 100755
View file @
3f3429a8
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/WebDAVCloudMailRu
.
$(
dirname
$0
)
/common.sh
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
"s|^License: unknown
$|
License: MIT|"
$SPEC
subst
"s|^Url:.*|Url: https://github.com/yar229/WebDavMailRuCloud|"
$SPEC
subst
"s|^Summary:.*|Summary: WebDAV emulator for Cloud.mail.ru / Yandex.Disk|"
$SPEC
mkdir
-p
usr/bin
cat
<<
EOF
>usr/bin/wdmrc
#!/bin/sh
dotnet
$PRODUCTDIR
/wdmrc.dll "\
$@
"
EOF
chmod
a+x usr/bin/wdmrc
pack_file /usr/bin/wdmrc
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
# just for correct deps
add_requires dotnet-6.0
fi
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