Update of /cvsroot/leaf/src/bering-uclibc4/source/privoxy
In directory 
sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv19996/source/privoxy

Added Files:
        buildtool.cfg buildtool.mk privoxy-3.0.10-stable-src.tar.gz 
        privoxy.config privoxy.init 
Log Message:
Fixed perl modules path


--- NEW FILE: privoxy.init ---
#!/bin/sh

RCDLINKS="2,S62 3,S62 6,K62"
case "$1" in
    start)
        echo "Starting Privoxy"
        if [ ! -f /var/run/privoxy.pid ] || ! kill -0 `cat 
/var/run/privoxy.pid` 2> /dev/null; then
           /usr/sbin/privoxy --pidfile /var/run/privoxy.pid /etc/privoxy/config 
2> /dev/null
        else     
           false 
        fi
        ;;
    stop)
        echo "Shutting down Privoxy"
        kill -TERM `cat /var/run/privoxy.pid`
        rm -f /var/run/privoxy.pid
        ;;
    reload)
        echo "Reloading Privoxy"
        kill -HUP `cat /var/run/privoxy.pid`
        ;;
    try-restart)
        $0 stop && $0 start
        ;;
    restart)
        $0 stop
        $0 start
        ;;           
    *)
        echo "Usage: $0 {start|restart|reload|stop}"
        exit 1
esac

exit 0

--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
  Server = cvs4-sourceforge
  Revision = HEAD
  Directory = privoxy
</File>

<File privoxy-3.0.10-stable-src.tar.gz>
  Server = cvs4-sourceforge
  Revision = HEAD
  envname = PRIVOXY_SOURCE
  Directory = privoxy
</File>

<File privoxy.init>
 Server = cvs4-sourceforge
 Revision = HEAD
 Directory = privoxy
</File>

<File privoxy.config>
 Server = cvs4-sourceforge
 Revision = HEAD
 Directory = privoxy
</File>
      
<Package>
        <privoxy>
                Version = 3.0.10-stable
                Revision = 1

                Help <<EOF
                Privoxy is a web proxy with advanced filtering capabilities 
                for protecting privacy, modifying web page content, managing 
cookies, 
                controlling access, and removing ads, banners, pop-ups and 
other 
                obnoxious Internet junk.
                Homepage: http://www.privoxy.org/
                Requires: lpthread.lrp
                LEAF package by __PACKAGER__, __BUILDDATE__             
                EOF
                
                <Permissions>
                        Files = 644
                        Directories = 755
                </Permissions>

                <Owner>
                        Files = root:root
                        Directories = root:root
                </Owner>
                
                <Contents>
                        <File>          
                                Filename        = etc/privoxy/config
                                Source          = etc/privoxy/config
                                Description     = privoxy configuration
                                Type            = conf
                                Type            = local
                                Type            = binary
                                Permissions = 600
                        </File>                 
                        <File>          
                                Filename        = etc/privoxy/default.action
                                Source          = etc/privoxy/default.action
                                Description     = privoxy default action
                                Type            = conf
                                Type            = local
                                Type            = binary
                                Permissions = 600
                        </File>                 
                        <File>          
                                Filename        = etc/privoxy/default.filter
                                Source          = etc/privoxy/default.filter
                                Description     = privoxy default filter
                                Type            = conf
                                Type            = local
                                Type            = binary
                                Permissions = 600
                        </File>                 
                        <File>          
                                Filename        = etc/privoxy/standard.action
                                Source          = etc/privoxy/standard.action
                                Description     = privoxy standard actions
                                Type            = conf
                                Type            = local
                                Type            = binary
                                Permissions = 600
                        </File>                 
                        <File>          
                                Filename        = etc/privoxy
