Commit 8097f8ae authored by Matt Tucker's avatar Matt Tucker Committed by matt

Debian work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4349 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0ec96f0d
...@@ -1254,6 +1254,9 @@ ...@@ -1254,6 +1254,9 @@
<property name="debian.release.dir" value="${target.dir}/debian" /> <property name="debian.release.dir" value="${target.dir}/debian" />
<property name="debian.release.install_path" value="${debian.release.dir}/usr/bin" /> <property name="debian.release.install_path" value="${debian.release.dir}/usr/bin" />
<property name="debian.version" value="${version.major}.${version.minor}.${version.revision}"/> <property name="debian.version" value="${version.major}.${version.minor}.${version.revision}"/>
<tstamp>
<format property="debian.builddate" pattern="EEE, dd MMM yyyy HH:mm:ss Z" locale="en"/>
</tstamp>
<target name="installer-debian" depends="release" description="Creates a Debian package"> <target name="installer-debian" depends="release" description="Creates a Debian package">
<mkdir dir="${debian.release.install_path}/${dist.prefix}"/> <mkdir dir="${debian.release.install_path}/${dist.prefix}"/>
...@@ -1267,7 +1270,7 @@ ...@@ -1267,7 +1270,7 @@
<copy todir="${debian.release.dir}/DEBIAN"> <copy todir="${debian.release.dir}/DEBIAN">
<fileset dir="${debian.dir}" includes="**/*" /> <fileset dir="${debian.dir}" includes="**/*" />
<filterset> <filterset>
<filter token="builddate" value="${builddate}"/> <filter token="builddate" value="${debian.builddate}"/>
<filter token="version" value="${debian.version}"/> <filter token="version" value="${debian.version}"/>
</filterset> </filterset>
</copy> </copy>
...@@ -1279,6 +1282,14 @@ ...@@ -1279,6 +1282,14 @@
<exec executable="ln" failonerror="true"> <exec executable="ln" failonerror="true">
<arg line="-s /etc/${dist.prefix} ${debian.release.install_path}/${dist.prefix}/conf"/> <arg line="-s /etc/${dist.prefix} ${debian.release.install_path}/${dist.prefix}/conf"/>
</exec> </exec>
<!-- Move the logs directory to /var/log/wildfire and then make a sym link -->
<copy todir="${debian.release.dir}/var/log/${dist.prefix}">
<fileset dir="${debian.release.install_path}/${dist.prefix}/logs"/>
</copy>
<delete dir="${debian.release.install_path}/${dist.prefix}/logs"/>
<exec executable="ln" failonerror="true">
<arg line="-s /var/log/${dist.prefix} ${debian.release.install_path}/${dist.prefix}/logs"/>
</exec>
<!-- Create the package --> <!-- Create the package -->
<exec executable="dpkg" failonerror="true"> <exec executable="dpkg" failonerror="true">
<arg line="-b ${debian.release.dir} ${dist.prefix}_${debian.version}-i386.deb"/> <arg line="-b ${debian.release.dir} ${dist.prefix}_${debian.version}-i386.deb"/>
......
wildfire (@version@) unstable; urgency=medium
* For full changelog, see http://www.jivesoftware.org/builds/wildfire/docs/latest/changelog.html
-- Jive Software <webmaster@jivesoftware.com> @builddate@
\ No newline at end of file
...@@ -13,5 +13,4 @@ Description: A high performance XMPP (Jabber) server. ...@@ -13,5 +13,4 @@ Description: A high performance XMPP (Jabber) server.
administration console, and a full plugin system. The server administration console, and a full plugin system. The server
is 100% Java. is 100% Java.
. .
Wildfire is a professional Open Source project, led by Jive Wildfire is a professional Open Source project, led by Jive Software.
Software and the Wildfire community. \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment