diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-26 10:40:55 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-03-02 11:48:02 +0100 |
commit | d359206d145aaa3dbcd625007f32fcd8e18a6f61 (patch) | |
tree | 64f29be69414ce0864e2c523fc168da3c1bf9d8a /package/dansguardian | |
parent | 3834811a6bb0b640dbb116622fa0a75e2573f010 (diff) |
dansguardian: remove package
Diffstat (limited to 'package/dansguardian')
-rw-r--r-- | package/dansguardian/Makefile | 41 | ||||
-rw-r--r-- | package/dansguardian/files/dansguardian.init | 33 | ||||
-rw-r--r-- | package/dansguardian/files/dansguardian.postinst | 6 | ||||
-rw-r--r-- | package/dansguardian/patches/patch-src_ImageContainer_cpp | 10 | ||||
-rw-r--r-- | package/dansguardian/patches/patch-src_SocketArray_cpp | 10 | ||||
-rw-r--r-- | package/dansguardian/patches/patch-src_UDSocket_cpp | 10 |
6 files changed, 0 insertions, 110 deletions
diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile deleted file mode 100644 index 4d27872ed..000000000 --- a/package/dansguardian/Makefile +++ /dev/null @@ -1,41 +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 ${ADK_TOPDIR}/rules.mk - -PKG_NAME:= dansguardian -PKG_VERSION:= 2.12.0.3 -PKG_RELEASE:= 2 -PKG_HASH:= c74e9a32b97f9a9a056fced3da23fe48fca2bc6aa9af670afe9a53dc819414f5 -PKG_DESCR:= web content filter proxy -PKG_SECTION:= net/proxy -PKG_DEPENDS:= libpcre zlib -PKG_BUILDDEP:= pcre zlib -PKG_NEEDS:= c++ -PKG_URL:= http://dansguardian.org/ -PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=dansguardian/} - -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 - -include ${ADK_TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,DANSGUARDIAN,dansguardian,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -CONFIGURE_ARGS+= --enable-orig-ip \ - --with-proxyuser=proxy \ - --with-proxygroup=proxy - -dansguardian-install: - ${INSTALL_DIR} ${IDIR_DANSGUARDIAN}/usr/sbin \ - ${IDIR_DANSGUARDIAN}/etc/dansguardian \ - ${IDIR_DANSGUARDIAN}/usr/share/dansguardian/languages/ukenglish - ${CP} ${WRKINST}/usr/share/dansguardian/languages/ukenglish/* \ - ${IDIR_DANSGUARDIAN}/usr/share/dansguardian/languages/ukenglish - ${CP} ${WRKINST}/usr/share/dansguardian/transparent1x1.gif \ - ${IDIR_DANSGUARDIAN}/usr/share/dansguardian - ${CP} ${WRKINST}/etc/dansguardian/* \ - ${IDIR_DANSGUARDIAN}/etc/dansguardian - ${INSTALL_BIN} ${WRKINST}/usr/sbin/dansguardian \ - ${IDIR_DANSGUARDIAN}/usr/sbin/ - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/dansguardian/files/dansguardian.init b/package/dansguardian/files/dansguardian.init deleted file mode 100644 index f8f40a9ca..000000000 --- a/package/dansguardian/files/dansguardian.init +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -#PKG dansguardian -#INIT 80 - -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${dansguardian:-NO}" = x"NO" && exit 0 - test x"$dansguardian" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start - exec sh $0 start - ;; -start) - if [ ! -f /var/log/dansguardian-access.log ];then - touch /var/log/dansguardian-access.log - chown proxy:proxy /var/log/dansguardian-access.log - fi - /usr/sbin/dansguardian - ;; -stop) - kill $(pgrep -f /usr/sbin/dansguardian) - ;; -restart) - sh $0 stop - sh $0 start - ;; - -*) - echo "usage: $0 {start | stop | restart}" - exit 1 -esac -exit $? diff --git a/package/dansguardian/files/dansguardian.postinst b/package/dansguardian/files/dansguardian.postinst deleted file mode 100644 index 8068f3d34..000000000 --- a/package/dansguardian/files/dansguardian.postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -gid=$(get_next_gid) -add_user dansguardian $(get_next_uid) $gid /etc/dansguardian -add_group dansguardian $gid -add_rcconf dansguardian NO diff --git a/package/dansguardian/patches/patch-src_ImageContainer_cpp b/package/dansguardian/patches/patch-src_ImageContainer_cpp deleted file mode 100644 index 27ccecafc..000000000 --- a/package/dansguardian/patches/patch-src_ImageContainer_cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- dansguardian-2.12.0.3.orig/src/ImageContainer.cpp 2012-09-29 22:06:45.000000000 +0200 -+++ dansguardian-2.12.0.3/src/ImageContainer.cpp 2013-12-07 10:07:04.000000000 +0100 -@@ -16,6 +16,7 @@ - #include <stdexcept> - #include <cerrno> - #include <limits.h> -+#include <string.h> - - - // GLOBALS diff --git a/package/dansguardian/patches/patch-src_SocketArray_cpp b/package/dansguardian/patches/patch-src_SocketArray_cpp deleted file mode 100644 index c08c483eb..000000000 --- a/package/dansguardian/patches/patch-src_SocketArray_cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- dansguardian-2.12.0.3.orig/src/SocketArray.cpp 2011-08-02 15:31:45.000000000 +0200 -+++ dansguardian-2.12.0.3/src/SocketArray.cpp 2013-12-07 10:07:51.000000000 +0100 -@@ -14,6 +14,7 @@ - - #include <syslog.h> - #include <cerrno> -+#include <string.h> - - - // GLOBALS diff --git a/package/dansguardian/patches/patch-src_UDSocket_cpp b/package/dansguardian/patches/patch-src_UDSocket_cpp deleted file mode 100644 index 3922e98f1..000000000 --- a/package/dansguardian/patches/patch-src_UDSocket_cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- dansguardian-2.12.0.3.orig/src/UDSocket.cpp 2012-09-29 22:06:45.000000000 +0200 -+++ dansguardian-2.12.0.3/src/UDSocket.cpp 2013-12-07 10:05:50.000000000 +0100 -@@ -21,6 +21,7 @@ - #include <unistd.h> - #include <stdexcept> - #include <stddef.h> -+#include <string.h> - - #ifdef DGDEBUG - #include <iostream> |