MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
SECTION = "libs"
DEPENDS += "ncurses mysql-native"
-PR = "r2"
+PR = "r3"
LICENSE = "GPL"
SRC_URI = "http://mirrors.develooper.com/mysql/Downloads/MySQL-4.1/mysql-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
rmdir ${D}${libdir}/mysql
}
+pkg_postinst () {
+ grep mysql /etc/passwd || adduser --disabled-password --home=/var/mysql --ingroup nogroup mysql
+}
+
+pkg_postrm () {
+ grep mysql /etc/passwd && deluser mysql
+}
+
PACKAGES =+ "libmysqlclient libmysqlclient-dev"
FILES_libmysqlclient = "${libdir}/libmysqlclient*.so.*"
LICENSE = "BSD"
SECTION = "console/network"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
-PR="r1"
+PR="r2"
SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/openntpd
install -d ${D}${localstatedir}/shared/empty
}
+
+pkg_postrm () {
+ grep ntpd /etc/passwd && deluser ntpd
+}
+
+pkg_postinst () {
+ grep ntpd /etc/passwd || adduser --disabled-password --home=/var/shared/empty --ingroup nogroup ntpd
+}
+