-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
57 lines (46 loc) · 1.51 KB
/
README.txt
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
48
49
50
51
52
53
54
55
56
57
# 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 <[email protected]>
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