[csw-devel] SF.net SVN: gar:[8948] csw/mgar/pkg/lsof/trunk

hson at users.sourceforge.net hson at users.sourceforge.net
Wed Mar 3 01:36:54 CET 2010


Revision: 8948
          http://gar.svn.sourceforge.net/gar/?rev=8948&view=rev
Author:   hson
Date:     2010-03-03 00:36:54 +0000 (Wed, 03 Mar 2010)

Log Message:
-----------
lsof: Update to 4.83, fix packaging

Modified Paths:
--------------
    csw/mgar/pkg/lsof/trunk/Makefile
    csw/mgar/pkg/lsof/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/lsof/trunk/files/lsof-license

Removed Paths:
-------------
    csw/mgar/pkg/lsof/trunk/files/CSWlsof.gspec

Modified: csw/mgar/pkg/lsof/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lsof/trunk/Makefile	2010-03-02 21:54:10 UTC (rev 8947)
+++ csw/mgar/pkg/lsof/trunk/Makefile	2010-03-03 00:36:54 UTC (rev 8948)
@@ -1,5 +1,5 @@
 GARNAME = lsof
-GARVERSION = 4.81
+GARVERSION = 4.83
 CATEGORIES = utils
 
 DESCRIPTION = List open files
@@ -14,6 +14,7 @@
 TOPDIST   = $(GARNAME)_$(GARVERSION)
 SRCDIST   = $(TOPDIST)_src
 DISTFILES = $(TOPDIST).tar.bz2
+DISTFILES += lsof-license
 WORKSRC   = $(WORKDIR)/$(TOPDIST)/$(SRCDIST)
 
 SPKG_SOURCEURL = http://people.freebsd.org/~abe/
@@ -21,6 +22,8 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)_(\d+(?:\.\d+)*).tar.bz2
 
+LICENSE = lsof-license
+
 BUILD64 = 1
 
 CONFIGURE_SCRIPTS = custom
@@ -43,27 +46,37 @@
 #   SOLARIS_VXFSLIB               This environment variable defines the path to the
 
 CONFIGURE_EXPORTS = LSOF_CFGF SOLARIS_CCDIR SOLARIS_INSTR SOLARIS_KERNBITS
-SOLARIS_CCDIR = $(CC_HOME)
+SOLARIS_CCDIR = $(CC_HOME)/bin
 SOLARIS_INSTR = $(ISA)
 SOLARIS_KERNBITS = $(MEMORYMODEL)
 
+PACKAGING_PLATFORMS = solaris8-sparc solaris8-i386 solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386
+
 include gar/category.mk
 
+INSTALLISADIR ?= $(WORKROOTDIR)/install-$(MODULATION)
+
 post-extract-modulated:
 	@echo " ==> Extracting source distribution"
-	@( cd $(WORKDIR)/$(TOPDIST) ; tar xf $(SRCDIST).tar )
+	$(if $(filter-out global,$(MODULATION)),( cd $(WORKDIR)/$(TOPDIST) ; tar xf $(SRCDIST).tar ))
+	$(MAKECOOKIE)
 
 configure-custom:
 	@echo " ==> Configuring in $(WORKSRC)"
 	( cd $(WORKSRC) ; $(CONFIGURE_ENV) ./Configure $(CONFIGURE_ARGS) )
+	$(MAKECOOKIE)
 
-test-custom-modulated:
+test-custom:
 	@echo " ==> Testing in $(WORKSRC)/tests"
-	@$(MAKE) -C $(WORKSRC)/tests
+	@$(MAKE) -C $(WORKSRC)/tests all opt
+	$(MAKECOOKIE)
 
-install-custom-modulated:
-	@echo " ==> Installing $(GARNAME) $(GARVERSION)"
+install-custom:
+	@echo " ==> Installing $(GARNAME) $(GARVERSION) for $(MODULATION)"
+	echo DESTDIR: $(DESTDIR)
 	@( cd $(WORKSRC) ; \
-		install -m 2755 -g sys lsof $(DESTDIR)$(bindir) ; \
-		install -d $(DESTDIR)$(mandir)/man8 ; \
-		install -m 444 lsof.8 $(DESTDIR)$(mandir)/man8 )
+		ginstall -d $(DESTDIR)$(bindir) ; \
+		ginstall -m 2755 -g sys lsof $(DESTDIR)$(bindir) ; \
+		ginstall -d $(DESTDIR)$(mandir)/man8 ; \
+		ginstall -m 444 lsof.8 $(DESTDIR)$(mandir)/man8 )
+	$(MAKECOOKIE)

Modified: csw/mgar/pkg/lsof/trunk/checksums
===================================================================
--- csw/mgar/pkg/lsof/trunk/checksums	2010-03-02 21:54:10 UTC (rev 8947)
+++ csw/mgar/pkg/lsof/trunk/checksums	2010-03-03 00:36:54 UTC (rev 8948)
@@ -1 +1,2 @@
-c482bda0764a8e618f87682347b22a87  download/lsof_4.81.tar.bz2
+a42fe89c6b596930d79cc119928b6176  lsof-license
+8f731a6251b8c0143d585df0d5ca779e  lsof_4.83.tar.bz2

Deleted: csw/mgar/pkg/lsof/trunk/files/CSWlsof.gspec
===================================================================
--- csw/mgar/pkg/lsof/trunk/files/CSWlsof.gspec	2010-03-02 21:54:10 UTC (rev 8947)
+++ csw/mgar/pkg/lsof/trunk/files/CSWlsof.gspec	2010-03-03 00:36:54 UTC (rev 8948)
@@ -1,4 +0,0 @@
-%var            bitname lsof
-%var            pkgname CSWlsof
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE

Added: csw/mgar/pkg/lsof/trunk/files/lsof-license
===================================================================
--- csw/mgar/pkg/lsof/trunk/files/lsof-license	                        (rev 0)
+++ csw/mgar/pkg/lsof/trunk/files/lsof-license	2010-03-03 00:36:54 UTC (rev 8948)
@@ -0,0 +1,25 @@
+/*
+ * Copyright 1994 Purdue Research Foundation, West Lafayette, Indiana
+ * 47907.  All rights reserved.
+ *
+ * Written by Victor A. Abell
+ *
+ * This software is not subject to any license of the American Telephone
+ * and Telegraph Company or the Regents of the University of California.
+ *
+ * Permission is granted to anyone to use this software for any purpose on
+ * any computer system, and to alter it and redistribute it freely, subject
+ * to the following restrictions:
+ *
+ * 1. Neither the authors nor Purdue University are responsible for any
+ *    consequences of the use of this software.
+ *
+ * 2. The origin of this software must not be misrepresented, either by
+ *    explicit claim or by omission.  Credit to the authors and Purdue
+ *    University must appear in documentation and sources.
+ *
+ * 3. Altered versions must be plainly marked as such, and must not be
+ *    misrepresented as being the original software.
+ *
+ * 4. This notice may not be removed or altered.
+ */


Property changes on: csw/mgar/pkg/lsof/trunk/files/lsof-license
___________________________________________________________________
Added: svn:executable
   + *


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