Переглянути джерело

redsocks: don't use github conflicting tag archives (#1051)

Signed-off-by: Nicolas Thill <nico@openwrt.org>
Nicolas Thill 9 роки тому
джерело
коміт
efe7e4d198
1 змінених файлів з 7 додано та 5 видалено
  1. 7
    5
      net/redsocks/Makefile

+ 7
- 5
net/redsocks/Makefile Переглянути файл

@@ -1,5 +1,5 @@
1 1
 #
2
-# Copyright (C) 2014 OpenWrt.org
2
+# Copyright (C) 2014-2015 OpenWrt.org
3 3
 #
4 4
 # This is free software, licensed under the GNU General Public License v2.
5 5
 # See /LICENSE for more information.
@@ -11,10 +11,12 @@ PKG_NAME:=redsocks
11 11
 PKG_VERSION:=0.4
12 12
 PKG_RELEASE:=1
13 13
 
14
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-release-$(PKG_VERSION)
15
-PKG_SOURCE:=release-$(PKG_VERSION).tar.gz
16
-PKG_SOURCE_URL:=https://github.com/darkk/redsocks/archive/
17
-PKG_MD5SUM:=810102ef06a9ea796f310ae811afc6a8
14
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15
+PKG_SOURCE_PROTO:=git
16
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17
+PKG_SOURCE_URL:=https://github.com/darkk/redsocks.git
18
+PKG_SOURCE_VERSION:=release-0.4
19
+
18 20
 PKG_MAINTAINER:=Johannes Morgenroth <jm@m-network.de>
19 21
 PKG_LICENSE:=Apache-2.0
20 22