Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominika Liberda
aports
Commits
163e2083
Commit
163e2083
authored
5 years ago
by
Francesco Colista
Browse files
Options
Downloads
Patches
Plain Diff
main/ngrep: upgrade to 1.47
parent
498b8b3d
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/ngrep/APKBUILD
+12
-11
12 additions, 11 deletions
main/ngrep/APKBUILD
with
12 additions
and
11 deletions
main/ngrep/APKBUILD
+
12
−
11
View file @
163e2083
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname
=
ngrep
pkgname
=
ngrep
pkgver
=
1.45
pkgver
=
1.47
pkgrel
=
4
_pkgver
=
"
${
pkgver
/./_
}
"
pkgrel
=
0
pkgdesc
=
"A grep-like utility that allows you to search for network packets on an interface"
pkgdesc
=
"A grep-like utility that allows you to search for network packets on an interface"
url
=
"http://ngrep.sourceforge.net/"
url
=
"http://ngrep.sourceforge.net/"
arch
=
"all"
arch
=
"all"
license
=
"BSD"
license
=
"BSD"
makedepends
=
"autoconf automake libpcap-dev"
makedepends
=
"autoconf automake libpcap-dev
pcre-dev
"
options
=
"!check"
options
=
"!check"
subpackages
=
"
$pkgname
-dbg
$pkgname
-doc"
subpackages
=
"
$pkgname
-dbg
$pkgname
-doc"
source
=
"https://downloads.sourceforge.net/sourceforge/ngrep/
$pkgname
-
$pkgver
.tar.bz2
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/jpr5/
$pkgname
/archive/V
${
_pkgver
}
.tar.gz"
no-strip.patch"
builddir
=
"
$srcdir
"
/
$pkgname
-
$_pkgver
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
prepare
()
{
cd
"
$builddir
"
cd
"
$builddir
"
default_prepare
default_prepare
update_config_sub
update_config_sub
update_config_guess
autoreconf
-vif
autoreconf
-vif
}
}
build
()
{
build
()
{
cd
"
$builddir
"
cd
"
$builddir
"
export
EXTRA_INCLUDES
=
$(
pcre-config
--cflags
)
export
EXTRA_LIBS
=
$(
pcre-config
--libs
)
./configure
\
./configure
\
--build
=
$CBUILD
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--sysconfdir
=
/etc
\
--enable-pcre
\
--enable-ipv6
\
--with-pcap-includes
=
/usr/include/pcap
\
--with-pcap-includes
=
/usr/include/pcap
\
--disable-pcap-restart
--disable-pcap-restart
make
make
...
@@ -38,9 +40,8 @@ build() {
...
@@ -38,9 +40,8 @@ build() {
package
()
{
package
()
{
cd
"
$builddir
"
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
install
install
-Dm644
LICENSE
.txt
\
install
-Dm644
LICENSE
\
"
$pkgdir
"
/usr/share/licenses/custom/
$pkgname
/LICENSE
"
$pkgdir
"
/usr/share/licenses/custom/
$pkgname
/LICENSE
}
}
sha512sums
=
"0feb4080f834449d57ae99897c573d2b8148711cfb550fa4ff415169dedb1f0d23f4b03f625660162ca72f8ad06e19874c1af46da6afd8f8fe8dd553558c14f7 ngrep-1.45.tar.bz2
sha512sums
=
"47ba65878df6b555701c866721a8a935eabdcce636d398284cbfe5f63baf68c62d994a2f373ea4fc8f44fbed3eecee149f2ee48d39c71c04d34e5a088db8c657 ngrep-1.47.tar.gz"
28488c548cd409ac99af7eead37e3d7596b8c0ac2b9064de5ae7cc815beb65fc8488e8400d6a5d81eab128dc0a97b4e252e2503baf35704138a2226f7d3375d7 no-strip.patch"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment