Date: Sat, 4 Aug 2018 17:06:05 +0200 From: =?UTF-8?Q?Ren=c3=a9_Ladan?= <rene@freebsd.org> To: Eugene Grosbein <eugen@grosbein.net>, Matthias Fechner <idefix@fechner.net>, freebsd-ports@freebsd.org, crees@freebsd.org Subject: Re: Delete a port Message-ID: <961df934-8776-2d55-b1f5-8098196616f1@freebsd.org> In-Reply-To: <5B65B4FB.70103@grosbein.net> References: <a48a6cd2-e088-618a-61e6-909f71ce8ba5@fechner.net> <20180804140317.GA22029@blogreen.org> <5B65B4FB.70103@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9VoWO9SIuKw5NNbAssa9ObDAnYzwBrbJ3 Content-Type: multipart/mixed; boundary="6d8WYRkPxL2G3CL8A8CAtHI3CQYydlw7y"; protected-headers="v1" From: =?UTF-8?Q?Ren=c3=a9_Ladan?= <rene@freebsd.org> To: Eugene Grosbein <eugen@grosbein.net>, Matthias Fechner <idefix@fechner.net>, freebsd-ports@freebsd.org, crees@freebsd.org Message-ID: <961df934-8776-2d55-b1f5-8098196616f1@freebsd.org> Subject: Re: Delete a port References: <a48a6cd2-e088-618a-61e6-909f71ce8ba5@fechner.net> <20180804140317.GA22029@blogreen.org> <5B65B4FB.70103@grosbein.net> In-Reply-To: <5B65B4FB.70103@grosbein.net> --6d8WYRkPxL2G3CL8A8CAtHI3CQYydlw7y Content-Type: multipart/mixed; boundary="------------445510BFF60E5191672000E1" Content-Language: en-US This is a multi-part message in MIME format. --------------445510BFF60E5191672000E1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/4/18 4:15 PM, Eugene Grosbein wrote: > 04.08.2018 21:03, Romain Tarti=E8re wrote: > >> On Sat, Aug 04, 2018 at 12:28:41PM +0200, Matthias Fechner wrote: >>> ./rmport: svnlog: not found >>> >>> Anyone an idea what is wrong? >> Never used this script, but I guess you are hitting line 390: >> >> | $EDITOR svnlog >> >> Any chance $EDITOR is not set? > It seems, rmport script needs a patch: > > Index: Tools/scripts/rmport > =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=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=3D=3D=3D > --- Tools/scripts/rmport (revision 476322) > +++ Tools/scripts/rmport (working copy) > @@ -39,6 +39,7 @@ > # MAINTAINER=3D crees@FreeBSD.org > # > > +EDITOR=3D${EDITOR:-vi} > PORTSDIR=3D${PORTSDIR:-/usr/ports} > INDEX=3D${PORTSDIR}/`make -C ${PORTSDIR} -V INDEXFILE` How about the attached patch? Rene --------------445510BFF60E5191672000E1 Content-Type: text/x-patch; name="rmport.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="rmport.diff" Index: Tools/scripts/rmport =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=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=3D=3D=3D --- Tools/scripts/rmport (revision 476346) +++ Tools/scripts/rmport (working copy) @@ -45,9 +45,13 @@ TODAY=3D`date -u -v+0d +%Y-%m-%d` =20 SED=3D"sed -i .orig -E" -# use ~/.ssh/config to set up the desired username if different than $LO= GNAME +# use ~/.ssh/config to set up the desired username if different than ${L= OGNAME} SVNREPO=3D${SVNREPO:-svn+ssh://repo.FreeBSD.org/ports} =20 +# set some default values +EDITOR=3D${EDITOR:-vi} +PAGER=3D${PAGER:-more} + if ! CDIFF=3D$(which cdiff) ; then CDIFF=3D${PAGER} fi @@ -275,7 +279,7 @@ port=3D${2} =20 log "${cat}/${port}: getting ${cat}/Makefile and port's files from repo= sitory" - svn up --depth empty ports/${cat} ports/$cat/Makefile + svn up --depth empty ports/${cat} ports/${cat}/Makefile svn up ports/${cat}/${port} } =20 @@ -387,7 +391,7 @@ log "running svn update" svn up --quiet ports 2>&1 |${PAGER:-less} =20 - $EDITOR svnlog + ${EDITOR} svnlog =20 answer=3D`ask "do you want to commit?"` =20 --------------445510BFF60E5191672000E1-- --6d8WYRkPxL2G3CL8A8CAtHI3CQYydlw7y-- --9VoWO9SIuKw5NNbAssa9ObDAnYzwBrbJ3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEEBpxaxYrAOVb7eoFrbv4YQo3ibcFAltlwN0ACgkQrbv4YQo3 ibdBtw/8DnK1i/bWfBVYm/+Oqgo0sNq3P6jj/MH643GL8ce230j2ZzdZNBsDCzRY bHV6cH2sf+bK8yBmn4jQtmn2dYFSjv2AXFBjMn+m7I9LH80cyRAU/EtyGZzrsAwR iE5YPllS0Btpd6RDjSGCewcod/9CjFpZx7d5N0OYWkhYN1Ero8Ycr/je2UHdf/7D QiSVmRTldQoxznCXYxyodFCFCCwqsgpsk/YfLuD3YiEEZ/SoJzZz8liLG5Ej/TOD Vg+mEoC+cJsqyUy1PJa1NWfuGSiqd/Tfr/Mbw7U1pB/GmPBaFlojjZBhSGbMaJmD 6VRJUqrico0rTAbV40VzKPcl6yAYY8Pb8SdV7nbVW0bvuoXoj11oCEt3X+2THb1C fafpbgWH6Bpfy9nqkP1lN0K9zoaFLKDAV5uc53OfgUQj+C/KGsm1GenTc5gXe1Al p4zJStO5Kszz2zuifOtGhgI6cztll0VI9crkVZFS9cqHEOR7r3C0/nvV6jA0TEcj K1+K2b4l63I4V8qhunjYvX3yjZXppiJIrfavtX08lgKu8OmWir1/VLXsR7w+usGl urV2oo0VZb3o9rwQy90MVKyES7p3px5ydIC95E2CpiNG1o64vOHuTakDzqBeQvfX XQvMdemv0RIAzPv3UtS/zKKvSiuvWOycs1EMUxv+O83CKomSrEU= =WyK0 -----END PGP SIGNATURE----- --9VoWO9SIuKw5NNbAssa9ObDAnYzwBrbJ3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?961df934-8776-2d55-b1f5-8098196616f1>