-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
duck: update to 9.2.4.43667 #29985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
trustbyte
wants to merge
2
commits into
macports:master
Choose a base branch
from
trustbyte:duck_92443667
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+43
−17
Draft
duck: update to 9.2.4.43667 #29985
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,18 @@ | ||
| # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup github 1.0 | ||
| PortGroup java 1.0 | ||
| PortGroup xcode 1.0 | ||
|
|
||
| name duck | ||
| version 7.8.5.34493 | ||
| checksums rmd160 696c1572aadf30e2f39514162a7bb1ab8a716282 \ | ||
| sha256 65ebfde2df81fce63e130ec988a81a7e81c1c76a7ca72426611f52e162abb3ad \ | ||
| size 108484092 | ||
| github.setup iterate-ch cyberduck 9-2-5 release | ||
| master_sites https://github.com/iterate-ch/cyberduck/archive/refs/tags/release-${version} | ||
| worksrcdir cyberduck-release-${version} | ||
|
|
||
| revision 0 | ||
|
|
||
| categories net | ||
| platforms darwin | ||
|
|
||
| license GPL-2+ | ||
| maintainers {ijackson @JacksonIsaac} openmaintainer | ||
|
|
@@ -21,22 +24,45 @@ long_description The universal file transfer tool 'duck' which runs \ | |
| with FTP, SFTP or WebDAV plus support for cloud storage Amazon S3 & \ | ||
| OpenStack Swift deployments. | ||
|
|
||
| homepage https://duck.sh/ | ||
| master_sites https://dist.duck.sh/ | ||
|
|
||
| checksums rmd160 cb5c8a99d21d4140f4fd9f053428438923cb8879 \ | ||
| sha256 530746217e7212a709d2b586cf12507c1701ac6623c10470dc9bcb0b059f9f73 \ | ||
| size 32208819 | ||
|
|
||
| java.version 11+ | ||
| java.fallback openjdk11 | ||
|
|
||
| depends_build bin:mvn3:maven3 | ||
| use_configure no | ||
|
|
||
| build { } | ||
| set maven_local_repository ${worksrcpath}/.m2/repository | ||
|
|
||
| ## Upstream binary seems to be built using libstdc++ | ||
| # Port keeps failing on rev-upgrade since it | ||
| # checks if duck is built against libc++ or not. | ||
| # Note: Check and update this when port version updates. | ||
| configure.cxx_stdlib \ | ||
| libstdc++ | ||
| pre-build { | ||
| file mkdir ${maven_local_repository} | ||
| system -W ${worksrcpath}/cli/osx "mvn3 package -Dmaven.repo.local=${maven_local_repository} -DskipTests -Drevision=0 -DskipITs" | ||
| file mkdir ${workpath}/DerivedData | ||
| file mkdir ${workpath}/ResultBundle | ||
| } | ||
|
|
||
| build { | ||
| set env(HOME) ${workpath} | ||
| set env(DEVELOPER_DIR) /Applications/Xcode.app/Contents/Developer | ||
|
|
||
| system -W ${worksrcpath} \ | ||
| "/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This path also gonna be wrong, when developer_dir is elsewhere. |
||
| -derivedDataPath ${workpath}/DerivedData \ | ||
| -resultBundlePath ${workpath}/ResultBundle \ | ||
| -project ${worksrcpath}/Cyberduck.xcodeproj \ | ||
| -configuration Release \ | ||
| -target cli \ | ||
| CODE_SIGNING_ALLOWED=NO \ | ||
| CODE_SIGNING_REQUIRED=NO \ | ||
| SYMROOT=${worksrcpath}/cli/osx/target \ | ||
| VERSION=${version} \ | ||
| REVISION=0 | ||
| } | ||
|
|
||
| destroot { | ||
| xinstall -m 755 -d ${destroot}${prefix}/libexec/${name} | ||
| file copy ${workpath}/${name}.bundle ${destroot}${prefix}/libexec/${name} | ||
| ln -s ${prefix}/libexec/${name}/${name}.bundle/Contents/MacOS/duck ${destroot}${prefix}/bin/duck | ||
| copy -- ${worksrcpath}/osx/target/release/Cyberduck.app \ | ||
| ${destroot}${applications_dir} | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This holds only for some macOS versions. I don’t think it should be hardcoded in the portfile, you can pick the value from macports.conf.