ports/161981: [maintainer update] sysutils/samesame to v1.10
Alex de Kruijff
akruijff at www.kruijff.org
Sun Apr 29 11:10:13 UTC 2012
The following reply was made to PR ports/161981; it has been noted by GNATS.
From: Alex de Kruijff <akruijff at www.kruijff.org>
To: FreeBSD-gnats-submit at freebsd.org
Cc:
Subject: Re: ports/161981: [maintainer update] sysutils/samesame to v1.10
Date: Sun, 29 Apr 2012 13:08:50 +0200 (CEST)
>Submitter-Id: current-users
>Originator: Alex de Kruijff
>Organization:
>Confidential: no
>Synopsis: Re: ports/161981: [maintainer update] sysutils/samesame to v1.10
>Severity: non-critical
>Priority: low
>Category: ports
>Class: maintainer-update
>Release: FreeBSD 6.1-RELEASE-p20 i386
>Environment:
System: FreeBSD Zeus 6.1-RELEASE-p20 FreeBSD 6.1-RELEASE-p20 #0: Wed Nov 14 02:07:49 CET 2007 akruijff at Server1.lan:/temp/obj/temp/src/sys/SERVER-SMP i386
>Description:
>How-To-Repeat:
>Fix:
--- samesame.diff2 begins here ---
diff -ru -ru port.org/Makefile port/Makefile
--- port.org/Makefile Sun Mar 18 23:08:56 2012
+++ port/Makefile Sun Mar 18 23:51:20 2012
@@ -25,6 +25,9 @@
bin/samearchive-lite bin/sameln bin/samemv \
bin/samechflags bin/samerm bin/samechmod \
bin/samechown bin/samedelay
+.if defined(WITH_DISK_STORAGE)
+USE_RC_SUBR= samesame_clean
+.endif
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --enable-samechflags --enable-samechmod \
@@ -47,7 +50,6 @@
.if defined(WITH_DISK_STORAGE)
CONFIGURE_ARGS+= --enable-disk-storage
-PLIST_FILES+= etc/rc.d/samesame.sh
.endif
.if defined(WITH_EXPERIMENTAL)
@@ -87,9 +89,6 @@
.if defined(WITH_EXPERIMENTAL)
${STRIP_CMD} ${PREFIX}/bin/fsort
.endif
-.endif
-.if defined(WITH_DISK_STORAGE)
- ${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh ${PREFIX}/etc/rc.d/
.endif
@${ECHO}
@${CAT} pkg-message
diff -ru -ru port.org/distinfo port/distinfo
--- port.org/distinfo Sun Mar 18 23:08:56 2012
+++ port/distinfo Sun Mar 18 23:53:13 2012
@@ -1,3 +1,4 @@
MD5 (samesame-1.10.tar.bz2) = f6dec0724a88d1667c80fa44beefca6e
-SHA256 (samesame-1.10.tar.bz2) = 9793649925d70a2b9a44aeed4e8f475cfb544296371ddd7c37f8000d14e44d0a
+SHA256 (samesame-1.10.tar.bz2) =
+9793649925d70a2b9a44aeed4e8f475cfb544296371ddd7c37f8000d14e44d0a
SIZE (samesame-1.10.tar.bz2) = 121316
Only in port.org/files: samesame.sh
Only in port/files: samesame_clean.in
Only in port: work
--- samesame.diff2 ends here ---
--- samesame_clean.in begins here ---
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: samesame_clean
# REQUIRE: DAEMON
# BEFORE: LOGIN cleanvar
# KEYWORD: shutdown
#
name=samesame_clean
start_cmd="${name}_start"
samesame_clean_start() {
rm -rf /tmp/samefile /tmp/samearchive
;;
}
load_rc_config $name
run_rc_command "$1"
--- samesame_clean.in ends here ---
More information about the freebsd-ports-bugs
mailing list