New port: sysutils/pkg-orphan A console utility for managing unreferenced FreeBSD packages
pkg-orphan is a console utility for managing orphan, i.e. unreferenced FreeBSD packages. It finds all or selected orphans and lets the user choose which ones to remove and which ones to keep. It maintains a keep-list file, so previously kept packages will be skipped automatically. In batch mode, all packages, not present in the keep-list are either deleted or kept in the list. Since orphan packages are usually much fewer than non-orphan ones, it can be useful for quickly finding and deleting unused packages, even on a system with hundreds of them installed. Features: - interactive and batch modes - maintains a kept package list, to avoid asking for the same package again - can delete packages recursively, but without deleting shared dependencies or previously kept packages - the keep-list file does not contain package versions, so upgrades generally don't require editing of the file WWW: http://sourceforge.net/projects/pkg-orphan/ - Victor Semionov semionov@mail.b PR: ports/89730 Submitted by: Victor Semionov <semionov@mail.bg>
This commit is contained in:
parent
0ae25aa5b7
commit
3a2d2766d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149953
7 changed files with 107 additions and 0 deletions
28
ports-mgmt/pkg-orphan/Makefile
Normal file
28
ports-mgmt/pkg-orphan/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: pkg-orphan
|
||||
# Date created: 26 November 2005
|
||||
# Whom: Victor Semionov <semionov@mail.bg>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pkg-orphan
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=${PORTNAME}
|
||||
|
||||
MAINTAINER= semionov@mail.bg
|
||||
COMMENT= A console utility for managing unreferenced FreeBSD packages
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PERL5= yes
|
||||
|
||||
MAN1= pkg-orphan.1
|
||||
|
||||
PLIST_FILES= sbin/pkg-orphan
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pkg-orphan.pl ${PREFIX}/sbin/pkg-orphan
|
||||
${INSTALL_MAN} ${WRKSRC}/pkg-orphan.1 ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
ports-mgmt/pkg-orphan/distinfo
Normal file
3
ports-mgmt/pkg-orphan/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (pkg-orphan-0.1.0.tar.gz) = 94840a050d9d9c772e8219fbf3635dcd
|
||||
SHA256 (pkg-orphan-0.1.0.tar.gz) = ec20adc491e6cc93dcd8f210f19dc6a4c2508263998cb23cfd78ff4985c96e78
|
||||
SIZE (pkg-orphan-0.1.0.tar.gz) = 5867
|
22
ports-mgmt/pkg-orphan/pkg-descr
Normal file
22
ports-mgmt/pkg-orphan/pkg-descr
Normal file
|
@ -0,0 +1,22 @@
|
|||
pkg-orphan is a console utility for managing orphan, i.e. unreferenced FreeBSD
|
||||
packages. It finds all or selected orphans and lets the user choose which ones
|
||||
to remove and which ones to keep. It maintains a keep-list file, so previously
|
||||
kept packages will be skipped automatically. In batch mode, all packages, not
|
||||
present in the keep-list are either deleted or kept in the list.
|
||||
|
||||
Since orphan packages are usually much fewer than non-orphan ones, it can be
|
||||
useful for quickly finding and deleting unused packages, even on a system with
|
||||
hundreds of them installed.
|
||||
|
||||
Features:
|
||||
- interactive and batch modes
|
||||
- maintains a kept package list, to avoid asking for the same package again
|
||||
- can delete packages recursively, but without deleting shared dependencies or
|
||||
previously kept packages
|
||||
- the keep-list file does not contain package versions, so upgrades generally
|
||||
don't require editing of the file
|
||||
|
||||
WWW: http://sourceforge.net/projects/pkg-orphan/
|
||||
|
||||
- Victor Semionov
|
||||
semionov@mail.bg
|
|
@ -397,6 +397,7 @@
|
|||
SUBDIR += pib
|
||||
SUBDIR += pidof
|
||||
SUBDIR += pipemeter
|
||||
SUBDIR += pkg-orphan
|
||||
SUBDIR += pkg_cutleaves
|
||||
SUBDIR += pkg_install
|
||||
SUBDIR += pkg_install-devel
|
||||
|
|
28
sysutils/pkg-orphan/Makefile
Normal file
28
sysutils/pkg-orphan/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: pkg-orphan
|
||||
# Date created: 26 November 2005
|
||||
# Whom: Victor Semionov <semionov@mail.bg>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pkg-orphan
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=${PORTNAME}
|
||||
|
||||
MAINTAINER= semionov@mail.bg
|
||||
COMMENT= A console utility for managing unreferenced FreeBSD packages
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PERL5= yes
|
||||
|
||||
MAN1= pkg-orphan.1
|
||||
|
||||
PLIST_FILES= sbin/pkg-orphan
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pkg-orphan.pl ${PREFIX}/sbin/pkg-orphan
|
||||
${INSTALL_MAN} ${WRKSRC}/pkg-orphan.1 ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/pkg-orphan/distinfo
Normal file
3
sysutils/pkg-orphan/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (pkg-orphan-0.1.0.tar.gz) = 94840a050d9d9c772e8219fbf3635dcd
|
||||
SHA256 (pkg-orphan-0.1.0.tar.gz) = ec20adc491e6cc93dcd8f210f19dc6a4c2508263998cb23cfd78ff4985c96e78
|
||||
SIZE (pkg-orphan-0.1.0.tar.gz) = 5867
|
22
sysutils/pkg-orphan/pkg-descr
Normal file
22
sysutils/pkg-orphan/pkg-descr
Normal file
|
@ -0,0 +1,22 @@
|
|||
pkg-orphan is a console utility for managing orphan, i.e. unreferenced FreeBSD
|
||||
packages. It finds all or selected orphans and lets the user choose which ones
|
||||
to remove and which ones to keep. It maintains a keep-list file, so previously
|
||||
kept packages will be skipped automatically. In batch mode, all packages, not
|
||||
present in the keep-list are either deleted or kept in the list.
|
||||
|
||||
Since orphan packages are usually much fewer than non-orphan ones, it can be
|
||||
useful for quickly finding and deleting unused packages, even on a system with
|
||||
hundreds of them installed.
|
||||
|
||||
Features:
|
||||
- interactive and batch modes
|
||||
- maintains a kept package list, to avoid asking for the same package again
|
||||
- can delete packages recursively, but without deleting shared dependencies or
|
||||
previously kept packages
|
||||
- the keep-list file does not contain package versions, so upgrades generally
|
||||
don't require editing of the file
|
||||
|
||||
WWW: http://sourceforge.net/projects/pkg-orphan/
|
||||
|
||||
- Victor Semionov
|
||||
semionov@mail.bg
|
Loading…
Reference in a new issue