FreeBSD Bugzilla – Attachment 146843 Details for
Bug 193304
[maintainer] update ports-mgmt/pkg_replace (more compatible "portupgrade")
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pkg_replace update 0.8.0 -> 20140721 (cleanup Makefile)
update-pkg_replace-20140721.txt (text/plain), 3.86 KB, created by
Ken DEGUCHI
on 2014-09-05 06:18:13 UTC
(
hide
)
Description:
pkg_replace update 0.8.0 -> 20140721 (cleanup Makefile)
Filename:
MIME Type:
Creator:
Ken DEGUCHI
Created:
2014-09-05 06:18:13 UTC
Size:
3.86 KB
patch
obsolete
>--- pkg_replace/Makefile.orig 2014-04-08 07:45:06.701629393 +0900 >+++ pkg_replace/Makefile 2014-09-05 15:09:38.461546000 +0900 >@@ -2,41 +2,45 @@ > # $FreeBSD: head/ports-mgmt/pkg_replace/Makefile 350343 2014-04-06 09:39:24Z ak $ > > PORTNAME= pkg_replace >-PORTVERSION= 0.8.0 >-PORTREVISION= 10 >+PORTVERSION= 20140721 > CATEGORIES= ports-mgmt >-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} >-MASTER_SITE_SUBDIR= portutil/22116 >- >-PATCH_SITES= http://member.tokoha-u.ac.jp/~kdeguchi/download/ >-PATCHFILES= ${PKGNAME}.patch >+MASTER_SITES= http://member.tokoha-u.ac.jp/~kdeguchi/download/ > > MAINTAINER= kdeguchi@sz.tokoha-u.ac.jp > COMMENT= Utility for upgrading installed packages > >-USES= tar:bzip2 >+USES= tar:xz > NO_ARCH= yes > >-MAKE_ARGS= PREFIX="${PREFIX}" \ >- PORTSDIR="${PORTSDIR}" PKG_DBDIR="${PKG_DBDIR}" >+PLIST_FILES= sbin/pkg_replace \ >+ man/man1/pkg_replace.1.gz \ >+ "@sample %%ETCDIR%%/pkg_replace.conf.sample" >+PLIST_DIRSTRY= %%ETCDIR%% >+ >+SUB_FILES= pkg-message >+SUB_LIST= ETCDIR=${ETCDIR} > >-OPTIONS_DEFINE= PKGDB_FIX ZSH >-PKGDB_FIX_DESC= Fixing tool of installed package dependencies >+PORTDOCS= README README.ja > >-OPTIONS_SUB= yes >+OPTIONS_DEFINE= DOCS >+ >+NO_BUILD= yes > > .include <bsd.port.options.mk> > > post-patch: >- @${REINPLACE_CMD} -e 's/pkg_replace/pkg_replace pkgdb_fix/' ${WRKSRC}/sbin/Makefile >- @${REINPLACE_CMD} -e 's/mkdir -p $${FILESDIR}/@true/' ${WRKSRC}/share/zsh/Makefile >- >-pre-install: >- @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions >+ @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g;s|%%PKGCOMPATDIR%%|${PKGCOMPATDIR}|g' \ >+ ${WRKSRC}/${PORTNAME}.sh > >-.if defined(WITH_PKGNG) >-post-install: >- @${REINPLACE_CMD} -e '/pkgdb_fix/d' ${TMPPLIST} >-.endif >+do-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ >+ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} >+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ >+ ${STAGEDIR}${MANPREFIX}/man/man1/ >+ ${MKDIR} ${STAGEDIR}${ETCDIR} >+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \ >+ ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample >+ ${MKDIR} ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) > > .include <bsd.port.mk> > >--- pkg_replace/distinfo.orig 2014-04-08 07:45:06.697629192 +0900 >+++ pkg_replace/distinfo 2014-07-21 15:22:19.562245301 +0900 >@@ -1,4 +1,2 @@ >-SHA256 (pkg_replace-0.8.0.tar.bz2) = 3092f5fc0d18529eb5d38776941c0ee4d0073ecb524ab17671c81ca69c29e214 >-SIZE (pkg_replace-0.8.0.tar.bz2) = 17296 >-SHA256 (pkg_replace-0.8.0_10.patch) = a34f12d261e4b273adb35faabe3551a783ae34a8ff8c626a444c7001a398e351 >-SIZE (pkg_replace-0.8.0_10.patch) = 13283 >+SHA256 (pkg_replace-20140721.tar.xz) = da26e02304850b295491f3e4526051ac2f414c87be0837dc611cf8aff0dbd24f >+SIZE (pkg_replace-20140721.tar.xz) = 16232 > >--- /dev/null 1970-01-01 09:00:00.000000000 +0900 >+++ pkg_replace/files/pkg-message.in 2014-09-04 14:41:09.958616526 +0900 >@@ -0,0 +1,16 @@ >+!!! ATTENTION !!! >+ >+pkg_replace options changed. For more information, >+refer to pkg_replace(1). >+ >+----------------------------------------------------- >+You can use various features. >+ >+-IGNORE, USE_PKGS >+-BEFOREBUILD, AFTERBUILD, BEFOREINSTALL, AFTERINSTALL >+-User defined functions >+ >+See examples in %%ETCDIR%%/pkg_replace.conf.sample. >+ >+If you want to use those features, >+edit "%%ETCDIR%%/pkg_replace.conf". > >--- pkg_replace/pkg-descr.orig 2014-01-23 07:02:35.731850046 +0900 >+++ pkg_replace/pkg-descr 2014-09-05 14:56:30.626599705 +0900 >@@ -3,5 +3,3 @@ > an alternative to portupgrade and portmaster. > > WWW: http://portutil.sourceforge.jp >- >-Securedog <securedog@users.sourceforge.jp> > >--- pkg_replace/pkg-plist.orig 2014-03-24 17:42:06.918051627 +0900 >+++ pkg_replace/pkg-plist 1970-01-01 09:00:00.000000000 +0900 >@@ -1,8 +0,0 @@ >-etc/pkg_replace.conf.sample >-man/man1/pkg_replace.1.gz >-%%PKGDB_FIX%%man/man1/pkgdb_fix.1.gz >-sbin/pkg_replace >-%%PKGDB_FIX%%sbin/pkgdb_fix >-%%ZSH%%share/zsh/site-functions/_pkg_replace >-%%ZSH%%@dirrmtry share/zsh/site-functions >-%%ZSH%%@dirrmtry share/zsh
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193304
:
146762
|
146763
|
146840
| 146843