summaryrefslogtreecommitdiff
path: root/install/rpm/freeside-1.5.7.build.patch
blob: fdf9714070e4ccf45da0e7c1d868d6ed76e630d1 (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
diff -Naur freeside-1.5.7.orig/FS/bin/freeside-deloutsource freeside-1.5.7/FS/bin/freeside-deloutsource
--- freeside-1.5.7.orig/FS/bin/freeside-deloutsource	2002-09-20 11:47:58.000000000 -0400
+++ freeside-1.5.7/FS/bin/freeside-deloutsource	2005-08-27 17:59:05.000000000 -0400
@@ -3,9 +3,9 @@
 domain=$1
 
 dropdb $domain && \
-rm -rf /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
-rm -rf /usr/local/etc/freeside/counters.DBI:Pg:host=localhost\;dbname=$domain && \
-rm -rf /usr/local/etc/freeside/cache.DBI:Pg:host=localhost\;dbname=$domain && \
-rm -rf /usr/local/etc/freeside/export.DBI:Pg:host=localhost\;dbname=$domain && \
-rm /usr/local/etc/freeside/dbdef.DBI:Pg:host=localhost\;dbname=$domain
+rm -rf /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
+rm -rf /usr/local/etc/freeside/counters.DBI:Pg:dbname=$domain && \
+rm -rf /usr/local/etc/freeside/cache.DBI:Pg:dbname=$domain && \
+rm -rf /usr/local/etc/freeside/export.DBI:Pg:dbname=$domain && \
+rm /usr/local/etc/freeside/dbdef.DBI:Pg:dbname=$domain
 
diff -Naur freeside-1.5.7.orig/Makefile freeside-1.5.7/Makefile
--- freeside-1.5.7.orig/Makefile	2005-07-11 09:01:16.000000000 -0400
+++ freeside-1.5.7/Makefile	2005-08-30 22:04:10.320868163 -0400
@@ -136,8 +136,12 @@
 	[ -e ./httemplate/docs/man ] || mkdir httemplate/docs/man
 	[ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin
 	[ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS
+	[ -e ./httemplate/docs/man/FS/ClientAPI ] || mkdir httemplate/docs/man/FS/ClientAPI
+	[ -e ./httemplate/docs/man/FS/Report ] || mkdir httemplate/docs/man/FS/Report
+	[ -e ./httemplate/docs/man/FS/TicketSystem ] || mkdir httemplate/docs/man/FS/TicketSystem
 	[ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI
 	[ -e ./httemplate/docs/man/FS/part_export ] || mkdir httemplate/docs/man/FS/part_export
+	[ -e ./httemplate/docs/man/FS/part_pkg ] || mkdir httemplate/docs/man/FS/part_pkg
 	chmod a+rx bin/pod2x
 	[ -e DONT_REBUILD_DOCS ] || bin/pod2x
 
@@ -145,8 +149,12 @@
 	[ -e ./httemplate/docs/man ] || mkdir httemplate/docs/man
 	[ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin
 	[ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS
+	[ -e ./httemplate/docs/man/FS/ClientAPI ] || mkdir httemplate/docs/man/FS/ClientAPI
+	[ -e ./httemplate/docs/man/FS/Report ] || mkdir httemplate/docs/man/FS/Report
+	[ -e ./httemplate/docs/man/FS/TicketSystem ] || mkdir httemplate/docs/man/FS/TicketSystem
 	[ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI
 	[ -e ./httemplate/docs/man/FS/part_export ] || mkdir httemplate/docs/man/FS/part_export
+	[ -e ./httemplate/docs/man/FS/part_pkg ] || mkdir httemplate/docs/man/FS/part_pkg
 	bin/pod2x
 
 install-docs: docs