Skip to content

Commit 83823cb

Browse files
committed
Release new version
2 parents edc700d + 414065c commit 83823cb

File tree

3 files changed

+29
-8
lines changed

3 files changed

+29
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
cookbook-rb-proxy CHANGELOG
22
===============
33

4+
## 1.0.1
5+
6+
- Miguel Negrón
7+
- [7205709] Add pre and postun to clean the cookbook
8+
49
## 1.0.0
510

611
- Miguel Negrón
@@ -12,7 +17,7 @@ cookbook-rb-proxy CHANGELOG
1217
- [91f880b] Improvement/fix lint (#32)
1318
- [6917897] Merge pull request #31 from redBorder/development
1419
- [569bdd3] Merge pull request #30 from redBorder/bugfix/#15141_remove_geoip_from_service_list
15-
- manegron
20+
- Miguel Negrón
1621
- [64e7db8] Merge pull request #47 from redBorder/bugfix/18716_remove_sync_address_from_hosts_file
1722
- [08d7c8e] Simplify code
1823
- [2a15362] Merge pull request #43 from redBorder/development
@@ -87,7 +92,7 @@ cookbook-rb-proxy CHANGELOG
8792
- [e02fe7a] remove from the service list. Not remove, always add in configuration
8893
- vimesa
8994
- [8f950d5] Release 0.2.4
90-
- Miguel Negron
95+
- Miguel Negrón
9196
- [208cb02] Bump version
9297

9398
## 0.6.0

packaging/rpm/cookbook-rb-proxy.spec

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ chmod -R 0755 %{buildroot}/var/chef/cookbooks/rb-proxy
2323
install -D -m 0644 README.md %{buildroot}/var/chef/cookbooks/rb-proxy/README.md
2424

2525
%pre
26+
if [ -d /var/chef/cookbooks/rb-proxy ]; then
27+
rm -rf /var/chef/cookbooks/rb-proxy
28+
fi
2629

2730
%post
2831
case "$1" in
@@ -36,6 +39,12 @@ case "$1" in
3639
;;
3740
esac
3841

42+
%postun
43+
# Deletes directory when uninstall the package
44+
if [ "$1" = 0 ] && [ -d /var/chef/cookbooks/rb-proxy ]; then
45+
rm -rf /var/chef/cookbooks/rb-proxy
46+
fi
47+
3948
%files
4049
%defattr(0755,root,root)
4150
/var/chef/cookbooks/rb-proxy
@@ -45,13 +54,20 @@ esac
4554
%doc
4655

4756
%changelog
48-
* Thu Jan 18 2024 Miguel Negrón <[email protected]> - 0.1.2-1
57+
* Thu Oct 10 2024 Miguel Negrón <[email protected]>
58+
- Add pre and postun
59+
60+
* Thu Jan 18 2024 Miguel Negrón <[email protected]>
4961
- Add journalctld configuration
50-
* Thu Dec 14 2023 Miguel Álvarez <[email protected]> - 0.1.1
62+
63+
* Thu Dec 14 2023 Miguel Álvarez <[email protected]>
5164
- Add cgroups
52-
* Fri Dec 01 2023 David Vanhoucke <[email protected]> - 0.1.0
65+
66+
* Fri Dec 01 2023 David Vanhoucke <[email protected]>
5367
- Add selinux
54-
* Wed Feb 01 2023 Luis Blanco <[email protected]> - 0.0.8
68+
69+
* Wed Feb 01 2023 Luis Blanco <[email protected]>
5570
- Freeradius integration
56-
* Tue Mar 22 2022 Miguel Negron <[email protected]> - 0.0.1
71+
72+
* Tue Mar 22 2022 Miguel Negron <[email protected]>
5773
- Initial release of proxy

resources/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
maintainer_email '[email protected]'
44
license 'AGPL-3.0'
55
description 'Installs/Configures redborder proxy'
6-
version '1.0.0'
6+
version '1.0.1'
77

88
depends 'rb-common'
99
depends 'rb-selinux'

0 commit comments

Comments
 (0)