diff --git a/srcpkgs/cherokee/REMOVE b/srcpkgs/cherokee/REMOVE deleted file mode 100644 index f25f1e9b7a6..00000000000 --- a/srcpkgs/cherokee/REMOVE +++ /dev/null @@ -1,6 +0,0 @@ -case ${ACTION} in -purge) - [ -d var/log/cherokee ] && rm -rf var/log/cherokee - [ -d var/lib/cherokee ] && rm -rf var/lib/cherokee - ;; -esac diff --git a/srcpkgs/cherokee/files/cherokee.logrotate b/srcpkgs/cherokee/files/cherokee.logrotate deleted file mode 100644 index 19207fd0200..00000000000 --- a/srcpkgs/cherokee/files/cherokee.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/cherokee/*.error /var/log/cherokee/*.access { - daily - rotate 14 - compress - sharedscripts - postrotate - /bin/kill -HUP `cat /var/run/cherokee.pid 2>/dev/null` 2>/dev/null || true - endscript -} diff --git a/srcpkgs/cherokee/template b/srcpkgs/cherokee/template deleted file mode 100644 index 8aab1fd49c1..00000000000 --- a/srcpkgs/cherokee/template +++ /dev/null @@ -1,64 +0,0 @@ -# Template file for 'cherokee' -pkgname=cherokee -version=1.2.104 -revision=9 -wrksrc="webserver-${version}" -build_style=gnu-configure -configure_args="--sbindir=/usr/bin - --disable-static --with-wwwroot=/srv/httpd --with-wwwuser=httpd - --with-wwwgroup=httpd --with-python=python --enable-os-string=Linux" -hostmakedepends="automake libtool python" -makedepends="libressl-devel pcre-devel python-devel libldap-devel pam-devel - libmysqlclient-devel ffmpeg-devel geoip-devel" -short_desc="Innovative, feature rich and easy to configure web server" -maintainer="Juan RP " -homepage="http://www.cherokee-project.com/" -license="GPL-2" -distfiles="https://github.com/${pkgname}/webserver/archive/v${version}.tar.gz" -checksum=5cbd00ff48503eaf90356b2975e311c02977f9166927e57fc23f541a109efd98 - -conf_files="/etc/${pkgname}/${pkgname}.conf" -system_accounts="httpd" -httpd_descr="Cherokee HTTP server" -httpd_homedir="/srv/httpd" -make_dirs=" - /etc/cherokee/ssl 0755 httpd httpd - /var/log/cherokee 0755 httpd httpd - /var/lib/cherokee/graphs/images 0755 httpd httpd" - -pre_configure() { - if [ "$CROSS_BUILD" ]; then - _args="--host=${XBPS_CROSS_TRIPLET}" - fi - NOCONFIGURE=1 ./autogen.sh ${_args} - # use /var/log/cherokee instead of /var/log - sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre -} - -post_install() { - # Setup logrotate thing - vinstall ${FILESDIR}/${pkgname}.logrotate 644 etc/logrotate.d ${pkgname} - - # Install PAM configuration file - vinstall pam.d_cherokee 644 etc/pam.d ${pkgname} -} - -cherokee-devel_package() { - depends="lib${sourcepkg}>=${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/bin/cherokee-config - vmove usr/include - vmove usr/lib/pkgconfig - vmove usr/share/aclocal - vmove "usr/lib/*.so" - } -} - -libcherokee_package() { - short_desc+=" - runtime library" - pkg_install() { - vmove "usr/lib/*.so.*" - vmove usr/lib/cherokee - } -}