Bug 95923 - [MAINTAINER UPDATE] - move pkg-message to files directory
Summary: [MAINTAINER UPDATE] - move pkg-message to files directory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 15:10 UTC by Dan Langille
Modified: 2006-04-17 16:26 UTC (History)
1 user (show)

See Also:


Attachments
bacula-server.patch (2.89 KB, patch)
2006-04-17 15:10 UTC, Dan Langille
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Langille 2006-04-17 15:10:15 UTC

    
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2006-04-17 16:05:46 UTC
Hello!

Are you sure about this patch? It seems to be reverse patch.

Regards
-- 
Renato Botelho <garga @ FreeBSD.org>
               <freebsd @ galle.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2006-04-17 16:08:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

I'll take it.
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2006-04-17 16:09:06 UTC
State Changed
From-To: open->feedback

Ask submitter/maintainer about the patch
Comment 4 Dan Langille 2006-04-17 16:13:58 UTC
Yes, sorry, that is a reverse patch.

Try this one instead:

diff -ruN /usr/ports/sysutils/bacula-server/Makefile bacula-server/Makefile
--- /usr/ports/sysutils/bacula-server/Makefile	Sun Apr 16 05:18:55 2006
+++ bacula-server/Makefile	Mon Apr 17 09:26:22 2006
@@ -22,6 +22,8 @@

 USE_RC_SUBR?=	bacula-dir bacula-sd

+SUB_FILES+=	pkg-message
+
 # The user/group IDs below are registered, see
 # http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID
 #
@@ -340,14 +342,14 @@
 	@${ECHO_MSG} "For USB support read the bacula manual!! It could be necessary"
 	@${ECHO_MSG} "to configure/compile a new kernel!"
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "Look at $PREFIX/share/bacula/update_bacula_tables for"
+	@${ECHO_MSG} "Look at ${PREFIX}/share/bacula/update_bacula_tables for"
 	@${ECHO_MSG} "database update procedure. Details can be found in the"
 	@${ECHO_MSG} "ReleaseNotes"
 .endif
 	@${ECHO_MSG} "*********************************************************************"

 .if !defined(WITH_CLIENT_ONLY)
-	${CAT} pkg-message
+	${CAT} ${PKGMESSAGE}
 .endif

 .include <bsd.port.post.mk>
diff -ruN /usr/ports/sysutils/bacula-server/files/pkg-message.in bacula-server/files/pkg-message.in
--- /usr/ports/sysutils/bacula-server/files/pkg-message.in	Wed Dec 31 19:00:00 1969
+++ bacula-server/files/pkg-message.in	Mon Apr 17 09:48:10 2006
@@ -0,0 +1,20 @@
+################################################################################
+  Please read this file:
+
+	%%DOCSDIR%%/ReleaseNotes
+
+  for the upgrade procedure!
+
+  IF YOU IGNORE THIS you may !! LOSE DATA !!
+
+  WARNING: That file also contains important information regarding
+  Windows FD, blackslashes in FileSets, and Scratch Pools.
+
+  For USB support read the manual. It may be necessary
+  to configure/compile a new kernel.
+
+  Please note that bacula-server no longer installs the client
+  and that the documentation can be optionally installed with the
+  client port (sysutils/bacula-client).
+
+################################################################################
diff -ruN /usr/ports/sysutils/bacula-server/pkg-message bacula-server/pkg-message
--- /usr/ports/sysutils/bacula-server/pkg-message	Sun Apr 16 05:18:55 2006
+++ bacula-server/pkg-message	Wed Dec 31 19:00:00 1969
@@ -1,20 +0,0 @@
-################################################################################
-  Please read the file"
-
-	${DOCSDIR}/ReleaseNotes"
-
-  for the upgrade procedure!
-
-  IF YOU IGNORE THIS you may !! LOSE DATA !!
-
-  For USB support read the manual. It could be necessary
-  to configure/compile a new kernel!
-
-  Please note that bacula-server no longer installs the client
-  and that the documentation can be optionally installed with the
-  client port (sysutils/bacula-client).
-
-  WARNING: please read ReleaseNotes for important information
-  regarding Windows FD, blackslashes in FileSets, and Scratch Pools.
-
-################################################################################


-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
Comment 5 Renato Botelho freebsd_committer freebsd_triage 2006-04-17 16:25:59 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!