diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pacman/Makefile | 12 | ||||
-rw-r--r-- | sysutils/pacman/distinfo | 4 | ||||
-rw-r--r-- | sysutils/pacman/files/pkg-deinstall.in (renamed from sysutils/pacman/pkg-deinstall) | 4 | ||||
-rw-r--r-- | sysutils/pacman/pkg-plist | 41 |
4 files changed, 48 insertions, 13 deletions
diff --git a/sysutils/pacman/Makefile b/sysutils/pacman/Makefile index 127585b7dba4..032d64c972b9 100644 --- a/sysutils/pacman/Makefile +++ b/sysutils/pacman/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pacman -PORTVERSION= 4.0.3 -PORTREVISION= 4 +PORTVERSION= 4.2.0 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.archlinux.org/other/pacman/ \ http://mirror.amdmi3.ru/distfiles/ @@ -18,8 +17,10 @@ BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \ gm4:${PORTSDIR}/devel/m4 \ bash:${PORTSDIR}/shells/bash RUN_DEPENDS= bash:${PORTSDIR}/shells/bash +LIB_DEPENDS= libarchive.so.13:${PORTSDIR}/archivers/libarchive -USES= gmake libtool +USES= gmake libtool perl5 pkgconfig shebangfix +SHEBANG_FILES= ${WRKSRC}/scripts/makepkg-template.pl.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-root-dir="${PACMAN_ROOT}" \ --localstatedir=/var @@ -28,8 +29,8 @@ USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -SUB_FILES= pkg-message -SUB_LIST= PACMAN_ROOT="${PACMAN_ROOT}" +SUB_FILES= pkg-message pkg-deinstall +SUB_LIST= PACMAN_ROOT="${PACMAN_ROOT}" PREFIX="${PREFIX}" PLIST_SUB= PACMAN_ROOT="${PACMAN_ROOT:C/^${PREFIX}//}" PACMAN_ROOT?= "${PREFIX}/pacman" @@ -66,6 +67,7 @@ PLIST_SUB+= NLS="@comment " post-patch: @${REINPLACE_CMD} -e 's|m4|gm4|' ${WRKSRC}/scripts/Makefile.in + @${REINPLACE_CMD} -e '2 s/.*/exit 0/' ${WRKSRC}/build-aux/missing @${REINPLACE_CMD} -e '/INSTALL_DATA.*sysconfdir/ d' ${WRKSRC}/etc/Makefile.in .for tool in curl wget rsync lftpget @${REINPLACE_CMD} -e 's|/usr/bin/${tool}|${LOCALBASE}/bin/${tool}|' \ diff --git a/sysutils/pacman/distinfo b/sysutils/pacman/distinfo index 3de8194ad057..180409b9d1de 100644 --- a/sysutils/pacman/distinfo +++ b/sysutils/pacman/distinfo @@ -1,2 +1,2 @@ -SHA256 (pacman-4.0.3.tar.gz) = a48696ae51aaccf31a69ea7916ba9b06e7836eb933b8a281c666729c9d55ce25 -SIZE (pacman-4.0.3.tar.gz) = 1961839 +SHA256 (pacman-4.2.0.tar.gz) = 941aca897db3218f0cb4036de13422d74212afbcdbf4a7cd7074a7128e196a22 +SIZE (pacman-4.2.0.tar.gz) = 2934713 diff --git a/sysutils/pacman/pkg-deinstall b/sysutils/pacman/files/pkg-deinstall.in index 5994688d1a85..ea2c787b84a6 100644 --- a/sysutils/pacman/pkg-deinstall +++ b/sysutils/pacman/files/pkg-deinstall.in @@ -5,12 +5,12 @@ case $2 in POST-DEINSTALL) - if find /var/lib/pacman /var/cache/pacman ${PREFIX}/pacman -type f 2>/dev/null | head -1 | grep -q ''; then + if find /var/lib/pacman /var/cache/pacman %%PACMAN_ROOT%% -type f 2>/dev/null | head -1 | grep -q ''; then echo "" echo "To completely remove the port, please remove the following" echo "directories and the content manualy if its no longer needed:" echo "" - echo " ${PREFIX}/pacman" + echo " %%PACMAN_ROOT%%" echo " /var/cache/pacman" echo " /var/lib/pacman" echo "" diff --git a/sysutils/pacman/pkg-plist b/sysutils/pacman/pkg-plist index 59bf8a0fa455..301addf35862 100644 --- a/sysutils/pacman/pkg-plist +++ b/sysutils/pacman/pkg-plist @@ -1,5 +1,6 @@ bin/cleanupdelta bin/makepkg +bin/makepkg-template bin/pacman bin/pacman-db-upgrade bin/pacman-key @@ -7,7 +8,6 @@ bin/pacman-optimize bin/pacsort bin/pactree bin/pkgdelta -bin/rankmirrors bin/repo-add bin/repo-elephant bin/repo-remove @@ -20,8 +20,10 @@ include/alpm.h include/alpm_list.h lib/libalpm.a lib/libalpm.so -lib/libalpm.so.7 -lib/libalpm.so.7.0.3 +lib/libalpm.so.9 +lib/libalpm.so.9.0.0 +lib/pkgconfig/libalpm.pc +man/man1/makepkg-template.1.gz man/man3/libalpm.3.gz man/man5/PKGBUILD.5.gz man/man5/makepkg.conf.5.gz @@ -29,10 +31,14 @@ man/man5/pacman.conf.5.gz man/man8/makepkg.8.gz man/man8/pacman-key.8.gz man/man8/pacman.8.gz +man/man8/pactree.8.gz man/man8/pkgdelta.8.gz man/man8/repo-add.8.gz man/man8/repo-remove.8.gz man/man8/vercmp.8.gz +%%NLS%%share/locale/ar/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/ar/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/ar/LC_MESSAGES/pacman.mo %%NLS%%share/locale/ca/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/ca/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/ca/LC_MESSAGES/pacman.mo @@ -51,30 +57,53 @@ man/man8/vercmp.8.gz %%NLS%%share/locale/en_GB/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/eo/LC_MESSAGES/pacman.mo %%NLS%%share/locale/es/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/es/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/es/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/fa/LC_MESSAGES/pacman.mo %%NLS%%share/locale/fi/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/fi/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/fi/LC_MESSAGES/pacman.mo %%NLS%%share/locale/fr/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/fr/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/fr/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/gl/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/gl/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/gl/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/hr/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/hr/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/hr/LC_MESSAGES/pacman.mo %%NLS%%share/locale/hu/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/hu/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/hu/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/id/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/id/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/id/LC_MESSAGES/pacman.mo %%NLS%%share/locale/it/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/it/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/it/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/ja/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/ja/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/ja/LC_MESSAGES/pacman.mo %%NLS%%share/locale/kk/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/kk/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/kk/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/ko/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/ko_KR/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/ko_KR/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/ko_KR/LC_MESSAGES/pacman.mo %%NLS%%share/locale/lt/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/lt/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/lt/LC_MESSAGES/pacman.mo %%NLS%%share/locale/nb/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/nb/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/nb/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/nl/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/nl/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/nl/LC_MESSAGES/pacman.mo %%NLS%%share/locale/pl/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/pl/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/pl/LC_MESSAGES/pacman.mo @@ -93,6 +122,9 @@ man/man8/vercmp.8.gz %%NLS%%share/locale/sk/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/sk/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/sk/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/sl/LC_MESSAGES/libalpm.mo +%%NLS%%share/locale/sl/LC_MESSAGES/pacman-scripts.mo +%%NLS%%share/locale/sl/LC_MESSAGES/pacman.mo %%NLS%%share/locale/sr/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/sr/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/sr/LC_MESSAGES/pacman.mo @@ -108,14 +140,15 @@ man/man8/vercmp.8.gz %%NLS%%share/locale/uk/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/uk/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/uk/LC_MESSAGES/pacman.mo +%%NLS%%share/locale/vi/LC_MESSAGES/pacman.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/pacman.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/libalpm.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/pacman-scripts.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/pacman.mo -%%DATADIR%%/ChangeLog.proto %%DATADIR%%/PKGBUILD-split.proto +%%DATADIR%%/PKGBUILD-vcs.proto %%DATADIR%%/PKGBUILD.proto %%DATADIR%%/proto.install @dir %%PACMAN_ROOT%% |