-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rootTHC
committed
Jul 4, 2022
1 parent
30ecac5
commit 8e95e11
Showing
12 changed files
with
53 additions
and
78 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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,12 +1,12 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=gsocket | ||
PKG_VERSION:=1.4.36 | ||
PKG_VERSION:=1.4.37 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://github.com/hackerschoice/gsocket/releases/download/v$(PKG_VERSION)/ | ||
PKG_HASH:=89d3c1ac21486c9deb1a08ac10cc6b722a19801163dad4d8b57c1aa8a18f32b8 | ||
PKG_HASH:=4f64f71a7d6b8be79754e7bf2109675ffc8a3e37a4a55b08c95a1b1d25e458e5 | ||
|
||
PKG_MAINTAINER:=Ralf Kaiser <[email protected]> | ||
PKG_LICENSE:=BSD-2-Clause | ||
|
This file contains 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,19 +1,24 @@ | ||
#! /bin/bash | ||
|
||
BASEDIR="$(cd "$(dirname "${0}")" || exit; pwd)" | ||
BASEDIR="$(cd "$(dirname "${0}")" || exit; pwd)" # r/gsocket/packaging/openwrt | ||
source "${BASEDIR}/../../test-build/build_inc.sh" | ||
|
||
|
||
OPENWRT_vars_init | ||
|
||
[[ ! -d "$OWRT_FEEDDIR" ]] && ERREXIT "Not found: $OWRT_FEEDDIR" | ||
[[ -z $OWRT_FEEDDIR ]] && ERREXIT "OWRT_FEEDDIR is empty. ~/research/openwrt not exist?" | ||
|
||
[[ ! -d "$OWRT_FEEDDIR/net/gsocket" ]] && mkdir -p "${OWRT_FEEDDIR}/net/gsocket" | ||
OPENWRT_update_makefile | ||
|
||
cp "${BASEDIR}/gsocket/Makefile" "${OWRT_FEEDDIR}" | ||
# from r/gsocket/packaging/openwrt/gsocket/* to /r/openwrt/packages/net/gsocket | ||
cp "${BASEDIR}/gsocket/Makefile" "${OWRT_FEEDDIR}/net/gsocket" | ||
cp "${BASEDIR}/gsocket/test.sh" "${OWRT_FEEDDIR}/net/gsocket" | ||
|
||
echo "Press enter to push release $VER" | ||
read | ||
(cd "$OWRT_FEEDDIR" && \ | ||
(cd "$OWRT_FEEDDIR/net/gsocket" && \ | ||
git add Makefile test.sh && \ | ||
git commit --amend --author="Ralf Kaiser <[email protected]>" --no-edit --signoff -m "gsocket: upstream update to $VER" && \ | ||
git push --force-with-lease origin master) | ||
|
||
|
This file contains 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 |
---|---|---|
|
@@ -12,8 +12,8 @@ OPENWRT_vars_init() | |
MKFILE="${TOPDIR}/packaging/openwrt/gsocket/Makefile" | ||
OWRT_PKG_VERSION="$(grep ^PKG_VERSION: "${MKFILE}" | cut -f2 -d=)" | ||
OWRT_PKG_HASH="$(grep ^PKG_HASH: "${MKFILE}" | cut -f2 -d=)" | ||
OWRT_FEEDDIR="$(cd "${TOPDIR}/../openwrt/packages/net/gsocket" || exit; pwd)" | ||
|
||
# mdir ~/resarch/openwrt && cd ~/research/openwrt && git clone --depth 1 [email protected]:SkyperTHC/packages.git | ||
OWRT_FEEDDIR="$(cd "${TOPDIR}/../openwrt/packages" || exit; pwd)" | ||
} | ||
|
||
OPENWRT_update_makefile() | ||
|
This file contains 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