Hello community,

here is the log from the commit of package transconnect for openSUSE:Factory 
checked in at 2014-03-09 20:27:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transconnect (Old)
 and      /work/SRC/openSUSE:Factory/.transconnect.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transconnect"

Changes:
--------
--- /work/SRC/openSUSE:Factory/transconnect/transconnect.changes        
2011-09-23 12:48:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.transconnect.new/transconnect.changes   
2014-03-09 20:27:32.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Mar  6 19:58:16 UTC 2014 - a...@ajaissle.de
+
+- Spec cleanup
+- Renamed README.SuSE to README.SUSE
+- Moved the configuration section of the file INSTALL to README.SUSE
+- Added AUTHORS file
+
+-------------------------------------------------------------------

Old:
----
  README.SuSE

New:
----
  AUTHORS
  README.SUSE

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ transconnect.spec ++++++
--- /var/tmp/diff_new_pack.TSbiOn/_old  2014-03-09 20:27:32.000000000 +0100
+++ /var/tmp/diff_new_pack.TSbiOn/_new  2014-03-09 20:27:32.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package transconnect (Version 1.2)
+# spec file for package transconnect
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,48 +15,37 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           transconnect
 Version:        1.2
-Release:        397
+Release:        0
+Summary:        Allows you to access the internet through a HTTP proxy
 License:        GPL-2.0+
 Group:          Productivity/Networking/Web/Proxy
 Url:            http://transconnect.sourceforge.net/
-AutoReqProv:    on
-Summary:        Allows you to access the internet through a HTTP proxy
-Source:         
http://prdownloads.sourceforge.net/transconnect/%{name}-%{version}.tar.bz2
-Source1:        README.SuSE
-Patch:          %{name}-%{version}.dif
+Source0:        
http://prdownloads.sourceforge.net/transconnect/%{name}-%{version}.tar.bz2
+Source1:        README.SUSE
+Patch0:         %{name}-%{version}.dif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 TransConnect is a program to allow you almost complete access to the
 internet through a HTTP proxy like squid.
 
-
-
-Authors:
---------
-    Dwivedi, Ajay kumar <adwiv at yahoo dot com>
-    Binand Raj S. <binand at bombay dot retortsoft dot com>
-
 %prep
-%setup
-%patch
-cp -p $RPM_SOURCE_DIR/README.SuSE .
+%setup -q
+%patch0
+cp %{SOURCE1} .
 
 %build
 make
 
 %install
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf 
$RPM_BUILD_ROOT
-install -D -m 755 tconn.so $RPM_BUILD_ROOT/%{_libdir}/tconn.so
+install -D -m 755 tconn.so %{buildroot}%{_libdir}/tconn.so
 
 %files
 %defattr(-,root,root)
 %{_libdir}/tconn.so
-%doc Changelog COPYING INSTALL README README.SuSE tconn.conf
+%doc AUTHORS Changelog COPYING README README.SUSE tconn.conf
 
 %changelog

++++++ AUTHORS ++++++
Authors:
--------
    Dwivedi, Ajay kumar <adwiv at yahoo dot com>
    Binand Raj S. <binand at bombay dot retortsoft dot com> 
++++++ README.SUSE ++++++
README.SUSE

Please consult the configuration section below (taken from the original INSTALL 
document) about how to use transconnect in general.

As first step you produce a configuration file in your home directory. Therefor
please create a directory, copy the example configuration file, set secure file
permissions and customize it to your needs.

    mkdir ~/.tconn
    cp /usr/share/doc/packages/transconnect/tconn.conf ~/.tconn/
    chmod 600 ~/.tconn/tconn.conf

Additional the shared library tconn.so is stored in /usr/lib/ resp. /usr/lib64/ 
and not in the users ~/.tconn directory as described in the file INSTALL. Hence 
the fifth step of the INSTALL instruction needs to be altered.

    LD_PRELOAD=/usr/lib/tconn.so

    - or -
    
    LD_PRELOAD=/usr/lib64/tconn.so


Your SUSE Linux team.




CONFIGURATION                                                                   
                                                     
-------------                                                                   
                                                     
        After compiling and installing the progam, you must configure it. The 
shared                                                 
library and configuration file are stored in .tconn dir in your home dir.       
                                                     
                                                                                
                                                     
                cd $HOME/.tconn                                                 
                                                     
                                                                                
                                                     
   Alternatively, you can setup the TCONN environment variable and set it to 
the                                                     
   path of the config file.                                                     
                                                     
                                                                                
                                                     
                                                                                
                                                     
   There is a file "tconn.conf" in ".tconn" directory in your homedir. You 
   *must* edit this file. The comments in the file start with a hash (#). 
   Here I give you details of the settings.
   
   NOTE: The keywords (eg proxyserv) must start on the first column

   a) proxyserv 172.16.1.1
        Put the IP of your proxy server in place of 172.16.1.1 . You must use 
        IP and not the name of the server.

   b) proxyport 3128
        Put the port your proxy runs on.

   c) proxyuser   "bill"  
      proxypass   "monica:)"
        If your proxy does not need authorisation comment out the above two 
lines.
        Otherwise put your login name and password in between the quotes. eg the
        above lines are for a user with login name bill and password monica:)
        If your password has any special characters like tab or a double quote
        put them as it is. Do not use the C type escape sequences.
                
   d) localnet .......
        These lines specify the local machines around you which you can access
        directly. You must setup the local network. All applications will 
connect
        to machines on  local network directly. Any machine not on localnetwork
        will  be connected through the proxy.
        
        The syntax of localnet is network/netmask both in quad dot form. I can't
        tell you the values for your network, you have to find out yourself.
        Contact your system administrator if you have no idea what I am talking
        about.

   e) useragent
        Completely Optional. Needed only if your proxy does not allow otherwise.

4. Setup resolver:
        Setup /etc/resolv.conf such that your machine can resolv all the 
hostnames.
        If your network does not have such a nameserver you will have to use 
        IP's and not hostnames for connecting to remote servers.

5. Starting TransConnect:
        Type the following on the command line
        LD_PRELOAD=$HOME/.tconn/tconn.so
        export LD_PRELOAD

        Now try some network application like telnet/ssh or fetchmail/pine.

   NOTE: you will be able to use this software only in the terminal you have
        exported LD_PRELOAD. If it is a GUI application, launch it from the
                command line.

6. Stopping TransConnect:
        Type the following on command line (Of the same terminal).
        unset LD_PRELOAD


7. Confiugring Squid: (For Admins Only).
        Note: This is not needed in general as squid is often configured to
        allow connect requests. If this is not the case, modify the squid.conf
        to add the following:
 
        acl connect_urls method CONNECT 
        http_access allow connect_urls 
 
        and run squid -k reconfigure. 
        ( I am not a squid admin. This has been suggested by Binand <binand at 
        sourceforge dot net> )

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to