1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Update to 2.14 (security update)

- Update my email address

Approved by:	portmgr (erwin), erwin (mentor)
Security:	http://www.vuxml.org/freebsd/31d9fbb4-9d09-11dc-a29d-0016d325a0ed.html
This commit is contained in:
Henrik Brix Andersen 2007-11-28 07:56:22 +00:00
parent d445bade61
commit e19537728d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202854
4 changed files with 7 additions and 26 deletions

View File

@ -5,12 +5,12 @@
# $FreeBSD$
PORTNAME= ikiwiki
PORTVERSION= 2.10
PORTVERSION= 2.14
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= henrik@brixandersen.dk
MAINTAINER= brix@FreeBSD.org
COMMENT= A wiki compiler
BUILD_DEPENDS= ${SITE_PERL}/Text/Markdown.pm:${PORTSDIR}/textproc/p5-Text-Markdown \
@ -53,9 +53,7 @@ PLIST_SUB= W3M="@comment "
post-patch:
@${REINPLACE_CMD} -e "s|/usr/bin/markdown|${LOCALBASE}/bin/markdown|" \
${WRKSRC}/IkiWiki/Plugin/mdwn.pm
@${REINPLACE_CMD} \
-e "s|/usr/local|${LOCALBASE}|" \
-e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
@${REINPLACE_CMD} -e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
${WRKSRC}/ikiwiki-mass-rebuild
@${REINPLACE_CMD} -e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
${WRKSRC}/doc/ikiwiki-mass-rebuild.mdwn

View File

@ -1,3 +1,3 @@
MD5 (ikiwiki_2.10.tar.gz) = d0c350f9866f206363c3ba021ee7cce9
SHA256 (ikiwiki_2.10.tar.gz) = 02b59a06b48d280e5b8f811c377be4a65475c3bfbf6d15569edb3333ec80b7cb
SIZE (ikiwiki_2.10.tar.gz) = 564841
MD5 (ikiwiki_2.14.tar.gz) = 50c246b80ad107f94aff75b194fcbdba
SHA256 (ikiwiki_2.14.tar.gz) = fa898b9bc1a634213536a709b97e25c7f691d9bac2a901622199fb0e26953736
SIZE (ikiwiki_2.14.tar.gz) = 589779

View File

@ -1,18 +0,0 @@
--- ikiwiki-mass-rebuild.orig 2007-08-15 22:21:59.000000000 +0200
+++ ikiwiki-mass-rebuild 2007-10-25 13:04:10.000000000 +0200
@@ -22,13 +22,14 @@ sub processline {
my ($uuid, $ugid) = (getpwnam($user))[2, 3];
$)="$ugid $ugid";
$(=$ugid;
- $>=$uuid;
$<=$uuid;
+ $>=$uuid;
if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
die "failed to drop permissions to $user";
}
%ENV=();
$ENV{HOME}=(getpwnam($user))[7];
+ $ENV{PATH}="/usr/bin:/usr/local/bin";
exec("ikiwiki", "-setup", $setup, @ARGV);
die "failed to run ikiwiki: $!";
}

View File

@ -70,6 +70,7 @@
%%SITE_PERL%%/IkiWiki/Plugin/aggregate.pm
%%SITE_PERL%%/IkiWiki/Plugin/anonok.pm
%%SITE_PERL%%/IkiWiki/Plugin/brokenlinks.pm
%%SITE_PERL%%/IkiWiki/Plugin/calendar.pm
%%SITE_PERL%%/IkiWiki/Plugin/camelcase.pm
%%SITE_PERL%%/IkiWiki/Plugin/conditional.pm
%%SITE_PERL%%/IkiWiki/Plugin/ddate.pm