[csw-devel] SF.net SVN: gar:[6976] csw/mgar/pkg/pkgutil/trunk
bonivart at users.sourceforge.net
bonivart at users.sourceforge.net
Mon Oct 26 15:50:09 CET 2009
Revision: 6976
http://gar.svn.sourceforge.net/gar/?rev=6976&view=rev
Author: bonivart
Date: 2009-10-26 14:50:09 +0000 (Mon, 26 Oct 2009)
Log Message:
-----------
pkgutil: add logging hook
Modified Paths:
--------------
csw/mgar/pkg/pkgutil/trunk/Makefile
csw/mgar/pkg/pkgutil/trunk/checksums
Modified: csw/mgar/pkg/pkgutil/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pkgutil/trunk/Makefile 2009-10-26 13:13:55 UTC (rev 6975)
+++ csw/mgar/pkg/pkgutil/trunk/Makefile 2009-10-26 14:50:09 UTC (rev 6976)
@@ -1,5 +1,5 @@
GARNAME = pkgutil
-GARVERSION = 1.8b2
+GARVERSION = 1.8b3
CATEGORIES = utils
DESCRIPTION = Installs Solaris packages easily
@@ -45,29 +45,30 @@
install-custom:
@echo " ==> Installing $(GARNAME) (custom)"
@rm -rf $(DESTDIR)
- @ginstall -d $(DESTDIR)$(bindir)
- @ginstall -d $(DESTDIR)$(sysconfdir)
- @ginstall -d $(DESTDIR)/opt/csw/libexec/$(GARNAME)
- @ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
- @ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)plus
- @ginstall -d $(DESTDIR)$(mandir)/man1
-# @ginstall -d $(DESTDIR)/usr/sadm/install/scripts
- @ginstall -d $(DESTDIR)/var/opt/csw/$(GARNAME)/packages
- @ginstall -d $(DESTDIR)/etc/opt/csw
- @cp $(WORKSRC)/$(GARNAME).conf $(DESTDIR)$(sysconfdir)/$(GARNAME).conf.CSW
+ @ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg-hooks/preargproc.d
@cp $(WORKSRC)/$(GARNAME).conf $(DESTDIR)/etc/opt/csw/$(GARNAME).conf.CSW
+ @cp $(WORKSRC)/pkgutillog $(DESTDIR)/etc/opt/csw/pkg-hooks/preargproc.d/01-CSW$(GARNAME)plus-log
+ @ginstall -m 755 -d $(DESTDIR)$(bindir)
@cp $(WORKSRC)/$(GARNAME) $(DESTDIR)$(bindir)
@cp $(WORKSRC)/bldcat $(DESTDIR)$(bindir)
@cp $(WORKSRC)/chkcat $(DESTDIR)$(bindir)
+ @ginstall -m 755 -d $(DESTDIR)$(sysconfdir)
+ @cp $(WORKSRC)/$(GARNAME).conf $(DESTDIR)$(sysconfdir)/$(GARNAME).conf.CSW
+ @ginstall -m 755 -d $(DESTDIR)/opt/csw/libexec/$(GARNAME)
+ @cp $(WORKSRC)/wget-`uname -p` $(DESTDIR)/opt/csw/libexec/$(GARNAME)/wget
+ @ginstall -m 755 -d $(DESTDIR)$(docdir)/$(GARNAME)
@cp $(WORKSRC)/readme $(DESTDIR)$(docdir)/$(GARNAME)/
- @cp $(WORKSRC)/readme.pkgutilplus $(DESTDIR)$(docdir)/$(GARNAME)plus/readme
@cp $(WORKSRC)/license $(DESTDIR)$(docdir)/$(GARNAME)/
+ @ginstall -m 755 -d $(DESTDIR)$(docdir)/$(GARNAME)plus
@cp $(WORKSRC)/license $(DESTDIR)$(docdir)/$(GARNAME)plus/
-# @cp $(FILEDIR)/CSWpkgutil.i.cswpkgutil $(DESTDIR)/usr/sadm/install/scripts/i.cswpkgutil
-# @cp $(FILEDIR)/CSWpkgutil.r.cswpkgutil $(DESTDIR)/usr/sadm/install/scripts/r.cswpkgutil
- @cp $(WORKSRC)/admin $(DESTDIR)/var/opt/csw/$(GARNAME)/admin.CSW
- @cp $(WORKSRC)/wget-`uname -p` $(DESTDIR)/opt/csw/libexec/$(GARNAME)/wget
+ @cp $(WORKSRC)/readme.pkgutilplus $(DESTDIR)$(docdir)/$(GARNAME)plus/readme
+ @ginstall -m 755 -d $(DESTDIR)$(mandir)/man1
@pod2man --section=1 $(WORKSRC)/$(GARNAME) > $(DESTDIR)$(mandir)/man1/pkgutil.1
@pod2man --section=1 $(WORKSRC)/bldcat > $(DESTDIR)$(mandir)/man1/bldcat.1
@pod2man --section=1 $(WORKSRC)/chkcat > $(DESTDIR)$(mandir)/man1/chkcat.1
+ @ginstall -m 755 -d $(DESTDIR)/var/opt/csw/$(GARNAME)/packages
+ @cp $(WORKSRC)/admin $(DESTDIR)/var/opt/csw/$(GARNAME)/admin.CSW
+# @ginstall -m 755 -d $(DESTDIR)/usr/sadm/install/scripts
+# @cp $(FILEDIR)/CSWpkgutil.i.cswpkgutil $(DESTDIR)/usr/sadm/install/scripts/i.cswpkgutil
+# @cp $(FILEDIR)/CSWpkgutil.r.cswpkgutil $(DESTDIR)/usr/sadm/install/scripts/r.cswpkgutil
@$(MAKECOOKIE)
Modified: csw/mgar/pkg/pkgutil/trunk/checksums
===================================================================
--- csw/mgar/pkg/pkgutil/trunk/checksums 2009-10-26 13:13:55 UTC (rev 6975)
+++ csw/mgar/pkg/pkgutil/trunk/checksums 2009-10-26 14:50:09 UTC (rev 6976)
@@ -2,4 +2,4 @@
e1407c24d47306dbc4cea22dcb291f1d CSWpkgutil.postinstall
2fb6c94a2d212f08b71d462082a2d31a CSWpkgutil.preremove
951b11e347d6f3f49cc8617ecab4ad62 CSWpkgutil.prototype
-ee8bac4ae4678a2c587051357f886d38 pkgutil-1.8b2.zip
+9641cba108ea4aad1e2608263ec48fb2 pkgutil-1.8b3.zip
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list