summaryrefslogtreecommitdiffstats
path: root/sysutils/nut/files
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2001-03-23 13:32:11 +0000
committerjeh <jeh@FreeBSD.org>2001-03-23 13:32:11 +0000
commit2fd9ee86a216fa7bb7ece762d1684f78ab6334ff (patch)
tree3cfaad71716b7158a4cb7a537907a5c68bae3111 /sysutils/nut/files
parent1b81ade6873be13821c89a859e534f6874a1ea7b (diff)
downloadFreeBSD-ports-2fd9ee86a216fa7bb7ece762d1684f78ab6334ff.zip
FreeBSD-ports-2fd9ee86a216fa7bb7ece762d1684f78ab6334ff.tar.gz
Update to version 0.44.3
- Updaet gd dependancy - Added missing MAN8 - Merged pkg-plist.(doc|cgi) into pkg-plist - General cleanup
Diffstat (limited to 'sysutils/nut/files')
-rw-r--r--sysutils/nut/files/patch-aa50
-rw-r--r--sysutils/nut/files/patch-ab22
-rw-r--r--sysutils/nut/files/patch-ac26
3 files changed, 48 insertions, 50 deletions
diff --git a/sysutils/nut/files/patch-aa b/sysutils/nut/files/patch-aa
index 89b9820..f54d302 100644
--- a/sysutils/nut/files/patch-aa
+++ b/sysutils/nut/files/patch-aa
@@ -10,53 +10,3 @@ diff -ur ../442/Makefile.in ./Makefile.in
STATEPATH = $(INSTALLROOT)@STATEPATH@
SUBDIRS = common models server clients man
-Only in .: a
-diff -ur ../442/conf/Makefile.in ./conf/Makefile.in
---- ../442/conf/Makefile.in Mon May 8 04:17:20 2000
-+++ ./conf/Makefile.in Thu Jan 4 11:26:54 2001
-@@ -13,17 +13,9 @@
-
- install:
- @for f in $(SECFILES) ; do \
-- if [ -f $(CONFPATH)/$$f ]; then \
-- echo "Preserving existing config file: $$f"; \
-- else \
-- $(INSTALLCMD) -m 0600 $$f $(CONFPATH); \
-- fi; \
-+ $(INSTALLCMD) -m 0600 $$f $(CONFPATH)/$$f.sample; \
- done
-
- @for f in $(PUBFILES) ; do \
-- if [ -f $(CONFPATH)/$$f ]; then \
-- echo "Preserving existing config file: $$f"; \
-- else \
-- $(INSTALLCMD) -m 0644 $$f $(CONFPATH); \
-- fi; \
-+ $(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \
- done
-diff -ur ../442/scripts/FreeBSD/upsd.sh.sample ./scripts/FreeBSD/upsd.sh.sample
---- ../442/scripts/FreeBSD/upsd.sh.sample Sun Jan 16 04:22:27 2000
-+++ ./scripts/FreeBSD/upsd.sh.sample Thu Jan 4 11:51:18 2001
-@@ -2,7 +2,9 @@
-
- PREFIX=%%PREFIX%%
-
-+BIN=${PREFIX}/bin
- SBIN=${PREFIX}/sbin
-+MODELS=${PREFIX}/libexec/nut
- UPSTYPE="apcsmart"
- UPSFLAGS=""
- UPSDEV="/dev/cuaa3"
-@@ -10,10 +12,10 @@
- UPSLOGINTERVAL="300"
-
- if [ x$1 = xstart ]; then
-- ${SBIN}/$UPSTYPE $UPSFLAGS $UPSDEV
-+ ${MODELS}/$UPSTYPE $UPSFLAGS $UPSDEV
- ${SBIN}/upsd
- ${SBIN}/upsmon localhost
-- ${SBIN}/upslog localhost $UPSLOG $UPSLOGINTERVAL
-+ ${BIN}/upslog localhost $UPSLOG $UPSLOGINTERVAL
- elif [ "x$1" = "xstop" ]; then
- /usr/bin/killall upslog upsmon upsd $UPSTYPE
- fi
diff --git a/sysutils/nut/files/patch-ab b/sysutils/nut/files/patch-ab
new file mode 100644
index 0000000..d96f1eb
--- /dev/null
+++ b/sysutils/nut/files/patch-ab
@@ -0,0 +1,22 @@
+--- ./conf/Makefile.in.orig Fri Feb 16 16:19:11 2001
++++ ./conf/Makefile.in Fri Mar 23 07:31:03 2001
+@@ -12,17 +12,9 @@
+
+ install:
+ @for f in $(SECFILES) ; do \
+- if (test -f $(CONFPATH)/$$f ); then \
+- echo "Preserving existing config file: $$f"; \
+- else \
+- $(INSTALLCMD) -m 0600 $$f $(CONFPATH); \
+- fi; \
++ $(INSTALLCMD) -m 0600 $$f $(CONFPATH)/$$f.sample; \
+ done
+
+ @for f in $(PUBFILES) ; do \
+- if (test -f $(CONFPATH)/$$f ); then \
+- echo "Preserving existing config file: $$f"; \
+- else \
+- $(INSTALLCMD) -m 0644 $$f $(CONFPATH); \
+- fi; \
++ $(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \
+ done
diff --git a/sysutils/nut/files/patch-ac b/sysutils/nut/files/patch-ac
new file mode 100644
index 0000000..0493b13
--- /dev/null
+++ b/sysutils/nut/files/patch-ac
@@ -0,0 +1,26 @@
+diff -ur ../442/scripts/FreeBSD/upsd.sh.sample ./scripts/FreeBSD/upsd.sh.sample
+--- ../442/scripts/FreeBSD/upsd.sh.sample Sun Jan 16 04:22:27 2000
++++ ./scripts/FreeBSD/upsd.sh.sample Thu Jan 4 11:51:18 2001
+@@ -2,7 +2,9 @@
+
+ PREFIX=%%PREFIX%%
+
++BIN=${PREFIX}/bin
+ SBIN=${PREFIX}/sbin
++MODELS=${PREFIX}/libexec/nut
+ UPSTYPE="apcsmart"
+ UPSFLAGS=""
+ UPSDEV="/dev/cuaa3"
+@@ -10,10 +12,10 @@
+ UPSLOGINTERVAL="300"
+
+ if [ x$1 = xstart ]; then
+- ${SBIN}/$UPSTYPE $UPSFLAGS $UPSDEV
++ ${MODELS}/$UPSTYPE $UPSFLAGS $UPSDEV
+ ${SBIN}/upsd
+ ${SBIN}/upsmon localhost
+- ${SBIN}/upslog localhost $UPSLOG $UPSLOGINTERVAL
++ ${BIN}/upslog localhost $UPSLOG $UPSLOGINTERVAL
+ elif [ "x$1" = "xstop" ]; then
+ /usr/bin/killall upslog upsmon upsd $UPSTYPE
+ fi
OpenPOWER on IntegriCloud