Created
October 17, 2010 23:44
-
-
Save computercolin/631460 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sat Oct 9 23:07:38 EDT 2010 | |
Explorer: Colin Zwiebel | |
To be combined with SDZ's spec from this package: | |
http://sdz.fedorapeople.org/etherpad-0-0.11.20100429.fc14.src.rpm | |
# Apply this patch | |
etherpad_fedora_env_patch.diff | |
( http://gist.github.com/631456 ) | |
# SDZ bits to remove bundled and use libraries from our system (from repos) | |
rm -f etherpad/lib/* | |
cp /usr/share/java/{dnsjava,jBCrypt,jcommon,jfreechart/jfreechart}.jar etherpad/lib/ | |
# remove as many libs as we can right now | |
rm -f infrastructure/lib/{activation,commons-lang-2.4,dnsjava-2.0.6,jetty-6.1.20,jetty-util-6.1.*,jetty-sslengine-6.1.20,mail,servlet-api-2.5-20081211,tagsoup-1.2,yuicompressor-2.4-appjet}.jar | |
# find a way to not hardcode the jetty version number here | |
cp /usr/share/jetty/lib/ext/jetty-sslengine-6.1.21.jar infrastructure/lib/ | |
# Replace the openoffice libs with system version | |
yum install openoffice.org-ure | |
rm -f infrastructure/lib/{java_uno-3.2.0,juh-3.2.0,jurt-3.2.0,ridl-3.2.0,unoil-3.2.0}.jar | |
cp /usr/lib/openoffice.org/ure/share/java/{java_uno,juh,jurt,ridl,unoil}.jar infrastructure/lib | |
# fulfill unoil.jar | |
rm -f infrastructure/lib/unoil-3.2.0.jar | |
cp /usr/lib/openoffice.org/basis3.2/program/classes/unoil.jar infrastructure/lib | |
# Take care of commons-io | |
yum install jakarta-commons-io | |
rm -f infrastructure/lib/commons-io-1.4.jar | |
cp /usr/share/java/commons-io.jar infrastructure/lib | |
# Take care of fileupload | |
yum install jakarta-commons-fileupload | |
rm -f infrastructure/lib/commons-fileupload-1.2.1.jar | |
cp /usr/share/java/commons-fileupload.jar infrastructure/lib | |
# Take care of c3p0 | |
# ... to be continued |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment