summaryrefslogtreecommitdiff
blob: 5b71b0f7abab2ee28b0a1d6e30ee64b6c85ce280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
diff -ru gnump3d-2.2-orig/bin/gnump3d2 gnump3d-2.2/bin/gnump3d2
--- gnump3d-2.2-orig/bin/gnump3d2	2003-02-04 11:25:13.000000000 +0200
+++ gnump3d-2.2/bin/gnump3d2	2003-02-22 03:43:12.000000000 +0200
@@ -280,6 +280,11 @@
 if ( ( not $DEBUG ) and ( $BACKGROUND ) )
 {
     fork() && exit;
+    # 2003-02-22 Jyrki Muukkonen
+    # we need a pidfile for /etc/init.d/gnump3d script
+    open( PIDFILE, ">/var/run/gnump3d.pid" );
+    print PIDFILE $PID;
+    close( PIDFILE );
 }
 
 
diff -ru gnump3d-2.2-orig/etc/gnump3d.conf gnump3d-2.2/etc/gnump3d.conf
--- gnump3d-2.2-orig/etc/gnump3d.conf	2003-02-04 11:25:13.000000000 +0200
+++ gnump3d-2.2/etc/gnump3d.conf	2003-02-22 02:34:42.000000000 +0200
@@ -93,7 +93,7 @@
 #  If you're on a multi-user system its probably a good idea to
 # make the audio files readable to other users anyway...
 #
-root = /home/mp3   
+# root = /home/mp3   
 
 
 #
@@ -611,7 +611,7 @@
 #
 # plugin_directory = /usr/lib/perl5/gnump3d/plugins
 #
-
+plugin_directory = /usr/lib/perl5/5.8.0/gnump3d/plugins
 
 #
 #  By default all the plugins which are shipped with this server are
--- gnump3d-2.2-orig/Makefile	2003-06-25 09:40:15.000000000 +0000
+++ gnump3d-2.2-orig/Makefile	2003-06-25 09:41:40.000000000 +0000
@@ -26,23 +26,18 @@
 	install -d $(LIBDIR)/gnump3d/plugins
 	install -d $(PREFIX)/share/gnump3d
 	install -d $(PREFIX)/bin
-	install -d $(PREFIX)/man/man1
-	install -d /var/log/gnump3d
-	install -d /etc/gnump3d
+	install -d $(PREFIX)/share/man/man1
 	cp lib/gnump3d/*.pm $(LIBDIR)/gnump3d
 	cp lib/gnump3d/plugins/*.pm $(LIBDIR)/gnump3d/plugins
 	cp bin/gnump3d2 $(PREFIX)/bin/
-	-ln -s $(PREFIX)/bin/gnump3d2 $(PREFIX)/bin/gnump3d
+	-ln -s gnump3d2 $(PREFIX)/bin/gnump3d
 	cp bin/gnump3d-top $(PREFIX)/bin
-	cp man/gnump3d-top.1 $(PREFIX)/man/man1
-	cp man/gnump3d.1 $(PREFIX)/man/man1
-	cp man/gnump3d.conf.1 $(PREFIX)/man/man1
+	cp man/gnump3d-top.1 $(PREFIX)/share/man/man1
+	cp man/gnump3d.1 $(PREFIX)/share/man/man1
+	cp man/gnump3d.conf.1 $(PREFIX)/share/man/man1
 	cp -R templates/* $(PREFIX)/share/gnump3d
 	chmod -R a+r $(PREFIX)/share/gnump3d/
 	chmod +rx $(PREFIX)/share/gnump3d/*/
-	if [ -e /etc/gnump3d/gnump3d.conf ]; then cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf-orig ; fi
-	sed "s#PLUGINDIR#${LIBDIR}#g" etc/gnump3d.conf > /etc/gnump3d/gnump3d.conf
-	cp etc/mime.types /etc/gnump3d
 
 uninstall:
 	rm -f $(PREFIX)/bin/gnump3d-top
@@ -89,4 +84,4 @@
 
 sign: dist
 	-rm -f *.asc
-	for i in gnump3d-$(VERSION).*; do gpg --armor --detach-sign $$i; done
\ No newline at end of file
+	for i in gnump3d-$(VERSION).*; do gpg --armor --detach-sign $$i; done