Age | Commit message (Collapse) | Author |
|
https://lintian.debian.org/tags/build-depends-on-build-essential-package-without-using-version.html
|
|
|
|
When creating a package using this script, it's not straighforward that
the version is fetched at the "configure" stage, by "git describe" which
generates a 'lasttag-ncommits-lastcommit' format description. RPM
doesn't allow - in version, so the rpmbuild stage fails.
Add hints of actions to perform to get this script working
Use package standard functions for the message to be seen easily
|
|
|
|
* Add protobuf-compiler
This adds the package protobuf-compiler to the dependencies. Without it,
prometheus support will not be included.
* Remove libraries from dependencies
There is no need to include the libraries since they will automaticaly
be added by ${shlibs:Depends}
* Remove various control files
- control.buster
- control.eoan
- control.xenial
Default control file can be used
- control.jessie
About to be unsupported
- control.wheezy
unsupported
- control.trusty
Since Netdata need libuv1-dev to build, it cannot be build on Trusty
anymore because it doesn't have that library.
* Fix sysv init scripts
Set the location of the pidfile using $PIDFILE in the init script and in
the defaults file. This way no changes are needed when compiling for
systemd or sysv.
* Update documentation to reflect the changes
* Add note about updating the changelog
* Update install instructions
* Remove travis control file adjustments
Since these control files have been removed, this code is now obsolete.
* Remove unused control.focal file
|
|
* Add support for Ubuntu 20.04 DEB packages
* Add Travis config to also build the DEB packages for Ubuntu 20.04 (focal)
|
|
|
|
* Add DEB/RPM package build tests to Travis.
* Add working support for bundling eBPF in binary packages.
* Show stdout and stderr from commands run in LXC.
* Add proper bundling code for libbpf.
* Use AC_CHECK_FILE for libbpf.a external dep.
This way it gets properly logged in both configure output and the
configure log.
|
|
(#9552)
* Revert "Fix SHA256 handling in eBPF bundling code. (#9546)"
This reverts commit 7ff315810e1d2c5871c4e87049687852b2cee7ee.
* Revert "Add eBPF bundling script to `make dist`. (#9539)"
This reverts commit 3a7961d4176aee63f24c4cbc96dabaa13010d6f1.
* Revert "Properly include eBPF collector in binary packages. (#9450)"
This reverts commit 690fbcefd3ae0cbc858870ad64d320f6f251e5fc.
|
|
|
|
Also cleanup unused templating in postint
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
|
|
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
|
|
* Use a prefix for the old dashboard.
This switches the code for handling of the new React dashboard to use a
prefix for accessing the old dashboard instead of relying on a switching
script to handle selecting the desired dashboard implementation.
It also adds proper support to the packaging code to bundle the React
dashboard.
* Fixed typos in web/gui/Makefile.am.
* Tidy up prefixed dashboard.
This is based on discussion with cakrit about how to handle this more
sanely.
* use /old suffix for streamed nodes links in dropdown menu
* fix fetching dynamic vendor files with /old suffix
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
|
|
expect. (#8468)
* update netdata.conf for debian build
* Fix Debian Ubuntu SystemD Unit packaging
* avoid duplicate netdata.conf files
violates single source of truth principle, use schema from #8468 instead
* Fixed *DirectoryMode octets and bad ExecStart
* Fix dpkg-statoverride warnings
* Move the copy of debian/netdata.conf into the correct target (override_dh_install)
Co-authored-by: and0x000 <justanpc@gmail.com>
|
|
* Fix broken dependencies for Ubuntu 19.10 (eoan)
* Update Python-based configure LXC env to also handle Ubuntu 19.10 (eoan)
|
|
* Bulk add frontmatter
* A few extra edge cases
|
|
* Added code to bundle LWS in binary packages.
This adds the required tode to bundle a custom build of libwebsockets as
required by Netdata Cloud functionality into the binary packages.
* Update packaging/bundle-lws.sh
Co-Authored-By: James Mills <prologic@shortcircuit.net.au>
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
|
|
Jessie only has json-c version 2.x, not 3.x. Update the dependencies
appropriately so that users can install our packages on Jessie.
|
|
This commit creates the following folders during the installation
of Debian packages:
- /var/log/netdata
- /var/cache/netdata
- /var/run/netdata
During the purge of the package, these folders are removed if empty.
Note that the permissions of `/var/log/netdata` allow the members of
the `adm` group to read the content.
Fixes #8173
|
|
|
|
This adds code to handle bundling our custom fork of libmosquitto into
our binary packages. It pulls down the required sources, builds them,
and copies the build artifacts into the right place so that the build of
Netdata actually uses them.
|
|
|
|
1) side fix: correction of wording in CUPS description
2) Create subpackage for free IPMI
3) Settle the rules for populating the new package and removing freeipmi from core package
Note: We use strict version matching, once this works fine we need to go back and fix this for CUPS as well
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
|
|
As per the Debian Policy Manual, section 4, sub-section 4, the trailer
line containing the maintainer information and the date in the changelog
file must have a single space preceding the two dashes that mark the
start of the line.
This fixes warnings in the package build process, as well as enabling
the builds to work with older more pedantic versions of
dpkg-buildpackage.
|
|
|
|
* make install takes care of ownership and permissions of /etc/netdata
Instead of netdata-installer.sh
* Fix identation in Makefile.am files
* netdata-installer.sh: Clearer variable assignment
* netdata-installer.sh: Set /etc/netdata/netdata.conf ownership to root:root and permissions to 0644
* netdata-installer.sh: Set /etc/netdata/.environment permissions to 0644
* install-or-update.sh: Set permissions for /opt/netdata/etc/netdata.conf to 0644
* install-or-update.sh: Use ${NETDATA_PREFIX} more
* install-or-update.sh: Improve indentation
* install-or-update.sh: Do not create /opt/netdata/etc/netdata directories
* debian/rules: /etc/netdata files and directories are now installed by make install
* debian/rules: Properly copy files across directories
When destination directory exists
* netdata.spec.in: /etc/netdata ownership and permissions
* Revert "Fix identation in Makefile.am files"
This reverts commit 63fdb299b69152fda6984f81b0fef02f364c5efe.
* Remove uninstall-local recipes from Makefile.am files
* Removed superfluous whitespace and hash
|
|
|
|
|
|
|
|
* fix lint error for debian contrib
* remove directory name to avoid direct copy
|
|
### Summary
Provide new collector parsing `/proc/slabinfo` to provide details on kernel slab structures.
Asked by issue #13 (very happy for the oldest issue in backlog)
##### Component Name
collectors/slabinfo.plugin
##### Additional Information
This slabinfo details allows to have clues on actions done on your system.
In the following screenshot, you can clearly see a `find` done on a ext4 filesystem (the number of `ext4_inode_cache` & `dentry` are rising fast), and a few seconds later, an admin issued a `echo 3 > /proc/sys/vm/drop_cached` as their count dropped.
|
|
When removing/purging the Debian package
```
root netdata 775 /var/lib/netdata/registry
```
was being left behind in the `/var/lib/dpkg/statoverride` file. This causes subsequent installations to fail with:
```
dpkg: unrecoverable fatal error, aborting:
unknown group 'netdata' in statoverride file
```
|
|
(#6724)
* netdata/packaging: baby steps, create the new package and introduce the install file
* netdata/packaging: [ci skip] change branch to be able to test
* netdata/packaging: we do define usrlib path to be /usr/lib
* netdata/packaging: silence sign errors for now
* netdata/packaging: Add rules for plugin-cups sub package
* netdata/packaging: [ci skip] That is libexec, not lib, duh
* netdata/packaging: [ci skip] explicitly arrange the other plugins also
* netdata/packaging: [ci skip] fix bug
* netdata/packaging: copy, dont move
* netdata/packaging: move all plugins around, also remove a slash
* netdata/packaging: [ci skip] align travis.yml changes with the ones we used on rpm cups pkg split
* netdata/packaging:[ci skip] add netdata dependency
* netdata/packaging:[ci skip] Update control files
* netdata/packaging: Add separate control file for buster, dependencies deviate (libprotoc17 instead of libprotoc10....)
* netdata/packaging: [ci skip] whoops
* netdata/packaging: [ci skip] Copy over files from temp dir, if destination non existent
* netdata/packaging:[ci skip] -d, not -f
* netdata/packaging: [ci skip] long shot
* netdata/packaging: [ci skip] revert this - need to retest
* netdata/packaging: [ci skip] remove the .install, as per an article input (https://askubuntu.com/questions/660373/dh-install-fails-with-missing-files) these files are for handling items not managed by the upstream build system, so bye bye
* netdata/packaging: Ok, lets ditch dh_auto_configure
* Revert "netdata/packaging: Ok, lets ditch dh_auto_configure"
This reverts commit 3b497cf5f6e157ce5429ffce38452515670a934a.
Well, that didn't affect anything
* netdata/packaging: [ci skip] here's a crazy thought
Okay, assuming that packager decided to use debian/tmp because we introduced multiple packages.
If that is the case, then move the custom stuff out first and then just move all debian/tmp to debian/netdata.
In theory, that should get me back on track for the rest of the package processing.
Lets see if i was right
* netdata/packaging: [ci skip] mv complains, forgot about that, fix
forgot about that, just copy for now to verify the use case and we will consider rsync approach for faster processing afterwards
* netdata/packaging: nope, that didn't work. rollback and remove also a suspicious backslash
* netdata/packaging: ok, trying this
* netdata/packaging: really?
* netdata/packaging: [ci skip] reinstate original setup, the bug probably was too obvious to spot
* netdata/packaging:[ci skip] now that you finally noted the www bug, try to copy over the rest of the stuff in
* netdata/packaging: [ci skip] long shot, etc is not properly created, lets see if it was already there and we messed it up
* netdata/packaging: [ci skip] fix perms, add placeholder folders in etc
* netdata/packaging: [ci skip] preserve ownership details when copying over
* netdata/packaging:[ci skip] reinstate branch condition
* netdata/packaging: redudant
* netdata/packaging: xenial - add cups subpackage
* netdata/packaging: remove cups dependency from those distros, missed to update the control file
* netdata/packaging: dont use personal account info
|
|
|
|
library available for protoc runtime (#6777)
|
|
|
|
* netdata/packaging: Align libdir with the one we expect our installation to use, following the rest of the directory correllations
* netdata/packaging:[ci skip] One more
|
|
Overriding as i will be closely monitoring the results
|
|
* make remark access all directories
* detailed fix after autofix by remark lint
* cross check autofix for this set of files
* crosscheck more files
* crosschecking and small fixes
* crosscheck autofixed md files
|
|
* First pass of changing netdata to Netdata
* Second pass of netdata -> Netdata
* Starting work on netdata with no whitespace after
* Pass for netdata with no whitespace at the end
* Pass for netdata with no whitespace at the front
|
|
* netdata/packaging: [ci skip] Add go.d version to a single place
* netdata/packaging: [ci skip] Things are a bit different in debian build, we need to define the path in a different way so pass it from the upper layer
* netdata/packaging: [ci skip] Missed to add on the makefile
* netdata/packaging: bump go.d version
|
|
functionality availability (#6552)
* netdata/packaging: [ci skip] Add trusty and xenial
* netdata/packaging: [ci skip] check directly for the flag existence
* netdata/packaging: Append table for functionality-related support matrix
* netdata/packaging: add line ending
* [ci skip] revert this - will get help from joel
* netdata/packaging/doc: [ci skip] experiment
* netdata/packaging: [ci skip] fix
* netdata/packaging: [ci skip] Add more info needed for the rest to check the style
* netdata/packaging: [ci skip] different icon
* netdata/packaging: [ci skip] split per arch
* netdata/packaging:[ci skip] More adjustments
* netdata/packaging:[ci skip] more adjustments
* netdata/packaging:[ci skip] style
* netdata/packaging: update status
* netdata/packaging: [ci skip] update rpm/deb state
* netdata/packaging:[ci skip] different icon for unchecked
* Revert "netdata/packaging:[ci skip] different icon for unchecked"
This reverts commit 6ed2a46859f0bb1dd3c1a266280074b023028382.
oops, the other one, not this
* netdata/packaging: [ci skip] change symbol for unchecked
* netdata/packaging: we dont know source state for all other linux, so make it questionmark
* netdata/packaging:[ci skip] fix suse leap state
* netdata/packaging: [ci skip] fix deb state
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* netdata/pkg: [ci skip]Update DISTRIBUTIONS.md
Sync x86 table with amd64 table.
They are not 1 on 1 but close enough, so syncing and then will adjust to the differences at another pass
* netdata/packaging: [ci skip] code health doesnt make sense, rename to ci smoke testing which makes more sense
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* netdata/packaging:[ci skip] Stricter check on protobuf, plus separate config for trusty because no libuv1 available there
* netdata/packaging: add functionality-related details
* netdata/packaging/docs: add skeleton sections
* netdata/packaging/docs: remove that
* netdata/packaging: fix header
* Update DISTRIBUTIONS.md
* netdata/packaging/docs:[ci skip] fix indent
* netdata/packaging/docs: [ci skip] change wording
* netdata/packaging/docs: kickstart-static64 everywhere
* netdata/packaging/docs: [ci skip] Add legend and update some fields
* netdata/packaging/docs: add disable flags
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/packaging/docs: feedback
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/packaging: more feedback
|
|
* netdata/packaging: Expect .tar.gz version of go.d plugin, after go.d PR248
* netdata/packaging: Checksum comes on the tarball
* netdata/packaging: dont mv the file after extraction, just directly extract to destination, its cleaner. Also, make sure you remove the tmp folder
* netdata/packaging: bump go.d to v0.8.0
* netdata/packaging: actually fix
* netdata/packaging: change the way we extract it, wasnt right after all
* netdata/packaging: update go.d checksums
|
|
after email and before date
|
|
packaging (#6480)
* netdata/packaging: [ci skip] Add prometheus remote write plugin deps
* netdata/packaging: [ci skip] adjust for the tests
* netdata/packaging: [ci skip] Apparently we need proto-c too
* netdata/packaging: [ci skip] Add dependencies also
* netdata/packaging: [ci skip] fix suse dependency
* netdata/packaging: [ci skip] epel-release should always go first dumdum
* netdata/packaging: [ci skip] g++ needed for prometheus
* netdata/packaging: First prepare the repo, then start throwing in packages
* netdata/packaging: [ci skip] fix attempt for missing snappy on some debian-based packages
* netdata/packaging: [ci skip] protobuf compiler dep
* netdata/packaging: [ci skip] Add the generic maintainer info and the new website. Also stop pushing snappy to Debian/Stretch, doesnt have it
* netdata/packaging: [ci skip] Remove branch dev setup
* Empty commit to re-trigger Travis
|
|
process (#6465)
* netdata/packaging: [ci skip] reinstate dev branch to help testing
* netdata/packaging: [ci skip] Yes, make the right package choice on json-c for debian based distros..
* netdata/packaging: [ci skip] two more packages that differentiate on debian/ubuntu...............
* netdata/packaging: [ci skip] Add more package dependencies around building
* netdata/packaging: [ci skip] Introduce changelog generation technique for .DEB
1) Remove contrib/debian/changelog from gitignore, we want it in
2) Add variables to monitor latest release version and latest release date from git
3) Add a templated contrib/debian/changelog, that will be the starting point for our changelog generation.
Either on stable release or nightly releases, we will be generating the logs since the previous release, to manage the content.
Note: We might eventually take the effort to produce one large changelog and append each time the extra stuff
4) Add the steps to prepare the source and the changelog for building and execute the build
At this stage things should still be broken, but we should have come closer to a ready-to-build-the-package environment per distro
* netdata/packaging: [ci skip] Extract to specified directory, otherwise we dump it on a privileged folder using an unprivileged user (builder)
Also, a fix on sed command, missed the s keyword on the string
replacement
* netdata/packaging: [ci skip] Should be in-place replacement, use -i instead of -e
* netdata/packaging: [ci skip] wrong parameter usage
* netdata/packaging: [ci skip] factor out the two build commands to run as a single bundle. refactor trigger deb build script respectively
* netdata/packaging: [ci skip] Be sure to copy over the build script to the build path
* netdata/packaging: [ci skip] OCD - unnecessary s added
* netdata/packaging: [ci skip] Changelog generation should take place on the repo side, then copy it over to the destination (If that doesnt work well, will just provide a static link for changelog
* netdata/packaging: [ci skip] missed the ignore branch option
Also, a nit on the gbp command
* netdata/packaging: [ci skip] link to the original path, then create symlink on build folder
Also, fix --since option
* netdata/packaging: [ci skip] Run replacement of changelog fields on the host, not on the container
* netdata/packaging: [ci skip] fix contrib path, you are no longer reading from container path
* netdata/packaging: [ci skip] fix version
* netdata/packaging: [ci skip] add dep
* netdata/packaging: [ci skip] fix changelog template
* netdata/packaging: [ci skip] Fix debian package build, we were looping through forever. Exclude contrib all together
* netdata/packaging: [ci skip] Add logic to gather all package related content from the container folder and push it for publishing
* netdata/packaging: [ci skip] fixes and nits
1) use the branch for the beta deployment
2) change the cp pattern
* netdata/packaging:[ci skip] add more debug info
* netdata/packaging: [ci skip] Adjust LXC directory permissions, so that the rest of the workflow can pull through
* netdata/packaging: [ci skip] Using expressions within double quotes doesnt work, use quotes only on the variable to avoid syntax warnings from shellchecking
* netdata/packaging: [ci skip] Update build deps
* netdata/packaging: Add runtime deps (hopefully)
* netdata/packaging: [ci skip] remove old distro
* netdata/packaging: [ci skip] dont let that space there, breaks the syntax
* netdata/packaging: [ci skip] missed one
* netdata/packaging: [ci skip] yank yank yank
* netdata/packaging: [ci skip] You missed www over there
* netdata/packaging: [ci skip] Remove broken distros (no container images). We will revisit the way to support multiple distros in a different way, lxc failed us
* netdata/packaging: Pull in go.d plugin, also fix chmod command to just pass the folder since with the -R doesnt require anything else
* netdata/packaging: [ci skip] Get cups, freeipmi and nfacct on
* netdata/packaging: [ci skip] pull different package in
* netdata/packaging: [ci skip] Install dependencies on the build machine
* netdata/packaging: [ci skip] dont do post-clean, not on all versions
* netdata/packaging: [ci skip] move go install seperately
* netdata/packaging: [ci skip] Towards a more appropriate go.d plugin install
* netdata/packaging: [ci skip] fix permissions setting
* netdata/packaging: [ci skip] fix freeipmi package install
* netdata/packaging: [ci skip] Fix build arch setting on the build command, also remove pre-clean, it breaks on debian/jessie
* netdata/packaging: [ci skip] fix postinst actions, we use libexec
* netdata/packaging: adjust www and go.d permissions
* netdata/packaging: [ci skip] Handle the different build tool version cases, also take care some dependency issues on older version jessie
* netdata/packaging: [ci skip] adjust the control file based on the distro
* netdata/packaging: [ci skip] Move control file preparation prior to packaging the source
* netdata/packaging: [ci skip] Adjust versioning scheme for the nightlies
* netdata/packaging: [ci skip] Let RPM be built too for testing
* netdata/packaging: [ci skip] Factor out version calculation
* netdata/packaging: [ci skip] Attempt to modify version properly
* netdata/packaging: [ci skip] Update documentationg regarding .DEB files
* netdata/packaging: [ci skip] autogen not available everywhere, also fix json-c deps
* netdata/packaging: Remove development settings, also remove beta deployment as its not needed
|
|
* move installer dir under packaging
* fix docs creation
* uninstaller is broken and fix will be created in #5031
* fix links in docs
|
|
* Added GA tags to markdowns
* Add GA tags to mds
|
|
* RPM spec and patches for sles 11
* some fixes to alarm-notify.bash3 to make codacity happy
* replace ugly bash3 alarm notifier with trimmed rewrite
* notification format fixes
* update README for sles11 contrib
|
|
|