Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Package Modification
(view source)
Revision as of 12:52, 16 September 2008
179 bytes added
,
12:52, 16 September 2008
→Make a patch
Line 118:
Line 118:
=====Make a patch=====
=====Make a patch=====
Then switch to the tree and make modification.
Then switch to the tree and make modification.
+
+
Method A
In the prepared dir copy a file you want to modify like so:
In the prepared dir copy a file you want to modify like so:
Line 124:
Line 126:
Then modify the original file 28UserManagerProxyPass.
Then modify the original file 28UserManagerProxyPass.
−
To add new files touch the file.{patchname} so it is empty.
(really empty = 0kb, some file manager don't!)
+
To add new files touch the file.{patchname} so it is empty.
Once you have all the files you want patched copied and changed then you can build the patch (from the contribs7 dir) with:
Once you have all the files you want patched copied and changed then you can build the patch (from the contribs7 dir) with:
Line 131:
Line 133:
(man gendiff. That is what the makefile uses to generate the diff file.)
(man gendiff. That is what the makefile uses to generate the diff file.)
+
Method B
+
+
Make a copy of the prepared directory, edit directly, then make a patch
+
cp smeserver-foo-1.0 smeserver-foo-1.0.old
+
diff -urN smeserver-foo-1.0.old smeserver-foo-1.0 > smeserver-foo-1.0-removeConfig.patch
=====Apply a patch=====
=====Apply a patch=====
Snoble
Administrators
2,569
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search