diff --git a/docs/en_US/release_notes.rst b/docs/en_US/release_notes.rst index 015c3850b..25570b536 100644 --- a/docs/en_US/release_notes.rst +++ b/docs/en_US/release_notes.rst @@ -11,6 +11,7 @@ notes for it. .. toctree:: :maxdepth: 1 + release_notes_5_2 release_notes_5_1 release_notes_5_0 release_notes_4_30 diff --git a/docs/en_US/release_notes_5_2.rst b/docs/en_US/release_notes_5_2.rst new file mode 100644 index 000000000..a5ea9daa1 --- /dev/null +++ b/docs/en_US/release_notes_5_2.rst @@ -0,0 +1,19 @@ +************ +Version 5.1 +************ + +Release date: 2021-04-22 + +This release contains a number of bug fixes and new features since the release of pgAdmin4 5.1. + +New features +************ + + +Housekeeping +************ + +Bug fixes +********* + +| `Issue #6356 `_ - Mark the Apache HTTPD config file as such in the web DEB and RPM packages. diff --git a/pkg/debian/build.sh b/pkg/debian/build.sh index e07d9dd1f..505296c49 100755 --- a/pkg/debian/build.sh +++ b/pkg/debian/build.sh @@ -72,6 +72,10 @@ fakeroot dpkg-deb --build "${DESKTOPROOT}" "${DISTROOT}/${APP_NAME}-desktop_${AP echo "Creating the web package..." mkdir "${WEBROOT}/DEBIAN" +cat << EOF > "${WEBROOT}/DEBIAN/conffiles" +/etc/apache2/conf-available/pgadmin4.conf +EOF + cat << EOF > "${WEBROOT}/DEBIAN/control" Package: ${APP_NAME}-web Version: ${APP_LONG_VERSION} diff --git a/pkg/redhat/build.sh b/pkg/redhat/build.sh index 09a058cdf..c21fc9006 100755 --- a/pkg/redhat/build.sh +++ b/pkg/redhat/build.sh @@ -159,7 +159,7 @@ cp -rfa %{pga_build_root}/web/* \${RPM_BUILD_ROOT} %files /usr/pgadmin4/bin/* -/etc/httpd/conf.d/* +%config(noreplace) /etc/httpd/conf.d/* EOF mkdir -p "${WEBROOT}/etc/httpd/conf.d"