pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

newsbeuter: install man pages without the executable bit set



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon May 16 15:59:22 2016 +0200
Changeset:	76d535d909c3ea0f064f838006c5cb9e5b40f1dc

Modified Files:
	newsbeuter/Makefile
	newsbeuter/distinfo
Added Files:
	newsbeuter/patches/patch-Makefile

Log Message:
newsbeuter: install man pages without the executable bit set

Previously INSTALL was just used without any options leading to install man
pages using the default mode. While here `s/netbsd/NetBSD/'.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=76d535d909c3ea0f064f838006c5cb9e5b40f1dc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 newsbeuter/Makefile               |  2 +-
 newsbeuter/distinfo               |  1 +
 newsbeuter/patches/patch-Makefile | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

diffs:
diff --git a/newsbeuter/Makefile b/newsbeuter/Makefile
index c9fd944..8ec265d 100644
--- a/newsbeuter/Makefile
+++ b/newsbeuter/Makefile
@@ -4,7 +4,7 @@ DISTNAME=	newsbeuter-2.9
 CATEGORIES=	news
 MASTER_SITES=	http://www.newsbeuter.org/downloads/
 
-MAINTAINER=	pkgsrc-users%netbsd.org@localhost
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://www.newsbeuter.org/
 COMMENT=	Open-source RSS/Atom feed reader for text terminals
 LICENSE=	mit
diff --git a/newsbeuter/distinfo b/newsbeuter/distinfo
index 0ff682d..6df55c1 100644
--- a/newsbeuter/distinfo
+++ b/newsbeuter/distinfo
@@ -4,5 +4,6 @@ SHA1 (newsbeuter-2.9.tar.gz) = e0d61cda874ea9b77ed27f2edfea50a6ea471894
 RMD160 (newsbeuter-2.9.tar.gz) = b93adbf5305191c40f3e4b2d770d9984bb7c32e3
 SHA512 (newsbeuter-2.9.tar.gz) = b173008c8c8d3729f8ccef3ce62645a05c1803fb842d5c0afdf9ffd4ed3726030f9c359c20bc817402a6a0ea12af742d0ae7faf9b92d52c11f420f62b430b0aa
 Size (newsbeuter-2.9.tar.gz) = 432763 bytes
+SHA1 (patch-Makefile) = 53d6ddfa518a1a371428afdf36745028530b30de
 SHA1 (patch-config.sh) = e5d4adf96cae46c8febf818ff03b4f598a865945
 SHA1 (patch-src_controller.cpp) = 927b11064deac38acbb577aa0d3f750f72c0e55a
diff --git a/newsbeuter/patches/patch-Makefile b/newsbeuter/patches/patch-Makefile
new file mode 100644
index 0000000..a88b0a8
--- /dev/null
+++ b/newsbeuter/patches/patch-Makefile
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Install man page with proper permissions (executable bit not needed for them!).
+
+--- Makefile.orig	2015-02-19 10:56:59.000000000 +0000
++++ Makefile
+@@ -145,8 +145,8 @@ install: install-mo
+ 	$(INSTALL) $(NEWSBEUTER) $(DESTDIR)$(prefix)/bin
+ 	$(INSTALL) $(PODBEUTER) $(DESTDIR)$(prefix)/bin
+ 	$(MKDIR) $(DESTDIR)$(mandir)/man1
+-	$(INSTALL) doc/$(NEWSBEUTER).1 $(DESTDIR)$(mandir)/man1 || true
+-	$(INSTALL) doc/$(PODBEUTER).1 $(DESTDIR)$(mandir)/man1 || true
++	$(INSTALL) -m 644 doc/$(NEWSBEUTER).1 $(DESTDIR)$(mandir)/man1 || true
++	$(INSTALL) -m 644 doc/$(PODBEUTER).1 $(DESTDIR)$(mandir)/man1 || true
+ 	$(MKDIR) $(DESTDIR)$(docdir)
+ 	$(INSTALL) -m 644 doc/xhtml/* $(DESTDIR)$(docdir) || true
+ 	$(MKDIR) $(DESTDIR)$(docdir)/examples


Home | Main Index | Thread Index | Old Index