From owner-freebsd-ports@FreeBSD.ORG Tue Aug 12 11:47:42 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 832D737B401; Tue, 12 Aug 2003 11:47:42 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8653B43F3F; Tue, 12 Aug 2003 11:47:41 -0700 (PDT) (envelope-from sw@gegenunendlich.de) Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19meBI-0008GB-00; Tue, 12 Aug 2003 20:47:40 +0200 Received: from [80.142.203.52] (helo=kyuzo.dunkelkammer.void) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19meBI-0007hp-00; Tue, 12 Aug 2003 20:47:40 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id A71FB87F9; Tue, 12 Aug 2003 20:47:39 +0200 (CEST) Date: Tue, 12 Aug 2003 20:47:39 +0200 From: Stefan Walter To: ports@freebsd.org Message-ID: <20030812184739.GB31693@kyuzo.dunkelkammer.void> Mail-Followup-To: ports@freebsd.org, Adam Weinberger References: <20030812164958.GA5821@merlin.emma.line.org> <20030812181531.GA31693@kyuzo.dunkelkammer.void> <20030812182401.GH18091@toxic.magnesium.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: <20030812182401.GH18091@toxic.magnesium.net> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.4i cc: Adam Weinberger Subject: Re: uncommitted new ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 18:47:42 -0000 --t0UkRYy7tHLRMCai Content-Type: multipart/mixed; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Adam Weinberger, 12.08.03, 20:24h CEST: > >> (08.12.2003 @ 1415 PST): Stefan Walter said, in 2.0K: << > > o [2003/07/27] ports/54912 ports-bugs New port: pkg_cutleaves - Perl = script for finding/pkg_deinstalling 'leaf' packages > >> end of "Re: uncommitted new ports" from Stefan Walter << >=20 > I'm confused about the -R option of pkg_cutleaves. How can there be > packages which depend upon a package "not referenced by any other > installed package?" Oops, my fault: It should read "packages the deinstalled 'leaf' packages depend(ed) on". It just invokes pkg_deinstall with '-R'. Thanks for the hint, I've corrected the man page (see attached patch); the script does the right thing, though. ;) Stefan, occasionally confusing 'pkg_deinstall -R' and 'pkg_deinstall -r' --=20 PGP key: 0x12B9E0B3 || 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pkg_cutleaves.1.patch" --- pkg_cutleaves.1.old Tue Aug 12 20:40:15 2003 +++ pkg_cutleaves.1 Tue Aug 12 20:42:45 2003 @@ -24,8 +24,8 @@ .IP -x Exclude packages matching expressions given in the exclude file. .IP -R -Run 'pkg_deinstall -R' instead of plain 'pkg_deinstall', so packages -depending on removed leaf packages will be deinstalled, too. +Run 'pkg_deinstall -R' instead of plain 'pkg_deinstall', so packages the +removed leaf packages depend(ed) on will be deinstalled, too. .SH FILES .I /usr/local/etc/pkg_leaves.exclude .RS --V0207lvV8h4k8FAm-- --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQGVAwUBPzk2S1aRERsSueCzAQLdMwv9EhmAD+L5NFGfrGUusEXJpcdse6nh54vY 4YbpD/uhqo6Kew3BoDYHWVHO/U8G5brSUYZ4f+dSKP9pr6W4teg4z0rDJIKoC6z8 zFA4O2D4fozM8s13DrzI/PcF/oRn96c1NYutcN7vsJfnhRSiG9VwiBWVsoswKpZU rKcUSFtbMi/CoDrGtWSJrpqsbO0WVIh0xlX3VGn9vollyFUzEkUWYuAZdg54Lu6z VRsHn+dD3KMXOQtA80r9PKp4PBwSoRKMq6vX05libtuBq9UsFw0YuF2qNBbWfoZe XI0DtCoXbool86W8wuKExILUwUPxcXlUFUh7p+h/ij2uhTZHf+hpPDFT/imSg6/k RY4YvF9DrGGa5ceRKbtQuH7puT27PA0Zos88+UatJozjpniQ8qIb9G1tVqudkt94 lpYwOMmYIllVui3tnByDDQf8Y1luM/PB4n2ZGNM2TCjtdPcOH55be5mW5AuT+xNb hE8lNaJWEK5czHngYoJDrNeB91VdAH8c =mSpl -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--