DynuIPRefresher/README.md

72 lines
1.2 KiB
Markdown
Raw Normal View History

2019-05-10 21:09:30 +00:00
# DynuIPRefresher
2019-05-11 09:16:59 +00:00
## Build
Download source files
2019-05-10 21:11:01 +00:00
`git clone https://github.com/Lukas-Heiligenbrunner/DynuIPRefresher.git`
2019-05-10 21:14:25 +00:00
2019-05-11 09:16:59 +00:00
cd into downloaded files and Generate makefiles:
`cmake .`
compile project
`make`
install it to the system
`make install`
2019-05-11 09:17:59 +00:00
### Create a Debian package
2019-05-11 09:16:59 +00:00
rename Project folder to lower case:
2019-05-10 21:11:01 +00:00
`mv DynuIPRefresher iprefresher`
2019-05-10 21:09:30 +00:00
2019-05-10 21:11:01 +00:00
`cd iprefresher`
2019-05-10 21:14:25 +00:00
2019-05-11 09:16:59 +00:00
pack source in a tar.gz archive
2019-05-10 21:11:01 +00:00
`tar -zcvf iprefresher-1.0.tar.gz *`
2019-05-10 21:09:30 +00:00
2019-05-11 09:16:59 +00:00
create debian/ folder and create example config files
2019-05-10 21:11:01 +00:00
`dh_make -f iprefresher-1.0.tar.gz`
2019-05-10 21:09:30 +00:00
2019-05-11 09:16:59 +00:00
recently packed archive is useless now, delete it
`rm iprefresher-1.0.tar.gz`
move to debian/ folder:
2019-05-10 21:14:25 +00:00
2019-05-10 21:11:01 +00:00
`cd debian`
2019-05-10 21:14:25 +00:00
2019-05-11 09:16:59 +00:00
remove useless files:
2019-05-10 21:11:01 +00:00
`rm *.ex *.EX README.Debian README.source `
2019-05-10 21:09:30 +00:00
2019-05-11 09:16:59 +00:00
edit control file
2019-05-10 21:11:01 +00:00
`nano control`
2019-05-10 21:09:30 +00:00
2019-05-10 21:12:08 +00:00
```Source: iprefresher
2019-05-10 21:09:30 +00:00
Section: net
Priority: optional
Maintainer: Lukas Heiligenbrunner <lukas@unknown>
Build-Depends: debhelper (>= 10)
Standards-Version: 4.1.2
Package: iprefresher
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: a dynu.net ip refresher written in c++
2019-05-10 21:15:05 +00:00
a dynu.net ip refresher written in c++
```
2019-05-10 21:09:30 +00:00
2019-05-11 09:16:59 +00:00
buld .deb package
2019-05-10 21:09:30 +00:00
2019-05-10 21:11:01 +00:00
`dpkg-buildpackage -S -us -uc `
2019-05-10 21:14:25 +00:00
2019-05-10 21:11:01 +00:00
`dpkg-buildpackage -us -uc `