summaryrefslogtreecommitdiff
path: root/libre/xsp-parabola/xsp.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 07:04:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 07:04:44 -0300
commit224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 (patch)
tree21f0f00d6ca7a856bde8310b4558a527717a6d85 /libre/xsp-parabola/xsp.install
parent317a3b1d822c252c9f341170cf47a85d72cddde6 (diff)
downloadabslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.tar.gz
abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.tar.bz2
abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.zip
add parabola suffix on some packages
Diffstat (limited to 'libre/xsp-parabola/xsp.install')
-rw-r--r--libre/xsp-parabola/xsp.install37
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/xsp-parabola/xsp.install b/libre/xsp-parabola/xsp.install
new file mode 100644
index 000000000..d2cc5955a
--- /dev/null
+++ b/libre/xsp-parabola/xsp.install
@@ -0,0 +1,37 @@
+# arg 1: the new package version
+post_install() {
+ cat << EOM
+
+--> xsp is just the helping app for mod_mono if you like a production like
+--> server. xsp itself is for ASP testing mainly -- read the manpage for xsp
+--> to know which options are available.
+--> Parabola will provide xsp configured by a .webapp configuration file
+--> which rests in /etc/xsp. Just put your other webapp files there to let
+--> xsp pick them up.
+--> xsp is commandline based configuration is done in /etc/conf.d/xsp. Set all
+--> your arguments there. Don't forget that you can run xsp from the console
+--> as oridinary user, which is safer and for testing absolutely sufficient!!
+
+--> You can run the testpages simply by starting the server and calling
+ http://localhost:8080
+--> from your browser's location bar
+
+
+EOM
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}