1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to version 1.17.3

- Add NEED_ROOT=yes, tries to write read-only files/dirs in stage
- Fix initial dirs/files creation missed in STAGEDIR conversion
This commit is contained in:
Pawel Pekala 2013-12-07 14:18:51 +00:00
parent 7066e53604
commit e82a633b48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335829
3 changed files with 25 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dpkg
PORTVERSION= 1.17.1
PORTVERSION= 1.17.3
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= dpkg_${PORTVERSION}
@ -20,6 +20,7 @@ RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar \
USE_XZ= yes
GNU_CONFIGURE= yes
USES= gmake iconv perl5 pkgconfig
NEED_ROOT= yes
WRKSRC= ${WRKDIR}/dpkg-${PORTVERSION}
DPKGDIR?= /var/db/dpkg
@ -39,8 +40,6 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} 's|-t$$host|-t${ARCH}-freebsd|g' \
${WRKSRC}/configure
@ -50,9 +49,6 @@ post-patch:
${WRKSRC}/scripts/Dpkg/Checksums.pm
post-install:
.for f in available diversions statoverride status
${TOUCH} ${STAGEDIR}${DPKGDIR}/${f}
.endfor
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (dpkg_1.17.1.tar.xz) = 8912ea77bc9c14297c0a340f5f461fbd212582ce814e1805d1d0436ca885e3a1
SIZE (dpkg_1.17.1.tar.xz) = 3785620
SHA256 (dpkg_1.17.3.tar.xz) = 02ed520ca9622e5ebe475add2cdbc03b7a135ccb190bddd39dd6645c628a2850
SIZE (dpkg_1.17.3.tar.xz) = 3838080

View File

