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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sat Jul 23 15:10:07 CEST 2011


Revision: 15200
          http://gar.svn.sourceforge.net/gar/?rev=15200&view=rev
Author:   chninkel
Date:     2011-07-23 13:10:07 +0000 (Sat, 23 Jul 2011)

Log Message:
-----------
screen: renamed transitional package to screen_stub

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

Modified: csw/mgar/pkg/screen/trunk/Makefile
===================================================================
--- csw/mgar/pkg/screen/trunk/Makefile	2011-07-23 03:53:52 UTC (rev 15199)
+++ csw/mgar/pkg/screen/trunk/Makefile	2011-07-23 13:10:07 UTC (rev 15200)
@@ -17,7 +17,6 @@
 
 DISTFILES += screenrc
 DISTFILES += changelog.CSW
-DISTFILES += CSWscrn.postinstall
 
 DOCFILES = FAQ INSTALL NEWS NEWS.3.5 NEWS.3.6 NEWS.3.7 NEWS.3.9 README TODO ChangeLog
 
@@ -27,13 +26,18 @@
 PROTOTYPE_USER_run = root
 PROTOTYPE_GROUP_run = root
 
-PACKAGES = CSWscreen CSWscrn 
+PACKAGES = CSWscreen 
 
-SPKG_DESC_CSWscrn = Transitional package for screen package renaming
-CATALOGNAME_CSWscrn = screen_transitional
-RUNTIME_DEP_PKGS_CSWscrn = CSWscreen
-ARCHALL_CSWscrn = 1
 
+# Stub package that allow us to rename transparently the package
+# from CSWscrn to CSWscreen
+# We also include the postinstall code to migrate screen session from
+# /tmp/screens|uscreens to /var/opt/csw/run/screens as we changed the
+# screen socket dir path at the same time
+OBSOLETED_BY_CSWscreen = CSWscrn
+CATALOG_NAME_CSWscrn = screen_stub
+DISTFILES += CSWscrn.postinstall
+
 SPKG_DESC_CSWscreen = A window manager that multiplexes a physical terminal.
 CATALOGNAME_CSWscreen = screen
 RUNTIME_DEP_PKGS_CSWscreen = CSWterminfo
@@ -43,10 +47,6 @@
 # Default path referenced in documentation file, can be safely ignored
 CHECKPKG_OVERRIDES_CSWscreen += file-with-bad-content|/usr/local|root/opt/csw/share/doc/screen/INSTALL
 
-CHECKPKG_OVERRIDES_CSWscrn += surplus-dependency|CSWscreen
-CHECKPKG_OVERRIDES_CSWscrn += catalogname-does-not-match-pkgname|pkgname=CSWscrn|catalogname=screen_transitional|expected-catalogname=scrn
-
-
 PKGFILES_CSWscreen = .*
 
 PRESERVECONF = /etc/opt/csw/screenrc


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