#                               Type            = local
                                Type            = directory
                                Permissions = 755
                        </File>                 
                        <File>
                                Filename    = etc/init.d/privoxy
                                Source      = etc/init.d/privoxy
                                Description = privoxy daemon init file 
                                Type        = binary
                                Permissions = 755
                        </File>

                        <File>          
                                Source          = usr/sbin/privoxy
                                Filename        = usr/sbin/privoxy
                                Type            = binary
                                Permissions = 755
                        </File>         

                        <File>          
                                Source          = etc/privoxy/templates/*
                                Filename        = etc/privoxy/templates
                                Type            = binary
                                Permissions = 755
                        </File>         

                </Contents>                     
        </privoxy>
</Package>

--- NEW FILE: buildtool.mk ---
# makefile for privoxy
include $(MASTERMAKEFILE)

PRIVOXY_DIR:=privoxy-3.0.10-stable
PRIVOXY_TARGET_DIR:=$(BT_BUILD_DIR)/privoxy

export AUTOCONF=$(BT_STAGING_DIR)/bin/autoconf
export AUTOHEADER=$(BT_STAGING_DIR)/bin/autoheader
PERLVER=$(shell ls $(BT_STAGING_DIR)/usr/lib/perl5)

$(PRIVOXY_DIR)/.source:
        zcat $(PRIVOXY_SOURCE) | tar -xvf -
        touch $(PRIVOXY_DIR)/.source

source: $(PRIVOXY_DIR)/.source
                        
$(PRIVOXY_DIR)/.configured: $(PRIVOXY_DIR)/.source
        (cd $(PRIVOXY_DIR) ; export 
PERLLIB=$(BT_STAGING_DIR)/usr/lib/perl5/$(PERLVER); \
        $(AUTOHEADER); $(AUTOCONF); CC=$(TARGET_CC) LD=$(TARGET_LD) \
        ./configure --prefix=/usr \
        --disable-dynamic-pcre \
        --disable-dynamic-pcrs );
        touch $(PRIVOXY_DIR)/.configured
                                                                 
$(PRIVOXY_DIR)/.build: $(PRIVOXY_DIR)/.configured
        mkdir -p $(PRIVOXY_TARGET_DIR)
        mkdir -p $(PRIVOXY_TARGET_DIR)/etc/init.d       
        mkdir -p $(PRIVOXY_TARGET_DIR)/usr/sbin 
        mkdir -p $(PRIVOXY_TARGET_DIR)/etc/privoxy      
        mkdir -p $(PRIVOXY_TARGET_DIR)/etc/privoxy/templates            
        make -C $(PRIVOXY_DIR)
        -$(BT_STRIP) $(BT_STRIP_BINOPTS) $(PRIVOXY_DIR)/privoxy

        cp -a privoxy.init $(PRIVOXY_TARGET_DIR)/etc/init.d/privoxy
        cp -a privoxy.config $(PRIVOXY_TARGET_DIR)/etc/privoxy/config
        cp -a $(PRIVOXY_DIR)/default.action $(PRIVOXY_TARGET_DIR)/etc/privoxy
        cp -a $(PRIVOXY_DIR)/default.filter $(PRIVOXY_TARGET_DIR)/etc/privoxy
        cp -a $(PRIVOXY_DIR)/standard.action $(PRIVOXY_TARGET_DIR)/etc/privoxy
        cp -a $(PRIVOXY_DIR)/privoxy $(PRIVOXY_TARGET_DIR)/usr/sbin
        cp -a $(PRIVOXY_DIR)/templates/* 
$(PRIVOXY_TARGET_DIR)/etc/privoxy/templates
        cp -a $(PRIVOXY_TARGET_DIR)/* $(BT_STAGING_DIR)
        touch $(PRIVOXY_DIR)/.build

build: $(PRIVOXY_DIR)/.build
                                                                                
         
clean:
        make -C $(PRIVOXY_DIR) clean
        rm -rf $(PRIVOXY_TARGET_DIR)
        rm -rf $(PRIVOXY_DIR)/.build
        rm -rf $(PRIVOXY_DIR)/.configured
                                                                                
                                 
srcclean: clean
        rm -rf $(PRIVOXY_DIR) 
        rm -rf $(PRIVOXY_DIR)/.source

--- NEW FILE: privoxy-3.0.10-stable-src.tar.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: privoxy.config ---
#        Sample Configuration File for Privoxy v3.0.8
#
#  $Id: privoxy.config,v 1.1 2010/10/23 15:23:28 nitr0man Exp $
#
#  Copyright (C) 2001-2008 Privoxy Developers http://www.privoxy.org/
#
####################################################################
#                                                                  #
#                      Table of Contents                           #
#                                                                  #
#        I. INTRODUCTION                                           #
#       II. FORMAT OF THE CONFIGURATION FILE                       #
#                                                                  #
#        1. LOCAL SET-UP DOCUMENTATION                             #
#        2. CONFIGURATION AND LOG FILE LOCATIONS                   #
#        3. DEBUGGING                                              #
#        4. ACCESS CONTROL AND SECURITY                            #
#        5. FORWARDING                                             #
#        6. WINDOWS GUI OPTIONS                                    #
[...1371 lines suppressed...]
#log-font-size 8

#  "show-on-task-bar" controls whether or not Privoxy will appear as
#  a button on the Task bar when minimized:
#
#show-on-task-bar 0

#  If "close-button-minimizes" is set to 1, the Windows close button
#  will minimize Privoxy instead of closing the program (close with
#  the exit option on the File menu).
#
#close-button-minimizes 1

#  The "hide-console" option is specific to the MS-Win console version
#  of Privoxy.  If this option is used, Privoxy will disconnect from
#  and hide the command console.
#
#hide-console
#
#


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to