Go to file
lukas-heiligenbrunner 5012cc517e check for deb build tools
improved check of rpm
2019-10-23 21:55:45 +02:00
.idea outsourced main method of ip refresh and added some doc 2019-08-02 22:44:42 +02:00
inc * option to force a refresh 2019-10-23 09:24:35 +02:00
src updated version info to 1.2 2019-10-23 09:32:33 +02:00
.gitignore readded intellij workspace files 2019-05-08 19:56:43 +02:00
CMakeLists.txt check for deb build tools 2019-10-23 21:55:45 +02:00
iprefresher.service created systemd service 2019-10-23 13:18:43 +02:00
README.md Update README.md 2019-05-11 12:23:57 +02:00

DynuIPRefresher

Build

Basic Build

Download source files

git clone https://github.com/Lukas-Heiligenbrunner/DynuIPRefresher.git

cd into downloaded files and Generate makefiles:

cmake .

compile project

make

install it to the system

make install

Build a Debian package

Download source files

git clone https://github.com/Lukas-Heiligenbrunner/DynuIPRefresher.git

rename Project folder to lower case:

mv DynuIPRefresher iprefresher-1.0

cd iprefresher-1.0

remove .idea folder because it´s useless in this case:

rm -Rf .idea

pack source in a tar.gz archive

tar -zcvf iprefresher-1.0.tar.gz *

create debian/ folder and create example config files

dh_make -f iprefresher-1.0.tar.gz

recently packed archive is useless now, delete it

rm iprefresher-1.0.tar.gz

move to debian/ folder:

cd debian

remove useless files:

rm *.ex *.EX README.Debian README.source

edit control file

rm control

nano control

Source: iprefresher
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++
 a dynu.net ip refresher written in c++

return to main folder

cd ..

buld .deb package

dpkg-buildpackage -us -uc

Windows cross build

TODO!