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
650
Issues
650
List
Boards
Labels
Service Desk
Milestones
Merge Requests
212
Merge Requests
212
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
2704414a
Commit
2704414a
authored
Sep 22, 2016
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "firehol: new aport"
This reverts commit
43638501
.
parent
56227bf2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
126 deletions
+0
-126
testing/firehol/APKBUILD
testing/firehol/APKBUILD
+0
-90
testing/firehol/firehol.initd
testing/firehol/firehol.initd
+0
-33
testing/firehol/firehol.post-install
testing/firehol/firehol.post-install
+0
-3
No files found.
testing/firehol/APKBUILD
deleted
100644 → 0
View file @
56227bf2
# Contributor: Jonny Tyers <jtyers@gmail.com>
# Maintainer: Jonny Tyers <jtyers@gmail.com>
pkgname
=
firehol
pkgver
=
3.0.1
pkgrel
=
0
pkgdesc
=
"easy to use but powerful iptables stateful firewall"
url
=
"http://www.firehol.org/"
arch
=
"noarch"
license
=
"GPL2"
depends
=
"bash iprange ipset iptables"
depends_dev
=
""
makedepends
=
"
$depends_dev
"
install
=
"
$pkgname
.post-install"
subpackages
=
"
$pkgname
-doc"
source
=
"
https://firehol.org/download/firehol/releases/v3.0.1/firehol-3.0.1.tar.bz2
firehol.initd
"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
build
()
{
cd
"
$_builddir
"
export
LD
=
"
$CC
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc/firehol
\
--datadir
=
/usr/share/firehol
\
--libexecdir
=
/usr/lib/firehol
\
--mandir
=
/usr/share/man
\
--with-ldflags
=
"
$LDFLAGS
"
\
--disable-doc
\
--disable-fireqos
\
--disable-vnetbuild
\
--disable-man
\
--disable-link-balancer
\
||
return
1
make
||
return
1
}
package
()
{
cd
"
$_builddir
"
#make DESTDIR="$pkgdir" install || return 1
install
-m755
-D
sbin/firehol
\
"
$pkgdir
"
/sbin/
$pkgname
||
return
1
install
-m755
-D
sbin/update-ipsets
\
"
$pkgdir
"
/sbin/update-ipsets
||
return
1
install
-d
"
$pkgdir
"
/usr/lib/
$pkgname
install
-m755
-D
sbin/functions.common.sh
\
"
$pkgdir
"
/usr/lib/
$pkgname
/
||
return
1
install
-m644
-D
etc/firehol.conf.example
\
"
$pkgdir
"
/etc/firehol.conf.example
||
return
1
#install -m755 -D "$srcdir"/$pkgname.initd \
#"$pkgdir"/etc/init.d/$pkgname || return 1
}
doc
()
{
cd
"
$_builddir
"
pkgdesc
=
"
$pkgname
documentation and contrib files (including dnsbl and systemd unit files)"
install
-d
"
$subpkgdir
"
/usr/share/doc/
$subpkgname
mv
examples
"
$subpkgdir
"
/usr/share/doc/
$subpkgname
/
mv
html
"
$subpkgdir
"
/usr/share/doc/
$subpkgname
/
mv
COPYING
"
$subpkgdir
"
/usr/share/doc/
$subpkgname
/
mv
contrib
"
$subpkgdir
"
/usr/share/doc/
$subpkgname
/
}
md5sums
=
"c66069dfec4b14af5ec2f85fe6f71936 firehol-3.0.1.tar.bz2
b65142a9090cc3b6ad9793f9fc09c73c firehol.initd"
sha256sums
=
"4c385a41705023d60d64f76a7cf4c9d7e193097c90a621beaedb91727ce6afea firehol-3.0.1.tar.bz2
86a8a960fd009eaef9a7b5ac56407eb18cac53bf2c26a6bbb9183f5edfbfd2b1 firehol.initd"
sha512sums
=
"36624ce27f03d5fdd42031d30e8ab00b80674d73131204f90ea9d9dec732fcd1359e6e213b59922cc67435a859961065009c18269dd21bf6eb556dca11c06a80 firehol-3.0.1.tar.bz2
e005ad8a663c735dfb88a751ac3772a5c043fb38f3d35fffc569d8bececf02df48db45a5416b799f13bec9b02ad2dc094e2034f56be5a3386684d0e3f47ecf24 firehol.initd"
testing/firehol/firehol.initd
deleted
100644 → 0
View file @
56227bf2
#!/sbin/openrc-run
name=firehol
daemon=/usr/sbin/$name
depend() {
need net
}
start() {
ebegin "Starting ${name}"
firehol start
eend $?
}
stop() {
ebegin "Stopping ${name}"
firehol stop
eend $?
}
try() {
ebegin "Testing ${name} configuration"
firehol try
eend $?
}
panic() {
ebegin "Putting ${name} in PANIC mode"
firehol panic "$@"
eend $?
}
testing/firehol/firehol.post-install
deleted
100644 → 0
View file @
56227bf2
#!/bin/sh
ln
-s
/sbin/firehol /etc/init.d/firehol
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