summaryrefslogtreecommitdiff
path: root/yacy
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2006-11-21 22:17:38 +1100
committerDanny Rawlins <romster@shortcircuit.net.au>2006-11-21 22:17:38 +1100
commitdc6076ae08998a908104d823b9d55adb32f02429 (patch)
treefce0a31318f78d6b9fc345814d42ecf6abb4566b /yacy
parentdca6ea985b41392725664f0c3a76e23f1bf69682 (diff)
downloadcontrib-dc6076ae08998a908104d823b9d55adb32f02429.tar.gz
contrib-dc6076ae08998a908104d823b9d55adb32f02429.tar.xz
opps didn't realise git aslo captures *~ files and cleaned out other junk files
Diffstat (limited to 'yacy')
-rw-r--r--yacy/Pkgfile~40
-rw-r--r--yacy/yacy.rc~43
2 files changed, 0 insertions, 83 deletions
diff --git a/yacy/Pkgfile~ b/yacy/Pkgfile~
deleted file mode 100644
index 61e543154..000000000
--- a/yacy/Pkgfile~
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id:
-# Description: P2P application for web searching.
-# URL: http://www.yacy.net/yacy/
-# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
-# Packager: Danny Rawlins, <romster@shortcircuit.net.au>
-# Depends on: ant
-
-name=yacy
-version=v0.48_20061010_2743
-release=2
-source=(http://www.yacy.net/yacy/release/yacy_$version.tar.gz \
- $name-start.sh $name-stop.sh $name.rc)
-
-build() {
- cd $name
-
- # ant wont build with this.
- mkdir -p $SRC/yacy/libx
-
- ant
- # remove cruft
- find $SRC/yacy -type f \
- -name '*.bat' -or \
- -name '*.txt' | xargs rm -rf {} \;
-
- rm -r source
- rm build.xml
-
- # install
- install -d $PKG/usr/share/yacy
-
- cp -R * $PKG/usr/share/yacy/
-
- chown -R _yacy:daemon $PKG/usr/share/yacy
-
- install -D -m755 -oroot -groot $SRC/yacy-start.sh $PKG/usr/sbin/yacy-start
- install -D -m755 -oroot -groot $SRC/yacy-stop.sh $PKG/usr/sbin/yacy-stop
- install -D -m755 -oroot -groot $SRC/yacy.rc $PKG/etc/rc.d/yacy
-}
-
diff --git a/yacy/yacy.rc~ b/yacy/yacy.rc~
deleted file mode 100644
index ab7ef3bdd..000000000
--- a/yacy/yacy.rc~
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/yacy: start/stop yacy daemon
-#
-
-# User settings here
-DAEMON=yacy
-RUN_AS_USER=_yacy
-
-# If you have to edit this section for this or any other
-# port useage let me know, with a patch or added lines,
-# or simplely e-mail me the altered file and I'll include the changes.
-
-RETVAL=0
-
-case $1 in
- start)
- echo -n "Starting $DAEMON..."
- su $RUN_AS_USER -c /usr/sbin/$DAEMON-start > /dev/null 2>&1 /dev/null & RETVAL=$?
- echo " done."
- ;;
- stop)
- echo -n "Shutting down $DAEMON..."
- su $RUN_AS_USER -c /usr/sbin/$DAEMON-stop > /dev/null 2>&1 /dev/null & RETVAL=$?
- #killall -q /usr/sbin/$DAEMON
- RETVAL=$?
- echo " done."
- ;;
- restart)
- $0 stop
- sleep 5
- $0 start
- RETVAL=$?
- ;;
- *)
- echo "usage: $0 [start|stop|restart]"
- exit 1
- ;;
-esac
-
-exit $RETVAL
-
-# End of file

Generated by cgit