]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: use HTML files instead of RTF for welcome message
authorVincent Bernat <bernat@luffy.cx>
Mon, 24 Jun 2013 17:18:05 +0000 (19:18 +0200)
committerVincent Bernat <bernat@luffy.cx>
Mon, 24 Jun 2013 17:46:01 +0000 (19:46 +0200)
Also add a conclusion file.

osx/distribution.xml.in
osx/resources/Welcome.rtf [deleted file]
osx/resources/conclusion.html [new file with mode: 0644]
osx/resources/license.html [new file with mode: 0644]
osx/resources/license.txt [deleted file]
osx/resources/welcome.html [new file with mode: 0644]

index 43088c2172bad38c9dddb4551e8731bf3598b1dd..a6353a1a1520717b001c431fe6dff851292e8dae 100644 (file)
@@ -4,8 +4,9 @@
 <installer-gui-script minSpecVersion="1">
     <title>@PACKAGE@ @VERSION@</title>
     <organization>im.bernat.@PACKAGE@</organization>
-    <welcome file="Welcome.rtf" mime-type="text/rtf" />
-    <license file="license.txt" mime-type="text/plain" />
+    <welcome file="welcome.html" mime-type="text/html" />
+    <license file="license.html" mime-type="text/html" />
+    <conclusion file="conclusion.html" mime-type="text/html" />
     <pkg-ref id="im.bernat.@PACKAGE@.daemon"/>
     <domains enable_localSystem="true"/>
     <options customize="never" require-scripts="true" rootVolumeOnly="true" />
diff --git a/osx/resources/Welcome.rtf b/osx/resources/Welcome.rtf
deleted file mode 100644 (file)
index 0e306b5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
-{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;\f1\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
-\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\sa80\pardirnatural
-
-\f0\fs24 \cf0 lldp
-\f1 d is an ISC-licensed implementation of LLDP for various Unixes. It also supports some proprietary protocols.\
-\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\sa40\pardirnatural
-\cf0 LLDP allows you to know exactly on which port is a server (and reciprocally). It is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.}
\ No newline at end of file
diff --git a/osx/resources/conclusion.html b/osx/resources/conclusion.html
new file mode 100644 (file)
index 0000000..7dc33b5
--- /dev/null
@@ -0,0 +1,25 @@
+<html>
+  <body style="font-family: Gill Sans, sans-serif">
+    <h1>Installation of <i>lldpd</i> is successful!</h1>
+
+    <p>
+      <code>lldpd</code> should already be running. You can check if
+      it discovered any neighbor by using <code>lldpctl</code>
+      command-line tool.
+    </p>
+
+    <p>
+      For more information, have a look at the following manual pages:
+      <ul>
+        <li><code>lldpd(8)</code></li>
+        <li><code>lldpcli(8)</code></li>
+      </ul>
+    <p>
+
+    <p>
+      If you want to modify the way <code>lldpd</code> is invoked, you
+      have to
+      modify <code>/Library/LaunchDaemons/im.bernat.lldpd.plist</code>.
+    </p>
+  </body>
+</html>
diff --git a/osx/resources/license.html b/osx/resources/license.html
new file mode 100644 (file)
index 0000000..070627a
--- /dev/null
@@ -0,0 +1,25 @@
+<html>
+  <body style="font-family: Gill Sans, sans-serif">
+    <p>
+      Copyright &copy; 2013 <a href="mailto:bernat@luffy.cx">Vincent Bernat</a>
+    </p>
+    <p>
+      Permission to use, copy, modify, and/or distribute this software
+      for any purpose with or without fee is hereby granted, provided
+      that the above copyright notice and this permission notice
+      appear in all copies.
+    </p>
+
+    <p>
+      THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+      WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+      WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
+      AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
+      CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+      LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+      NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+      CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+    </p>
+  </body>
+</html>
diff --git a/osx/resources/license.txt b/osx/resources/license.txt
deleted file mode 100644 (file)
index f0616a5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Copyright (c) 2008-2013 Vincent Bernat <bernat@luffy.cx>
-
-Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/osx/resources/welcome.html b/osx/resources/welcome.html
new file mode 100644 (file)
index 0000000..8d8f9c3
--- /dev/null
@@ -0,0 +1,23 @@
+<html>
+  <body style="font-family: Gill Sans, sans-serif">
+    <h1><i>lldpd</i>: a 802.1ab implementation</h1>
+    <p>
+      <abbr>LLDP</abbr> allows you to know exactly on which port is a
+      server (and reciprocally).
+    </p>
+
+    <p>
+      It is an industry standard protocol designed to supplant
+      proprietary Link-Layer protocols such as <abbr>EDP</abbr>
+      or <abbr>CDP</abbr>. The goal of <abbr>LLDP</abbr> is to provide
+      an inter-vendor compatible mechanism to deliver Link-Layer
+      notifications to adjacent network devices.
+    </p>
+
+    <p>
+      <code>lldpd</code> is an ISC-licensed implementation
+      of <abbr>LLDP</abbr> for various Unixes. It also supports some
+      proprietary protocols.
+    </p>
+  </body>
+</html>