pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ikiwiki Attempt to make su(1) usage more portable....
details: https://anonhg.NetBSD.org/pkgsrc/rev/7d72f3fa186e
branches: trunk
changeset: 377795:7d72f3fa186e
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Thu Mar 22 17:08:31 2018 +0000
description:
Attempt to make su(1) usage more portable. Remove very old text from
MESSAGE. Bump PKGREVISION.
diffstat:
www/ikiwiki/MESSAGE | 5 +----
www/ikiwiki/Makefile | 5 ++---
www/ikiwiki/distinfo | 3 ++-
www/ikiwiki/patches/patch-ikiwiki-mass-rebuild | 15 +++++++++++++++
4 files changed, 20 insertions(+), 8 deletions(-)
diffs (69 lines):
diff -r f94dc6adc03b -r 7d72f3fa186e www/ikiwiki/MESSAGE
--- a/www/ikiwiki/MESSAGE Thu Mar 22 15:43:11 2018 +0000
+++ b/www/ikiwiki/MESSAGE Thu Mar 22 17:08:31 2018 +0000
@@ -1,10 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.8 2010/04/27 13:15:46 schmonz Exp $
+$NetBSD: MESSAGE,v 1.9 2018/03/22 17:08:31 schmonz Exp $
For a new wiki, see <URL:http://ikiwiki.info/setup/>.
If you use custom templates, make sure they are correct when upgrading.
-
-All wikis need to be rebuilt on upgrade to 3.20100427. If you listed your
-wiki in ${PKG_SYSCONFDIR}/wikilist, simply run ikiwiki-mass-rebuild.
===========================================================================
diff -r f94dc6adc03b -r 7d72f3fa186e www/ikiwiki/Makefile
--- a/www/ikiwiki/Makefile Thu Mar 22 15:43:11 2018 +0000
+++ b/www/ikiwiki/Makefile Thu Mar 22 17:08:31 2018 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.155 2018/03/11 22:57:55 schmonz Exp $
+# $NetBSD: Makefile,v 1.156 2018/03/22 17:08:31 schmonz Exp $
#
DISTNAME= ikiwiki_3.20180311.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
+PKGREVISION= 1
CATEGORIES= www textproc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/}
EXTRACT_SUFX= .tar.xz
@@ -51,8 +52,6 @@
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
-#SPECIAL_PERMS+= ${PREFIX}/bin/ikiwiki-update-wikilist ...
-
TEST_TARGET= test
maintainer-find-default-perl-shebangs-not-substed:
diff -r f94dc6adc03b -r 7d72f3fa186e www/ikiwiki/distinfo
--- a/www/ikiwiki/distinfo Thu Mar 22 15:43:11 2018 +0000
+++ b/www/ikiwiki/distinfo Thu Mar 22 17:08:31 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.127 2018/03/11 22:57:55 schmonz Exp $
+$NetBSD: distinfo,v 1.128 2018/03/22 17:08:31 schmonz Exp $
SHA1 (ikiwiki_3.20180311.orig.tar.xz) = 9c567bb9f46e8a86a41ddc2358d0426248934e33
RMD160 (ikiwiki_3.20180311.orig.tar.xz) = 22a2f1963e73fae82a7a6a29c84488c898c7c4fa
SHA512 (ikiwiki_3.20180311.orig.tar.xz) = 12042d90217995eb43d47df1e81cbced825fc2b2262893680447448abac88ef5279bcddd6c438613b41c4f35308a4f1e8d23157e018bb99d883bc0941af1d469
Size (ikiwiki_3.20180311.orig.tar.xz) = 2639052 bytes
+SHA1 (patch-ikiwiki-mass-rebuild) = b8d5785d77736508de9cfc0f059cc36e0e607bce
diff -r f94dc6adc03b -r 7d72f3fa186e www/ikiwiki/patches/patch-ikiwiki-mass-rebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ikiwiki/patches/patch-ikiwiki-mass-rebuild Thu Mar 22 17:08:31 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ikiwiki-mass-rebuild,v 1.1 2018/03/22 17:08:31 schmonz Exp $
+
+Attempt to make su(1) usage more portable.
+
+--- ikiwiki-mass-rebuild.orig 2018-03-11 15:54:34.000000000 +0000
++++ ikiwiki-mass-rebuild
+@@ -32,7 +32,7 @@ sub processuser {
+ my $user=shift;
+ return if $user=~/^-/ || $users{$user};
+ $users{$user}=1;
+- my $ret=system("su", $user, "-s", "/bin/sh", "-c", "--", "$0 --nonglobal @ARGV");
++ my $ret=system("su", "-", $user, "-c", "/bin/sh -c -- '$0 --nonglobal @ARGV'");
+ if ($ret != 0) {
+ print STDERR "warning: processing for $user failed with code $ret\n";
+ }
Home |
Main Index |
Thread Index |
Old Index