Browse Source

tinyionice: update to 1.0.1

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
lilik-openwrt-22.03
Michal Vasilek 3 years ago
parent
commit
f10c0a49d4
No known key found for this signature in database GPG Key ID: 3F2178C85501EDA3
2 changed files with 2 additions and 36 deletions
  1. +2
    -2
      utils/tinyionice/Makefile
  2. +0
    -34
      utils/tinyionice/patches/0001-Add-a-makefile.patch

+ 2
- 2
utils/tinyionice/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=tinyionice
PKG_VERSION:=1.0.0
PKG_VERSION:=1.0.1
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/xyproto/tinyionice/tar.gz/v${PKG_VERSION}?
PKG_HASH:=65d903b5d69ca1d121bc9ad1a635a49b49233a99121ce40730b3617048ff6a84
PKG_HASH:=2b5d61cd1a153060ed96bb5e6585c16d1f7a0828a13ee7a9049b49fc09885440
PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
PKG_LICENSE:=GPL-2.0-only


+ 0
- 34
utils/tinyionice/patches/0001-Add-a-makefile.patch View File

@ -1,34 +0,0 @@
From fd3c17ad5d4e3acaa5469f408e57bb9375253e4d Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal.vasilek@nic.cz>
Date: Thu, 3 Feb 2022 19:45:26 +0100
Subject: [PATCH] Add a makefile
---
Makefile | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Makefile
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+CC = cc
+CFLAGS=-O2 -fPIC -fstack-protector-strong -D_GNU_SOURCE -s -z norelro
+PREFIX=/usr
+BINDIR=$(PREFIX)/bin
+
+all: tinyionice
+
+tinyionice: main.c
+ $(CC) $(CFLAGS) $< -o $@
+
+install: tinyionice
+ install -D -m 755 tinyionice $(DESTDIR)/$(BINDIR)/tinyionice
+
+uninstall:
+ rm -f $(DESTDIR)/$(BINDIR)/tinyionice
+
+clean:
+ rm -f tinyionice
+
+
+.PHONY: all install uninstall clean

Loading…
Cancel
Save