pkgsrc-WIP-changes archive

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

Correct permissions when installing manual pages and documentation



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Wed Aug 23 17:48:56 2017 +0200
Changeset:	a7053d145229f998f3e03dbe097606115d7c10e4

Modified Files:
	sloccount/Makefile
	sloccount/distinfo
	sloccount/patches/patch-makefile

Log Message:
Correct permissions when installing manual pages and documentation

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

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

diffstat:
 sloccount/Makefile               |  2 +-
 sloccount/distinfo               |  2 +-
 sloccount/patches/patch-makefile | 24 +++++++++++++++++++++---
 3 files changed, 23 insertions(+), 5 deletions(-)

diffs:
diff --git a/sloccount/Makefile b/sloccount/Makefile
index f49ade4912..21f83988fb 100644
--- a/sloccount/Makefile
+++ b/sloccount/Makefile
@@ -4,7 +4,7 @@
 # - avoid use of md5sum(1)
 
 DISTNAME=	sloccount-2.26
-PKGREVISION=	2
+PKGREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	http://www.dwheeler.com/sloccount/
 
diff --git a/sloccount/distinfo b/sloccount/distinfo
index 512736c822..3a72dfa6da 100644
--- a/sloccount/distinfo
+++ b/sloccount/distinfo
@@ -5,6 +5,6 @@ RMD160 (sloccount-2.26.tar.gz) = a5bd1dbe8bd5e5c52ed790990c0d5d8fc49b26ff
 SHA512 (sloccount-2.26.tar.gz) = ed6ab315a56dbdc86c654b94e790c9ea9e2dcad0db26b63c0973c33eb7fa634b4ade0a1f3c6ccfd5172ea95f648c1dd3b0ae2575b0aa44b3fec708c24a6aca54
 Size (sloccount-2.26.tar.gz) = 190948 bytes
 SHA1 (patch-compute__all) = 86bee28f56a366c63f122a417bad92020e748df1
-SHA1 (patch-makefile) = 67ee105f46bb15b219b0ef888594928b453fe407
+SHA1 (patch-makefile) = 0f696e08486299dadd919d3aee1d31d01d1c6ad1
 SHA1 (patch-rpm__unpacker) = 1bd30245b1ad1c6de72c0ec63acbd76b95d79efb
 SHA1 (patch-sloccount) = 36f2b762aae891bfd0fdee52b0a34b286c16d5d5
diff --git a/sloccount/patches/patch-makefile b/sloccount/patches/patch-makefile
index 0e34703893..1cc7369dcc 100644
--- a/sloccount/patches/patch-makefile
+++ b/sloccount/patches/patch-makefile
@@ -1,9 +1,10 @@
 $NetBSD$
 
-Add support for CFLAGS and LDFLAGS
+- Add support for CFLAGS and LDFLAGS
+- Correct permissions when installing manual pages and documentation
 
---- /home/khorben/Projects/EdgeBSD/pkgsrc/work/wip/sloccount/work/sloccount-2.26/makefile.orig	2017-07-28 14:42:35.000000000 +0000
-+++ /home/khorben/Projects/EdgeBSD/pkgsrc/work/wip/sloccount/work/sloccount-2.26/makefile
+--- makefile.orig	2004-08-01 18:52:06.000000000 +0000
++++ makefile
 @@ -37,7 +37,9 @@ EXE_SUFFIX=
  # Set this to your C compiler, if it's not "gcc"; a likely alternative is "cc".
  # The "-Wall" option turns on warnings in gcc.  gcc users might also want
@@ -59,3 +60,20 @@ Add support for CFLAGS and LDFLAGS
  
  
  install_programs: all
+@@ -171,14 +173,14 @@ uninstall_programs:
+ 
+ install_man: $(MANPAGES)
+ 	$(INSTALL_A_DIR) $(MAN_DIR_MAN1)
+-	$(INSTALL) $(MANPAGES) $(MAN_DIR_MAN1)
++	$(INSTALL) -m 0644 $(MANPAGES) $(MAN_DIR_MAN1)
+ 
+ uninstall_man:
+ 	cd $(MAN_DIR_MAN1) && rm -f $(MANPAGES)
+ 
+ install_docs: install_man
+ 	$(INSTALL_A_DIR) $(DOC_DIR)
+-	$(INSTALL) $(MYDOCS) $(DOC_DIR)
++	$(INSTALL) -m 0644 $(MYDOCS) $(DOC_DIR)
+ 
+ uninstall_docs:
+ 	rm -fr $(DOC_DIR)


Home | Main Index | Thread Index | Old Index