nostromo: update to version 1.9.6

* Update license checksum to include latest copyright information
* Update patch for the latest version

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Derek Straka 2016-07-27 12:53:45 -04:00 committed by Martin Jansa
parent 181f5f81a3
commit cfdf135db9
2 changed files with 12 additions and 8 deletions

View File

@ -91,7 +91,9 @@ diff --git a/src/nhttpd/GNUmakefile b/src/nhttpd/GNUmakefile
index f6d12de..9524911 100644
--- a/src/nhttpd/GNUmakefile
+++ b/src/nhttpd/GNUmakefile
@@ -1,18 +1,18 @@
@@ -1,20 +1,20 @@
# $nostromo: GNUmakefile,v 1.6 2016/04/12 19:02:06 hacki Exp $
-CCFLAGS = -O2 -pipe -Wall -Wstrict-prototypes -c
+CFLAGS := -O2 -pipe -Wall -Wstrict-prototypes -c
@ -120,14 +122,16 @@ diff --git a/src/tools/GNUmakefile b/src/tools/GNUmakefile
index 15bea61..663ddb5 100644
--- a/src/tools/GNUmakefile
+++ b/src/tools/GNUmakefile
@@ -1,11 +1,11 @@
@@ -1,13 +1,13 @@
# $nostromo: GNUmakefile,v 1.3 2016/04/12 19:02:58 hacki Exp $
-CCFLAGS = -O2 -pipe -Wall -Werror -Wstrict-prototypes -c
+CCFLAGS := -O2 -pipe -Wall -Werror -Wstrict-prototypes
+CFLAGS = -O2 -pipe -Wall -Werror -Wstrict-prototypes
crypt: crypt.o
- cc -o crypt crypt.o -lcrypt
- cc -L../libbsd -o crypt crypt.o -lcrypt -lbsd
- strip crypt
+ $(CC) $(CFLAGS) -o crypt crypt.o -lcrypt
+ $(CC) $(CFLAGS) -L../libbsd -o crypt crypt.o -lcrypt -lbsd
+# $(STRIP) crypt
crypt.o: crypt.c

View File

@ -1,7 +1,7 @@
SUMMARY = "A simple, fast and secure HTTP server"
HOMEPAGE = "http://www.nazgul.ch/dev_nostromo.html"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/nhttpd/main.c;beginline=2;endline=14;md5=e5ec3fa723b29b7d59d205afd8d36938"
LIC_FILES_CHKSUM = "file://src/nhttpd/main.c;beginline=2;endline=14;md5=0bb3711a867b9704d3bfabcf5529b64e"
SRC_URI = "http://www.nazgul.ch/dev/${BPN}-${PV}.tar.gz \
file://0001-GNUmakefile-add-possibility-to-override-variables.patch \
@ -11,8 +11,8 @@ SRC_URI = "http://www.nazgul.ch/dev/${BPN}-${PV}.tar.gz \
file://nostromo \
"
SRC_URI[md5sum] = "dc6cfd6b5aae04c370c7f818fa7bde55"
SRC_URI[sha256sum] = "5f62578285e02449406b46cf06a7888fe3dc4a90bedf58cc18523bad62f6b914"
SRC_URI[md5sum] = "27aa241d78ff78920354c3e03a5026ea"
SRC_URI[sha256sum] = "541494ecfeafec58c0876ccc90cc23b06e0144f6f42029af44c7cdb1f411e8eb"
TARGET_CC_ARCH += "${LDFLAGS}"