Compare commits
4 Commits
134aa1c690
...
master
Author | SHA1 | Date | |
---|---|---|---|
34399f6ca6 | |||
6c5c7024a9 | |||
6cd6fbfe12 | |||
3ab1e7eb8e |
11
acct-user/lightsquid/lightsquid-0.ebuild
Normal file
11
acct-user/lightsquid/lightsquid-0.ebuild
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
ACCT_USER_ID=750
|
||||
ACCT_USER_GROUPS=( squid )
|
||||
|
||||
acct-user_add_deps
|
@ -1 +1 @@
|
||||
DIST libb64-1.2.1.zip 23316 SHA256 20106f0ba95cfd9c35a13c71206643e3fb3e46512df3e2efb2fdbf87116314b2 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d WHIRLPOOL c31b8581adaa8516527f35e63aafe8ca93a6cef783fe416063cee2313bcc6ae41b7dd8efd75bba778954cafeaad250090b18df706ba349b684c84908387abe26
|
||||
DIST libb64-1.2.1.zip 23316 BLAKE2B 1e3aa08679e363d61b7a0a77bfe909c0fc80411bf2c7b0f35e7a8a692a25585a37303ea0f010600c0e07e0419f016fe60f88851eebb26d044e7dbaf3d02726a0 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d
|
||||
|
@ -1,7 +0,0 @@
|
||||
------------------------------------------------------------------
|
||||
"THE PIZZA-WARE LICENSE" (Revision 42):
|
||||
Peter Hofmann <pcode@uninformativ.de> wrote these files. As long as you
|
||||
retain this notice you can do whatever you want with this stuff. If we
|
||||
meet some day, and you think this stuff is worth it, you can buy me a
|
||||
pizza in return.
|
||||
------------------------------------------------------------------
|
@ -1 +1 @@
|
||||
DIST lightsquid-1.8.tgz 60868 SHA256 691ec0167f1d12f9a9038f734921c30b4578b57e5e627ce61e7d4107154be073 SHA512 7f4f9361896db386a3d95323349ab51f7eb3d367a7df275cd47168a826bfdaa39f1ef29b4ffad60fd5c604b59a8b788f4f3d0cb6ce6e363a0d6add1206a3cbae WHIRLPOOL 3e7f97e1afa7ed535fff7970837383d332412c55895355ed3da2ef72b58619d31ae42816f2d4dc2034663904df133d2c522a5b6f806b5e00a621512992b51a9a
|
||||
DIST lightsquid-1.8.tgz 60868 BLAKE2B 6d66a1b65aa7da0d8bf49aad63b6c16e69723281dc8652598a214decd90ed36299f75fb988e7b0c5954e5dbbd7877780a7fcc999eb6397a1668473ec500dfee1 SHA512 7f4f9361896db386a3d95323349ab51f7eb3d367a7df275cd47168a826bfdaa39f1ef29b4ffad60fd5c604b59a8b788f4f3d0cb6ce6e363a0d6add1206a3cbae
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- lightparser.pl.orig 2013-12-25 13:06:21.375580481 +0400
|
||||
+++ lightparser.pl 2013-12-25 13:07:04.339580830 +0400
|
||||
--- a/lightparser.pl 2013-12-25 13:06:21.375580481 +0400
|
||||
+++ b/lightparser.pl 2013-12-25 13:07:04.339580830 +0400
|
||||
@@ -32,11 +32,11 @@
|
||||
|
||||
push (@INC,(fileparse($0))[1]);
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2021 Gentoo Foundation
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit eutils systemd user
|
||||
inherit tmpfiles
|
||||
|
||||
DESCRIPTION="Lite and fast log analyzer for Squid"
|
||||
HOMEPAGE="http://lightsquid.sourceforge.net/"
|
||||
@ -14,15 +14,12 @@ LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="net-proxy/squid
|
||||
RDEPEND="acct-user/lightsquid
|
||||
net-proxy/squid
|
||||
dev-perl/GD[truetype]
|
||||
dev-perl/CGI"
|
||||
DEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
enewuser lightsquid -1 -1 /var/lib/lightsquid squid
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^$cfgpath/s:/var/www/html/lightsquid:/etc/lightsquid:' \
|
||||
@ -38,9 +35,9 @@ src_prepare() {
|
||||
-e 's:common.pl:/usr/share/lightsquid/common.pl:' \
|
||||
*.cgi || die
|
||||
|
||||
epatch "${FILESDIR}/${P}-path-fix.patch"
|
||||
eapply "${FILESDIR}/${P}-path-fix.patch"
|
||||
|
||||
epatch_user
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@ -68,5 +65,9 @@ src_install() {
|
||||
keepdir /var/lib/lightsquid
|
||||
fowners lightsquid:squid /var/lib/lightsquid
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}/${PN}.conf"
|
||||
dotmpfiles "${FILESDIR}/${PN}.conf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process "${PN}.conf"
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ SRC_URI="http://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.zip"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa exif gmenu kde terminal gnote vala webkit xfce xgamma xklavier twitter indicator3 zeitgeist mail"
|
||||
IUSE="alsa exif gmenu terminal gnote vala webkit xfce xgamma xklavier twitter indicator3 zeitgeist mail"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/dbus-glib
|
||||
@ -30,7 +30,6 @@ RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
exif? ( media-libs/libexif )
|
||||
gmenu? ( gnome-base/gnome-menus )
|
||||
kde? ( kde-frameworks/kdelibs )
|
||||
terminal? ( x11-libs/vte:= )
|
||||
vala? ( dev-lang/vala:= )
|
||||
webkit? ( >=net-libs/webkit-gtk-1.4.0:3 )
|
||||
|
Reference in New Issue
Block a user