diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-03-07 02:16:25 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-07 02:16:25 -0300 |
commit | a080c9cca3b0a16b4f3a66675eb4ea5028ec86f8 (patch) | |
tree | cbe62cb27b1bf2801cb8c7bef8b8974a5d60b61e /network/freenx/freenx.SlackBuild | |
parent | 27332535ba7ba0a20f92baa29071aeefb570e4e0 (diff) | |
download | slackbuilds-a080c9cca3b0a16b4f3a66675eb4ea5028ec86f8.tar.gz |
network/freenx: Misc. cleaning up.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/freenx/freenx.SlackBuild')
-rw-r--r-- | network/freenx/freenx.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/network/freenx/freenx.SlackBuild b/network/freenx/freenx.SlackBuild index 99d62a49ba..b337b2d6a6 100644 --- a/network/freenx/freenx.SlackBuild +++ b/network/freenx/freenx.SlackBuild @@ -21,12 +21,14 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -# 24/sep/2010 by ponce <matteo.bernardini@sns.it> +# 24/sep/2010 by ponce <matteo.bernardini@gmail.com> # * ported to SBo. +# 22/feb/2011 by ponce <matteo.bernardini@gmail.com> +# * setup server with nomachine key by default. PRGNAM=freenx VERSION=${VERSION:-0.7.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,7 +59,7 @@ else fi DOCS="AUTHORS COPYING ChangeLog CONTRIB nxcheckload.sample nxacl.sample \ - $CWD/nomachine.id_dsa.key" + $CWD/config/nomachine.id_dsa.key" bailout() { printf "\n\tYou must have an \"nx\" user and group to run this script.\n" @@ -73,6 +75,9 @@ fi set -e +export CXXFLAGS="$SLKCFLAGS" +export CFLAGS="$SLKCFLAGS" + mkdir -p $TMP/tmp-$PRGNAM $PKG $OUTPUT rm -rf $TMP/tmp-$PRGNAM/* $PKG/* @@ -116,7 +121,7 @@ cp -a $PKG/etc/nxserver/node.conf.{sample,new} install -m 0755 init.d/freenx-server $PKG/etc/rc.d/rc.freenx.new # Add a logrotate script: -install -m 644 $CWD/freenx.logrotate $PKG/etc/logrotate.d/freenx-server.new +install -m 644 $CWD/config/freenx.logrotate $PKG/etc/logrotate.d/freenx-server.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true |