mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Update to 20010826.
Overall: - Support the cases where PORTREVISION == 0 and PORTEPOCH == 0. portupgrade: - Add a new option: -l/--log-results, which is used to save the results as a file. [new] - Properly exit with a non-zero status when main() does not return a valid value. [fix] portsclean: - Finally implement portsclean -L/--libclean, which cleans the old shared libraries that are not recorded in the package database. It moves old and orphan shared libraries to ${PREFIX}/lib/compat/pkg. [new] - In concert with this feature, the portupgrade port now digs the directory and installs a startup script which runs `ldconfig -m ${PREFIX}/lib/compat/pkg'. [new] - Implement portsclean -DD, which cleans all the distfiles which are not referenced from any port that is currently installed, which portsclean -D only cleans the distfiles which are not referenced from any port in the ports tree. [new] Note that -DD runs very fast but removes more, whereas -D runs so slow but removes less. Idea provided by: Kris Kennaway <kris@obsecurity.org> portsdb: - Do not fail in the case when INDEX.db and INDEX.rbo are not in sync somehow. [fix] - Implement -r/--recursive. (a bit slow, though) [new] Completions: - Improve and update zsh compdefs. - Add completion definitions for bash. [new] ..and several minor improvements. Enjoy!
This commit is contained in:
parent
b6aa397e9d
commit
3ebd3062f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46891
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20010823b
|
||||
PORTVERSION= 20010826
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
@ -57,9 +57,11 @@ do-install:
|
||||
cd ${WRKSRC} && ${RUBY} install.rb
|
||||
${MKDIR} ${PREFIX}/share/zsh/site-functions
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/zsh/* ${PREFIX}/share/zsh/site-functions/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${EXAMPLESDIR}/bash
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/bash/* ${EXAMPLESDIR}/bash/
|
||||
${MKDIR} ${EXAMPLESDIR}/tcsh
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pkgtools-20010823b.tar.gz) = d5812d77ee982c53f2b4c910df195fe2
|
||||
MD5 (pkgtools-20010826.tar.gz) = 1e7adff53c1a5d73e31af97d80dd1f84
|
||||
|
@ -10,8 +10,10 @@ portinstall: Helps you install new ports in a handy way.
|
||||
portcvsweb: Instantly browses a history via CVSweb.
|
||||
portversion: Replaces pkg_version(1). This runs much faster and is
|
||||
cooperative with portupgrade(1).
|
||||
portsclean: Cleans ports workdir's and unreferenced distfiles.
|
||||
portsdb: Creates binary database from the ports INDEX.
|
||||
portsclean: Cleans ports workdir's, unreferenced distfiles and
|
||||
old and orphan shared libraries.
|
||||
portsdb: Creates binary database from the ports INDEX, and
|
||||
expands ports globs.
|
||||
pkg_deinstall: Wraps pkg_delete(1) and provides wildcards and
|
||||
dependency recursion support, plus some more.
|
||||
pkg_glob: Expands package globs.
|
||||
|
@ -1,3 +1,6 @@
|
||||
etc/rc.d/000.pkgtools.sh
|
||||
@exec /bin/mkdir -p %D/lib/compt/pkg
|
||||
@unexec /bin/rmdir %D/lib/compt/pkg 2>/dev/null || true
|
||||
sbin/pkg_deinstall
|
||||
sbin/pkg_glob
|
||||
sbin/pkgdepfix
|
||||
@ -20,10 +23,13 @@ share/zsh/site-functions/_pkg_deinstall
|
||||
share/zsh/site-functions/_pkg_glob
|
||||
share/zsh/site-functions/_pkgdepfix
|
||||
share/zsh/site-functions/_portsclean
|
||||
share/zsh/site-functions/_portsdb
|
||||
share/zsh/site-functions/_portupgrade
|
||||
share/zsh/site-functions/_portversion
|
||||
@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true
|
||||
@unexec rmdir %D/share/zsh 2>/dev/null || true
|
||||
%%PORTDOCS%%share/examples/portupgrade/bash/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/bash
|
||||
%%PORTDOCS%%share/examples/portupgrade/tcsh/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/tcsh
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20010823b
|
||||
PORTVERSION= 20010826
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
@ -57,9 +57,11 @@ do-install:
|
||||
cd ${WRKSRC} && ${RUBY} install.rb
|
||||
${MKDIR} ${PREFIX}/share/zsh/site-functions
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/zsh/* ${PREFIX}/share/zsh/site-functions/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${EXAMPLESDIR}/bash
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/bash/* ${EXAMPLESDIR}/bash/
|
||||
${MKDIR} ${EXAMPLESDIR}/tcsh
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pkgtools-20010823b.tar.gz) = d5812d77ee982c53f2b4c910df195fe2
|
||||
MD5 (pkgtools-20010826.tar.gz) = 1e7adff53c1a5d73e31af97d80dd1f84
|
||||
|
@ -10,8 +10,10 @@ portinstall: Helps you install new ports in a handy way.
|
||||
portcvsweb: Instantly browses a history via CVSweb.
|
||||
portversion: Replaces pkg_version(1). This runs much faster and is
|
||||
cooperative with portupgrade(1).
|
||||
portsclean: Cleans ports workdir's and unreferenced distfiles.
|
||||
portsdb: Creates binary database from the ports INDEX.
|
||||
portsclean: Cleans ports workdir's, unreferenced distfiles and
|
||||
old and orphan shared libraries.
|
||||
portsdb: Creates binary database from the ports INDEX, and
|
||||
expands ports globs.
|
||||
pkg_deinstall: Wraps pkg_delete(1) and provides wildcards and
|
||||
dependency recursion support, plus some more.
|
||||
pkg_glob: Expands package globs.
|
||||
|
@ -1,3 +1,6 @@
|
||||
etc/rc.d/000.pkgtools.sh
|
||||
@exec /bin/mkdir -p %D/lib/compt/pkg
|
||||
@unexec /bin/rmdir %D/lib/compt/pkg 2>/dev/null || true
|
||||
sbin/pkg_deinstall
|
||||
sbin/pkg_glob
|
||||
sbin/pkgdepfix
|
||||
@ -20,10 +23,13 @@ share/zsh/site-functions/_pkg_deinstall
|
||||
share/zsh/site-functions/_pkg_glob
|
||||
share/zsh/site-functions/_pkgdepfix
|
||||
share/zsh/site-functions/_portsclean
|
||||
share/zsh/site-functions/_portsdb
|
||||
share/zsh/site-functions/_portupgrade
|
||||
share/zsh/site-functions/_portversion
|
||||
@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true
|
||||
@unexec rmdir %D/share/zsh 2>/dev/null || true
|
||||
%%PORTDOCS%%share/examples/portupgrade/bash/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/bash
|
||||
%%PORTDOCS%%share/examples/portupgrade/tcsh/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/tcsh
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20010823b
|
||||
PORTVERSION= 20010826
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
@ -57,9 +57,11 @@ do-install:
|
||||
cd ${WRKSRC} && ${RUBY} install.rb
|
||||
${MKDIR} ${PREFIX}/share/zsh/site-functions
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/zsh/* ${PREFIX}/share/zsh/site-functions/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${EXAMPLESDIR}/bash
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/bash/* ${EXAMPLESDIR}/bash/
|
||||
${MKDIR} ${EXAMPLESDIR}/tcsh
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pkgtools-20010823b.tar.gz) = d5812d77ee982c53f2b4c910df195fe2
|
||||
MD5 (pkgtools-20010826.tar.gz) = 1e7adff53c1a5d73e31af97d80dd1f84
|
||||
|
@ -10,8 +10,10 @@ portinstall: Helps you install new ports in a handy way.
|
||||
portcvsweb: Instantly browses a history via CVSweb.
|
||||
portversion: Replaces pkg_version(1). This runs much faster and is
|
||||
cooperative with portupgrade(1).
|
||||
portsclean: Cleans ports workdir's and unreferenced distfiles.
|
||||
portsdb: Creates binary database from the ports INDEX.
|
||||
portsclean: Cleans ports workdir's, unreferenced distfiles and
|
||||
old and orphan shared libraries.
|
||||
portsdb: Creates binary database from the ports INDEX, and
|
||||
expands ports globs.
|
||||
pkg_deinstall: Wraps pkg_delete(1) and provides wildcards and
|
||||
dependency recursion support, plus some more.
|
||||
pkg_glob: Expands package globs.
|
||||
|
@ -1,3 +1,6 @@
|
||||
etc/rc.d/000.pkgtools.sh
|
||||
@exec /bin/mkdir -p %D/lib/compt/pkg
|
||||
@unexec /bin/rmdir %D/lib/compt/pkg 2>/dev/null || true
|
||||
sbin/pkg_deinstall
|
||||
sbin/pkg_glob
|
||||
sbin/pkgdepfix
|
||||
@ -20,10 +23,13 @@ share/zsh/site-functions/_pkg_deinstall
|
||||
share/zsh/site-functions/_pkg_glob
|
||||
share/zsh/site-functions/_pkgdepfix
|
||||
share/zsh/site-functions/_portsclean
|
||||
share/zsh/site-functions/_portsdb
|
||||
share/zsh/site-functions/_portupgrade
|
||||
share/zsh/site-functions/_portversion
|
||||
@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true
|
||||
@unexec rmdir %D/share/zsh 2>/dev/null || true
|
||||
%%PORTDOCS%%share/examples/portupgrade/bash/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/bash
|
||||
%%PORTDOCS%%share/examples/portupgrade/tcsh/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/tcsh
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20010823b
|
||||
PORTVERSION= 20010826
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
@ -57,9 +57,11 @@ do-install:
|
||||
cd ${WRKSRC} && ${RUBY} install.rb
|
||||
${MKDIR} ${PREFIX}/share/zsh/site-functions
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/zsh/* ${PREFIX}/share/zsh/site-functions/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${EXAMPLESDIR}/bash
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/bash/* ${EXAMPLESDIR}/bash/
|
||||
${MKDIR} ${EXAMPLESDIR}/tcsh
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pkgtools-20010823b.tar.gz) = d5812d77ee982c53f2b4c910df195fe2
|
||||
MD5 (pkgtools-20010826.tar.gz) = 1e7adff53c1a5d73e31af97d80dd1f84
|
||||
|
@ -10,8 +10,10 @@ portinstall: Helps you install new ports in a handy way.
|
||||
portcvsweb: Instantly browses a history via CVSweb.
|
||||
portversion: Replaces pkg_version(1). This runs much faster and is
|
||||
cooperative with portupgrade(1).
|
||||
portsclean: Cleans ports workdir's and unreferenced distfiles.
|
||||
portsdb: Creates binary database from the ports INDEX.
|
||||
portsclean: Cleans ports workdir's, unreferenced distfiles and
|
||||
old and orphan shared libraries.
|
||||
portsdb: Creates binary database from the ports INDEX, and
|
||||
expands ports globs.
|
||||
pkg_deinstall: Wraps pkg_delete(1) and provides wildcards and
|
||||
dependency recursion support, plus some more.
|
||||
pkg_glob: Expands package globs.
|
||||
|
@ -1,3 +1,6 @@
|
||||
etc/rc.d/000.pkgtools.sh
|
||||
@exec /bin/mkdir -p %D/lib/compt/pkg
|
||||
@unexec /bin/rmdir %D/lib/compt/pkg 2>/dev/null || true
|
||||
sbin/pkg_deinstall
|
||||
sbin/pkg_glob
|
||||
sbin/pkgdepfix
|
||||
@ -20,10 +23,13 @@ share/zsh/site-functions/_pkg_deinstall
|
||||
share/zsh/site-functions/_pkg_glob
|
||||
share/zsh/site-functions/_pkgdepfix
|
||||
share/zsh/site-functions/_portsclean
|
||||
share/zsh/site-functions/_portsdb
|
||||
share/zsh/site-functions/_portupgrade
|
||||
share/zsh/site-functions/_portversion
|
||||
@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true
|
||||
@unexec rmdir %D/share/zsh 2>/dev/null || true
|
||||
%%PORTDOCS%%share/examples/portupgrade/bash/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/bash
|
||||
%%PORTDOCS%%share/examples/portupgrade/tcsh/complete.sample
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade/tcsh
|
||||
%%PORTDOCS%%@dirrm share/examples/portupgrade
|
||||
|
Loading…
Reference in New Issue
Block a user