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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Maxim Karasev
aports
Commits
f3c3150e
Commit
f3c3150e
authored
8 years ago
by
Carlo Landmeter
Browse files
Options
Downloads
Patches
Plain Diff
community/nbd: moved from unmaintained and upgraded to 3.14
parent
d696932e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/nbd/APKBUILD
+50
-0
50 additions, 0 deletions
community/nbd/APKBUILD
with
50 additions
and
0 deletions
unmaintained
/nbd/APKBUILD
→
community
/nbd/APKBUILD
+
50
−
0
View file @
f3c3150e
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname
=
nbd
pkgver
=
3.1
3
pkgver
=
3.1
4
pkgrel
=
0
pkgdesc
=
"Tools for network block devices"
url
=
"http://nbd.sourceforge.net"
...
...
@@ -10,24 +9,16 @@ arch="all"
license
=
"GPL2"
depends
=
""
depends_dev
=
""
makedepends
=
"glib-dev linux-headers"
makedepends
=
"glib-dev linux-headers
zlib-dev
"
install
=
""
subpackages
=
"
$pkgname
-doc"
subpackages
=
"
$pkgname
-doc
$pkgname
-client
"
source
=
"http://downloads.sourceforge.net/
$pkgname
/
$pkgname
-
$pkgver
.tar.xz"
_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
}
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
cd
"
$_builddir
"
cd
"
$builddir
"
touch
"systemd/nbd@.service.tmpl"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -37,15 +28,23 @@ build() {
--localstatedir
=
/var
\
--enable-lfs
\
--enable-syslog
\
--enable-gznbd
\
||
return
1
make
||
return
1
}
package
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
}
md5sums
=
"784be37497cc2f9a53c67c8c77d1676d nbd-3.13.tar.xz"
sha256sums
=
"8597cd97a41930dfcbcc6ce7cf910f6b609771718a4f1680713c2f2ba5cc200d nbd-3.13.tar.xz"
sha512sums
=
"da1f6c1aab10baf7ef10062481f3a26dfa142f5cfc21fb7abc90f6eb9906df619331dbb36b693c52d4a7a5fe0923f6179b59eea74033cb1278dca99b192cdbff nbd-3.13.tar.xz"
client
()
{
pkgdesc
=
"
$pkgdesc
(client)"
mkdir
-p
"
$subpkgdir
"
/usr/sbin
mv
"
$pkgdir
"
/usr/sbin/nbd-client
\
"
$subpkgdir
"
/usr/sbin/
||
return
1
}
md5sums
=
"fa29f57ca752e363edc15f0e35f0a95f nbd-3.14.tar.xz"
sha256sums
=
"4d3d230ecc0a1302dc08d89f2a12d7596a8745f2b10da9bb035bbeb9ede78631 nbd-3.14.tar.xz"
sha512sums
=
"f65c8bfb9f35931da6ec41bbcf94a34268fb7166b5df224ce525319bb053aa3ed174d242369cffc57a2e0d685c6a540cd2498f8044cd25c0c5bdeb92e9f099d0 nbd-3.14.tar.xz"
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