summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-04-17 13:10:45 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-04-17 13:10:45 +0400
commit2d5c47069d14ddce7ddcf228bb04c2db94595c85 (patch)
treecb9d67fe7e9af4d37cf8718fb0e80cf0c092041a
parenta20f48f1d33ac251d0da96255658f18a303b88fd (diff)
downloadillumos-packaging-2d5c47069d14ddce7ddcf228bb04c2db94595c85.tar.gz
svc.configd (4.3) unstable; urgency=medium
* New upstream snapshot. * Dynamically link to libsqlite2 * Refreshed svc.configd-integer.patch * New packages: svc.configd-dev, svc.configd-dbg, libscf1-dbg
-rw-r--r--svc.configd/debian/changelog9
-rw-r--r--svc.configd/debian/control56
-rw-r--r--svc.configd/debian/patches/svc.configd-integer.patch20
-rw-r--r--svc.configd/debian/patches/svc.configd-libsqlite.patch16
-rwxr-xr-xsvc.configd/debian/rules8
-rw-r--r--svc.configd/debian/svc.configd-dev.install2
6 files changed, 78 insertions, 33 deletions
diff --git a/svc.configd/debian/changelog b/svc.configd/debian/changelog
index a226db6..d8229fa 100644
--- a/svc.configd/debian/changelog
+++ b/svc.configd/debian/changelog
@@ -1,3 +1,12 @@
+svc.configd (4.3) unstable; urgency=medium
+
+ * New upstream snapshot.
+ * Dynamically link to libsqlite2
+ * Refreshed svc.configd-integer.patch
+ * New packages: svc.configd-dev, svc.configd-dbg, libscf1-dbg
+
+ -- Igor Pashev <pashev.igor@gmail.com> Thu, 17 Apr 2014 13:03:21 +0400
+
svc.configd (2.10+7) unstable; urgency=low
* Use P2ROUNDUP_TYPED macro in svc.configd-amd64-segfault.patch
diff --git a/svc.configd/debian/control b/svc.configd/debian/control
index ff4853d..74e64b9 100644
--- a/svc.configd/debian/control
+++ b/svc.configd/debian/control
@@ -1,30 +1,27 @@
Source: svc.configd
-Section: libs
-Priority: optional
+Section: admin
+Priority: required
Maintainer: Igor Pashev <pashev.igor@gmail.com>
Build-Depends:
dh-illumos,
- gcc-multilib,
- illumos-source-2.10,
- libsmbios1-dev [illumos-amd64 illumos-i386],
- lib32smbios1-dev [illumos-amd64 illumos-i386],
+ gcc-multilib [illumos-amd64],
+ illumos-source-4.3,
+ libsmbios1-dev [illumos-amd64 illumos-i386], lib32smbios1-dev [illumos-amd64],
lib32nvpair1-dev [illumos-amd64], libnvpair1-dev,
lib32uutil1-dev [illumos-amd64], libuutil1-dev,
libbsm1-dev,
libsqlite0-dev,
quilt,
symlinks,
-Standards-Version: 3.9.3
+Standards-Version: 3.9.5
Homepage: https://www.illumos.org
Package: svc.configd
-Section: admin
Priority: required
Essential: yes
Architecture: illumos-any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Built-Using: sqlite (= 2.8.17-7+dyson1)
Replaces: smf-init (= 5.11.0-1~5)
Description: service management facility repository daemon
svc.configd is the repository daemon for the Service Management Facility
@@ -38,9 +35,32 @@ Description: service management facility repository daemon
system that creates a supported, unified model for services and service
management on each system and replaces SysV init.d scripts.
+Package: svc.configd-dev
+Priority: optional
+Architecture: illumos-any
+Depends: ${misc:Depends}, libscf-dev, libuutil-dev,
+Description: service management facility repository daemon: headers files
+ This package provides header files to access svc.configd internals.
+ .
+ svc.configd is the repository daemon for the Service Management Facility
+ (SMF). svc.configd is invoked automatically during system startup, and
+ restarted if any failures occur.
+
+Package: svc.configd-dbg
+Priority: extra
+Architecture: illumos-any
+Depends: svc.configd (= ${binary:Version}), libscf1-dbg,
+ ${misc:Depends}
+Description: service management facility repository daemon: debug info
+ This package provides detached debug symbols for svc.configd.
+ .
+ svc.configd is the repository daemon for the Service Management Facility
+ (SMF). svc.configd is invoked automatically during system startup, and
+ restarted if any failures occur.
+
Package: libscf1
Section: libs
-Priority: standard
+Priority: optional
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Architecture: illumos-any
@@ -55,12 +75,24 @@ Description: service configuration facility library
system that creates a supported, unified model for services and service
management on each system and replaces SysV init.d scripts.
+Package: libscf1-dbg
+Section: libs
+Priority: extra
+Multi-Arch: same
+Architecture: illumos-any
+Depends: libscf1 (= ${binary:Version}), ${misc:Depends}
+Description: service configuration facility library: debug info
+ This package contains detached debug symbols for libscf shared library.
+ .
+ The libscf library defines the interface for reading, writing, and
+ manipulating SMF service configurations.
+
Package: libscf1-dev
Section: libdevel
Priority: optional
Architecture: illumos-any
Provides: libscf-dev
-Depends: libscf1 (= ${binary:Version}), ${misc:Depends}, libc1-dev,
+Depends: libscf1 (= ${binary:Version}), ${misc:Depends},
libnvpair1-dev
Description: service configuration facility library (development files)
This package contains the header files and symlinks needed
@@ -75,7 +107,7 @@ Description: service configuration facility library (development files)
Package: lib32scf1
Section: libs
-Priority: standard
+Priority: optional
Architecture: illumos-amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: service configuration facility library (32 bit)
diff --git a/svc.configd/debian/patches/svc.configd-integer.patch b/svc.configd/debian/patches/svc.configd-integer.patch
index c054ab3..148cc7e 100644
--- a/svc.configd/debian/patches/svc.configd-integer.patch
+++ b/svc.configd/debian/patches/svc.configd-integer.patch
@@ -1,7 +1,7 @@
-Index: libscf/usr/src/cmd/svc/configd/backend.c
+Index: svc.configd/usr/src/cmd/svc/configd/backend.c
===================================================================
---- libscf.orig/usr/src/cmd/svc/configd/backend.c 2013-01-12 08:12:03.943861209 +0400
-+++ libscf/usr/src/cmd/svc/configd/backend.c 2013-01-12 08:16:51.241009226 +0400
+--- svc.configd.orig/usr/src/cmd/svc/configd/backend.c 2014-04-17 12:11:02.618855861 +0400
++++ svc.configd/usr/src/cmd/svc/configd/backend.c 2014-04-17 12:11:41.410707885 +0400
@@ -1585,7 +1585,7 @@
backend_switch_check(struct sqlite *be_db, char **errp)
{
@@ -20,10 +20,10 @@ Index: libscf/usr/src/cmd/svc/configd/backend.c
struct run_single_int_info info;
int fd;
-Index: libscf/usr/src/cmd/svc/configd/file_object.c
+Index: svc.configd/usr/src/cmd/svc/configd/file_object.c
===================================================================
---- libscf.orig/usr/src/cmd/svc/configd/file_object.c 2012-10-08 04:25:33.000000000 +0400
-+++ libscf/usr/src/cmd/svc/configd/file_object.c 2013-01-12 08:25:34.998535195 +0400
+--- svc.configd.orig/usr/src/cmd/svc/configd/file_object.c 2014-04-17 12:11:02.619045740 +0400
++++ svc.configd/usr/src/cmd/svc/configd/file_object.c 2014-04-17 12:11:41.415010067 +0400
@@ -1447,7 +1447,7 @@
propertygrp_delete_start,
},
@@ -33,11 +33,11 @@ Index: libscf/usr/src/cmd/svc/configd/file_object.c
};
#define NUM_INFO (sizeof (info) / sizeof (*info))
-Index: libscf/usr/src/cmd/svc/configd/rc_node.c
+Index: svc.configd/usr/src/cmd/svc/configd/rc_node.c
===================================================================
---- libscf.orig/usr/src/cmd/svc/configd/rc_node.c 2012-10-08 04:25:33.000000000 +0400
-+++ libscf/usr/src/cmd/svc/configd/rc_node.c 2013-01-12 08:26:33.244049473 +0400
-@@ -424,7 +424,7 @@
+--- svc.configd.orig/usr/src/cmd/svc/configd/rc_node.c 2014-04-17 12:11:02.619124894 +0400
++++ svc.configd/usr/src/cmd/svc/configd/rc_node.c 2014-04-17 12:11:41.425872613 +0400
+@@ -425,7 +425,7 @@
{REP_PROTOCOL_ENTITY_CPROPERTYGRP, 0, UU_NAME_DOMAIN,
{REP_PROTOCOL_ENTITY_PROPERTY}},
{REP_PROTOCOL_ENTITY_PROPERTY, 7, UU_NAME_DOMAIN},
diff --git a/svc.configd/debian/patches/svc.configd-libsqlite.patch b/svc.configd/debian/patches/svc.configd-libsqlite.patch
index 77f19f2..59ea320 100644
--- a/svc.configd/debian/patches/svc.configd-libsqlite.patch
+++ b/svc.configd/debian/patches/svc.configd-libsqlite.patch
@@ -1,7 +1,7 @@
-Index: libscf/usr/src/cmd/svc/configd/Makefile
+Index: svc.configd/usr/src/cmd/svc/configd/Makefile
===================================================================
---- libscf.orig/usr/src/cmd/svc/configd/Makefile 2012-10-08 04:25:33.000000000 +0400
-+++ libscf/usr/src/cmd/svc/configd/Makefile 2013-01-12 08:35:57.388394852 +0400
+--- svc.configd.orig/usr/src/cmd/svc/configd/Makefile 2014-03-01 16:18:04.000000000 +0400
++++ svc.configd/usr/src/cmd/svc/configd/Makefile 2014-04-17 12:11:32.688390408 +0400
@@ -48,7 +48,7 @@
ROOTCMDDIR= $(ROOT)/lib/svc/bin
@@ -16,11 +16,11 @@ Index: libscf/usr/src/cmd/svc/configd/Makefile
CERRWARN += -_gcc=-Wno-uninitialized
MYLDLIBS = -lumem -luutil -lbsm
-LDLIBS += -lsecdb $(MYLDLIBS)
-+LDLIBS += -lsecdb $(MYLDLIBS) -Bstatic -lsqlite -Bdynamic
++LDLIBS += -lsecdb $(MYLDLIBS) -lsqlite
LINTFLAGS += -errtags -erroff=E_BAD_FORMAT_ARG_TYPE2 -erroff=E_NAME_DEF_NOT_USED2
CLOBBERFILES += $(MYPROG:%=%-native)
-@@ -80,17 +80,11 @@
+@@ -81,17 +81,11 @@
DIRMODE = 0755
FILEMODE = 0555
@@ -38,10 +38,10 @@ Index: libscf/usr/src/cmd/svc/configd/Makefile
.KEEP_STATE:
.PARALLEL: $(MYOBJS) $(MYOBJS:%.o=%-native.o)
-Index: libscf/usr/src/cmd/svc/configd/backend.c
+Index: svc.configd/usr/src/cmd/svc/configd/backend.c
===================================================================
---- libscf.orig/usr/src/cmd/svc/configd/backend.c 2012-10-08 04:25:33.000000000 +0400
-+++ libscf/usr/src/cmd/svc/configd/backend.c 2013-01-12 08:12:03.943861209 +0400
+--- svc.configd.orig/usr/src/cmd/svc/configd/backend.c 2014-03-01 16:18:04.000000000 +0400
++++ svc.configd/usr/src/cmd/svc/configd/backend.c 2014-04-17 12:11:02.618855861 +0400
@@ -56,7 +56,7 @@
#include "repcache_protocol.h"
diff --git a/svc.configd/debian/rules b/svc.configd/debian/rules
index 9b0b82c..7b7f424 100755
--- a/svc.configd/debian/rules
+++ b/svc.configd/debian/rules
@@ -88,19 +88,21 @@ binary-stamp: install-stamp
dh_installchangelogs
dh_link
dh_compress
- dh_fixperms
dh_makeshlibs -- -c4
dh_installdeb
dh_shlibdeps
- dh_strip
+ dh_strip -p libscf1 --dbg-package libscf1-dbg
+ dh_strip -p svc.configd --dbg-package svc.configd-dbg
+ dh_strip --remaining-packages
dh_gencontrol
dh_md5sums
+ dh_fixperms
dh_builddeb
touch $@
clean: unpatch
dh_testdir
dh_testroot
+ rm -rf usr .pc
dh_clean
- rm -rf usr
diff --git a/svc.configd/debian/svc.configd-dev.install b/svc.configd/debian/svc.configd-dev.install
new file mode 100644
index 0000000..8c6a164
--- /dev/null
+++ b/svc.configd/debian/svc.configd-dev.install
@@ -0,0 +1,2 @@
+usr/src/cmd/svc/common/configd_exit.h usr/include
+usr/src/cmd/svc/configd/configd.h usr/include