forked from apache/zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request apache#2 from omwok/trunk
request to pull some commit
- Loading branch information
Showing
882 changed files
with
213,384 additions
and
25,427 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Apache ZooKeeper | ||
Copyright 2009 The Apache Software Foundation | ||
Copyright 2009-2011 The Apache Software Foundation | ||
|
||
This product includes software developed at | ||
The Apache Software Foundation (http://www.apache.org/). |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
README file for Packaging Notes | ||
|
||
Requirement | ||
----------- | ||
|
||
gcc, cppunit and python-setuptools are required to build | ||
C and python bindings. | ||
|
||
On RHEL machine: | ||
|
||
yum install cppunit | ||
yum install python-setuptools | ||
|
||
On Ubuntu: | ||
|
||
apt-get --install cppunit | ||
apt-get --install python-setuptools | ||
|
||
Package build command | ||
--------------------- | ||
|
||
Command to build Debian package: ant deb | ||
Command to build RPM Package: ant rpm | ||
|
||
rpm and deb packages are generated and placed in: | ||
|
||
build/zookeeper*.[rpm|deb] | ||
build/contrib/**.[rpm|deb] | ||
|
||
Default package file structure layout | ||
|
||
/usr/bin - User executable | ||
/usr/sbin - System executable | ||
/usr/libexec - Configuration boot trap script | ||
/usr/lib - Native libraries | ||
/usr/share/doc/zookeeper - Documents | ||
/usr/share/zookeeper - Project files | ||
/usr/share/zookeeper/template/conf - Configuration template files | ||
/etc/zookeeper - Configuration files | ||
/etc/init.d/zookeeper - OS startup script | ||
|
||
Source file structure layout | ||
--------------------- | ||
|
||
src/packages/update-zookeeper-env.sh | ||
- setup environment variables and symlink $PREFIX/etc/zookeeper to | ||
/etc/zookeeper. | ||
- This script is designed to run in post installation, and pre-remove | ||
phase of ZooKeeper package. | ||
- Run update-zookeeper-env.sh -h to get a list of supported parameters. | ||
|
||
src/packages/template | ||
- Standard configuration template | ||
|
||
src/packages/deb | ||
Meta data for creating Debian package | ||
|
||
src/packages/deb/init.d | ||
Daemon start/stop script for Debian flavor of Linux | ||
|
||
src/packages/rpm | ||
Meta data for creating RPM package | ||
|
||
src/packages/rpm/init.d | ||
Daemon start/stop script for Redhat flavor of Linux |
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
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
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
Oops, something went wrong.