1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Update to version 1.17.7

This commit is contained in:
Pawel Pekala 2014-04-23 18:07:04 +00:00
parent b4604289bd
commit c10d2c9944
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351963
4 changed files with 10 additions and 36 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= dpkg
PORTVERSION= 1.17.6
PORTREVISION= 2
PORTVERSION= 1.17.7
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= dpkg_${PORTVERSION}
@ -44,8 +43,6 @@ NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} 's|-t$$host|-t${ARCH}-freebsd|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} '/^#define TAR/ s|tar|g&|' \
${WRKSRC}/lib/dpkg/dpkg.h
@${REINPLACE_CMD} -E 's/(md5|sha1|sha256)sum/g&/g' \
${WRKSRC}/scripts/Dpkg/Checksums.pm
@${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/lib/*/Makefile.in

View File

@ -1,2 +1,2 @@
SHA256 (dpkg_1.17.6.tar.xz) = 96f5cddffbd7557574a90a4b90cb5387c4cd5334011b90b38fe67ebfdf9eb464
SIZE (dpkg_1.17.6.tar.xz) = 3859780
SHA256 (dpkg_1.17.7.tar.xz) = c4f10ca274757476c438f17b1edf9f62510b0fbae4f13130f7a1d3980d4b90ee
SIZE (dpkg_1.17.7.tar.xz) = 4038164

View File

@ -1,30 +0,0 @@
--- utils/start-stop-daemon.c.orig 2013-03-08 17:45:46.000000000 +0100
+++ utils/start-stop-daemon.c 2013-05-08 20:44:18.000000000 +0200
@@ -55,6 +55,7 @@
#endif
#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD)
+#define _WANT_UCRED
#include <sys/param.h>
#include <sys/proc.h>
@@ -1164,8 +1165,8 @@
kp = kvm_getprocs(kd, KERN_PROC_PID, pid, &nentries);
if (kp == NULL)
errx(1, "%s", kvm_geterr(kd));
- if (kp->kp_proc.p_cred)
- kvm_read(kd, (u_long)&(kp->kp_proc.p_cred->p_ruid),
+ if (kp->ki_paddr->p_ucred)
+ kvm_read(kd, (u_long)&(kp->ki_paddr->p_ucred->cr_ruid),
&proc_uid, sizeof(uid_t));
else
return false;
@@ -1253,7 +1254,7 @@
kp = kvm_getprocs(kd, KERN_PROC_PID, pid, &nentries);
if (kp == NULL)
errx(1, "%s", kvm_geterr(kd));
- process_name = (&kp->kp_proc)->p_comm;
+ process_name = kp->ki_paddr->p_comm;
if (strlen(name) != strlen(process_name))
return false;
return (strcmp(name, process_name) == 0);

View File

@ -89,6 +89,7 @@ include/dpkg/version.h
%%SITE_PERL%%/Dpkg/Control/Info.pm
%%SITE_PERL%%/Dpkg/Control/Types.pm
%%SITE_PERL%%/Dpkg/Deps.pm
%%SITE_PERL%%/Dpkg/Dist/Files.pm
%%SITE_PERL%%/Dpkg/ErrorHandling.pm
%%SITE_PERL%%/Dpkg/Exit.pm
%%SITE_PERL%%/Dpkg/File.pm
@ -269,7 +270,10 @@ libexec/pkgconfig/libdpkg.pc
%%NLS%%man/fr/man8/update-alternatives.8.gz
%%NLS%%man/hu/man5/dpkg.cfg.5.gz
%%NLS%%man/hu/man5/dselect.cfg.5.gz
%%NLS%%man/it/man1/dpkg-buildpackage.1.gz
%%NLS%%man/it/man1/dpkg-checkbuilddeps.1.gz
%%NLS%%man/it/man1/dpkg-deb.1.gz
%%NLS%%man/it/man1/dpkg-distaddfile.1.gz
%%NLS%%man/it/man1/dpkg-name.1.gz
%%NLS%%man/it/man1/dpkg-parsechangelog.1.gz
%%NLS%%man/it/man1/dpkg-query.1.gz
@ -292,6 +296,7 @@ libexec/pkgconfig/libdpkg.pc
%%NLS%%man/it/man5/deb.5.gz
%%NLS%%man/it/man5/dpkg.cfg.5.gz
%%NLS%%man/it/man5/dselect.cfg.5.gz
%%NLS%%man/it/man8/dpkg-statoverride.8.gz
%%NLS%%man/it/man8/start-stop-daemon.8.gz
%%NLS%%man/it/man8/update-alternatives.8.gz
%%NLS%%man/ja/man1/dpkg-deb.1.gz
@ -445,6 +450,7 @@ man/man8/update-alternatives.8.gz
%%NLS%%man/pl/man8/update-alternatives.8.gz
%%NLS%%man/sv/man1/dpkg-architecture.1.gz
%%NLS%%man/sv/man1/dpkg-buildflags.1.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
@ -599,6 +605,7 @@ sbin/start-stop-daemon
@dirrm %%SITE_PERL%%/Dpkg/Source
@dirrm %%SITE_PERL%%/Dpkg/Shlibs
@dirrm %%SITE_PERL%%/Dpkg/Interface
@dirrm %%SITE_PERL%%/Dpkg/Dist
@dirrm %%SITE_PERL%%/Dpkg/Control
@dirrm %%SITE_PERL%%/Dpkg/Compression
@dirrm %%SITE_PERL%%/Dpkg/Changelog/Entry