# HG changeset patch
# User Vladimir Marek <Vladimir.Marek at Sun.COM>
# Date 1221994157 -7200
# Node ID 5255d0ea282884117d926b7394140bb3ce404ad1
# Parent 46027cab9c12d81de09bf41e0cb4727b53d5034b
Example: webmin - several files + steps how the package was converted
This shows how the system works for packages using more than one tarball.
Conversion is very simple:
1) define define all the files in the Makefile.sfw
"TARBALL=...." line
2) generate the sha1sum files
make -f Makefile.sfw sha1sum
3) remove tarballs
make -f Makefile.sfw .undownloaded
4) build the tarball
make -f Makefile.sfw # or cd .. ; make webmin
diff --git a/usr/src/cmd/webmin/Authen-PAM-0.14.tar.gz
b/usr/src/cmd/webmin/Authen-PAM-0.14.tar.gz
deleted file mode 100644
Binary file usr/src/cmd/webmin/Authen-PAM-0.14.tar.gz has changed
diff --git a/usr/src/cmd/webmin/Authen-PAM-0.14.tar.gz.sha1sum
b/usr/src/cmd/webmin/Authen-PAM-0.14.tar.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/webmin/Authen-PAM-0.14.tar.gz.sha1sum
@@ -0,0 +1,1 @@
+5dc68a8eec434ad2825837d3e1c2e50090df2915
diff --git a/usr/src/cmd/webmin/Authen-SolarisRBAC-0.1.tar.gz
b/usr/src/cmd/webmin/Authen-SolarisRBAC-0.1.tar.gz
deleted file mode 100755
Binary file usr/src/cmd/webmin/Authen-SolarisRBAC-0.1.tar.gz has changed
diff --git a/usr/src/cmd/webmin/Authen-SolarisRBAC-0.1.tar.gz.sha1sum
b/usr/src/cmd/webmin/Authen-SolarisRBAC-0.1.tar.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/webmin/Authen-SolarisRBAC-0.1.tar.gz.sha1sum
@@ -0,0 +1,1 @@
+99f5b200a399610d6fc5870c2478018a0be90755
diff --git a/usr/src/cmd/webmin/IO-Tty-1.02.tar.gz
b/usr/src/cmd/webmin/IO-Tty-1.02.tar.gz
deleted file mode 100644
Binary file usr/src/cmd/webmin/IO-Tty-1.02.tar.gz has changed
diff --git a/usr/src/cmd/webmin/IO-Tty-1.02.tar.gz.sha1sum
b/usr/src/cmd/webmin/IO-Tty-1.02.tar.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/webmin/IO-Tty-1.02.tar.gz.sha1sum
@@ -0,0 +1,1 @@
+466e634f5863190a25cb9f3c0878cfe2fe68a3a0
diff --git a/usr/src/cmd/webmin/Makefile.sfw b/usr/src/cmd/webmin/Makefile.sfw
--- a/usr/src/cmd/webmin/Makefile.sfw
+++ b/usr/src/cmd/webmin/Makefile.sfw
@@ -54,6 +54,8 @@
install: all
$(SH) ./install-sfw
+
+TARBALL=Authen-PAM-0.14.tar.gz Authen-SolarisRBAC-0.1.tar.gz
IO-Tty-1.02.tar.gz Net_SSLeay.pm-1.30.tar.gz uirb-theme.wbm.gz
webmin-1.340.tar.gz
#
# After extracting the archive, set reasonable permissions. These
diff --git a/usr/src/cmd/webmin/Net_SSLeay.pm-1.30.tar.gz
b/usr/src/cmd/webmin/Net_SSLeay.pm-1.30.tar.gz
deleted file mode 100644
Binary file usr/src/cmd/webmin/Net_SSLeay.pm-1.30.tar.gz has changed
diff --git a/usr/src/cmd/webmin/Net_SSLeay.pm-1.30.tar.gz.sha1sum
b/usr/src/cmd/webmin/Net_SSLeay.pm-1.30.tar.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/webmin/Net_SSLeay.pm-1.30.tar.gz.sha1sum
@@ -0,0 +1,1 @@
+c020af556a43d83675bae4419d63a34ade30ab81
diff --git a/usr/src/cmd/webmin/uirb-theme.wbm.gz
b/usr/src/cmd/webmin/uirb-theme.wbm.gz
deleted file mode 100644
Binary file usr/src/cmd/webmin/uirb-theme.wbm.gz has changed
diff --git a/usr/src/cmd/webmin/uirb-theme.wbm.gz.sha1sum
b/usr/src/cmd/webmin/uirb-theme.wbm.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/webmin/uirb-theme.wbm.gz.sha1sum
@@ -0,0 +1,1 @@
+49d765a1017e8968f24fec4dcab426ecaa97ebb9
diff --git a/usr/src/cmd/webmin/webmin-1.340.tar.gz
b/usr/src/cmd/webmin/webmin-1.340.tar.gz
deleted file mode 100644
Binary file usr/src/cmd/webmin/webmin-1.340.tar.gz has changed
diff --git a/usr/src/cmd/webmin/webmin-1.340.tar.gz.sha1sum
b/usr/src/cmd/webmin/webmin-1.340.tar.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/webmin/webmin-1.340.tar.gz.sha1sum
@@ -0,0 +1,1 @@
+530bb583824688f24fc4c6d0b8522d43c7f5bb96