diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 85b99421fbd1..d1c14e07230c 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -7,6 +7,7 @@ PORTNAME= bacula DISTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= bacula diff --git a/sysutils/bacula-server/files/patch-src-cats-grant_postgresql_privileges.in b/sysutils/bacula-server/files/patch-src-cats-grant_postgresql_privileges.in new file mode 100644 index 000000000000..286482cdbb2e --- /dev/null +++ b/sysutils/bacula-server/files/patch-src-cats-grant_postgresql_privileges.in @@ -0,0 +1,28 @@ +Index: grant_postgresql_privileges.in +=================================================================== +RCS file: /cvsroot/bacula/bacula/src/cats/grant_postgresql_privileges.in,v +retrieving revision 1.9 +diff -u -b -r1.9 grant_postgresql_privileges.in +--- src/cats/grant_postgresql_privileges.in 6 Nov 2005 18:04:08 -0000 1.9 ++++ src/catsgrant_postgresql_privileges.in 9 Jan 2007 22:49:01 -0000 +@@ -28,6 +28,9 @@ + grant all on storage to ${USER}; + grant all on device to ${USER}; + grant all on status to ${USER}; ++grant all on location to ${USER}; ++grant all on locationlog to ${USER}; ++grant all on log to ${USER}; + + -- for sequences on those tables + +@@ -44,7 +47,9 @@ + grant select, update on storage_storageid_seq to ${USER}; + grant select, update on mediatype_mediatypeid_seq to ${USER}; + grant select, update on device_deviceid_seq to ${USER}; +- ++grant select, update on location_locationid_seq to ${USER}; ++grant select, update on locationlog_loclogid_seq to ${USER}; ++grant select, update on log_logid_seq to ${USER}; + + END-OF-DATA + then