Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 20:07:47 -0400
From:      Steve Bertrand <steve@ibctech.ca>
To:        "freebsd-questions@freebsd.org Questions -" <freebsd-questions@freebsd.org>
Subject:   Automagic revision numbers with Perl Modules and SVN
Message-ID:  <4A304AD3.10109@ibctech.ca>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hey all,

I've been migrating all of my projects from CVS to SVN (starting over
from the beginning).

All of the projects in question are Perl modules.

Can someone give me a tip on what I have to do in order to prevent the
following when I do a ``make install''?:

FreeBSD: Registering installation in the package database
Cannot create directory /var/db/pkg/bsdpan-EagleUser-1.009: File exists

I'm trying to follow documentation on the 'net, but to no avail.
Following is a patch to how I had the module configured for CVS, and
what I changed to based on what I found on the web for SVN. To be
honest, I'm not a coder, so I don't even know if what I'm changing is in
the proper place or not.

Any guidance to fix the version numbering (especially to fix the FreeBSD
package db) to make it automagic again, is very welcome:


%svn diff -r56 EagleUser.pm
Index: EagleUser.pm
===================================================================
--- EagleUser.pm        (revision 56)
+++ EagleUser.pm        (working copy)
@@ -13,7 +13,7 @@
 @EXPORT = qw(

 );
-$VERSION = sprintf "%d.%03d", q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/;
+$VERSION = (q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/;

Thanks,

Steve

[-- Attachment #2 --]
0	*H
010	+0	*H
00CK9AbxIUw0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10	*H
	steve@ibctech.ca0"0
	*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|tݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(GC^K6XV4j<t-0+0U0steve@ibctech.ca0U00
	*H
æ|85aQz-*3HG		.s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1n00CK9AbxIUw0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10	*H
	steve@ibctech.ca0"0
	*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|tݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(GC^K6XV4j<t-0+0U0steve@ibctech.ca0U00
	*H
æ|85aQz-*3HG		.s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1n0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0	+0	*H
	1	*H
0	*H
	1
090611000747Z0#	*H
	1e~qrtҞZ*y0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0
	*H
ZQpClCty8|3h[|re}5}K9ƾ2k7Foh=!lRaбA<ǔM5&
vAx.+Q¶F {˒,G5`
d:&
K
Ykkg00ʞhTs}(l4˪UŜ;u=Ώ\.\a04w1LY̞;ąJ64	ls;E̛L

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A304AD3.10109>