Skip site navigation (1)Skip section navigation (2)
Date:      03 Mar 2003 18:34:01 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        kris@obsecurity.org, FreeBSD GNOME Users <gnome@freebsd.org>, ports@freebsd.org
Subject:   Re: Is it allow port to do the CVS checkout by itself?
Message-ID:  <1046734436.323.43.camel@gyros>
In-Reply-To: <F54e3TgwfcWTHqd5yHD00055356@hotmail.com>
References:  <F54e3TgwfcWTHqd5yHD00055356@hotmail.com>

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

--=-GdfzfwFy2n4i+YX9oNif
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-03-03 at 18:28, Mezz bsdforums.org wrote:
> >On Mon, Mar 03, 2003 at 01:40:57PM -0500, Mezz bsdforums.org wrote:
> > > Hello franz,
> > >
> > > Yes, I am aware of those. What I am asking in the orignal question is
> > > that.. Is it allow to have "cvs checkout" in the Makefile? It means,=20
> >there
> > > will be no checksum, but will checkout the very lastest stable versio=
n=20
> >of
> > > VIM, patch lastest vim-gtk2 and install it. I seem to not able find t=
his
> > > info in the handbook about CVS. Hope, I am not blind. (I forgot to cc=
=20
> >ports
> > > maillist..) :-)
> >
> >You shouldn't do CVS checkouts to fetch the port.  Many people are
> >behind firewalls and cannot do this.  Instead, you could create a
> >'maintainer-fetch' target that performs the CVS fetch and creates a
> >tarball, which will be uploaded to a distribution site, so users will
> >fetch that instead.
>=20
> Ok, I did the search and found other better one.
>=20
> $ find /usr/ports -maxdepth 3 -name Makefile | xargs egrep -l "z3"
> /usr/ports/devel/error/Makefile
> /usr/ports/editors/mg/Makefile
> /usr/ports/lang/gcc32/Makefile
> ....
> ...
>=20
> I think, I am going to copy the error/Makefile's way like this:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
> #
> # CVS checkout stuff mostly stolen from security/openssh-askpass port by
> # kris@freebsd.org
> #
> tarball:
> 	@${MKDIR} ${DISTDIR}/${PKGNAME} && \
> 	cd ${DISTDIR}/${PKGNAME}; \
> 	for CVS_SITE in ${CVS_SITES}; do \
> 		${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
> 		if ${CVS_CMD} -d $${CVS_SITE} co -D "${CVS_DATE}" \
> 		    ${CVS_MODULE}; then \
> 			cd ${DISTDIR}; \
> 			${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
> 			${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \
> 			${MV} ${PKGNAME}/${CVS_MODULE} \
> 				${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
> 			${TAR} -cz \
> 				-X ${FILESDIR}/tarignore \
> 				-f ${PKGNAME}.tar.gz \
> 				-C ${PKGNAME}/${CVS_MODULE:H} \
> 				${PKGNAME}; \
> 			exit; \
> 		fi \
> 	done; \
> 	${RMDIR} ${DISTDIR}/${PKGNAME}; \
> 	${ECHO_MSG} ">> CVS checkout failed."; \
> 	exit 1;
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Is it fine? :-)

Yes, but like Kris said, you will then need to post this tarball to an
FTP/HTTP site for normal fetching.

Joe

>=20
> Cheers,
> Mezz
>=20
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* =20
> http://join.msn.com/?page=3Dfeatures/junkmail
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-GdfzfwFy2n4i+YX9oNif
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+Y+Zkb2iPiv4Uz4cRAqarAKCBmeeHjutZpMqi6ECrQppNJbWQEQCgnoNN
xpQwWybPndpMmp2BM3pQpS4=
=dXMc
-----END PGP SIGNATURE-----

--=-GdfzfwFy2n4i+YX9oNif--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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