ports/136940: [MAINTAINER] textproc/asciidoc: use realpath instead of GNU readlink
Peter Schuller
peter.schuller at infidyne.com
Mon Jul 20 20:30:06 UTC 2009
>Number: 136940
>Category: ports
>Synopsis: [MAINTAINER] textproc/asciidoc: use realpath instead of GNU readlink
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 20 20:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: peter.schuller at infidyne.com
>Release: FreeBSD 8.0-BETA1 amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 8.0-BETA1 FreeBSD 8.0-BETA1 #0: Thu Jul 9 00:51:47 CEST
>Description:
Patch a2x to use realpath instead of relying on non-existing GNU readlink.
Problem discovered and patch submitted by Baptiste Daroussin.
Added file(s):
- files/patch-a2x
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- asciidoc-8.4.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/Makefile /usr/ports/textproc/asciidoc/Makefile
--- /usr/ports/textproc/asciidoc.orig/Makefile 2009-07-06 00:24:18.000000000 +0200
+++ /usr/ports/textproc/asciidoc/Makefile 2009-07-20 22:26:37.556331060 +0200
@@ -7,6 +7,7 @@
PORTNAME= asciidoc
PORTVERSION= 8.4.5
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.methods.co.nz/asciidoc/ \
SF
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/files/patch-a2x /usr/ports/textproc/asciidoc/files/patch-a2x
--- /usr/ports/textproc/asciidoc.orig/files/patch-a2x 1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/textproc/asciidoc/files/patch-a2x 2009-07-20 22:23:42.163169197 +0200
@@ -0,0 +1,11 @@
+--- ./a2x.orig 2009-07-20 13:49:35.139308000 +0000
++++ ./a2x 2009-07-20 13:52:55.111653855 +0000
+@@ -13,7 +13,7 @@
+ if [ ! -e "$REALNAME" ]; then
+ REALNAME=$(which "$REALNAME")
+ fi
+-REALNAME="$(readlink -f "$REALNAME")"
++REALNAME="$(realpath "$REALNAME")"
+ CONF_DIR=/etc/asciidoc
+ # FOP executable is named fop on some systems.
+ FOP_COMMAND="fop.sh"
--- asciidoc-8.4.5_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list