Skip to contentSkip to conversation

knock: Fix build failure due to missing README file.

PATCH Superseded Vicente Olivert Riera 2 participants 2 messages Dec 12, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 knock: Fix build failure due to missing README file.

Apply upstream patch: 306a696c0882f28a5cd2e41d392c3a6ed14d45f4

The build process fails because Makefile.am includes README as part of the documentation files, but actually it doesn't exist:

make[2]: *** No rule to make target README', needed by all-am'. Stop.

The right file is README.md, so making that replacement to Makefile.am fixes the problem.

---
 .../knock/knock-001-Fix-missing-README-file.patch  |   32 ++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 package/knock/knock-001-Fix-missing-README-file.patch
package/knock/knock-001-Fix-missing-README-file.patch new file +32 -0
new file mode 100644
index 0000000..ea0a779
@@ -0,0 +1,32 @@
+From 306a696c0882f28a5cd2e41d392c3a6ed14d45f4 Mon Sep 17 00:00:00 2001
+From: vriera <[email protected]>
+Date: Tue, 10 Dec 2013 12:40:13 +0000
+Subject: [PATCH] Update Makefile.am
+
+Fix build failure due to missing README file.
+
+The build process fails because Makefile.am includes README as part of the documentation files, but actually it doesn't exist:
+
+make[2]: *** No rule to make target `README', needed by `all-am'. Stop.
+
+The right file is README.md, so making that replacement to Makefile.am fixes the problem.
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index b46e8c4..1a95e90 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,7 +10,7 @@ man_MANS += doc/knockd.1
+ sysconf_DATA = knockd.conf
+ endif
+ 
+-dist_doc_DATA = README TODO ChangeLog COPYING
++dist_doc_DATA = README.md TODO ChangeLog COPYING
+ 
+ knock_SOURCES = src/knock.c
+ knockd_SOURCES = src/knockd.c src/list.c src/list.h
+-- 
+1.8.5.1
+
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 1/1 knock: Fix build failure due to missing README file.

Hi Vicente,

Quoted 25 lines · Vicente Olivert Riera

Apply upstream patch: 306a696c0882f28a5cd2e41d392c3a6ed14d45f4

The build process fails because Makefile.am includes README as part of the documentation files, but actually it doesn't exist:

make[2]: *** No rule to make target README', needed by all-am'. Stop.

The right file is README.md, so making that replacement to Makefile.am fixes the problem.

---
 .../knock/knock-001-Fix-missing-README-file.patch  |   32 ++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 package/knock/knock-001-Fix-missing-README-file.patch
package/knock/knock-001-Fix-missing-README-file.patch new file +2 -0
new file mode 100644
index 0000000..ea0a779
@@ -0,0 +1,32 @@
+From 306a696c0882f28a5cd2e41d392c3a6ed14d45f4 Mon Sep 17 00:00:00 2001
+From: vriera <[email protected]>

package/knock/knock-001-Fix-missing-README-file.patch line 12

Quoted 10 lines
package/knock/knock-001-Fix-missing-README-file.patch new file +10 -0
+Date: Tue, 10 Dec 2013 12:40:13 +0000
+Subject: [PATCH] Update Makefile.am
+
+Fix build failure due to missing README file.
+
+The build process fails because Makefile.am includes README as part of the documentation files, but actually it doesn't exist:
+
+make[2]: *** No rule to make target `README', needed by `all-am'. Stop.
+
+The right file is README.md, so making that replacement to Makefile.am fixes the problem.

We need your sing-off on the added patch as well.

baruch

Quoted 21 lines
package/knock/knock-001-Fix-missing-README-file.patch new file +20 -0
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index b46e8c4..1a95e90 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,7 +10,7 @@ man_MANS += doc/knockd.1
+ sysconf_DATA = knockd.conf
+ endif
+ 
+-dist_doc_DATA = README TODO ChangeLog COPYING
++dist_doc_DATA = README.md TODO ChangeLog COPYING
+ 
+ knock_SOURCES = src/knock.c
+ knockd_SOURCES = src/knockd.c src/list.c src/list.h
+-- 
+1.8.5.1
+
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -