darkstat icon indicating copy to clipboard operation
darkstat copied to clipboard

configure file missing in 3.0.721

Open uniuuu opened this issue 1 year ago • 7 comments

Hi @emikulic

As per INSTALL:

darkstat-3.0.721]# more INSTALL 
Installation instructions
-------------------------

$ ./configure
$ make
$ make install

But in the latest release 3.0.721 in the tarball there is no configure file included https://github.com/emikulic/darkstat/archive/refs/tags/3.0.721.tar.gz

I was able to generate configure with autoreconf -i though.

darkstat --version
darkstat 3.0.721 (using libpcap version 1.9.1 (with TPACKET_V3))

uniuuu avatar Mar 07 '23 05:03 uniuuu

Yep. 721 was the first "release" to just use a github link. Previously I would use the release script to generate a tarball with a configure script etc: https://github.com/emikulic/darkstat/blob/master/release.sh

I'm not sure what the best approach is going forward.

emikulic avatar Mar 08 '23 00:03 emikulic

Explicitly generating a release tarball via e.g. GitHub actions would solve this problem, and also the problem where GitHub "archive" links aren't guaranteed to be stable over time (i.e. to have the same hash)

emikulic avatar Mar 16 '23 01:03 emikulic

I was able to build it by the instructions of @uniuuu. @emikulic Can you generate an configure file using the above instruction and check that in?

piyushgarg avatar Feb 25 '24 16:02 piyushgarg

I'm sorry but I don't want to check in generated artifacts. Maybe I should just update the INSTALL instructions.

emikulic avatar Feb 26 '24 06:02 emikulic

Potentially add the required libaries as well, for Debian-based systems:

sudo apt-get install automake libpcap-dev

cmeury avatar Mar 21 '24 13:03 cmeury

Kinda documented later in the file: https://github.com/emikulic/darkstat/blob/a219027ec8ea6bb75647bef126dd44f56ac9c86e/INSTALL#L47

emikulic avatar Mar 22 '24 00:03 emikulic

I was able to build it by the instructions of @uniuuu. @emikulic Can you generate an configure file using the above instruction and check that in?

Turns out this is documented in https://github.com/emikulic/darkstat/blob/master/README.git

Maybe there's too much documentation.

emikulic avatar Mar 22 '24 00:03 emikulic