FreeBSD Bugzilla – Attachment 113288 Details for
Bug 154809
[PATCH] ports-mgmt/porttools should include PORTREVISION in PR titles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
porttools-0.99_2.patch
porttools-0.99_2.patch (text/plain), 1.66 KB, created by
Jonathan Chu
on 2011-02-15 22:20:10 UTC
(
hide
)
Description:
porttools-0.99_2.patch
Filename:
MIME Type:
Creator:
Jonathan Chu
Created:
2011-02-15 22:20:10 UTC
Size:
1.66 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/ports-mgmt/porttools/Makefile /tmp/milki/ports/porttools/Makefile >--- /usr/ports/ports-mgmt/porttools/Makefile 2010-12-14 10:38:51.000000000 -0800 >+++ /tmp/milki/ports/porttools/Makefile 2011-02-15 13:03:46.000000000 -0800 >@@ -7,7 +7,7 @@ > > PORTNAME= porttools > PORTVERSION= 0.99 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= ports-mgmt > MASTER_SITES= SF > >diff -ruN --exclude=CVS /usr/ports/ports-mgmt/porttools/files/patch-cmd_submit.in /tmp/milki/ports/porttools/files/patch-cmd_submit.in >--- /usr/ports/ports-mgmt/porttools/files/patch-cmd_submit.in 1969-12-31 16:00:00.000000000 -0800 >+++ /tmp/milki/ports/porttools/files/patch-cmd_submit.in 2011-02-15 14:06:20.000000000 -0800 >@@ -0,0 +1,25 @@ >+--- cmd_submit.in.old 2011-02-15 12:55:54.000000000 -0800 >++++ cmd_submit.in 2011-02-15 12:59:51.000000000 -0800 >+@@ -146,6 +146,7 @@ >+ # Collect information about the port >+ PORTNAME="`make -V PKGNAMEPREFIX``make -V PORTNAME``make -V PKGNAMESUFFIX`" >+ PORTVERSION="`make -V PORTVERSION`" >++PORTREVISION="`make -V PORTREVISION`" >+ PKGNAME="`make -V PKGNAME`" >+ CATEGORY="`make -V CATEGORIES | sed -E 's/^([^ ]+).*$/\1/'`" >+ MAINTAINER="`make -V MAINTAINER`" >+@@ -194,8 +195,14 @@ >+ # Override some parameters if submitting an update to a newer >+ # version of an existing port >+ CLASS="update" >++ if [ "${PORTREVISION}" = "0" ] >++ then >+ SUFFIX="update to ${PORTVERSION}" >+ DESCRIPTION="- Update to ${PORTVERSION}" >++ else >++ SUFFIX="update to ${PORTVERSION}_${PORTREVISION}" >++ DESCRIPTION="- Update to ${PORTVERSION}_${PORTREVISION}" >++ fi >+ fi >+ >+ # Check to see if maintainership was requested
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 154809
: 113288 |
113289