Bug 114675 - [PATCH] ports-mgmt/bpkg: update to 1.2
Summary: [PATCH] ports-mgmt/bpkg: update to 1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: chinsan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-17 22:20 UTC by Andy Kosela
Modified: 2007-07-23 12:00 UTC (History)
1 user (show)

See Also:


Attachments
bpkg-1.2.patch (20.55 KB, patch)
2007-07-17 22:20 UTC, Andy Kosela
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Kosela 2007-07-17 22:20:02 UTC
- Update to 1.2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-17 22:20:15 UTC
Class Changed
From-To: update->maintainer-update

Fix category (submitter is maintainer)
Comment 2 chinsan freebsd_committer freebsd_triage 2007-07-18 15:54:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->chinsan

I'll handle this. :)
Comment 3 chinsan 2007-07-21 22:24:29 UTC
Hi, Andy:


On 7/18/07, Andy Kosela <andy.kosela@gmail.com> wrote:
> --- bpkg-1.2.patch begins here ---
> diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/Makefile /usr/home/spear/downloads/bpkg-1.2/Makefile
> --- /usr/ports/ports-mgmt/bpkg/Makefile Tue Jul 10 09:43:00 2007
> +++ /usr/home/spear/downloads/bpkg-1.2/Makefile Mon Jul 16 15:09:11 2007
> @@ -2,13 +2,13 @@

> -# $FreeBSD: ports/ports-mgmt/bpkg/Makefile,v 1.3 2007/07/10 07:43:00 miwi Exp $
> +# $FreeBSD$

> diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in /usr/home/spear/downloads/bpkg-1.2/files/bpkg.sh.in
> --- /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in Tue Jul 10 09:43:01 2007
> +++ /usr/home/spear/downloads/bpkg-1.2/files/bpkg.sh.in Tue Jul 17 19:33:19 2007
> @@ -1,5 +1,5 @@
>  #!/bin/sh
> -# $FreeBSD: ports/ports-mgmt/bpkg/files/bpkg.sh.in,v 1.2 2007/07/10 07:43:01 miwi Exp $
> +# $FreeBSD$

$FreeBSD$ is a CVS id keyword which is common used in FreeBSD Project.(similar
to $ID$).  It's unnecessary to modify with them. :)

http://www.freebsd.org/doc/en/books/porters-handbook/quick-porting.html#PORTING-MAKEFILE
"Do not worry about the contents of the $FreeBSD$ line, it will be
filled in automatically by CVS when the port is imported to our main
ports tree."

The others seems like okay.
But maybe you should try to respect some important variables in the future. :)

Such as $WRKDIRPREFIX, $PREFIX, $WRKDIRPREFIX and something else described in
http://www.freebsd.org/doc/en/books/handbook/ports-using.html#AEN5731
and /usr/ports/Mk/bsd.ports.mk.
Because I noticed that bpkg is using some absoulte path instead of
respect the variables motioned above.

BTW, your name is located at
http://www.freebsd.org/doc/en/articles/contributors/contrib-additional.html.
Sorry I gave you the wrong URL a few days ago. :p


Cheers,

- chinsan
Comment 4 chinsan freebsd_committer freebsd_triage 2007-07-21 22:26:01 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 5 Andy Kosela 2007-07-22 14:46:31 UTC
Hi chinsan,

For the most part bpkg.sh do not call bsd.port.mk at all, so there is
no need to include those variables mentioned by you (only uses it when
buidling ports from the source). Also in the case of -Z command line
argument, some paths are absolute for the specific purpose of avoiding
problems for users of old xorg-6.9.
Just my perspective.

1.2 eliminates some serious bug in handling regexp package names, so
please commit it as soon as it is possible.
Thanks!

Andy Kosela
Pythagoras Foundation
Comment 6 dfilter service freebsd_committer freebsd_triage 2007-07-23 11:54:24 UTC
chinsan     2007-07-23 10:54:18 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/bpkg      Makefile 
    ports-mgmt/bpkg/files bpkg.8 bpkg.sh.in 
  Log:
  - Update to 1.2.
  
  PR:             ports/114675
  Submitted by:   Andy Kosela
  Approved by:    rafan (mentor)
  
  Revision  Changes    Path
  1.4       +1 -1      ports/ports-mgmt/bpkg/Makefile
  1.3       +2 -2      ports/ports-mgmt/bpkg/files/bpkg.8
  1.3       +151 -135  ports/ports-mgmt/bpkg/files/bpkg.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 chinsan freebsd_committer freebsd_triage 2007-07-23 11:54:47 UTC
State Changed
From-To: feedback->closed

Committed.  Thanks.