-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[new package] ddns-go #6669
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
Open
GrandDuke1106
wants to merge
15
commits into
SynoCommunity:master
Choose a base branch
from
GrandDuke1106:ddns-go-dev
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.
Open
[new package] ddns-go #6669
Changes from 5 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6d84cb5
add package: ddns-go
GrandDuke1106 956a353
Update package logo
mreid-tt b5b200e
add line breaks
GrandDuke1106 c9c667e
use the -cacheTimes parameter
GrandDuke1106 d5bc73a
modify -cacheTimes
GrandDuke1106 4284895
use the ${SERVICE_PORT} variable
GrandDuke1106 259d343
update to 6.12.1
GrandDuke1106 087b102
add install_uifile
GrandDuke1106 4bc8bf4
add line break
GrandDuke1106 4dbcb6d
improve install_uifile
GrandDuke1106 4e39858
improve install_uifile_chs
GrandDuke1106 73f7c5c
update to 6.12.2
GrandDuke1106 d8a2df8
update to 6.12.3
GrandDuke1106 3abd157
update to 6.12.4
GrandDuke1106 df95030
update to 6.12.5
GrandDuke1106 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
PKG_NAME = ddns-go | ||
PKG_VERS = 6.12.0 | ||
WEB_VERSION = $(PKG_VERS) | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/jeessy2/ddns-go/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
BUILD_DEPENDS = native/go | ||
|
||
# lacking support for atomics | ||
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) | ||
# not supported by go | ||
UNSUPPORTED_ARCHS += $(PPC_ARCHS) | ||
|
||
HOMEPAGE = https://github.com/jeessy2/ddns-go | ||
COMMENT = Automatically obtain your public IPv4 or IPv6 address and resolve it to the corresponding domain name service. | ||
LICENSE = MIT | ||
|
||
COMPILE_TARGET = ddns-go_compile_target | ||
INSTALL_TARGET = ddns-go_install | ||
|
||
include ../../mk/spksrc.cross-go.mk | ||
|
||
.PHONY: ddns-go_compile_target | ||
ddns-go_compile_target: | ||
@$(RUN) $(MAKE) VERSION=v$(PKG_VERS) BUILD_TIME="$$(date -u +'%Y-%m-%dT%H:%M:%SZ')" build | ||
|
||
.PHONY: ddns-go_install | ||
ddns-go_install: | ||
@mkdir -p $(STAGING_INSTALL_PREFIX)/bin | ||
@install -m 755 $(WORK_DIR)/$(PKG_DIR)/ddns-go $(STAGING_INSTALL_PREFIX)/bin/ |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
bin:bin/ddns-go |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ddns-go-6.12.0.tar.gz SHA1 97d0115e88312f5e12f5658adee2b4d1c6a3cb3d | ||
ddns-go-6.12.0.tar.gz SHA256 59f5a705f08f539c011e12c01b4e82791130bfb4ccfb332f2b6545945fa70e38 | ||
ddns-go-6.12.0.tar.gz MD5 5571704118f4fe49e206a8fda48363d5 |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
SPK_NAME = ddns-go | ||
SPK_VERS = 6.12.0 | ||
SPK_REV = 1 | ||
SPK_ICON = src/ddns-go.png | ||
|
||
DEPENDS = cross/ddns-go | ||
|
||
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) | ||
# not supported by go: | ||
UNSUPPORTED_ARCHS += $(PPC_ARCHS) | ||
|
||
MAINTAINER = GrandDuke1106 | ||
DESCRIPTION = Automatically obtain your public IPv4 or IPv6 address and resolve it to the corresponding domain name service. | ||
DISPLAY_NAME = ddns-go | ||
CHANGELOG = "Initial package release." | ||
|
||
HOMEPAGE = https://github.com/jeessy2/ddns-go | ||
LICENSE = MIT | ||
|
||
SERVICE_SETUP = src/service-setup.sh | ||
|
||
STARTABLE = yes | ||
SERVICE_USER = auto | ||
SERVICE_PORT = 9876 | ||
ADMIN_PORT = $(SERVICE_PORT) | ||
|
||
include ../../mk/spksrc.spk.mk |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DDNS_GO="${SYNOPKG_PKGDEST}/bin/ddns-go -l :9876 -f 60 -cacheTimes 180" | ||
CONFIG_FILE="${SYNOPKG_PKGVAR}/config.yaml" | ||
|
||
SERVICE_COMMAND="${DDNS_GO} -c ${CONFIG_FILE}" | ||
SVC_BACKGROUND=yes | ||
SVC_WRITE_PID=yes |
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.
Uh oh!
There was an error while loading. Please reload this page.