Skip to content

This repository contains a hacky Debian packaging for the wildfly application server

Notifications You must be signed in to change notification settings

mattthias/wildfly-packaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

# 0. prepare orig source

# Download the "source" (the binary "Java EE7 Full & Web Distribution")
# wget http://download.jboss.org/wildfly/8.0.0.Final/wildfly-8.0.0.Final.tar.gz

# create a link to this file named wildfly-8.0.0.Final.orig.tar.gz
ln -s wildfly-8.0.0.Final.tar.gz wildfly_8.0.0.Final.orig.tar.gz

# unpack and enter directory
tar -xzf wildfly_8.0.0.Final.orig.tar.gz
cd wildfly-8.0.0.Final

# Lets start with packaging (create debian/ dir and changelog)
mkdir debian
# 1. debian/changelog
dch --create --package wildfly --newversion=8.0.0.Final-1  

# 2. debian/compat
echo "9" > debian/compat

# 3. debian/rules
echo -ne '#!/usr/bin/make -f\n%:\n\tdh $@\n' > debian/rules

# 4. debian/control
(cat  <<ENDE
Source: wildfly
Maintainer: Your Name <your.mail@provider.lan>
Standards-Version: 3.9.5
Build-Depends: debhelper (>=9)

Package: wildfly
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: wildfly application server
 This should be a longerdescription of the wildfly application server package.
ENDE
)  > debian/control

# 5. debian/source/format
mkdir -p debian/source
echo "3.0 (quilt)" > debian/source/format

# 6. Add all dir to install
echo "appclient  opt/wildfly/
bin  opt/wildfly/
docs  opt/wildfly/
domain  opt/wildfly/
modules  opt/wildfly/
standalone  opt/wildfly/
welcome-content  opt/wildfly/
LICENSE.txt  opt/wildfly/
README.txt  opt/wildfly/
copyright.txt  opt/wildfly/
jboss-modules.jar  opt/wildfly/" > debian/wildfly.install
 
# Build with dpkg-buildpackage
dpkg-buildpackage -us -uc

About

This repository contains a hacky Debian packaging for the wildfly application server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published