diff --git a/packaging/osx/Makefile b/packaging/osx/Makefile index 1a000e28..f1d99a24 100644 --- a/packaging/osx/Makefile +++ b/packaging/osx/Makefile @@ -1,6 +1,6 @@ PRODUCT_NAME=freelan IDENTIFIER=org.freelan.freelan -VERSION=1.1 +VERSION=2.0 DAEMON_PACKAGE=${IDENTIFIER}.pkg FINAL_PACKAGE=${PRODUCT_NAME}_${VERSION}.pkg @@ -13,12 +13,10 @@ clean: package: clean mkdir -p ${IDENTIFIER} - mkdir -p ${IDENTIFIER}/usr/local/sbin - mkdir -p ${IDENTIFIER}/usr/local/etc/freelan + mkdir -p ${IDENTIFIER}/usr/local mkdir -p ${IDENTIFIER}/usr/local/share/freelan mkdir -p ${IDENTIFIER}/Library/LaunchDaemons - cp ../../install/bin/freelan ${IDENTIFIER}/usr/local/sbin/ - cp ../../freelan/config/freelan.cfg ${IDENTIFIER}/usr/local/etc/freelan/ + cp -r ../../install/* ${IDENTIFIER}/usr/local/ cp org.freelan.freelan.plist ${IDENTIFIER}/Library/LaunchDaemons/ cp uninstall.sh ${IDENTIFIER}/usr/local/share/freelan/ pkgbuild --root ${IDENTIFIER} --identifier ${IDENTIFIER} --version ${VERSION} --ownership recommended --scripts scripts ${DAEMON_PACKAGE} diff --git a/packaging/osx/org.freelan.freelan.plist b/packaging/osx/org.freelan.freelan.plist index e092df31..f144a751 100644 --- a/packaging/osx/org.freelan.freelan.plist +++ b/packaging/osx/org.freelan.freelan.plist @@ -6,7 +6,7 @@ org.freelan.freelan ProgramArguments - /usr/local/sbin/freelan + /usr/local/bin/freelan -c /usr/local/etc/freelan/freelan.cfg -f