diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-17 21:55:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-17 21:55:49 +0100 |
commit | 15c84adca94bfe4a89ece5c04f06a884cf508ebb (patch) | |
tree | 727d3fd768a1abe75521190b90833b3a68cce4c6 /package/gkrellmd | |
parent | 0de5d9ecedff55481b3c1eb9c3841de17716a485 (diff) |
fix packages to be compile with stack protector
- libtool do not pass -fstack-protector while linking,
but this is required to successfully link libraries or
executables with SSP
- pass LDFLAGS for non-libtool packages
Diffstat (limited to 'package/gkrellmd')
-rw-r--r-- | package/gkrellmd/Makefile | 32 | ||||
-rw-r--r-- | package/gkrellmd/files/gkrellmd.init | 27 | ||||
-rw-r--r-- | package/gkrellmd/files/gkrellmd.postinst | 3 |
3 files changed, 0 insertions, 62 deletions
diff --git a/package/gkrellmd/Makefile b/package/gkrellmd/Makefile deleted file mode 100644 index 2f2548ca6..000000000 --- a/package/gkrellmd/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include ${TOPDIR}/rules.mk - -PKG_NAME:= gkrellmd -PKG_VERSION:= 2.3.4 -PKG_RELEASE:= 1 -PKG_MD5SUM:= 600f4daa395112ed19a3633deb0829ff -PKG_DESCR:= The GNU Krell Monitors Server -PKG_SECTION:= net/misc -PKG_DEPENDS:= glib libpthread -PKG_BUILDDEP:= glib -PKG_URL:= http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html -PKG_SITES:= http://members.dslextreme.com/users/billw/gkrellm/ - -DISTFILES:= gkrellm-${PKG_VERSION}.tar.gz -WRKDIST= ${WRKDIR}/gkrellm-${PKG_VERSION}/server - -include ${TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,GKRELLMD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -CONFIG_STYLE:= manual -INSTALL_STYLE:= manual - -do-install: - ${INSTALL_DIR} ${IDIR_GKRELLMD}/usr/bin ${IDIR_GKRELLMD}/etc - ${INSTALL_BIN} ${WRKBUILD}/gkrellmd ${IDIR_GKRELLMD}/usr/bin/ - ${INSTALL_DATA} ${WRKSRC}/gkrellmd.conf ${IDIR_GKRELLMD}/etc - -include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/gkrellmd/files/gkrellmd.init b/package/gkrellmd/files/gkrellmd.init deleted file mode 100644 index 54c42665c..000000000 --- a/package/gkrellmd/files/gkrellmd.init +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -#PKG gkrellmd -#INIT 80 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${gkrellmd:-NO}" = x"NO" && exit 0 - exec sh $0 start - ;; -start) - /usr/bin/gkrellmd -d - ;; -stop) - kill $(pgrep -f /usr/bin/gkrellmd) - ;; -restart) - sh $0 stop - sh $0 start - ;; -*) - echo "Usage: $0 {start | stop | restart}" - exit 1 - ;; -esac -exit $? diff --git a/package/gkrellmd/files/gkrellmd.postinst b/package/gkrellmd/files/gkrellmd.postinst deleted file mode 100644 index 56b7b06cc..000000000 --- a/package/gkrellmd/files/gkrellmd.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf gkrellmd gkrellmd NO |