diff options
Diffstat (limited to 'unmaintained/lusca/APKBUILD')
-rw-r--r-- | unmaintained/lusca/APKBUILD | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/unmaintained/lusca/APKBUILD b/unmaintained/lusca/APKBUILD deleted file mode 100644 index 77121877f6..0000000000 --- a/unmaintained/lusca/APKBUILD +++ /dev/null @@ -1,117 +0,0 @@ -# Maintainer: Diaz Devera Victor <vitronic2@gmail.com> - -pkgname=lusca -pkgver=r14942 -pkgrel=2 -pkgdesc="A full-featured Web proxy cache server Fork from Squid 2 series." -url="https://code.google.com/p/lusca-cache/" -install="lusca.pre-install lusca.pre-upgrade" -pkgusers="lusca" -pkggroups="lusca" -arch="all" -license="GPL2" -depends="logrotate" -makedepends="libressl-dev perl-dev autoconf automake heimdal-dev libtool - libcap-dev linux-headers" -subpackages="$pkgname-doc" -linguas="Armenian Czech Estonian Greek Japanese Portuguese Serbian Swedish Ukrainian-koi8-u -Azerbaijani Danish Finnish Hebrew Korean Romanian Simplify_Chinese Traditional_Chinese Ukrainian-utf8 -Bulgarian Dutch French Hungarian Lithuanian Russian-1251 Slovak Turkish templates -Catalan English German Italian Polish Russian-koi8-r Spanish Ukrainian-1251" -langdir="/usr/share/lusca/errors" - -source="https://xvk988.googlecode.com/files/LUSCA_HEAD-$pkgver.tar.bz2 - alpine.patch - $pkgname.initd - $pkgname.confd - $pkgname.logrotate" - -_builddir="$srcdir"/LUSCA_HEAD-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - ./bootstrap.sh - find -name config.sub | xargs chmod u+w -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --exec_prefix=/usr \ - --bindir=/usr/sbin \ - --sbindir=/usr/sbin \ - --libexecdir=/usr/lib/$pkgname \ - --sysconfdir=/etc/lusca \ - --localstatedir=/var/spool/$pkgname \ - --datadir=/usr/share/$pkgname \ - --enable-async-io=24 \ - --with-aufs-threads=24 \ - --with-pthreads \ - --enable-storeio=aufs \ - --enable-linux-netfilter \ - --enable-arp-acl \ - --enable-epoll \ - --enable-removal-policies=lru,heap \ - --with-aio \ - --with-dl \ - --enable-snmp \ - --enable-delay-pools \ - --enable-htcp \ - --enable-cache-digests \ - --disable-unlinkd \ - --enable-large-cache-files \ - --with-large-files \ - --enable-auth=basic,digest,ntlm,negotiate \ - --enable-referer-log \ - --enable-follow-x-forwarded-for \ - --with-maxfd=65536 \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.logrotate \ - "$pkgdir"/etc/logrotate.d/$pkgname - install -d -o lusca -g lusca \ - "$pkgdir"/var/cache/$pkgname \ - "$pkgdir"/var/log/$pkgname \ - "$pkgdir"/var/run/$pkgname - - mv "$pkgdir"/etc/lusca/squid.conf.default "$pkgdir"/etc/lusca/$pkgname.conf.default - mv "$pkgdir"/etc/lusca/squid.conf.clean "$pkgdir"/etc/lusca/$pkgname.conf.clean - mv "$pkgdir"/etc/lusca/squid.conf "$pkgdir"/etc/lusca/$pkgname.conf - - mv "$pkgdir"/usr/sbin/squid "$pkgdir"/usr/sbin/$pkgname - mv "$pkgdir"/usr/sbin/squidclient "$pkgdir"/usr/sbin/luscaclient - chmod +x "$pkgdir"/usr/lib/$pkgname/* -} - -md5sums="25d852d20372ad9ba623ca3eb6d7e44a LUSCA_HEAD-r14942.tar.bz2 -c06fc0964158f36578c86d8c262267d4 alpine.patch -ab9c58c553b803ae0f2f3cea2afd102e lusca.confd -bbad1a149da4d1b0d5b1d54ce715ec09 lusca.initd -54fbba7f7795a69e6df66b0c7f36c78d lusca.logrotate" - -sha256sums="0cbf6c1908d62e8d5538f0144a970440b8315089e770d3653bed6757a5602d12 LUSCA_HEAD-r14942.tar.bz2 -c8954f28f7b1f8fa304558b534b6ba3666a1fcfee2624b3195e66c2d86193d52 alpine.patch -2fff1bee04477eaa21d6d4d45b9c4b30a21f10a319ea8b64c7ff52eb9de45ff2 lusca.confd -8b7ece5c63840716e451fe7bfd0bff8c38e98ba9510dc84d1ed6282521ae5625 lusca.initd -b7dc2c4cf17c0088827298d13e419891a9c52b96afcecf49f764fb8bb16fc234 lusca.logrotate" - -sha512sums="60abf830cf07318a772f86c68672a549a804861962b29f9626ec7362369515ba4794b32d66d31ae50ac2e3a3b9520cc1226d0cdf99e5e70c86d4cee622b640b8 LUSCA_HEAD-r14942.tar.bz2 -b216a67f5809fe7b2ebd8a741f500338dc480bbf6b3768c78db0418f3b99fc93e9d1b61a668b2e4276deeeabeeb89dbb4a25473eafb21afbe5f610cf314c0ece alpine.patch -8ce68ccf7b5ada41deea44febebff4aa854bfc4f7797435465afe55055e2fd3c46abe7f753cbfd0135537c44cfe8589cc673e254844e9a60c49c4178c2ec7335 lusca.confd -e768a2b95d9411c80114d1b87b231028556aa60826ff90812a0bdbf21174ac9f5510a2da6b9f21b50b16c263146a4e3af1219422dff49b73e78a6a59f44371cf lusca.initd -785475dbbcd03aa4aaa635ae5aeb5f0682004002ec93036054c3092db5c7c109bbc93b5f3109a690515a89554993cc6d36b9fdc655369a837004a39bb0c12ed4 lusca.logrotate" |