Bug 178837 - [patch][bsd.pkgng.mk] ldconfig should be in added to _FORCE_POST_PATTERNS
Summary: [patch][bsd.pkgng.mk] ldconfig should be in added to _FORCE_POST_PATTERNS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 18:20 UTC by Antoine Brodin
Modified: 2013-05-24 13:00 UTC (History)
0 users

See Also:


Attachments
bsd.pkgng.mk.diff (484 bytes, patch)
2013-05-22 18:20 UTC, Antoine Brodin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Brodin freebsd_committer freebsd_triage 2013-05-22 18:20:01 UTC
Currently, pkgng packages have this in their +MANIFEST:
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    /sbin/ldconfig -R
    cd /usr/local
    cd /usr/local

ldconfig -R should be run post-deinstall.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-22 18:20:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.pkgng.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-05-22 21:31:15 UTC
Responsible Changed
From-To: portmgr->bdrewery

I'll take it.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-05-24 12:51:14 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-05-24 12:51:15 UTC
Author: bdrewery
Date: Fri May 24 11:51:08 2013
New Revision: 318960
URL: http://svnweb.freebsd.org/changeset/ports/318960

Log:
  - Run ldconfig in post-deinstall for pkgng.
    This was a pkg-1.0.9 regression. The impact of this is
    that some ld cache files would show as leftovers.
  
  PR:		ports/178837
  Submitted by:	Antoine Brodin <antoine@FreeBSD.org>
  Tested by:	miwi, bdrewery
  With hat:	portmgr

Modified:
  head/Mk/bsd.pkgng.mk

Modified: head/Mk/bsd.pkgng.mk
==============================================================================
--- head/Mk/bsd.pkgng.mk	Fri May 24 11:47:26 2013	(r318959)
+++ head/Mk/bsd.pkgng.mk	Fri May 24 11:51:08 2013	(r318960)
@@ -20,6 +20,7 @@ PKGUPGRADE?=		${PKGDIR}/pkg-upgrade
 _FORCE_POST_PATTERNS=	rmdir kldxref mkfontscale mkfontdir fc-cache \
 						fonts.dir fonts.scale gtk-update-icon-cache \
 						gio-querymodules \
+						ldconfig \
 						update-desktop-database update-mime-database \
 						gdk-pixbuf-query-loaders catalog.ports \
 						glib-compile-schemas
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"