@ -54,6 +54,7 @@ include/dpkg/pkg-show.h
include/dpkg/pkg-spec.h
include/dpkg/pkg.h
include/dpkg/progname.h
include/dpkg/program.h
include/dpkg/progress.h
include/dpkg/report.h
include/dpkg/string.h
@ -68,6 +69,7 @@ include/dpkg/version.h
%%SITE_PERL%%/Dpkg/BuildEnv.pm
%%SITE_PERL%%/Dpkg/BuildFlags.pm
%%SITE_PERL%%/Dpkg/BuildOptions.pm
%%SITE_PERL%%/Dpkg/BuildProfiles.pm
%%SITE_PERL%%/Dpkg/Changelog.pm
%%SITE_PERL%%/Dpkg/Changelog/Debian.pm
%%SITE_PERL%%/Dpkg/Changelog/Entry.pm
@ -151,6 +153,8 @@ libexec/dpkg/methods/multicd/update
libexec/dpkg/parsechangelog/debian
libexec/libdpkg.a
libexec/pkgconfig/libdpkg.pc
%%NLS%%man/de/man1/dpkg-architecture.1.gz
%%NLS%%man/de/man1/dpkg-buildflags.1.gz
%%NLS%%man/de/man1/dpkg-buildpackage.1.gz
%%NLS%%man/de/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/de/man1/dpkg-deb.1.gz
@ -158,6 +162,7 @@ libexec/pkgconfig/libdpkg.pc
%%NLS%%man/de/man1/dpkg-genchanges.1.gz
%%NLS%%man/de/man1/dpkg-gencontrol.1.gz
%%NLS%%man/de/man1/dpkg-gensymbols.1.gz
%%NLS%%man/de/man1/dpkg-maintscript-helper.1.gz
%%NLS%%man/de/man1/dpkg-mergechangelogs.1.gz
%%NLS%%man/de/man1/dpkg-name.1.gz
%%NLS%%man/de/man1/dpkg-parsechangelog.1.gz
@ -187,10 +192,10 @@ libexec/pkgconfig/libdpkg.pc
%%NLS%%man/de/man5/dpkg.cfg.5.gz
%%NLS%%man/de/man5/dselect.cfg.5.gz
%%NLS%%man/de/man8/dpkg-divert.8.gz
%%NLS%%man/de/man8/dpkg-statoverride.8.gz
%%NLS%%man/de/man8/start-stop-daemon.8.gz
%%NLS%%man/de/man8/update-alternatives.8.gz
%%NLS%%man/es/man1/dpkg-buildpackage.1.gz
%%NLS%%man/es/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/es/man1/dpkg-deb.1.gz
%%NLS%%man/es/man1/dpkg-distaddfile.1.gz
%%NLS%%man/es/man1/dpkg-genchanges.1.gz
@ -228,7 +233,6 @@ libexec/pkgconfig/libdpkg.pc
%%NLS%%man/es/man8/start-stop-daemon.8.gz
%%NLS%%man/es/man8/update-alternatives.8.gz
%%NLS%%man/fr/man1/dpkg-buildpackage.1.gz
%%NLS%%man/fr/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/fr/man1/dpkg-deb.1.gz
%%NLS%%man/fr/man1/dpkg-distaddfile.1.gz
%%NLS%%man/fr/man1/dpkg-genchanges.1.gz
@ -294,7 +298,6 @@ libexec/pkgconfig/libdpkg.pc
%%NLS%%man/it/man8/start-stop-daemon.8.gz
%%NLS%%man/it/man8/update-alternatives.8.gz
%%NLS%%man/ja/man1/dpkg-buildpackage.1.gz
%%NLS%%man/ja/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/ja/man1/dpkg-deb.1.gz
%%NLS%%man/ja/man1/dpkg-distaddfile.1.gz
%%NLS%%man/ja/man1/dpkg-genchanges.1.gz
@ -357,6 +360,7 @@ man/man1/dselect.1.gz
man/man3/Dpkg::BuildEnv.3.gz
man/man3/Dpkg::BuildFlags.3.gz
man/man3/Dpkg::BuildOptions.3.gz
man/man3/Dpkg::BuildProfiles.3.gz
man/man3/Dpkg::Changelog.3.gz
man/man3/Dpkg::Changelog::Debian.3.gz
man/man3/Dpkg::Changelog::Entry.3.gz
@ -376,6 +380,7 @@ man/man3/Dpkg::Control::HashCore.3.gz
man/man3/Dpkg::Control::Info.3.gz
man/man3/Dpkg::Control::Types.3.gz
man/man3/Dpkg::Deps.3.gz
man/man3/Dpkg::Exit.3.gz
man/man3/Dpkg::IPC.3.gz
man/man3/Dpkg::Index.3.gz
man/man3/Dpkg::Interface::Storable.3.gz
@ -407,7 +412,6 @@ man/man8/dpkg-statoverride.8.gz
man/man8/start-stop-daemon.8.gz
man/man8/update-alternatives.8.gz
%%NLS%%man/pl/man1/dpkg-buildpackage.1.gz
%%NLS%%man/pl/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/pl/man1/dpkg-deb.1.gz
%%NLS%%man/pl/man1/dpkg-distaddfile.1.gz
%%NLS%%man/pl/man1/dpkg-genchanges.1.gz
@ -445,7 +449,6 @@ man/man8/update-alternatives.8.gz
%%NLS%%man/pl/man8/start-stop-daemon.8.gz
%%NLS%%man/pl/man8/update-alternatives.8.gz
%%NLS%%man/sv/man1/dpkg-buildpackage.1.gz
%%NLS%%man/sv/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/sv/man1/dpkg-deb.1.gz
%%NLS%%man/sv/man1/dpkg-distaddfile.1.gz
%%NLS%%man/sv/man1/dpkg-genchanges.1.gz
@ -634,6 +637,19 @@ sbin/start-stop-daemon
@dirrmtry etc/dpkg
@dirrmtry etc/alternatives
@cwd /
@exec mkdir -p %%DPKGDIR%%/alternatives
@exec mkdir -p %%DPKGDIR%%/info
@exec mkdir -p %%DPKGDIR%%/methods/disk
@exec mkdir -p %%DPKGDIR%%/methods/floppy
@exec mkdir -p %%DPKGDIR%%/methods/ftp
@exec mkdir -p %%DPKGDIR%%/methods/mnt
@exec mkdir -p %%DPKGDIR%%/methods/multicd
@exec mkdir -p %%DPKGDIR%%/parts
@exec mkdir -p %%DPKGDIR%%/updates
@exec [ -e %%DPKGDIR%%/available ] || touch %%DPKGDIR%%/available
@exec [ -e %%DPKGDIR%%/diversions ] || touch %%DPKGDIR%%/diversions
@exec [ -e %%DPKGDIR%%/statoverride ] || touch %%DPKGDIR%%/statoverride
@exec [ -e %%DPKGDIR%%/status ] || touch %%DPKGDIR%%/status
@dirrmtry %%DPKGDIR%%/updates
@dirrmtry %%DPKGDIR%%/parts
@dirrmtry %%DPKGDIR%%/methods/multicd