Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
649
Issues
649
List
Boards
Labels
Service Desk
Milestones
Merge Requests
197
Merge Requests
197
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
20686158
Commit
20686158
authored
Apr 02, 2009
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra/squid: add logrotate script
fixes
#9
parent
482fb35c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
extra/squid/APKBUILD
extra/squid/APKBUILD
+7
-3
extra/squid/squid.logrotate
extra/squid/squid.logrotate
+11
-0
No files found.
extra/squid/APKBUILD
View file @
20686158
...
...
@@ -3,11 +3,11 @@
pkgname
=
squid
pkgver
=
2.7.6
_ver
=
2.7.STABLE6
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"A full-featured Web proxy cache server."
url
=
"http://www.squid-cache.org"
license
=
"GPL-2"
depends
=
"openssl
$pkgname
-errors-english"
depends
=
"openssl
$pkgname
-errors-english
logrotate
"
makedepends
=
"openssl-dev perl-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-errors-armenian:errors_armenian
...
...
@@ -49,6 +49,7 @@ source="http://www.squid-cache.org/Versions/v2/2.7/${pkgname}-${_ver}.tar.bz2
squid.initd
squid.confd
squid-2.7-gentoo.patch
$pkgname
.logrotate
"
build
()
{
...
...
@@ -76,6 +77,8 @@ build() {
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/squid
}
...
...
@@ -262,4 +265,5 @@ errors_ukrainian_utf8() {
md5sums
=
"6de3a6a7a56a7ecae092f2d31a04f039 squid-2.7.STABLE6.tar.bz2
d31f293cf10a90bc3d60aa6428889db5 squid.initd
44b052db7910f386ef88ddcf69c9ba4e squid.confd
1d33108353d788b238d9a8877bf2e401 squid-2.7-gentoo.patch"
1d33108353d788b238d9a8877bf2e401 squid-2.7-gentoo.patch
58823e0b86bc2dc71d270208b7b284b4 squid.logrotate"
extra/squid/squid.logrotate
0 → 100644
View file @
20686158
/var/log/squid/*.log {
daily
compress
rotate 5
missingok
nocreate
sharedscripts
postrotate
/usr/sbin/squid -k rotate
endscript
}
Natanael Copa
@ncopa
mentioned in issue
#9 (closed)
·
Jul 12, 2019
mentioned in issue
#9 (closed)
mentioned in issue #9
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment