You are not logged in.
Hi to everyone:
Could anyone package this?: Apache Traffic Server
Overview:
Caching
Improve your response time, while reducing server load and bandwidth needs by caching and reusing frequently-requested web pages, images, and web service calls.
Proxying
Easily add keep-alive, filter or anonymize content requests, or add load balancing by adding a proxy layer.
Fast
Scales well on modern SMP hardware, handling 10s of thousands of requests per second.
Extensible
APIs to write your own plug-ins to do anything from modifying HTTP headers to handling ESI requests to writing your own cache algorithm.
Proven
Handing over 400TB a day at Yahoo! both as forward and reverse proxies, Traffic Server is battle hardened.
A lot of thanks. ![]()
Offline
Here you go :-)
https://aur.archlinux.org/packages.php?ID=59149
much time spent, but was fun and i learned a lot :-)
Sysprofile
xx4h freenode #archlinux/#archlinux-aur/#archlinux-offtopic
BitCoin-Address: 13eaEB8YK5heFwXWieL8bZXXPq8fgbS8Kx
Offline
xx4h, good work on the PKGBUILD, just a few comments:
You have this:
if [ ${CARCH} = 'x86_64' ]; then
depends=('tcl' 'start-stop-daemon' 'openssl' 'expat' 'libcap' 'pcre')
else
depends=('tcl' 'start-stop-daemon' 'openssl' 'expat' 'libcap' 'pcre')
fiSince your if/else are the same, you can just do:
depends=('tcl' 'start-stop-daemon' 'openssl' 'expat' 'libcap' 'pcre')Also your echo statements towards the bottom are in the package() function but should be in an install file. Imagine you package the .tar.xz, send it to someone else and they install it, they won't get the echo statements, only you (the packager) will see those. You can look at how mpd is packaged to see how this is done.
Lastly, you can remove gcc from the makedepends (and therefore the whole makedepdends line). This is because it's assumed people using the AUR have base-devel installed, which includes gcc.
Offline
thanks your suggestions :-)
package is now updated :-)
edit: i think this thread can marked as solved :-)
Last edited by xx4h (2012-05-09 20:05:01)
Sysprofile
xx4h freenode #archlinux/#archlinux-aur/#archlinux-offtopic
BitCoin-Address: 13eaEB8YK5heFwXWieL8bZXXPq8fgbS8Kx
Offline