Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
26802344
Verified
Commit
26802344
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/moc: fix https urls
parent
26b46a25
No related branches found
No related tags found
1 merge request
!39304
[3.16] main/expat: security upgrade to 2.4.9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/moc/APKBUILD
+3
-1
3 additions, 1 deletion
community/moc/APKBUILD
community/moc/fix-https.patch
+11
-0
11 additions, 0 deletions
community/moc/fix-https.patch
with
14 additions
and
1 deletion
community/moc/APKBUILD
+
3
−
1
View file @
26802344
...
...
@@ -2,7 +2,7 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname
=
moc
pkgver
=
2.5.2
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"MOC is a console audio player"
url
=
"http://moc.daper.net/"
arch
=
"all"
...
...
@@ -14,6 +14,7 @@ subpackages="$pkgname-doc"
source
=
"
http://ftp.daper.net/pub/soft/moc/stable/moc-
$pkgver
.tar.bz2
ffmpeg4.patch
fix-https.patch
"
prepare
()
{
...
...
@@ -58,4 +59,5 @@ package() {
sha512sums
=
"
992d06809fb52e58dcee63704bde05795b99edbac46edd8381f314c564490013b18e1853926f419c2c3c7f1bb68ff35e97048de03ace3232b800cf4b3b7dbe0f moc-2.5.2.tar.bz2
a2af41467573b6f674be4007fda5990035513da6733030b882874dd44562b75c88c63e60c1d84a7b6522191bb4dbc38fb4e7d8462ba4add7425643dcbbf6d315 ffmpeg4.patch
e8686c2c1050f3c41147f90488f4d264eb50f5b5d9c5fc03172bf4fd70a3220ebac147e03ab773d330c55fc4e0a20538c6724ca094003716fa448202af0782d1 fix-https.patch
"
This diff is collapsed.
Click to expand it.
community/moc/fix-https.patch
0 → 100644
+
11
−
0
View file @
26802344
Patch-Source: https://github.com/archlinux/svntogit-packages/blob/f29848ed88885b6e12188683d5f9299246271543/trunk/moc-https.patch
--- a/files.c
+++ b/files.c
@@ -93,6 +93,7 @@
inline int is_url (const char *str)
{
return !strncasecmp (str, "http://", sizeof ("http://") - 1)
+ || !strncasecmp (str, "https://", sizeof ("https://") - 1)
|| !strncasecmp (str, "ftp://", sizeof ("ftp://") - 1);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment