Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/languages
In directory sc8-pr-cvs1:/tmp/cvs-serv23523

Added Files:
        regina.info regina.patch 
Log Message:
10.3 safe, shlibs compliant


--- NEW FILE: regina.info ---
Package: regina
Version: 3.2
Revision: 22
Maintainer: Eric Oberle <[EMAIL PROTECTED]>
License: LGPL
GCC: 3.3
Source: mirror:sourceforge:%n-rexx/Regina-REXX-%v.tar.gz
Source-MD5: f001f7bf764e107032bc334c66d94031
SourceDirectory: Regina-%v
Depends: %N-shlibs (= %v-%r), %N-bin
Replaces: regina-shlibs
SetCPPFLAGS: -no-cpp-precomp
Patch: %n.patch
ConfigureParams:  --mandir=%p/share/man 
#--with-dlfcnincdir=%p/include --with-dlfcnlibdir=%p/lib
InstallScript: <<
    make install prefix=%i mandir=%i/share/man sharedir=%i/share/regina
    perl -pi -e 's+%i/bin/rexx+%p/bin/regina+' %i/share/regina/*
    perl -pi -e 's+%i/bin/regina+%p/bin/regina+' %i/share/regina/*
    mkdir -p %i/sbin
    /usr/bin/install -m 755 -c ./rxstack.init.d %i/sbin/rxstack-control
    mv %i/lib/libregina.dylib %i/lib/libregina.0.dylib
    mv %i/lib/libtest2.dylib %i/lib/libtest2.0.dylib
    mv %i/lib/libtest1.dylib %i/lib/libtest1.0.dylib
    ln -s %p/lib/libregina.0.dylib %i/lib/libregina.dylib
    ln -s %p/lib/libtest1.0.dylib %i/lib/libtest1.dylib
    ln -s %p/lib/libtest2.0.dylib %i/lib/libtest2.dylib
<<
DaemonicName: rexx-stack
DaemonicFile: <<
<service>
<description>Regina Stack daemon</description>
<message>rxstack dameon</message>
<daemon name="rxstack">
<executable background="true">%p/sbin/rxstack-control</executable>
<parameters>start</parameters> 
</daemon>
</service>
<<

RuntimeVars: <<
 DYLD_LIBRARY_PATH: %p/lib
<<

SplitOff: <<
  Package: %N-shlibs
  Files: lib/libregina.0.dylib lib/libtest1.0.dylib lib/libtest2.0.dylib
  Shlibs: <<
    %p/lib/libregina.0.dylib 0.0.0 %n (>= 3.2-12)
    %p/lib/libtest1.0.dylib 0.0.0 %n (>= 3.2-12)
    %p/lib/libtest2.0.dylib 0.0.0 %n (>= 3.2-12)
  <<
  DocFiles: COPYING-LIB
  Description: Regina, a Rexx interpreter
<<
SplitOff2: <<
  Package: %N-bin
  Depends: %N-shlibs (= %v-%r)
  Files:  bin etc sbin share/man
  Description: Regina, a Rexx interpreter
  DocFiles: COPYING-LIB
<<

Docfiles: COPYING-LIB README.* HACKERS.txt BUGS TODO 
Description: Regina, a Rexx interpreter
DescDetail: <<
Regina is an open source interpreter of the rexx language
<<
DescPackaging: >>
In order to allow its stack to be passed to non-rexx/regina programs, the authors of 
regina have implemented the system-wide 'stack' typical of vm/mvs/cms systems via a 
unix daemon. 
Like all such daemons, this one is supposed to  be started at system startup time.  In 
the default distribution of regina, this daemon configuration (referred to in the 
documentation as rxstack), is installed in the linux way, in  /etc/regina/rc.d/init.d. 
For the fink distribuiton, it is installed in *prefix*/sbin, and a daemonic file is 
provided. (See fink documentation for more information on daemonic).
The important upshot of this (other than the changed file locations) is that IF you 
install the regina package (and not just regina-bin and regina-shlibs), the tcp daemon 
will automatically start up on your system.  If you do not wish to be exposed to the 
security issues this raises (see the regina documentation) then you should only 
install regina-bin and regina-shlibs. 
<<
Homepage: http://regina-rexx.sf.net


--- NEW FILE: regina.patch ---
diff -ru Regina-3.2/Makefile.in Regina-3.2_patched/Makefile.in
--- Regina-3.2/Makefile.in      Mon Apr 21 01:04:08 2003
+++ Regina-3.2_patched/Makefile.in      Mon Jun 16 23:42:35 2003
@@ -849,9 +849,6 @@
        $(INSTALL) -m 755 -c ./rxqueue$(EXE) $(bindir)/rxqueue$(EXE)
        $(INSTALL) -m 755 -c ./rxstack$(EXE) $(bindir)/rxstack$(EXE)
        $(INSTALL) -m 755 -c ./regina-config $(bindir)/regina-config
-       -$(INSTALL) -m 755 -c ./rxstack.init.d $(sysconfdir)/rc.d/init.d/rxstack
-       @echo "The system startup/shutdown script; rxstack, may have been installed 
into $(sysconfdir)/rc.d/init.d"
-       @echo "You need to create the appropriate links to this script to start and 
stop rxstack automatically."
        -$(INSTALL) -m 755 -c ./$(LIBPRE)$(LIBFILE)$(LIBPST) 
$(libdir)/$(LIBPRE)$(LIBFILE)$(LIBPST)
        -$(RANLIB) $(libdir)/$(LIBPRE)$(LIBFILE)$(LIBPST)
        $(INSTALL) -m 644 -c $(srcdir)/regina.1 $(mandir)/man1/regina.1
diff -ru Regina-3.2/rxstack.init.d.in Regina-3.2_patched/rxstack.init.d.in
--- Regina-3.2/rxstack.init.d.in        Wed Oct 31 11:38:40 2001
+++ Regina-3.2_patched/rxstack.init.d.in        Mon Jun 16 23:42:03 2003
@@ -3,11 +3,6 @@
 # chkconfig: 
 # description: Regina Stack daemon.
 # processname: rxstack
-# pidfile: /var/run/rxstack.pid
-# config: /etc/sysconfig/rxstack
-
-# source function library
-. /etc/rc.d/init.d/functions
 
 RETVAL=0
 
@@ -16,13 +11,13 @@
        echo -n "Starting Regina Stack: "
        daemon @prefix@/bin/rxstack -d
        echo
-       [ $RETVAL -eq 0 ] && touch /var/lock/subsys/rxstack
+       [ $RETVAL -eq 0 ] && touch @prefix@/var/lock/subsys/rxstack
        ;;
   stop)
        echo -n "Shutting down Regina Stack: "
        killproc @prefix@/bin/rxstack -2
        RETVAL=$?
-       [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/rxstack
+       [ $RETVAL -eq 0 ] && rm -f @prefix@/var/lock/subsys/rxstack
        echo
        ;;
   restart|reload)

--- Regina-3.2/configure.orig   Sun Oct 26 14:27:06 2003
+++ Regina-3.2/configure        Sun Oct 26 14:27:28 2003
@@ -4233,7 +4233,7 @@
                 SHLPRE="lib"
 # MH                BUNDLE=".so"
                 BUNDLE=".junk"
-                SHL_LD="${CC} -dynamiclib -install_name ${SHLPRE}${SHLFILE}${SHLPST} 
-o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
+                SHL_LD="${CC} -dynamiclib -install_name 
$libdir/${SHLPRE}${SHLFILE}.0${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
                 SHL_BASE="${LIBPRE}${SHLFILE}${SHLPST}"
 # MH                EXTRATARGET="libregina$BUNDLE"
                 OTHER_INSTALLS="installlib"




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to