Skip to content

Commit 35ade36

Browse files
committed
Add nmap package
1 parent e3b05a8 commit 35ade36

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Adding a new package
2+
3+
To add a new package first find it in the pkgs.alpinelinux.org under the armv7 architecture. i.e. for nmap: https://pkgs.alpinelinux.org/package/edge/main/armv7/nmap
4+
5+
6+
We are currently following alpine version 3.21.
7+
8+
Create a new folder under packages/nmap and fill in both the control file inside and the alpine-name file
9+
10+
packages/nmap/control/control
11+
```
12+
Package: nmap
13+
Version: 7.95-r1
14+
Architecture: armv7
15+
Maintainer: info@nortech.ai
16+
Description: Network exploration tool and security/port scanner
17+
Priority: optional
18+
Depends: musl nmap
19+
```
20+
21+
Some of these fields shoulkd be copied from the pkgs.alpinelinux.org site
22+
23+
Open the mirror and find the correct package file. In this case
24+
https://dl-cdn.alpinelinux.org/alpine/v3.21/main/armv7/nmap-7.95-r1.apk
25+
26+
Create a file `packages/nmap/alpine-name` with the name of the apk as it exists on the mirror. So `nmap-7.95-r1.apk`
27+
28+
Once that is done, run `build.sh` and you should have an ipk file with the new package.

packages/nmap/alpine-name

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nmap-7.95-r1.apk

packages/nmap/control/control

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Package: nmap
2+
Version: 7.95-r1
3+
Architecture: armv7
4+
Maintainer: info@nortech.ai
5+
Description: Network exploration tool and security/port scanner
6+
Priority: optional
7+
Depends: musl nmap

0 commit comments

Comments
 (0)