FreeBSD Bugzilla – Attachment 88474 Details for
Bug 125273
[PATCH] ports-mgmt/portconf: new feature "Undefine variables"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portconf-1.4.patch
portconf-1.4.patch (text/plain), 1.76 KB, created by
Yi-Jheng Lin
on 2008-07-04 21:20:04 UTC
(
hide
)
Description:
portconf-1.4.patch
Filename:
MIME Type:
Creator:
Yi-Jheng Lin
Created:
2008-07-04 21:20:04 UTC
Size:
1.76 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/ports-mgmt/portconf/Makefile /amd/account/gcs/96/9655630/dev/ports/ports-mgmt/portconf/Makefile >--- /usr/ports/ports-mgmt/portconf/Makefile 2007-10-03 00:50:07.000000000 +0800 >+++ /amd/account/gcs/96/9655630/dev/ports/ports-mgmt/portconf/Makefile 2008-07-05 03:04:02.000000000 +0800 >@@ -8,7 +8,7 @@ > # > > PORTNAME= portconf >-PORTVERSION= 1.3 >+PORTVERSION= 1.4 > CATEGORIES= ports-mgmt > MASTER_SITES= # none > DISTFILES= # none >diff -ruN --exclude=CVS /usr/ports/ports-mgmt/portconf/files/portconf.sh.in /amd/account/gcs/96/9655630/dev/ports/ports-mgmt/portconf/files/portconf.sh.in >--- /usr/ports/ports-mgmt/portconf/files/portconf.sh.in 2007-09-24 03:26:33.000000000 +0800 >+++ /amd/account/gcs/96/9655630/dev/ports/ports-mgmt/portconf/files/portconf.sh.in 2008-07-05 02:43:31.000000000 +0800 >@@ -36,7 +36,7 @@ > sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do > for _port in ${_line%%:*}; do > if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then >- echo ${_line#*:} | sed -E 's/([A-Z0-9_]+)(=([^|]+))?/\1=\3/g;s/ *\| */|/g;s/ /%/g' >+ echo ${_line#*:} | sed -E 's/(!?[A-Z0-9_]+)(=([^|]+))?/\1=\3/g;s/ *\| */|/g;s/ /%/g' > fi > done > done >diff -ruN --exclude=CVS /usr/ports/ports-mgmt/portconf/pkg-install /amd/account/gcs/96/9655630/dev/ports/ports-mgmt/portconf/pkg-install >--- /usr/ports/ports-mgmt/portconf/pkg-install 2007-06-23 03:11:03.000000000 +0800 >+++ /amd/account/gcs/96/9655630/dev/ports/ports-mgmt/portconf/pkg-install 2008-07-05 02:45:36.000000000 +0800 >@@ -11,6 +11,7 @@ > .if !empty(.CURDIR:M${PORTS_DIR}*) && exists(${PKG_PREFIX}/libexec/portconf) > _PORTCONF!=${PKG_PREFIX}/libexec/portconf > .for i in \${_PORTCONF:S/|/ /g} >+\${i:C/!([A-Z0-9_]+)(=([^ ]+)?)?/.undef \1/g} > \${i:S/%/ /g} > .endfor > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125273
: 88474