[csw-devel] SF.net SVN: gar:[7931] csw/mgar/pkg/screen/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sun Jan 10 00:31:05 CET 2010


Revision: 7931
          http://gar.svn.sourceforge.net/gar/?rev=7931&view=rev
Author:   chninkel
Date:     2010-01-09 23:31:05 +0000 (Sat, 09 Jan 2010)

Log Message:
-----------
screen: updated Makefile for garv2, added screenrc and changelog.CSW files

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

Added Paths:
-----------
    csw/mgar/pkg/screen/trunk/files/screenrc

Modified: csw/mgar/pkg/screen/trunk/Makefile
===================================================================
--- csw/mgar/pkg/screen/trunk/Makefile	2010-01-09 18:13:01 UTC (rev 7930)
+++ csw/mgar/pkg/screen/trunk/Makefile	2010-01-09 23:31:05 UTC (rev 7931)
@@ -1,7 +1,3 @@
-# TODO
-# - This is a NMU (bumped to 4.0.3, switched to GAR v2) which fails to
-#   build. Yann needs to incorporate his current build script into this
-#   recipe once he is working on an updated version/revision.
 GARNAME = screen
 GARVERSION = 4.0.3
 CATEGORIES = utils
@@ -20,6 +16,9 @@
 DISTFILES    = $(GARNAME)-$(GARVERSION).tar.gz
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
+DISTFILES += screenrc
+DISTFILES += changelog.CSW
+
 PACKAGES = CSWscrn
 CATALOGNAME = screen
 
@@ -27,21 +26,21 @@
 # windows per screen session.
 PATCHFILES = screen-maxwin.patch
 
-# patch used by the previous maintainer Derek Morr, I don't know exactly what
-# it is supposed to do or fix but I keep it to no introduce any breakage
+# screen is not isntalled with setuid bit so we disable utmp update
 PATCHFILES += screen-utmp.patch
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --enable-pam
 CONFIGURE_ARGS += --enable-telnet
 CONFIGURE_ARGS += --enable-colors256
+CONFIGURE_ARGS += --sysconfdir=/etc/$(prefix)/
 
 TEST_TARGET = check
 
 include gar/category.mk
 
-post-install-modulated: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
-post-install-modulated:
-	ginstall -d $(DOCDEST)
-	cp $(FILEDIR)/changelog.CSW $(DOCDEST)
+post-merge:
+	ginstall -D $(WORKDIR_FIRSTMOD)/screenrc $(PKGROOT)/etc/$(prefix)/screenrc
+	ginstall -D $(WORKDIR_FIRSTMOD)/changelog.CSW $(PKGROOT)/$(docdir)/$(GARNAME)/changelog.CSW
 	@$(MAKECOOKIE)
+

Modified: csw/mgar/pkg/screen/trunk/checksums
===================================================================
--- csw/mgar/pkg/screen/trunk/checksums	2010-01-09 18:13:01 UTC (rev 7930)
+++ csw/mgar/pkg/screen/trunk/checksums	2010-01-09 23:31:05 UTC (rev 7931)
@@ -1,3 +1,5 @@
+a7026461bcda14338f2175ba958195cb  changelog.CSW
 8506fd205028a96c741e4037de6e3c42  screen-4.0.3.tar.gz
 ed83d7a9001fa159a367d699580c1dd2  screen-maxwin.patch
 3f25f108225cea31321046da5b033f6a  screen-utmp.patch
+f6c675685f3cfa25a43a1827c264b3f0  screenrc

Added: csw/mgar/pkg/screen/trunk/files/screenrc
===================================================================
--- csw/mgar/pkg/screen/trunk/files/screenrc	                        (rev 0)
+++ csw/mgar/pkg/screen/trunk/files/screenrc	2010-01-09 23:31:05 UTC (rev 7931)
@@ -0,0 +1,9 @@
+###################################################
+# System-wide screenrc file
+###################################################
+
+# Make sure programs used under screen use the 
+# csw terminfo database, this is necessary
+# as solaris native on doesn't know TERM=screen
+setenv TERMINFO /opt/csw/share/terminfo
+


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