]> git.pld-linux.org Git - packages/mnogosearch.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:41:16 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mnogosearch-gethostnames -> 1.4
    mnogosearch-stored-dirs_1.patch -> 1.2

mnogosearch-gethostnames [deleted file]
mnogosearch-stored-dirs_1.patch [deleted file]

diff --git a/mnogosearch-gethostnames b/mnogosearch-gethostnames
deleted file mode 100644 (file)
index e2c78cc..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# Script for automagic finding&using hostnames/aliases of sites which are held
-# on this server. 
-# Based on mnogosearch spec file.
-# Adapted for pld by hunter@pld.org.pl, 8/09/2001
-
-if [ -d /etc/httpd/httpd.conf ]; then
-    VHOSTS=/etc/httpd/httpd.conf/20_mod_vhost_alias.conf
-    HTTPCF=/etc/httpd/httpd.conf/10_httpd.conf
-else
-    VHOSTS=/etc/httpd/mod_vhost_alias.conf
-    HTTPCF=/etc/httpd/httpd.conf
-fi
-IDXRCF=/etc/mnogosearch/indexer.conf
-TMPFILE=/tmp/mnogo.tmp
-TMPFILE2=/tmp/mnogo2.tmp
-ENTRIES="index.html index.htm index.php index.php3 index.shtml default.htm"
-
-rm -f $TMPFILE $TMPFILE2
-
-# First check for local sites in this file:
-for i in `cat /etc/mnogosearch/locals`; do 
-       echo $i >> $TMPFILE 2&1>/dev/null
-done
-
-#Then extract from $VHOSTS file
-if [ -x $VHOSTS ]; then 
-       for i in ; do echo $i >> $TMPFILE; done
-fi
-
-#Determine localhost name
-SERVERNAME="`cat $HTTPCF| grep -v "#" |  grep ServerName| awk '{printf($2)}'`"
-[ -z "$SERVERNAME" ] && SERVERNAME="`uname -n`"
-#IF the two above fail use localhost
-[ -z "$SERVERNAME" ] && SERVERNAME="localhost"
-
-if [ -f $TMPFILE ]; then
-       for i in `cat $TMPFILE`; do echo "$i" >> $TMPFILE2; done 
-fi
-echo 'http://'$SERVERNAME >> $TMPFILE2
-mv $TMPFILE2 $TMPFILE
-
-cat $IDXRCF | grep -v -e Server -e URL -e "#Added by"> $TMPFILE2 
-echo "#Added by $0, on `date`" >> $TMPFILE2
-for i in `cat $TMPFILE`; do
-       echo "Server $i" >> $TMPFILE2 
-done
-
-#Get url entries for hostnames 
-for i in `cat $TMPFILE`; do 
-       for j in $ENTRIES; do
-       echo "URL $i/$j" >> $TMPFILE2;
-       done
-done
-
-mv -f $TMPFILE2 $IDXRCF
-rm -f $TMPFILE
diff --git a/mnogosearch-stored-dirs_1.patch b/mnogosearch-stored-dirs_1.patch
deleted file mode 100644 (file)
index 54e38a0..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- /home/users/hunter/backup/stored.c~        Fri Nov  2 07:29:03 2001
-+++ src/stored.c       Sat Jun  1 09:15:37 2002
-@@ -193,8 +193,8 @@
-                     closesocket(ns); 
-                   exit(0);
-                 }
--                sprintf(Sfilename, "%s/store/%04x.s", store_dir, FileNo);
--                sprintf(Ifilename, "%s/store/%04x.i", store_dir, FileNo);
-+                sprintf(Sfilename, "%s/store/%01x/%01x/%04x.s", store_dir, FileNo>>12, (FileNo>>8)%16,  FileNo);
-+                sprintf(Ifilename, "%s/store/%01x/%01x/%04x.i", store_dir, FileNo>>12,  (FileNo>>8)%16, FileNo);
-                 if ((Ifd = fopen(Ifilename, "rb+")) == NULL) {
-                   if ((Ifd = fopen(Ifilename, "wb+")) == NULL) {
This page took 0.30118 seconds and 4 git commands to generate.